Compare commits
No commits in common. "5cdcab990787f5d0eaab90a3d900402acddd5e5a" and "0b7680f38fe5434d143d311b51e3a2a0855d3cf7" have entirely different histories.
5cdcab9907
...
0b7680f38f
3 changed files with 8 additions and 44 deletions
|
@ -1,5 +1,5 @@
|
||||||
<footer>
|
<footer>
|
||||||
<div class="footer-container">
|
<div>
|
||||||
{% set otherLang = page.url | locale_links | first %}
|
{% set otherLang = page.url | locale_links | first %}
|
||||||
<a href="{{otherLang.url}}" lang="{{otherLang.lang}}" hreflang="{{otherLang.lang}}">
|
<a href="{{otherLang.url}}" lang="{{otherLang.lang}}" hreflang="{{otherLang.lang}}">
|
||||||
{% if otherLang.lang == "de" %}
|
{% if otherLang.lang == "de" %}
|
||||||
|
@ -8,42 +8,15 @@
|
||||||
English Version 🇬🇧/🇺🇸
|
English Version 🇬🇧/🇺🇸
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
<nav id="footerNav">
|
<nav>
|
||||||
{{ collections.footerNav | pageLang | eleventyNavigation | eleventyNavigationToHtml | safe }}
|
{{ collections.footerNav | pageLang | eleventyNavigation | eleventyNavigationToHtml | safe }}
|
||||||
</nav>
|
</nav>
|
||||||
<span>
|
</div>
|
||||||
|
<div>
|
||||||
|
<p>
|
||||||
Design:
|
Design:
|
||||||
<a href="https://designtoasty.de" target="_blank" rel="noreferrer">Designtoasty</a>
|
<a href="https://designtoasty.de" target="_blank" rel="noreferrer">Designtoasty</a>
|
||||||
</span>
|
</p>
|
||||||
<span>Made with 🧉 and 🌈 in Dresden</span>
|
<p>Made with 🧉 and 🌈 in Dresden</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</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: var(--page-width);
|
|
||||||
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 %}
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ header {
|
||||||
padding: 2rem 0;
|
padding: 2rem 0;
|
||||||
}
|
}
|
||||||
.header-container {
|
.header-container {
|
||||||
max-width: var(--page-width);
|
max-width: 75rem;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -23,17 +23,8 @@ eleventyComputed:
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
{% css %}
|
{% css %}
|
||||||
:root {
|
|
||||||
--page-width: 75rem;
|
|
||||||
}
|
|
||||||
body {
|
body {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 17px;
|
|
||||||
}
|
|
||||||
main {
|
|
||||||
max-width: var(--page-width);
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
}
|
}
|
||||||
{% endcss %}
|
{% endcss %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue