aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-12-16 16:22:26 +0300
committerValentin Popov <info@valentineus.link>2018-12-16 16:23:50 +0300
commit0645f56405e111b0012ace8b47b1e3f2f8aecc8b (patch)
tree083e2149b89a8d4a99a1584b51b1fd7fa63b7180
parent543fb8d2594c2d4ef373cadb8274b6792ae9b0dc (diff)
downloadpopov.link-0645f56405e111b0012ace8b47b1e3f2f8aecc8b.tar.xz
popov.link-0645f56405e111b0012ace8b47b1e3f2f8aecc8b.zip
fix(navbar): Correct the look of navigation links
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--_includes/navbar.html12
-rw-r--r--_scss/components/_navigation.scss11
2 files changed, 10 insertions, 13 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index f44cff5..acf5e0c 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -4,7 +4,9 @@
<ul class="nav-pills">
{% unless page.url == "/index.html" %}
<li role="presentation">
- <a class="nav-link" href="/">Home</a>
+ <strong>
+ <a class="nav-link" href="/">Home</a>
+ </strong>
</li>
{% endunless %}
@@ -12,9 +14,11 @@
<ul class="nav-pills nav-right">
{% for page in pages %}
<li role="presentation">
- <a class="nav-link" 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>
+ <strong>
+ <a class="nav-link" 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>
+ </strong>
</li>
{% endfor %}
</ul>
diff --git a/_scss/components/_navigation.scss b/_scss/components/_navigation.scss
index d4def18..749a03e 100644
--- a/_scss/components/_navigation.scss
+++ b/_scss/components/_navigation.scss
@@ -8,26 +8,19 @@
li {
float: left;
padding: .5em;
-
- &:first-child {
- padding-left: 0;
- }
-
- &:last-child {
- padding-right: 0;
- }
}
}
.nav-link {
text-align: center;
text-decoration: none;
+ text-transform: uppercase;
&:active,
&:focus,
&:hover {
border: 0;
- text-decoration: underline;
+ text-decoration: none;
}
}