diff options
-rw-r--r-- | src/main/assets/style.css | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/main/assets/style.css b/src/main/assets/style.css index 9300cbb1..b04940e6 100644 --- a/src/main/assets/style.css +++ b/src/main/assets/style.css @@ -100,8 +100,7 @@ html { color: #fff; } body > header { - background: #f8f8f8; - border-top: 2px solid #ff339a; + background: #f8f8f8; box-shadow: 0 0 3px rgba(0, 0, 0, 0.28); position: fixed; top: 0; @@ -184,22 +183,30 @@ body > header { color: #88958d; display: inline-block; padding: 18px 6px; + border-bottom: 2px solid transparent; } #global li { display: inline-block; + border-bottom: 2px solid transparent; } #ctitle a { padding: 4px 20px; + border-bottom: 2px solid transparent; } -#global a.active { - background: #ff339a; - color: #fff; +.l a { + border-bottom: 2px solid transparent; +} +#global li.active { + background: #fff; + color: #ff339a; + border-bottom: 2px solid #ff339a; pointer-events: none; } #global li:hover:not(.active), #ctitle a:hover:not(.active), .l a:hover { background: #fff; + border-bottom: 2px solid #ff339a; box-shadow: 0 0 3px rgba(0, 0, 0, 0.16); cursor: pointer; } |