1
0
Fork 0
forked from github/pelican

fix: reduce h4 heading size

This commit is contained in:
Oliver Ladner 2025-01-16 15:51:39 +01:00
commit 37f4802e27
2 changed files with 4 additions and 22 deletions

View file

@ -34,15 +34,8 @@
h3 { h3 {
@apply text-3xl md:text-4xl; @apply text-3xl md:text-4xl;
} }
h4 { /*for unknown reasons, h4 must be undefined to not make it bigger than h3*/
@apply md:text-3xl; /*h5-h6 are ignored by tailwind typography*/
}
h5 {
@apply text-2xl;
}
h6 {
@apply text-xl;
}
img { img {
@apply drop-shadow-lg; @apply drop-shadow-lg;
} }

View file

@ -682,22 +682,11 @@ h3 {
font-size: 2.25rem; font-size: 2.25rem;
line-height: 2.5rem; line-height: 2.5rem;
} }
h4 {
font-size: 1.875rem;
line-height: 2.25rem;
}
} }
h5 { /*for unknown reasons, h4 must be undefined to not make it bigger than h3*/
font-size: 1.5rem;
line-height: 2rem;
}
h6 { /*h5-h6 are ignored by tailwind typography*/
font-size: 1.25rem;
line-height: 1.75rem;
}
img { 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)); --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));