From 2c13aa3dabd28d6b529d0008980e863415432321 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 6 Dec 2018 09:22:58 +0300 Subject: www: more styling --- src/main/assets/style.css | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/main/assets/style.css') 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; } -- cgit v1.2.3