Add footer

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-06 15:52:11 +02:00
parent ff3c10cfd2
commit 19c5daa5c6
4 changed files with 102 additions and 19 deletions

68
assets/sass/footer.scss Normal file
View File

@@ -0,0 +1,68 @@
.footer {
padding: 4rem 2rem;
.footer-container {
max-width: $width-content;
width: 100%;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
color: color-mix(in srgb, var(--text) 30%, var(--background));
a {
text-decoration: none;
color: inherit;
}
a:hover {
color: var(--text-900);
}
.footer-nav {
.middot {
font-weight: 900;
}
ul {
display: flex;
gap: 1rem;
margin: 0;
padding: 0;
list-style: none;
li {
font-size: 0.85rem;
}
}
}
}
}
@media (max-width: $width-mobile) {
.footer {
padding: 2rem 1rem;
.footer-container {
flex-direction: column;
justify-content: center;
gap: 1rem;
.footer-nav {
.middot {
display: none;
}
ul {
flex-direction: column;
align-items: center;
}
}
}
}
}

View File

@@ -8,21 +8,20 @@
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
a {
text-decoration: none;
color: inherit;
}
a:hover {
color: var(--text-900);
}
.site-title {
font-size: 1.5rem;
a {
text-decoration: none;
color: inherit;
}
a:hover {
color: var(--text-900);
}
}
.nav {
@@ -33,15 +32,8 @@
padding: 0;
list-style: none;
li a {
li {
font-size: 0.85rem;
text-decoration: none;
color: inherit;
display: block;
}
li a:hover {
color: var(--text-900);
}
}
}
@@ -78,7 +70,7 @@
justify-content: center;
opacity: 0;
background: var(--color-bg);
background: var(--background);
transition: opacity 0.3s ease;
pointer-events: none;

View File

@@ -6,3 +6,4 @@ $width-max: 60rem;
@import "fonts";
@import "header";
@import "footer";