Apply css based on aria-current, but I'm not happy with it yet

This commit is contained in:
Starbeamrainbowlabs 2021-06-19 18:27:02 +01:00
parent ed5f583e04
commit cc20fb499d
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -104,6 +104,11 @@ nav a {
font-weight: bold;
color: var(--text-main);
}
nav li[aria-current=page] a {
margin: -0.25em;
border: 0.25em solid var(--bg-alt);
}
nav a.image {
padding: 0.75em 1em 0.5em 1em;
}