fix: Anchor highlight
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
5d330d543c
commit
abf31905ad
|
@ -46,20 +46,14 @@ body {
|
|||
|
||||
:target {
|
||||
scroll-margin-top: 25vh;
|
||||
animation: fade-in-out var(--transition-long);
|
||||
animation: highlight-in-out var(--transition-long);
|
||||
animation-delay: 1s;
|
||||
}
|
||||
|
||||
@keyframes fade-in-out {
|
||||
0% {
|
||||
color: initial;
|
||||
}
|
||||
@keyframes highlight-in-out {
|
||||
50% {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
100% {
|
||||
color: initial;
|
||||
}
|
||||
}
|
||||
|
||||
// Layout
|
||||
|
@ -196,7 +190,7 @@ details {
|
|||
box-shadow: var(--shadow);
|
||||
padding: 1rem;
|
||||
|
||||
&>summary {
|
||||
& > summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
@ -480,7 +474,7 @@ pre table {
|
|||
background-color: unset;
|
||||
box-shadow: unset;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
color: var(--accent-color);
|
||||
text-decoration: underline;
|
||||
|
|
Loading…
Reference in a new issue