}
a.navbar-item:hover, a.navbar-item.is-active,
-.navbar-link:hover,
-.navbar-link.is-active {
+a.navbar-link:hover,
+a.navbar-link.is-active {
background-color: whitesmoke;
- color: #0a0a0a;
+ color: #3273dc;
}
.navbar-item {
min-height: 3.25rem;
}
.navbar.is-transparent a.navbar-item:hover, .navbar.is-transparent a.navbar-item.is-active,
- .navbar.is-transparent .navbar-link:hover,
- .navbar.is-transparent .navbar-link.is-active {
+ .navbar.is-transparent a.navbar-link:hover,
+ .navbar.is-transparent a.navbar-link.is-active {
background-color: transparent !important;
}
.navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link, .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link {
padding-bottom: 3.25rem;
}
a.navbar-item.is-active,
- .navbar-link.is-active {
+ a.navbar-link.is-active {
color: #0a0a0a;
}
a.navbar-item.is-active:not(:hover),
- .navbar-link.is-active:not(:hover) {
+ a.navbar-link.is-active:not(:hover) {
background-color: transparent;
}
.navbar-item.has-dropdown:hover .navbar-link, .navbar-item.has-dropdown.is-active .navbar-link {
text-align: left;
}
+.content .highlight:not(:first-child) {
+ margin-top: 1em;
+}
+
+.content .highlight:not(:last-child) {
+ margin-bottom: 1em;
+}
+
.content li .highlight {
margin-top: 0.5em;
}
+.content .bd-spaced li + li {
+ margin-top: 1em;
+}
+
.content .highlighter-rouge:not(:last-child) {
margin-bottom: 1.5rem;
}
<p>
A <code>navbar-item</code> is a repeatable element that can be:
</p>
- <ul>
+ <ul class="bd-spaced">
<li>
a navigation <strong>link</strong>
{% highlight html %}{{ navbar_item_link_example }}{% endhighlight %}
<p>
You can now <strong>fix</strong> the navbar to either the <strong>top</strong> or <strong>bottom</strong> of the page. This is a 2-step process:
</p>
- <ul>
+ <ul class="bd-spaced">
<li>
Add either <code>is-fixed-top</code> or <code>is-fixed-bottom</code> to the <code>navbar</code> component
{% highlight html %}<nav class="navbar is-fixed-top">{% endhighlight %}
<span class="icon">
<i class="fa fa-square-o"></i>
</span>
- <span>Fix top navbar</span>
+ <span>Fix <strong>top</strong> navbar</span>
</a>
<a id="navbarFixBottom" class="button is-link">
<span class="icon">
<i class="fa fa-square-o"></i>
</span>
- <span>Show bottom navbar</span>
+ <span>Show <strong>bottom</strong> navbar</span>
</a>
</div>
$navbar-fixed-z: 30 !default
$navbar-item-color: $grey-dark !default
-$navbar-item-hover-color: $black !default
+$navbar-item-hover-color: $link !default
$navbar-item-hover-background-color: $background !default
$navbar-item-active-color: $black !default
$navbar-item-active-background-color: transparent !default
position: relative
a.navbar-item,
-.navbar-link
+a.navbar-link
&:hover,
&.is-active
background-color: $navbar-item-hover-background-color
min-height: $navbar-height
&.is-transparent
a.navbar-item,
- .navbar-link
+ a.navbar-link
&:hover,
&.is-active
background-color: transparent !important
padding-bottom: $navbar-height
// Hover/Active states
a.navbar-item,
- .navbar-link
+ a.navbar-link
&.is-active
color: $navbar-item-active-color
&.is-active:not(:hover)