docs: improve navbar a bit

This commit is contained in:
Starbeamrainbowlabs 2021-06-21 16:14:16 +01:00
parent 3ec4f6b2c7
commit e5fe220698
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
@media (max-width: 1200px) {
nav > ul a {
padding: 0.5em;
padding: 1.45em 0.5em;
}
}
@ -24,6 +24,7 @@
@media (max-width: 640px) {
nav > ul {
padding-top: 0.5em;
justify-content: center;
flex-wrap: wrap;
}

View file

@ -107,14 +107,14 @@ nav ul {
nav > ul a {
background: var(--bg-transcluscent-slight);
display: inline-block;
padding: 1.2em 2em;
padding: 1.45em 2em;
text-decoration: none;
font-weight: bold;
color: var(--text-main);
}
nav li[aria-current=page] a {
margin: -0.25em;
border: 0.25em solid var(--bg-alt);
color: var(--bg-bright);
background: var(--text-main);
}
nav a.image {