mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-26 20:51:22 +01:00
Merge pull request #61 from gdgistanbul/fix/margin-right-buttons
Right nav buttons margin fix.
This commit is contained in:
commit
bc1d6c7da0
3 changed files with 6 additions and 3 deletions
|
@ -23,7 +23,7 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
{% for rightNavigationButton in site.rightNavigationButtons %}
|
||||
<a href="{% if rightNavigationButton.permalink != null %} {{ rightNavigationButton.permalink | prepend: site.baseurl }} {% else %} {{ rightNavigationButton.link }} {% endif %}" class="right-nav-button right-nav-button-hidden btn btn-primary waves-effect waves-button waves-light waves-float pull-right hidden-xs hidden-sm" {% if rightNavigationButton.link != null %}target="_blank"{% endif %}>
|
||||
<a href="{% if rightNavigationButton.permalink != null %} {{ rightNavigationButton.permalink | prepend: site.baseurl }} {% else %} {{ rightNavigationButton.link }} {% endif %}" class="{% if forloop.index == 1 %}right-nav-button-rightest {% endif %}right-nav-button right-nav-button-hidden btn btn-primary waves-effect waves-button waves-light waves-float pull-right hidden-xs hidden-sm" {% if rightNavigationButton.link != null %}target="_blank"{% endif %}>
|
||||
{{ rightNavigationButton.text }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -139,7 +139,7 @@ nav {
|
|||
}
|
||||
}
|
||||
.right-nav-button {
|
||||
margin: 11px 65px 0 0;
|
||||
margin: 11px 11px 0 0;
|
||||
transition: $base-transition;
|
||||
opacity: 1;
|
||||
display: block;
|
||||
|
@ -151,6 +151,9 @@ nav {
|
|||
transform: translateY(-50px);
|
||||
}
|
||||
}
|
||||
.right-nav-button-rightest {
|
||||
margin: 11px 65px 0 0;
|
||||
}
|
||||
.icon-menu {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue