update css

This commit is contained in:
readme 2020-03-15 20:24:27 +01:00
parent 3c3967086a
commit 06dd9fa71e

View file

@ -123,9 +123,12 @@ a:visited {
a:hover, a:hover,
a:active { a:active {
color: #c5c6c7; /* color: #c5c6c7; */
} }
/* this is the Article-Layout List/Overview page */
.pagelist { .pagelist {
list-style-type: none; list-style-type: none;
/* TODO: check what flex does here */ /* 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 { .nav ul {
display: flex; display: flex;
@ -285,15 +289,15 @@ footer a:hover {
font-family: 'Oswald', sans-serif; font-family: 'Oswald', sans-serif;
} }
.nav.main a:hover {
color: #c5c6c7;
}
.nav a.active, .nav a.active,
.nav strong { .nav strong {
background-color: #111833; background-color: #111833;
} }
.nav a:hover {
color: #c5c6c7;
}
/* this is the prev-next-link at bottom in articles */ /* this is the prev-next-link at bottom in articles */
@ -303,9 +307,19 @@ footer a:hover {
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
} }
/* this is the left vertical navigation bar */
.subpages .nav.sub { .subpages .nav.sub {
background-color: #111833; 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) { @media (min-width: 16em) {
@ -368,7 +382,8 @@ main>.content {
bottom: 0; bottom: 0;
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll; overflow-y: scroll;
padding-top: 20px; padding-top: 35px;
padding-left: 25px
} }
.nav.sub ul { .nav.sub ul {
/* margin-top: 1em; */ /* margin-top: 1em; */