File tree Expand file tree Collapse file tree 2 files changed +75
-1
lines changed Expand file tree Collapse file tree 2 files changed +75
-1
lines changed Original file line number Diff line number Diff line change 1+ < nav
2+ class ="navbar not-front is-primary {% if site.fixed_navbar %} is-fixed-{{ site.fixed_navbar }} {% endif %} "
3+ x-data ="{ openNav: false } "
4+ >
5+ < div class ="container ">
6+ < div class ="navbar-brand ">
7+ < a href ="{{ site.baseurl }}/ " class ="navbar-item ">
8+ < img src ="/images/TripalLogo_light_lrg.png " alt ="Home ">
9+ </ a >
10+ < a
11+ role ="button "
12+ class ="navbar-burger burger "
13+ aria-label ="menu "
14+ aria-expanded ="false "
15+ data-target ="navMenu "
16+ :class ="{ 'is-active': openNav } "
17+ x-on:click ="openNav = !openNav "
18+ >
19+ < span aria-hidden ="true "> </ span >
20+ < span aria-hidden ="true "> </ span >
21+ < span aria-hidden ="true "> </ span >
22+ </ a >
23+ </ div >
24+ < div class ="navbar-menu " id ="navMenu " :class ="{ 'is-active': openNav } ">
25+ < div class ="navbar-end ">
26+ {% if site.data.navigation %}
27+ {% for item in site.data.navigation %}
28+ {% if item.dropdown %}
29+ < div class ="navbar-item has-dropdown is-hoverable {% if site.fixed_navbar == 'bottom' %} has-dropdown-up {% endif %} ">
30+ < a
31+ href ="{{ item.link | relative_url }} "
32+ class ="navbar-link {% if page.url contains item.link %}is-active{% endif %} "
33+ >
34+ {{- item.name -}}
35+ </ a >
36+ < div class ="navbar-dropdown ">
37+ {% for subitem in item.dropdown %}
38+ < a
39+ href ="{{ subitem.link | relative_url }} "
40+ class ="navbar-item {% if subitem.link == page.url %}is-active{% endif %} "
41+ >
42+ {{- subitem.name -}}
43+ </ a >
44+ {% endfor %}
45+ </ div >
46+ </ div >
47+ {% else %}
48+ < a
49+ href ="{{ item.link | relative_url }} "
50+ class ="navbar-item {% if item.link == page.url %}is-active{% endif %} "
51+ >
52+ {{- item.name -}}
53+ </ a >
54+ {% endif %}
55+ {% endfor %}
56+ {% endif %}
57+ </ div >
58+ </ div >
59+ </ div >
60+ </ nav >
Original file line number Diff line number Diff line change @@ -6,6 +6,15 @@ $link: #990000;
66
77:root {
88 --bulma-navbar-height : 8rem !important ;
9+ --tripal-gray : hsl (40deg , 10% , 15% );
10+ }
11+ .navbar.is-primary {
12+ --bulma-navbar-background-color : var (--tripal-gray ) !important ;
13+ }
14+ .hero.is-primary {
15+ --bulma-hero-h : 40deg !important ;
16+ --bulma-hero-s : 15% !important ;
17+ --bulma-hero-background-l : 5% !important ;
918}
1019
1120// Navbar.
@@ -26,10 +35,15 @@ a.navbar-item, .navbar-link {
2635 background-color : #e7e7e7 !important ;
2736 }
2837}
38+ .navbar {
39+ background : var (--tripal-gray );
40+ background-image : url (" /images/hexagon_pattern.png" ) !important ;
41+ background-repeat : repeat !important ;
42+ }
2943
3044// Frontpage Header.
3145.frontpage-panel {
32- background : #1f1f1f ;
46+ background : var ( --tripal-gray ) ;
3347 background-image : url (" /images/hexagon_pattern.png" ) !important ;
3448 background-repeat : repeat !important ;
3549
You can’t perform that action at this time.
0 commit comments