aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-06 09:22:58 +0300
committerGravatar Vitaly Takmazov2018-12-06 09:22:58 +0300
commit2c13aa3dabd28d6b529d0008980e863415432321 (patch)
tree266cec15b843f7058ec375727ff9e2f358a7ac9e /src/main
parenta498c636bf001c539caa339090c9275dec127a4c (diff)
www: more styling
Diffstat (limited to 'src/main')
-rw-r--r--src/main/assets/style.css17
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;
}