Skip to content

Commit

Permalink
Adjust margins for headings in header & footer
Browse files Browse the repository at this point in the history
  • Loading branch information
remino committed Aug 16, 2024
1 parent 505026a commit 1652a18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions assets/css/_sections.sass
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@ footer, header
h1, h2, h3, h4, h5, h6
--sc-m-t: 0

h2, h3
line-height: calc(var(--sc-lh) * 2rem)
h1
--sc-m-b: 0

h2, h3, h4, h5, h6
--sc-m-b: calc(var(--sc-m-v) * 0.5)

figure
margin-inline: 0
Expand Down
1 change: 1 addition & 0 deletions source/_header.html.slim
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
header
h1= data.site.title

nav
menu
- top_level_pages.each do |page|
Expand Down

0 comments on commit 1652a18

Please sign in to comment.