1
0
mirror of https://github.com/ipdb/website.git synced 2024-12-27 07:07:44 +01:00

spacing and menu cleanup

This commit is contained in:
Matthias Kretschmann 2017-12-19 12:22:48 +01:00
parent 5c952e69d7
commit 8bfba45b30
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 10 additions and 38 deletions

View File

@ -4,7 +4,6 @@
.section--farewell {
margin-top: -4rem;
z-index: 2;
padding-top: $spacer * 3;
}
//
@ -12,6 +11,12 @@
//
.articles {
max-width: 100%;
margin-top: $spacer;
margin-bottom: -$spacer;
.button {
padding-bottom: 0;
}
}
.article {

View File

@ -3,5 +3,7 @@ main:
url: /contact/
legal:
- title: Contact
url: /contact/
- title: Imprint
url: /imprint/

View File

@ -20,16 +20,3 @@
{{ contact.address.country }}
</p>
</div>
<ul class="social-list">
{% for item in contact.social %}
<li>
<a href="{{ item.link }}" title="{{ item.name }}">
<svg class="icon" aria-labelledby="title">
<title>{{ item.name }}</title>
<use xlink:href="/assets/img/sprite.svg#icon-{{ item.name | downcase }}"></use>
</svg>
</a>
</li>
{% endfor %}
</ul>

View File

@ -1,3 +1,5 @@
{% include oceanprotocol.html %}
{% include menu-main.html %}
<header class="header header--page">

View File

@ -10,17 +10,6 @@
</a>
</div>
<div class="grid__col">
{% for link in site.data.menus.main %}
{% assign active = nil %}
{% if page.url contains link.url %}
{% assign active = 'active' %}
{% endif %}
<a class="menu__link {{ active }}" href="{{ link.url }}">{{ link.title }}</a>
{% endfor %}
</div>
<div class="grid__col">
{% for link in site.data.menus.footer %}
{% assign active = nil %}
@ -32,18 +21,5 @@
{% endfor %}
</div>
<div class="grid__col">
<h2 class="footer__title">Follow us</h2>
<div class="social">
{% for item in site.data.contact.social %}
<a class="social-link" href="{{ item.link }}" title="{{ item.name }}">
<svg class="icon" aria-labelledby="title">
<title>{{ item.name }}</title>
<use xlink:href="/assets/img/sprite.svg#icon-{{ item.name | downcase }}"></use>
</svg>
</a>
{% endfor %}
</div>
</div>
</div>
</nav>