diff --git a/static/style.css b/static/style.css index 402b125..a47343c 100644 --- a/static/style.css +++ b/static/style.css @@ -144,6 +144,9 @@ nav a, nav ul li .navbar-item { display: block; text-decoration: none; } +nav summary { + padding: 15px; +} nav a:hover { background: #cc968b70; } @@ -163,26 +166,13 @@ nav a:hover { position: relative; display: inline-block; } -.dropdown > span::after { - content: "🞀"; - display: inline-block; - width: 10px; - padding-left: 5px; -} -.dropdown > span:hover::after { - content: "🞃"; -} .dropdown-content { - display: none; position: absolute; background-color: #e8B8ae; min-width: 8rem; - right: 0; + right: -10px; z-index: 1; } -.dropdown:hover .dropdown-content { - display: block; -} footer.notice { background: #e8b8ae; padding: 2em; diff --git a/templates/root.html b/templates/root.html index cc0e9b6..d058911 100644 --- a/templates/root.html +++ b/templates/root.html @@ -25,16 +25,15 @@