fix: Anchor highlight
This commit is contained in:
@ -46,20 +46,14 @@ body {
|
|||||||
|
|
||||||
:target {
|
:target {
|
||||||
scroll-margin-top: 25vh;
|
scroll-margin-top: 25vh;
|
||||||
animation: fade-in-out var(--transition-long);
|
animation: highlight-in-out var(--transition-long);
|
||||||
animation-delay: 1s;
|
animation-delay: 1s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes fade-in-out {
|
@keyframes highlight-in-out {
|
||||||
0% {
|
|
||||||
color: initial;
|
|
||||||
}
|
|
||||||
50% {
|
50% {
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
}
|
}
|
||||||
100% {
|
|
||||||
color: initial;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Layout
|
// Layout
|
||||||
@ -196,7 +190,7 @@ details {
|
|||||||
box-shadow: var(--shadow);
|
box-shadow: var(--shadow);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
|
||||||
&>summary {
|
& > summary {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -480,7 +474,7 @@ pre table {
|
|||||||
background-color: unset;
|
background-color: unset;
|
||||||
box-shadow: unset;
|
box-shadow: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--accent-color);
|
color: var(--accent-color);
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
Reference in New Issue
Block a user