basic footer styles
This commit is contained in:
parent
0b7680f38f
commit
c91caf72e0
|
@ -1,5 +1,5 @@
|
|||
<footer>
|
||||
<div>
|
||||
<div class="footer-container">
|
||||
{% set otherLang = page.url | locale_links | first %}
|
||||
<a href="{{otherLang.url}}" lang="{{otherLang.lang}}" hreflang="{{otherLang.lang}}">
|
||||
{% if otherLang.lang == "de" %}
|
||||
|
@ -8,15 +8,42 @@
|
|||
English Version 🇬🇧/🇺🇸
|
||||
{% endif %}
|
||||
</a>
|
||||
<nav>
|
||||
<nav id="footerNav">
|
||||
{{ collections.footerNav | pageLang | eleventyNavigation | eleventyNavigationToHtml | safe }}
|
||||
</nav>
|
||||
</div>
|
||||
<div>
|
||||
<p>
|
||||
<span>
|
||||
Design:
|
||||
<a href="https://designtoasty.de" target="_blank" rel="noreferrer">Designtoasty</a>
|
||||
</p>
|
||||
<p>Made with 🧉 and 🌈 in Dresden</p>
|
||||
</span>
|
||||
<span>Made with 🧉 and 🌈 in Dresden</span>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
{% css %}
|
||||
footer {
|
||||
border-top: 1px dotted rgba(0,0,0,.15);
|
||||
padding: 4rem 0;
|
||||
}
|
||||
#footerNav ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
gap: 1em;
|
||||
}
|
||||
#footerNav li {
|
||||
display: inline;
|
||||
}
|
||||
.footer-container {
|
||||
max-width: 75rem;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto;
|
||||
grid-auto-flow: column;
|
||||
grid-template-rows: 1fr 1fr;
|
||||
gap: 1em;
|
||||
}
|
||||
.footer-container > :nth-last-child(-n + 2) {
|
||||
text-align: end;
|
||||
}
|
||||
{% endcss %}
|
||||
|
|
Loading…
Reference in a new issue