Skip to content

Commit

Permalink
style: reduce h1 size on mobile by 30%
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Oct 30, 2024
1 parent 41c8805 commit 25b7d93
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hugo-site/themes/freenet/assets/css/freenet.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ h1, h2, h3, h4, h5, h6 {
color: #000000;
}

/* Responsive heading sizes */
@media screen and (max-width: 768px) {
.content h1,
h1 {
font-size: 1.75rem !important; /* About 30% smaller than Bulma's default */
line-height: 1.3;
}
}


/* Remove start element */
.rMStart {
Expand Down

0 comments on commit 25b7d93

Please sign in to comment.