From 37f4802e2703e5da208b97f0969c4b642661a2fd Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Thu, 16 Jan 2025 15:51:39 +0100 Subject: [PATCH] fix: reduce h4 heading size --- static/css/in.css | 11 ++--------- static/css/out.css | 15 ++------------- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/static/css/in.css b/static/css/in.css index 03f2c2c3..aa89208c 100644 --- a/static/css/in.css +++ b/static/css/in.css @@ -34,15 +34,8 @@ h3 { @apply text-3xl md:text-4xl; } - h4 { - @apply md:text-3xl; - } - h5 { - @apply text-2xl; - } - h6 { - @apply text-xl; - } + /*for unknown reasons, h4 must be undefined to not make it bigger than h3*/ + /*h5-h6 are ignored by tailwind typography*/ img { @apply drop-shadow-lg; } diff --git a/static/css/out.css b/static/css/out.css index 3c677c90..b44b631e 100644 --- a/static/css/out.css +++ b/static/css/out.css @@ -682,22 +682,11 @@ h3 { font-size: 2.25rem; line-height: 2.5rem; } - - h4 { - font-size: 1.875rem; - line-height: 2.25rem; - } } -h5 { - font-size: 1.5rem; - line-height: 2rem; -} +/*for unknown reasons, h4 must be undefined to not make it bigger than h3*/ -h6 { - font-size: 1.25rem; - line-height: 1.75rem; -} +/*h5-h6 are ignored by tailwind typography*/ img { --tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));