💄 added bg-color on active link

Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
Sindre Kjelsrud 2024-04-24 21:35:29 +02:00
parent 5ce48073b8
commit 5174296254
Signed by untrusted user who does not match committer: sidski
GPG key ID: D2BBDF3EDE6BA9A6

View file

@ -64,7 +64,7 @@ ul, li a{
font-weight: 600 font-weight: 600
} }
li :hover { li :hover {
background-color: #ef4444; background-color: #dc2626;
} }
#crew-list { #crew-list {
counter-reset: crew-index; counter-reset: crew-index;
@ -75,4 +75,7 @@ li :hover {
#crew-list > li::before { #crew-list > li::before {
content: counter(crew-index) ". "; content: counter(crew-index) ". ";
} }
#crew-list > li:target {
background-color: #dc2626;
}
</style> </style>