From aa0f02b4020cb86a73cfbd20c9b7db71c695271a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Mon, 12 Dec 2022 17:25:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AF=BC=E8=88=AA=E6=A0=8F?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=EF=BC=8C=E8=B6=85=E5=87=BA=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=8C=BA=E5=9F=9F=E5=B7=A6=E5=8F=B3=E6=BB=9A=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/edu-purge.css | 65 +++++----------------------------------- 1 file changed, 7 insertions(+), 58 deletions(-) diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css index 407693a1..eb8625a4 100644 --- a/public/css/edu-purge.css +++ b/public/css/edu-purge.css @@ -3959,80 +3959,29 @@ html>body #ajax-indicator { flex: 1; } -.head-nav ul#header-nav { - position: absolute; - top: 0px; - z-index: 3; - height: 58px; - box-sizing: border-box; +.head-nav ul#header-nav{ + overflow: hidden; + white-space: nowrap; + overflow-x: auto; + display: flex; } -.head-nav ul#header-nav li { - float: left; +.head-nav ul#header-nav li{ height: 58px; line-height: 58px; cursor: pointer; - position: relative; font-size: 16px; padding-right:40px; } -.head-nav ul#header-nav li a { - display: block; - height: 100%; - width: 100%; +.head-nav ul#header-nav a { color: #fff; - font-size: 16px; } .head-nav ul#header-nav li a:hover,.head-nav ul#header-nav li.active a { color: #5091FF; } -.head-nav ul#header-nav li:last-child { - margin-right: 0px -} - - -.head-nav ul#header-nav li p:hover { - color: #cccccc; -} - -.head-nav ul#header-nav li p { - display: block; - height: 100%; - width: 100%; - color: #fff -} - -/* .head-nav ul#header-nav li.active div ul li a { - color: #000 !important; -} */ - -/* .head-nav ul#header-nav li.active div ul li a:hover { - color: #FFF !important; -} - -.head-nav ul#header-nav li.active ul li a { - color: #000 !important; -} */ - -/* .head-nav ul#header-nav li.active ul li a:hover { - color: #FFF !important; -} */ - -/* .head-nav ul#header-nav li.active:after { - content: ''; - position: absolute; - left: 0px; - top: auto; - bottom: 10px; - right: auto; - height: 2px; - width: 32px; - background-color: #459be5; -} */ - .head-right { box-sizing: border-box; height: 60px;