diff options
| author | verdant <im@verdant.ee> | 2026-07-22 00:03:11 +0800 |
|---|---|---|
| committer | verdant <im@verdant.ee> | 2026-07-22 00:03:11 +0800 |
| commit | d5cfd5b0cdb9615b626a6a8fa43bb3175ebc78a7 (patch) | |
| tree | 13bba822fe34d2aa856dc56cf3c7fbac0ed5b2df /layouts | |
| parent | a70e68c40246d55678b552d51b8d21cc0e18e3b1 (diff) | |
| download | blog-d5cfd5b0cdb9615b626a6a8fa43bb3175ebc78a7.tar.gz blog-d5cfd5b0cdb9615b626a6a8fa43bb3175ebc78a7.zip | |
Tweak some CSS style
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/style.html | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/layouts/partials/style.html b/layouts/partials/style.html index 333a047..90724c9 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -5,6 +5,8 @@ --heading-base-size: 0.9rem; --scale-minor-third: 1.2; --typographic-scale: var(--scale-minor-third); + --first-font-size: 1.06rem; + --second-font-size: 1rem; } h1, @@ -44,10 +46,10 @@ h6 { } /* END */ + body { - font: - 1.06rem monospace, - 'Noto Serif CJK'; + font-size: var(--first-font-size); + font-family: monospace; font-weight: 400; line-height: 1.8; max-width: 740px; @@ -56,7 +58,6 @@ body { } pre { - border: 1px dashed #555; padding: 12px; overflow-x: auto; } @@ -93,4 +94,9 @@ h1.title { margin-bottom: 1rem; } +footer { + font-size: var(--second-font-size); + line-height: 1; +} + </style> |
