Skip to content

Commit

Permalink
sidebar : logo and searchbox move with menu
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeantet committed Jul 8, 2017
1 parent b773d02 commit 5869299
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions layouts/partials/menu.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<nav id="sidebar" class="{{if $.Site.Params.showVisitedLinks }}showVisitedLinks{{end}}">



{{ $currentNode := . }}
{{ $showvisitedlinks := .Site.Params.showVisitedLinks }}
<div class="highlightable">
<div id="header-wrapper">
<div id="header">
{{ partial "logo.html" . }}
Expand All @@ -8,11 +14,7 @@
{{end}}
</div>



{{ $currentNode := . }}
{{ $showvisitedlinks := .Site.Params.showVisitedLinks }}
<div class="highlightable">

<ul class="topics">
{{if not .Site.Params.noHomeIcon}}
<li data-nav-id="{{"/" | relURL}}" class="dd-item">
Expand Down
6 changes: 3 additions & 3 deletions static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[typ
font-size: 1.2rem;
}
#footer {
padding: 3rem 1rem;
padding: 2rem 1rem 0 ;
color: #b3b3b3;
font-size: 13px;
}
Expand Down Expand Up @@ -1029,11 +1029,11 @@ td {
}

#footer {
min-height: 200px;
min-height: 3s0px;
}

.highlightable {
padding: 1rem 0 1rem;
padding: 0rem 0 0rem;
overflow: auto;
position: relative;
height: 100%;
Expand Down

0 comments on commit 5869299

Please sign in to comment.