From 6d2b2db3a99e8447efb3c8da77bedf3520aeee18 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Thu, 31 Oct 2024 14:05:45 +0100 Subject: [PATCH] feat(website): improve css for markdown pages (#3129) - Give h3 proper top margin (and also add h4 just in case) - Give images some y margin Relates to pathoplexus/pathoplexus#262 See https://loculus.slack.com/archives/C05GWA22R19/p1730378998996159?thread_ts=1730377039.594559&cid=C05GWA22R19 --- website/src/styles/mdcontainer.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/website/src/styles/mdcontainer.scss b/website/src/styles/mdcontainer.scss index 7db0ef5dd..88a233bc5 100644 --- a/website/src/styles/mdcontainer.scss +++ b/website/src/styles/mdcontainer.scss @@ -12,9 +12,17 @@ } .mdContainer h3{ - @apply text-lg font-semibold text-main my-3; + @apply text-lg font-semibold text-main my-3 mt-5; } + +.mdContainer h4{ + @apply text-base font-semibold text-main my-3 mt-4; + } + +.mdContainer img{ + @apply my-3; + } .mdContainer p{ @apply my-2;