From 692cb323a554eccba273bf52f458fa1f2d28b2b6 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 25 Oct 2024 14:19:04 +0300 Subject: [PATCH] web/timeline: adjust paragraph margins and header font sizes --- web/src/ui/timeline/content/index.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/web/src/ui/timeline/content/index.css b/web/src/ui/timeline/content/index.css index dd053dd..7120979 100644 --- a/web/src/ui/timeline/content/index.css +++ b/web/src/ui/timeline/content/index.css @@ -112,7 +112,15 @@ div.html-body { margin: 0 0 .5rem; } - p, ul, ol, dl, table, pre, blockquote { + h1, h2 { + font-size: 1.5em; + } + + h3 { + font-size: 1.25em; + } + + ul, ol, dl, table, pre, blockquote { &:not(:last-child) { margin: 0 0 .25rem; } @@ -120,6 +128,15 @@ div.html-body { margin: 0; } } + + p { + &:not(:last-child) { + margin: 0 0 1rem; + } + &:last-child { + margin: 0; + } + } } div.media-container {