about summary refs log tree commit diff
path: root/web/static
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-11-30T16·15+0100
committerProfpatsch <mail@profpatsch.de>2022-10-06T10·32+0000
commitc1884919fcfd5f83c54f7729a3b5c347c22fdd31 (patch)
tree89c8ed5f7bc8c3eed5c8559334d1067e74028b38 /web/static
parent7fe1331570918e9eae2a9868497afba7f61ad742 (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/static')
-rw-r--r--web/static/tvl.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/static/tvl.css b/web/static/tvl.css
index 5da1df7d49..7cde9d9644 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 {