aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-03-25 02:19:28 +0300
committerValentin Popov <info@valentineus.link>2019-03-25 02:19:28 +0300
commitd90addf7d2d94ad85d01db10f3658218447ae95c (patch)
tree3965b94df1d2a1fc7bf3d671aa5ae48d77f2d95d
parent040b041597ec4572b9e034a7577214835dcbbc35 (diff)
downloadpopov.link-d90addf7d2d94ad85d01db10f3658218447ae95c.tar.xz
popov.link-d90addf7d2d94ad85d01db10f3658218447ae95c.zip
Update menu items
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--_includes/navbar.html12
-rw-r--r--_scss/components/_navigation.scss6
2 files changed, 13 insertions, 5 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index 03a9d08..4171449 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -26,14 +26,18 @@
<ul class="navigation-pills">
<li class="navigation-item" role="presentation">
- <a href="/">Home</a>
+ <h5>
+ <a href="/">Home</a>
+ </h5>
</li>
{% for page in pages%}
<li class="navigation-item" role="presentation">
- <a href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
- {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
- </a>
+ <h5>
+ <a href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
+ {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
+ </a>
+ </h5>
</li>
{% endfor %}
</ul>
diff --git a/_scss/components/_navigation.scss b/_scss/components/_navigation.scss
index 8435b08..b17449d 100644
--- a/_scss/components/_navigation.scss
+++ b/_scss/components/_navigation.scss
@@ -82,7 +82,11 @@
}
.navigation-item {
- padding: 20px;
+ padding-bottom: 5px;
+
+ &:last-child {
+ padding-bottom: 0;
+ }
a {
text-decoration: none;