mirror of
https://github.com/JonasunderscoreJones/wiki.jonasjones.dev.git
synced 2025-10-22 13:59:19 +02:00
Fixed Footer Style
Fixed an issue where the footer text would wrap in a wrong way on smaller screens and not be aligned correctly.
This commit is contained in:
parent
3c3e128475
commit
6f855a9f45
1 changed files with 21 additions and 18 deletions
|
@ -4,23 +4,25 @@
|
|||
|
||||
<!-- Footer.svelte -->
|
||||
<footer>
|
||||
<a href="/">Home</a>
|
||||
<div class="footer-flex">
|
||||
<a href="/">Home</a>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://jonasjones.dev/">Homepage</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/about">About</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>Website by Jonas_Jones 2021 - 2023</p>
|
||||
</div>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="https://jonasjones.dev/">Homepage</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/about">About</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/contact">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</footer>
|
||||
|
||||
<style>
|
||||
|
@ -30,10 +32,13 @@
|
|||
margin-bottom: 2rem;
|
||||
margin-top: 0;
|
||||
background: var(--container-background-color);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.footer-flex {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
|
@ -49,10 +54,8 @@
|
|||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue