Skip to content

Commit

Permalink
different approach to header
Browse files Browse the repository at this point in the history
Not a fan of juggling off by 1 pixel issues.
  • Loading branch information
zhubert committed Apr 27, 2024
1 parent 2241e55 commit d84d31b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
12 changes: 2 additions & 10 deletions themes/zhubert/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -389,17 +389,14 @@ h2 {
h2 {
font-size:24px;
line-height: 125%;
margin-bottom: 24px
}
}

header {
/* border-bottom: 1px solid #222; */
margin-bottom: 1rem;
}

header > h1 {
font-family: "EB Garamond", serif;
font-weight: 700;
font-size: 26px;
}

footer {
Expand Down Expand Up @@ -472,11 +469,6 @@ nav li:first-child {
flex: 1 auto;
}

nav li h1 {
font-family: "EB Garamond";
margin-bottom: 5px;
}

blockquote {
border-left: 2px solid #EDEADE;
margin: 0;
Expand Down
4 changes: 1 addition & 3 deletions themes/zhubert/layouts/partials/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
<nav>
<ul>
<li>
<h1>
<a href="/">{{site.Title }}</a>
</h1>
<a href="/">{{site.Title }}</a>
</li>
{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
</ul>
Expand Down

0 comments on commit d84d31b

Please sign in to comment.