diff options
author | Profpatsch <mail@profpatsch.de> | 2021-11-30T16·15+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-10-06T10·32+0000 |
commit | c1884919fcfd5f83c54f7729a3b5c347c22fdd31 (patch) | |
tree | 89c8ed5f7bc8c3eed5c8559334d1067e74028b38 /web | |
parent | 7fe1331570918e9eae2a9868497afba7f61ad742 (diff) |
fix(web/static/css): Improve paragraph & line heights r/5039
The text was a little cramped, which made the font hard to read. If one gives it a little more breathing space, it gets easier to digest. I couldn’t check the change locally, since `-A web.tvl` doesn’t reference the static assets (it hardlinks to `static.tvl.su` from what I can see). I only tested it directly in the browser css editor and then added the values I found here. Change-Id: Ic3cb78b2ed0f37e1c55ba70027fec2c62b43a52f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4055 Autosubmit: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'web')
-rw-r--r-- | web/static/tvl.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/web/static/tvl.css b/web/static/tvl.css index 5da1df7d490b..7cde9d96444b 100644 --- a/web/static/tvl.css +++ b/web/static/tvl.css @@ -43,6 +43,17 @@ h1, h2, h3 { line-height: 1.2 } +/* Blog Posts */ + +article { + line-height: 1.5em; +} + +/* spacing between the paragraphs in blog posts */ +article p { + margin: 1.4em auto; +} + /* Homepage styling */ .dark { |