From 9bec4695ff24ab8d4f7f683c3cefa7aeb8f99d46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 14 Feb 2021 11:36:21 +0100 Subject: [PATCH] #message block --- style.css | 33 +++++++++------------------------ 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/style.css b/style.css index a7943d9..5edc969 100644 --- a/style.css +++ b/style.css @@ -5,31 +5,16 @@ p + h1, p + h2, p + h3 { /* ====== COMMON ELEMENTS ======*/ -body > ul.menu { +#message { display: block; - height: 1.75em; - margin: 0; -padding: 0 .5em; - list-style: none; - color: #CCC; - background-color: #444; - box-shadow: inset 0 -.25em .25em #000; - overflow: hidden; - z-index: 3; -} - -body > .menu li { - display: inline-block; -} -body > .menu a { - color: inherit; - padding: .5em 3em; - box-shadow: inset 0 0 .5em #000; -} -body.cards > .menu a[href="/cards/"], -body.courses > .menu a[href="/courses/"] { - color: #000; - background-color: #FFF; - box-shadow: none; + position: fixed; + top: 0; width: 100%; + margin: 0; padding: 1em; + text-align: center; + font-weight: bold; + background-color: #FAA; + border: 1px solid #000; + border-style: none none solid none; } /* =========== FILTER AND SEARCH Headers ========= */ -- 2.39.2