From 844aaa66d8620c1c5403d08a4d5c929ed6935910 Mon Sep 17 00:00:00 2001 From: flambus Date: Mon, 17 Feb 2020 09:03:22 +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 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/content/style.css b/content/style.css index 6d43845..8b1e4c7 100644 --- a/content/style.css +++ b/content/style.css @@ -158,3 +158,36 @@ span.comment { img { max-width: 100%; } + + +body {margin: 0;} + +ul.topnav { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: #333; +} + +ul.topnav li {float: left;} + +ul.topnav li a { + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; +} + +ul.topnav li a:hover:not(.active) {background-color: #111;} + +ul.topnav li a.active {background-color: #4CAF50;} + +ul.topnav li.right {float: right;} + +@media screen and (max-width: 600px) { + ul.topnav li.right, + ul.topnav li {float: none;} +} +