Smaller headings on mobile

This commit is contained in:
Kuba Orlik 2026-01-01 21:15:50 +01:00
parent 8639bef1b5
commit 08392092d5

View File

@ -66,3 +66,35 @@ h6 {
text-wrap: pretty;
text-wrap: balance;
}
h1 {
font-size: 2em;
@container (max-width: 450px) {
font-size: 1.6em;
}
}
h2 {
font-size: 1.5em;
@container (max-width: 450px) {
font-size: 1.3em;
}
}
h3 {
font-size: 1.17em;
@container (max-width: 450px) {
font-size: 1.1em;
}
}
h4 {
font-size: 1.17em;
@container (max-width: 450px) {
font-size: 1.05em;
}
}