Format code

This commit is contained in:
daudix
2024-10-26 18:13:34 +03:00
parent eeefe83730
commit 6b70c103c1
17 changed files with 208 additions and 100 deletions

View File

@ -31,10 +31,14 @@ body {
// Make focused anchor not get covered by nav,
// and flash it with accent color when jumping to it
:target:not(#main) {
transition: all var(--transition), scroll-margin-block-start 0s;
transition:
all var(--transition),
scroll-margin-block-start 0s;
scroll-margin-block-start: 15vh;
color: var(--accent-color);
text-shadow: var(--accent-color-alpha) 0 0 0.25rem, var(--accent-color) 0 0 0.75rem;
text-shadow:
var(--accent-color-alpha) 0 0 0.25rem,
var(--accent-color) 0 0 0.75rem;
}
// Custom focus indicator
@ -66,7 +70,6 @@ body {
}
@media (prefers-reduced-motion) {
*,
*::before,
*::after {