Skip to content

Commit

Permalink
Improved typography hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
minimaluminium committed Jan 3, 2024
1 parent 53d475f commit d046267
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/built/screen.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/screen.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -2143,6 +2143,11 @@ unless a heading is the very first element in the post content */
}

/* Now the content typography styles */
.gh-content h1 {
font-size: calc(2.2em * var(--factor, 1));
letter-spacing: -0.02em;
}

.gh-content h2 {
font-size: calc(1.6em * var(--factor, 1));
letter-spacing: -0.02em;
Expand Down

0 comments on commit d046267

Please sign in to comment.