Skip to content

Commit 8e6a50a

Browse files
committed
Adjust header sizes to make smaller on smaller screens
1 parent 6b5380a commit 8e6a50a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/css/custom.css

+3-6
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
}
4141

4242
.h1 {
43-
@apply text-2xl mt-[1.5em] mb-[1.5em];
43+
@apply text-xl lg:text-2xl mt-[1.5em] mb-[1.5em];
4444
}
4545

4646
h1 {
4747
@apply h1;
4848
}
4949

5050
.h2 {
51-
@apply text-lg mt-[1.5em] mb-[1.5em];
51+
@apply text-base lg:text-lg mt-[1.5em] mb-[1.5em];
5252
}
5353

5454
h2 {
@@ -103,9 +103,6 @@
103103
}
104104

105105
@layer content {
106-
main h2 {
107-
@apply text-2xl !important;
108-
}
109106

110107
article header h1 {
111108
@apply mt-0 !important;
@@ -131,7 +128,7 @@
131128
article header > h1 a,
132129
article header > h2,
133130
article header > h2 > a {
134-
@apply text-3xl !important;
131+
@apply text-xl lg:text-3xl !important;
135132
}
136133
}
137134

0 commit comments

Comments
 (0)