Skip to content

Commit

Permalink
Add site-title class
Browse files Browse the repository at this point in the history
  • Loading branch information
nntrn committed Apr 18, 2024
1 parent cd87935 commit f0c660b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<aside class="sidebar flex gap">
<header>
<h1><a href="{{ '/' | relative_url }}">{{site.title}}</a></h1>
<h1 class="site-title"><a href="{{ '/' | relative_url }}">{{site.title}}</a></h1>
<h5><a href="https://github.com/nntrn/jq-recipes/wiki">View the wiki</a></h5>
</header>
<div class="sidebar-groups">
Expand Down
5 changes: 3 additions & 2 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ button{position:fixed;z-index:1000;right:0}
.gap{gap:var(--gap,1rem)}
.wrap{flex-wrap:wrap}
.flex-1{display:flex;flex:1}
.site-title{font-size:2rem;font-weight:300}
.sidebar-groups{gap:1rem;display:flex;flex-direction:column;padding-bottom:4rem}
.language-jq{user-select:all}
@media (max-width:700px){
.container{flex-direction:column-reverse}
.sidebar{border-top:1px solid #222;padding-top:1rem}
.sidebar>div{flex:1;flex-wrap:wrap}
.sidebar-groups{display:unset;columns:2}
.sidebar-groups ul{margin:0 0}
.sidebar-groups{display:unset;columns:3}
.sidebar-groups ul{margin:0 0;width:200px}
}

0 comments on commit f0c660b

Please sign in to comment.