This commit is contained in:
Jeremy Thomas 2017-04-02 16:41:05 +01:00
parent ca20384d9e
commit 410fd187be
4 changed files with 27 additions and 47 deletions

View File

@ -15,6 +15,7 @@
* Fix #484 icon alignment
* Fix #506 bold nav menu
* Fix #581 nav container
* Fix #512 nav grouped buttons
## 0.4.0

View File

@ -39,8 +39,9 @@
Blog
</a>
{% if page.route != 'nothing' %}
<span class="nav-item">
<div class="nav-item">
<div class="field is-grouped">
<p class="control">
<a id="twitter"
class="button"
data-social-network="Twitter"
@ -53,32 +54,16 @@
</span>
<span>Tweet</span>
</a>
</p>
<p class="control">
<a class="button is-primary" href="{{ site.download }}">
<span class="icon">
<i class="fa fa-download"></i>
</span>
<span>Download</span>
</a>
</span>
{% else %}
<span class="nav-item">
<a class="button is-primary is-inverted is-outlined"
data-social-network="Twitter"
data-social-action="tweet"
data-social-target="http://bulma.io/"
href="https://twitter.com/intent/tweet?text={{ 'Bulma: a modern CSS framework based on Flebox' | urlencode }}&url=http://bulma.io/&via=jgthms">
<span class="icon">
<i class="fa fa-twitter"></i>
</span>
<span>Tweet</span>
</a>
<a class="button is-primary is-inverted" href="{{ site.download }}">
<span class="icon">
<i class="fa fa-download"></i>
</span>
<span>Download</span>
</a>
</span>
{% endif %}
</p>
</div>
</div>
</div>
</nav>

View File

@ -4174,10 +4174,6 @@ input[type="submit"].button {
max-height: 1.75rem;
}
.nav-item .button + .button {
margin-left: 0.75rem;
}
.nav-item .tag:first-child:not(:last-child) {
margin-right: 0.5rem;
}

View File

@ -22,8 +22,6 @@ $nav-height: 3.25rem !default
flex-shrink: 0
img
max-height: 1.75rem
.button + .button
margin-left: 0.75rem
.tag
&:first-child:not(:last-child)
margin-right: 0.5rem