Skip to content

Adjust header sizes to make smaller on smaller screens #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
}

.h1 {
@apply text-2xl mt-[1.5em] mb-[1.5em];
@apply text-xl lg:text-2xl mt-[1.5em] mb-[1.5em];
}

h1 {
@apply h1;
}

.h2 {
@apply text-lg mt-[1.5em] mb-[1.5em];
@apply text-base lg:text-lg mt-[1.5em] mb-[1.5em];
}

h2 {
Expand Down Expand Up @@ -103,9 +103,6 @@
}

@layer content {
main h2 {
@apply text-2xl !important;
}

article header h1 {
@apply mt-0 !important;
Expand All @@ -131,7 +128,7 @@
article header > h1 a,
article header > h2,
article header > h2 > a {
@apply text-3xl !important;
@apply text-xl lg:text-3xl !important;
}
}

Expand Down