From 979804a804497a34362b23a010ca7a41b1a19f49 Mon Sep 17 00:00:00 2001 From: flambus Date: Wed, 19 Feb 2020 10:35:43 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Econtent/style.css=E2=80=9C=20=C3=A4nde?= =?UTF-8?q?rn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/style.css | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/content/style.css b/content/style.css index 9a9afec..465ae0b 100644 --- a/content/style.css +++ b/content/style.css @@ -198,3 +198,44 @@ ul.topnav li.right {float: right;} ul.topnav li {float: none;} } +.dropdown-content { + display: none; + position: absolute; + background-color: #f9f9f9; + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 1; +} + +.dropdown-content a { + float: none; + color: black; + padding: 12px 16px; + text-decoration: none; + display: block; + text-align: left; +} + +.dropdown-content a:hover { + background-color: #ddd; +} + +.dropdown:hover .dropdown-content { + display: block; +} + +.dropdown { + float: left; + overflow: hidden; +} + +.dropdown .dropbtn { + font-size: 16px; + border: none; + outline: none; + color: white; + padding: 14px 16px; + background-color: inherit; + font-family: inherit; + margin: 0; +} \ No newline at end of file