diff options
| author | Alexander Kassouni <alex@kassouni.net> | 2026-09-29 23:29:28 -0700 |
|---|---|---|
| committer | Alexander Kassouni <alex@kassouni.net> | 2026-09-29 23:29:28 -0700 |
| commit | 52cdeaf4cc9da9d32926821c78fd331bc8d2f14a (patch) | |
| tree | 1b57b1c4d7c4e70202d9f07bab8a8e1a477078b9 /site/sass/style.scss | |
| parent | a570da443586fa3b3490b5add88ea5932456a5b3 (diff) | |
restructure for cgit css
Diffstat (limited to 'site/sass/style.scss')
| -rw-r--r-- | site/sass/style.scss | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/site/sass/style.scss b/site/sass/style.scss index 5ce9f88..1daba2d 100644 --- a/site/sass/style.scss +++ b/site/sass/style.scss @@ -1,5 +1,6 @@ -@use "palette"; -@use "fonts"; +// shared with the cgit stylesheet, hence the reach out of the zola project +@use "../../style/palette"; +@use "../../style/fonts"; body { background: var(--bg); @@ -102,6 +103,23 @@ time { color: var(--fg-dim); } +h1, h2, h3, h4, h5, h6 { + line-height: 1.3; + + &::before { + color: var(--grey); + font-weight: 400; + margin-right: 0.4em; + } +} + +h1::before { content: "#"; } +h2::before { content: "##"; } +h3::before { content: "###"; } +h4::before { content: "####"; } +h5::before { content: "#####"; } +h6::before { content: "######"; } + strong { color: var(--orange); font-weight: 600; |