diff options
| author | verdant <i@glowisle.me> | 2026-02-23 15:14:14 +0800 |
|---|---|---|
| committer | verdant <i@glowisle.me> | 2026-02-23 15:14:14 +0800 |
| commit | 6a4ea875660a7b8f83938852db7dac93dce2fdcc (patch) | |
| tree | 7c16cd3d2a51d85606ad8a83d5f02bfb792f9e89 /layouts | |
| parent | f1e76f8a3c5b97b4a8bc51c181cdad9d4fadc21e (diff) | |
| download | blog-6a4ea875660a7b8f83938852db7dac93dce2fdcc.tar.gz blog-6a4ea875660a7b8f83938852db7dac93dce2fdcc.zip | |
style: tweak some CSS style
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/style.html | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/layouts/partials/style.html b/layouts/partials/style.html index fff8bca..1d56e37 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -4,6 +4,10 @@ src: url("/fonts/SourceSerifPro-Regular.otf"); } + article p, .summary p { + line-height: 35px; + } + div.footnotes hr::before { content: "Footnotes"; display: block; @@ -13,17 +17,12 @@ } - .recent-posts p{ - line-height: 35px; - } - .recent-posts-item { margin: 0; margin-bottom: 120px; } .recent-post-title { - margin: 2px 0 -10px 0; } .post-meta { @@ -217,7 +216,6 @@ } article p, div.summary { - line-height: 35px; margin-top: 20px; font-weight: 400; } @@ -408,7 +406,7 @@ div.summary a { - text-decoration: underline 0.1px #5e5e5e; + text-decoration: underline 0.1px #888; } strong { @@ -499,12 +497,12 @@ color: var(--bold-text-color); } - article h1, - article h2, - article h3, - article h4, - article h5, - article h6 { + h1, + h2, + h3, + h4, + h5, + h6 { margin: 16px 0; margin-top: 1.5em; } @@ -512,7 +510,7 @@ a { color: var(--link-color); cursor: pointer; - text-decoration: underline 0.2px #5e5e5e; + text-decoration: underline 0.2px #888; transition-duration: 0.3s; font-weight: 600; } |
