From 33d584411668d32568d996c427dddb2231296df2 Mon Sep 17 00:00:00 2001 From: wolegca <2738076308@qq.com> Date: Thu, 12 Sep 2019 14:10:51 +0800 Subject: [PATCH] normal update --- base.js | 3 +++ index.css | 15 +++++++++------ index.html | 2 ++ 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 base.js diff --git a/base.js b/base.js new file mode 100644 index 0000000..0208d12 --- /dev/null +++ b/base.js @@ -0,0 +1,3 @@ +$(window).on("selectstart",function(){ + return false; +}); \ No newline at end of file diff --git a/index.css b/index.css index 112b817..d0b9159 100644 --- a/index.css +++ b/index.css @@ -47,17 +47,18 @@ div.menu-container ul li { white-space: nowrap } -div.menu-container ul li a { +div.menu-container ul li * { text-decoration: none; color: #fff; display: block; padding: 8px 0 0; transition: all .5s ease; font-size: 24px; - height: 40px + height: 40px; + cursor: pointer } -div.menu-container ul li a:hover { +div.menu-container ul li *:hover { background-color: rgba(0, 0, 0, .5) } @@ -75,7 +76,7 @@ label[for=menu-control].menu-button-container { left: 0; width: 50px; height: 30px; - cursor: pointer; + cursor: pointer!important; z-index:3 } @@ -97,7 +98,8 @@ div.menu-button span { height: 3px; background-color: #ccc; display: block; - margin: 5px 0 0 3px + margin: 5px 0 0 3px; + cursor:pointer } @@ -173,5 +175,6 @@ input#menu-control:checked~label.content-mask{ font-size: 24px; background-color:rgba(25, 25, 25,.9); width:100%; - z-index:2 + z-index:2; + cursor: default } diff --git a/index.html b/index.html index e83f8c0..c69b7ff 100644 --- a/index.html +++ b/index.html @@ -17,6 +17,7 @@
@@ -44,6 +45,7 @@ +