diff options
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; |