aboutsummaryrefslogtreecommitdiff
path: root/haunt/static/css
diff options
context:
space:
mode:
Diffstat (limited to 'haunt/static/css')
-rw-r--r--haunt/static/css/style.css27
1 files changed, 25 insertions, 2 deletions
diff --git a/haunt/static/css/style.css b/haunt/static/css/style.css
index 3ee08fc..1ee1b2f 100644
--- a/haunt/static/css/style.css
+++ b/haunt/static/css/style.css
@@ -56,7 +56,7 @@ body > header > a > img {
}
}
-body > header > nav > ul {
+body > header > nav ul {
list-style-type: none;
padding-left: 0;
}
@@ -64,15 +64,38 @@ body > header > nav > ul {
@media screen and (min-width: 480px) {
body > header > nav > ul > li {
display: inline-block;
+ }
+
+ body > header > nav > ul li {
padding: 1rem 2rem;
border-bottom: 2px solid #d2d6dd;
text-align: center;
}
- body > header > nav > ul > li > a {
+ body > header > nav > ul li > a {
color: #000;
text-decoration: none;
}
+
+ body > header > nav > ul .drop-menu {
+ display: none;
+ position: absolute;
+ }
+
+ body > header > nav > ul .drop-menu > li {
+ background: #fff;
+ }
+
+ body > header > nav > ul > li:hover .drop-menu {
+ display: block;
+ }
+}
+
+@media screen and (max-width: 480px) {
+ body > header > nav > ul .drop-menu {
+ list-style-type: circle;
+ padding-left: 1em;
+ }
}
/* Horizontal lists. */

© 2015 - 2026 Jakob L. Kreuze