am css gearbeitet

This commit is contained in:
xoy 2023-01-29 19:45:51 +01:00
parent 33bffd0465
commit 8b39fa160e
1 changed files with 16 additions and 18 deletions

View File

@ -65,20 +65,32 @@ header {
} }
nav { nav {
padding: 10px 0 10px 0;
background-color: var(--nav-background-color); background-color: var(--nav-background-color);
} }
nav li a { nav ul {
list-style: none;
text-align: center;
}
nav ul li {
display: inline-block;
padding: 0 2vw 0 2vw;
font-size: 125%;
}
nav ul li a {
color: white !important; color: white !important;
text-decoration: none; text-decoration: none;
} }
nav li a.active { nav ul li a.active {
text-decoration: underline; text-decoration: underline;
text-decoration-style: double; text-decoration-style: double;
} }
nav li a:visited { nav ul li a:visited {
color: white !important; color: white !important;
} }
@ -102,21 +114,6 @@ header img {
margin-bottom: 10px; margin-bottom: 10px;
} }
nav {
padding: 10px 0 10px 0;
}
nav ul {
list-style: none;
text-align: center;
}
nav ul li {
display: inline-block;
padding: 0 2vw 0 2vw;
font-size: 125%;
}
main { main {
max-width: 950px; max-width: 950px;
min-height: 100vh; min-height: 100vh;
@ -178,5 +175,6 @@ p.topic {
display: block; display: block;
font-size: 200%; font-size: 200%;
padding: 20px 0 20px 0; padding: 20px 0 20px 0;
text-align: right;
} }
} }