1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-22 01:26:52 +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 { .section--farewell {
margin-top: -4rem; margin-top: -4rem;
z-index: 2; z-index: 2;
padding-top: $spacer * 3;
} }
// //
@ -12,6 +11,12 @@
// //
.articles { .articles {
max-width: 100%; max-width: 100%;
margin-top: $spacer;
margin-bottom: -$spacer;
.button {
padding-bottom: 0;
}
} }
.article { .article {

View File

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

View File

@ -20,16 +20,3 @@
{{ contact.address.country }} {{ contact.address.country }}
</p> </p>
</div> </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 %} {% include menu-main.html %}
<header class="header header--page"> <header class="header header--page">

View File

@ -10,17 +10,6 @@
</a> </a>
</div> </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"> <div class="grid__col">
{% for link in site.data.menus.footer %} {% for link in site.data.menus.footer %}
{% assign active = nil %} {% assign active = nil %}
@ -32,18 +21,5 @@
{% endfor %} {% endfor %}
</div> </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> </div>
</nav> </nav>