diff --git a/_includes/nav.html b/_includes/nav.html
index fbe159f..e2ef458 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -1,28 +1,28 @@
-
+
{%- assign pages_list = site.html_pages | sort:"nav_order" -%}
{%- for node in pages_list -%}
{%- unless node.nav_exclude -%}
{%- if node.parent == nil -%}
- -
+
-
{%- if page.parent == node.title or page.grand_parent == node.title -%}
{%- assign first_level_url = node.url | absolute_url -%}
{%- endif -%}
- {{ node.title }}
+ {{ node.title }}
{%- if node.has_children -%}
{%- assign children_list = site.html_pages | where: "parent", node.title | sort:"nav_order" -%}
-
+
{%- for child in children_list -%}
- -
+
-
{%- if page.url == child.url or page.parent == child.title -%}
{%- assign second_level_url = child.url | absolute_url -%}
{%- endif -%}
- {{ child.title }}
+ {{ child.title }}
{%- if child.has_children -%}
{%- assign grand_children_list = site.html_pages | where: "parent", child.title | sort:"nav_order" -%}
-
+
diff --git a/_sass/navigation.scss b/_sass/navigation.scss
index ec529f0..1bc91d5 100644
--- a/_sass/navigation.scss
+++ b/_sass/navigation.scss
@@ -1,22 +1,23 @@
//
// Main nav, breadcrumb, etc...
//
-.navigation-list {
+
+.nav-list {
padding: 0;
margin-top: 0;
margin-bottom: 0;
list-style: none;
}
-.navigation-list-child-list {
+.nav-list-child-list {
padding-left: $sp-3;
list-style: none;
- .navigation-list-link {
+ .nav-list-link {
color: $nav-child-link-color;
}
- .navigation-list-item {
+ .nav-list-item {
position: relative;
&::before {
@@ -35,7 +36,7 @@
}
}
-.navigation-list-item {
+.nav-list-item {
@include fs-4;
margin: 0;
@@ -43,18 +44,18 @@
@include fs-3;
}
- .navigation-list-child-list {
+ .nav-list-child-list {
display: none;
}
&.active {
- .navigation-list-child-list {
+ .nav-list-child-list {
display: block;
}
}
}
-.navigation-list-link {
+.nav-list-link {
display: block;
padding-top: $sp-1;
padding-bottom: $sp-1;