From ff9829332675dccc507da81d4ce910b07d099925 Mon Sep 17 00:00:00 2001 From: flambus Date: Mon, 17 Feb 2020 08:59:54 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Econtent/stylesheet.css=E2=80=9C=20hinz?= =?UTF-8?q?uf=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/stylesheet.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 content/stylesheet.css diff --git a/content/stylesheet.css b/content/stylesheet.css new file mode 100644 index 0000000..ce6a59e --- /dev/null +++ b/content/stylesheet.css @@ -0,0 +1,30 @@ +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;} +} \ No newline at end of file