File tree Expand file tree Collapse file tree 3 files changed +15
-16
lines changed
Expand file tree Collapse file tree 3 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 3131 margin : 0 0 0 auto;
3232 width : 4rem ;
3333 height : 4rem ;
34- color : var (--pst-color-text-muted );
34+ color : var (--pst-color-text-base );
3535}
3636.navbar > .container {
3737 align-items : stretch;
9191.navbar-item {
9292 flex-grow : 0 ;
9393 flex-shrink : 0 ;
94- color : var (--pst-color-text-muted );
94+ color : var (--pst-color-text-base );
9595}
9696.navbar-item img {
9797 max-height : 1.75rem ;
113113}
114114
115115.navbar-burger : hover {
116- color : var (--colorPrimaryLight );
116+ color : var (--pst-color-link-hover );
117117}
118118
119119.navbar-logo {
@@ -161,7 +161,7 @@ a.navbar-item:hover {
161161
162162/* Dropdown menu item text */
163163.navbar-item .has-dropdown .navbar-link {
164- color : # 999 ;
164+ color : var ( --pst-color-text-base ) ;
165165 text-decoration : none;
166166}
167167
@@ -211,12 +211,12 @@ a.navbar-item:hover {
211211 padding : 0.5rem 0 ;
212212 }
213213 .navbar-menu .is-active {
214- background : var (--pst-color-text-muted );
214+ background : var (--pst-color-surface );
215215 display : block;
216216 }
217217
218218 .navbar-menu .is-active .navbar-item {
219- color : var (--pst-color-background );
219+ color : var (--pst-color-text-base );
220220 }
221221
222222 .navbar-menu .is-active .navbar-item : hover {
Original file line number Diff line number Diff line change @@ -37,6 +37,12 @@ params:
3737 url : /shortcodes/
3838 - title : Examples
3939 url : /examples/
40+ - title : More
41+ sublinks :
42+ - title : Dropdown item
43+ url : /
44+ - title : Dropdown item
45+ url : /
4046 footer :
4147 logo : logo.svg
4248 socialmediatitle : " "
Original file line number Diff line number Diff line change 11{{- $title := .Site.Params.title }}
22{{- $navbar := .Site.Params.navbar }}
33{{- $navbarLogo := .Site.Params.navbarlogo }}
4- {{- $navbarLogoShow := .Site.Params.navbarlogoshow }}
54< nav id ="nav " class ="navbar " role ="navigation " aria-label ="main navigation ">
65 < div class ="container ">
76 < div class ="navbar-brand ">
8- {{ if or (not .IsHome) ($navbarLogoShow ) }}
7+ {{- if or (not .IsHome) (not .Site.Params.hero ) }}
98 {{- if $navbarLogo}}
109 < a class ="navbar-item " href ="{{ $navbarLogo.link }} ">
1110 < img class ="navbar-logo " src ="{{ printf "/images/%s" $navbarLogo.image | relURL }}" alt="{{ default (printf "%s logo" $title) $navbarLogo.altText }}">
1211 < div class ="navbar-logo-text "> {{ default "" $navbarLogo.text }}</ div >
1312 </ a >
1413 {{- end}}
15- {{ end }}
14+ {{- end }}
1615
1716 < a role ="button " class ="navbar-burger " aria-label ="menu " aria-expanded ="false " data-target ="navbar-menu ">
1817 < span aria-hidden ="true "> </ span >
3938 {{- end }}
4039 </ div >
4140 </ div >
42- {{- else if .button }}
43- < a href ="{{ .url }} " class ="navbar-item ">
44- < span class ="button signup-button rounded secondary-btn raised ">
45- {{ .title }}
46- </ span >
47- </ a >
4841 {{- else }}
49- < a href ="{{ .url }} " class ="navbar-item is-secondary ">
42+ < a href ="{{ .url }} " class ="navbar-item ">
5043 {{ .title }}
5144 </ a >
5245 {{- end }}
You can’t perform that action at this time.
0 commit comments