Add hot/poor article types, move article list to a partial (fixes #58 and #53)

Among other things introduce new --fg-contrast color variable.
This commit is contained in:
daudix
2024-08-26 03:35:30 +03:00
parent 2af0f9f6cb
commit 6124fdfc60
25 changed files with 368 additions and 255 deletions

View File

@ -49,8 +49,8 @@ body {
// Make focused anchor not get covered by nav,
// and flash it with primary color when jumping to it
:target:not(#main) {
transition: all var(--transition-longer), scroll-margin-top 0s;
scroll-margin-top: 20vh;
transition: all var(--transition-longer), scroll-margin-block-start 0s;
scroll-margin-block-start: 20vh;
color: var(--primary-color);
text-shadow: var(--primary-color-alpha) 0 0 0.25rem, var(--primary-color) 0 0 0.75rem;
}