Skip to content

Commit

Permalink
Another minor "scroll to top" design tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
haukex committed Aug 10, 2024
1 parent 8d57b5c commit 2c5276f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ body { grid-template-columns: 1fr min(80rem, 90%) 1fr }
body > header { padding-bottom: 0.5rem }
body > header > :only-child { margin-block-start: 1rem }
body > header h1 { margin: 0.5rem auto }
main { padding-top: 0 }
main {
padding-top: 0;
padding-bottom: 3rem; /* a bit of space for the "scroll to top" button */
}
h1 { font-size: 2.0rem }
h2 { font-size: 1.8rem }
h3 { font-size: 1.4rem }
Expand Down

0 comments on commit 2c5276f

Please sign in to comment.