File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,10 +12,18 @@ nav#main-nav {
1212 padding-left : 9px ;
1313 }
1414
15+ .nav-section {
16+ padding : 4px ;
17+ border-radius : 8px ;
18+ border-bottom : 0.5px solid rgba ($text-primary , .15 );
19+ border-top : 0.5px solid rgba ($text-primary , .15 );
20+ }
21+
1522 .nav-title {
23+ color : $text-primary ;
1624 text-transform : uppercase ;
17- opacity : .4 ;
18- font-size : .9 rem ;
25+ font-size : 1 rem ;
26+ font-weight : bold ;
1927 }
2028
2129 .nav-list {
Original file line number Diff line number Diff line change 1717
1818 {{ $cur := . }}
1919 {{ range $.Site.Sections }}
20- < span class ="nav-title "> {{ .Title }}</ span >
21- < ul class ="nav-list ">
22- {{ range .Pages }}
23- < li class ="{{ if eq $cur.Permalink .Permalink }}active{{ end }} ">
24- < a href ="{{ .Permalink }} "> {{ .Title }}</ a >
25- </ li >
26- {{ end }}
27- </ ul >
20+ < div class ="nav-section ">
21+ < span class ="nav-title "> {{ .Title }}</ span >
22+ < ul class ="nav-list ">
23+ {{ range .Pages }}
24+ < li class ="{{ if eq $cur.Permalink .Permalink }}active{{ end }} ">
25+ < a href ="{{ .Permalink }} "> {{ .Title }}</ a >
26+ </ li >
27+ {{ end }}
28+ </ ul >
29+ </ div >
2830 {{ end }}
2931 </ div >
3032 </ div >
You can’t perform that action at this time.
0 commit comments