From 563d4b8c730fa262d2887c601cda6f3c8d12b57a Mon Sep 17 00:00:00 2001 From: cofrizot Date: Tue, 17 Oct 2023 11:29:23 +0200 Subject: [PATCH] Change the footer --- src/app/app.component.css | 5 +- src/app/footer/footer.component.css | 68 +++++++++++++++++++++++++--- src/app/footer/footer.component.html | 57 +++++++++++++++++++++-- 3 files changed, 118 insertions(+), 12 deletions(-) diff --git a/src/app/app.component.css b/src/app/app.component.css index ceb372e..d1c3fe8 100644 --- a/src/app/app.component.css +++ b/src/app/app.component.css @@ -1,7 +1,10 @@ body{ display: flex; flex-direction: column; - justify-content: space-between; height: 100vh; margin: 0; } + +main { + flex: 1; +} diff --git a/src/app/footer/footer.component.css b/src/app/footer/footer.component.css index b873b6d..92fecee 100644 --- a/src/app/footer/footer.component.css +++ b/src/app/footer/footer.component.css @@ -4,15 +4,71 @@ padding: .5rem 1rem; display: flex; flex-direction: row; - align-items: center; justify-content: space-between; - gap: 4rem; } -.sandkasten-logo { - width: 4rem; - height: auto; - aspect-ratio: 1; +/* Logo and copyrights*/ +.rights { + display: grid; + grid: 'logo title' auto 'copyright copyright' / auto 1fr; + gap: .5rem; + color: #FFFFFF; + + .sandkasten-logo { + grid-area: logo; + width: 4rem; + height: auto; + aspect-ratio: 1; + } + + .title { + grid-area: title; + display: flex; + align-items: flex-end; + + font-size: 1.25rem; + font-weight: 600; + } + .copyright { + grid-area: copyright; + font-size: 1rem; + } } +/*Navigation*/ +.navigation { + display: flex; + flex-direction: row; + gap: 3rem; + color: #818181; + + .about, .legals { + display: flex; + flex-direction: column; + gap: .5rem; + + .title { + color: #FFFFFF; + text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); + } + + .links { + display: flex; + flex-direction: column; + gap: .25rem; + + > a { + color: #818181; + text-decoration: none; + transition: color .3s ease; + + } + :hover { + color: #FFFFFF; + } + } + } +} + + diff --git a/src/app/footer/footer.component.html b/src/app/footer/footer.component.html index 1096b5c..b96b871 100644 --- a/src/app/footer/footer.component.html +++ b/src/app/footer/footer.component.html @@ -1,9 +1,56 @@