diff options
| author | Magnus Hagander | 2023-05-03 19:24:37 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2023-05-03 19:24:37 +0000 |
| commit | 93338dc0d03dc0cd3eeea14e02dad0ff386aa08d (patch) | |
| tree | c778b61433b20f128d29ab2d021b0d4f2a4ff735 | |
| parent | 7d63e2b3b410ecf8e064603b0c8550287d7b6f0f (diff) | |
Add override styles for <h*> tags in planet posts
It looks bad on the site when the headlines inside posts are larger than
the headlines outside them. So force them down to a smaller sice.
It's not very pretty, but it's better than before. More could definitely
still be done to separate wrapping from content more.
| -rw-r--r-- | www/css/planet.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/css/planet.css b/www/css/planet.css index 1776c9d..69a24a2 100644 --- a/www/css/planet.css +++ b/www/css/planet.css @@ -74,6 +74,26 @@ div.contentwrap h2:after { clear: left; } +/* Set headers to be smaller than the one we use for the wrapper, which is h5=1.25rem */ +.planetpost h1 { + font-size: 1.1rem; +} +.planetpost h2 { + font-size: 1rem; +} +.planetpost h3 { + font-size: 0.9rem; +} +.planetpost h4 { + font-size: 0.8rem; +} +.planetpost h5 { + font-size: 0.7rem; +} +.planetpost h6 { + font-size: 0.6rem; +} + h2 a, h3 a { text-decoration: none; color: #515151; |
