1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-12-24 02:16:10 +01:00

footer tweaks

This commit is contained in:
Matthias Kretschmann 2016-01-30 14:28:19 +01:00
parent 4329fcbf2f
commit 6f5de0484f
3 changed files with 14 additions and 16 deletions

View File

@ -2,17 +2,15 @@
.footer {
padding-top: $spacer;
padding-bottom: $spacer;
border-top: 1px solid $gray-darker;
border-top: 1px solid $gray;
color: $gray-light;
}
.footer__copyright {
text-align: center;
&,
small {
@extend .mini;
}
@media ($screen-md) {
text-align: right;
}
}

View File

@ -105,11 +105,14 @@
.menu__logo {
margin-bottom: $spacer;
@media ($screen-md) { margin-bottom: 0 }
&:hover,
&:focus {
.logo { fill: $brand-primary }
}
}
.logo {
fill: $gray;
fill: $gray-light;
opacity: 1;
height: 9px;
}
@ -117,11 +120,11 @@
.menu__link {
@extend .mini;
padding: ($spacer/2);
color: $gray;
color: $gray-light;
// link line
&:after {
background: $link-color;
background: $brand-primary;
}
&:first-child { padding-left: 0; }
@ -129,6 +132,6 @@
&:hover,
&:focus,
&.active { color: $link-color; }
&.active { color: $brand-primary; }
}
}

View File

@ -1,12 +1,7 @@
<nav class="menu menu--footer">
<div class="grid grid--full grid-medium--half">
<div class="grid__col">
<a class="menu__logo" href="/">
<svg class="logo logo--sm" aria-labelledby="title">
<title>Logo</title>
<use xlink:href="/assets/img/sprite.svg#logo"></use>
</svg>
</a>
{% for link in site.data.menus.main %}
{% assign active = nil %}
@ -18,6 +13,7 @@
{% endfor %}
</div>
<div class="grid__col">
{% for link in site.data.menus.footer %}
@ -31,4 +27,5 @@
{% endfor %}
</div>
</div>
</nav>