From 06dd9fa71ec26267fa6b3de74f463d69671586c5 Mon Sep 17 00:00:00 2001 From: readme Date: Sun, 15 Mar 2020 20:24:27 +0100 Subject: [PATCH] update css --- src/assets/css/styles.css | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/src/assets/css/styles.css b/src/assets/css/styles.css index 27156cd..3e07a8c 100644 --- a/src/assets/css/styles.css +++ b/src/assets/css/styles.css @@ -123,9 +123,12 @@ a:visited { a:hover, a:active { - color: #c5c6c7; + /* color: #c5c6c7; */ } + +/* this is the Article-Layout List/Overview page */ + .pagelist { list-style-type: none; /* TODO: check what flex does here */ @@ -255,7 +258,8 @@ footer a:hover { } -/* navigation */ +/* navigation bar top (nav.main) and left (nav.sub) +and article prev/next navigation links (.nav.page) */ .nav ul { display: flex; @@ -285,15 +289,15 @@ footer a:hover { font-family: 'Oswald', sans-serif; } +.nav.main a:hover { + color: #c5c6c7; +} + .nav a.active, .nav strong { background-color: #111833; } -.nav a:hover { - color: #c5c6c7; -} - /* this is the prev-next-link at bottom in articles */ @@ -303,9 +307,19 @@ footer a:hover { border-bottom: 1px solid #ccc; } + +/* this is the left vertical navigation bar */ + .subpages .nav.sub { background-color: #111833; - color: #fff; + /* color: #fff; */ + font-size: 0.85em; + margin: 0 0 0 0; + padding: 0 0 0 0; +} + +.subpages .nav.sub a:hover { + color: #c5c6c7; } @media (min-width: 16em) { @@ -368,7 +382,8 @@ main>.content { bottom: 0; overflow-x: hidden; overflow-y: scroll; - padding-top: 20px; + padding-top: 35px; + padding-left: 25px } .nav.sub ul { /* margin-top: 1em; */