Socials
All checks were successful
Build / build (push) Successful in 43s

This commit is contained in:
Emil Miler 2024-12-14 15:53:18 +01:00
parent 8f19a06340
commit 7488b66720
2 changed files with 24 additions and 5 deletions

View File

@ -210,7 +210,7 @@ header {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url('img/panorama.jpg'); background-image: url('img/panorama.jpg');
background-size: cover; background-size: cover;
background-position: center center; background-position: center center;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -226,7 +226,7 @@ header {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-image: url('img/forest.svg'); background-image: url('img/forest.svg');
background-size: auto 10em; background-size: auto 10em;
background-position: center bottom -4px; // -4px fixes a visible line on some resolutions background-position: center bottom -4px; // -4px fixes a visible line on some resolutions
background-repeat: repeat-x; background-repeat: repeat-x;
@ -254,8 +254,20 @@ section {
} }
} }
footer { footer .wrap {
text-align: center;
padding: 5em 1em 1em 1em; padding: 5em 1em 1em 1em;
margin-top: auto; margin-top: auto;
display: flex;
justify-content: space-between;
.socials {
display: flex;
gap: 1rem;
a {
color: inherit;
text-decoration: none;
font-size: 1.5rem;
}
}
} }

View File

@ -29,7 +29,14 @@
{% endblock %} {% endblock %}
<footer> <footer>
<p>&copy; {{ now() | date(format="%Y") }} {{ config.title }}</p> <div class="wrap">
<p>&copy; {{ now() | date(format="%Y") }} {{ config.title }}</p>
<div class="socials">
<a href="https://www.instagram.com/kocandaci/" target="_blank"><i class="ri-instagram-line"></i></a>
<a href="https://www.facebook.com/kocandaci" target="_blank"><i class="ri-facebook-box-line"></i></a>
<a href="https://www.youtube.com/channel/UCd5GIRz17QOQpCpg5PGi0PQ/featured" target="_blank"><i class="ri-youtube-line"></i></a>
</div>
</div>
</footer> </footer>
{% block script %} {% block script %}