From c1884919fcfd5f83c54f7729a3b5c347c22fdd31 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Tue, 30 Nov 2021 17:15:13 +0100 Subject: fix(web/static/css): Improve paragraph & line heights MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: BuildkiteCI Reviewed-by: tazjin --- web/static/tvl.css | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 { -- cgit 1.4.1