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

@ -31,7 +31,7 @@ You can make navbar have more classic look:
```scss
#site-nav {
top: 0;
margin-top: 0;
margin-block-start: 0;
box-shadow: 0 0.75rem 1.5rem -1rem rgb(0 0 0 / 0.5);
border-radius: 0;
width: 100%;
@ -68,7 +68,7 @@ Or you can make it sticked to top but not full-width:
```scss
#site-nav {
top: 0;
margin-top: 0;
margin-block-start: 0;
box-shadow: 0 0.75rem 1.5rem -1rem rgb(0 0 0 / 0.5);
border-radius: 0 0 calc(var(--rounded-corner) + 0.5rem) calc(var(--rounded-corner) + 0.5rem);
@ -167,7 +167,7 @@ Don't like that fancy horizontal rule? Let's make it more modern:
```scss
hr {
border-top: 0.25rem solid var(--fg-muted-2);
border-block-start: 0.25rem solid var(--fg-muted-2);
width: 50%;
&::after {