mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 00:53:00 +00:00
docs: improve navbar a bit
This commit is contained in:
parent
3ec4f6b2c7
commit
e5fe220698
2 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
@media (max-width: 1200px) {
|
@media (max-width: 1200px) {
|
||||||
nav > ul a {
|
nav > ul a {
|
||||||
padding: 0.5em;
|
padding: 1.45em 0.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
nav > ul {
|
nav > ul {
|
||||||
padding-top: 0.5em;
|
padding-top: 0.5em;
|
||||||
|
justify-content: center;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -107,14 +107,14 @@ nav ul {
|
||||||
nav > ul a {
|
nav > ul a {
|
||||||
background: var(--bg-transcluscent-slight);
|
background: var(--bg-transcluscent-slight);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 1.2em 2em;
|
padding: 1.45em 2em;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: var(--text-main);
|
color: var(--text-main);
|
||||||
}
|
}
|
||||||
nav li[aria-current=page] a {
|
nav li[aria-current=page] a {
|
||||||
margin: -0.25em;
|
color: var(--bg-bright);
|
||||||
border: 0.25em solid var(--bg-alt);
|
background: var(--text-main);
|
||||||
}
|
}
|
||||||
|
|
||||||
nav a.image {
|
nav a.image {
|
||||||
|
|
Loading…
Reference in a new issue