diff --git a/components/Footer.css b/components/Footer.css index c9bb66d..f638a61 100644 --- a/components/Footer.css +++ b/components/Footer.css @@ -1,11 +1,16 @@ footer { height: fit-content; + background-color: var(--_translucent); +} + +footer div { + max-width: var(--_wide-screen); width: 100%; padding: var(--_gap); display: flex; gap: var(--_gap); justify-content: space-around; - background-color: var(--_translucent); + margin: auto; } .footer__badges { diff --git a/components/Footer.tsx b/components/Footer.tsx index ecb480c..eb192b2 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,87 +1,89 @@ export function Footer() { return ( ) } diff --git a/components/Header.css b/components/Header.css index 2323239..2521774 100644 --- a/components/Header.css +++ b/components/Header.css @@ -1,14 +1,20 @@ header { width: 100%; - padding: var(--_gap); - display: flex; - gap: var(--_gap); + padding: 0; margin: 0; background-color: var(--_translucent); color: var(--_font-color); user-select: none; } +header div { + max-width: var(--_wide-screen); + margin: auto; + padding: var(--_gap); + display: flex; + gap: var(--_gap); +} + header span { text-wrap: nowrap; padding: var(--_gap); diff --git a/components/Header.tsx b/components/Header.tsx index ff9f237..48c4298 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -3,37 +3,39 @@ import { asset } from '$fresh/runtime.ts' export function Header() { return ( - - - Cohbit POC - - - - - Machines - - - Projets - - - Blog - - - - Fablab - - Équipes - Redmine - Git - Matrix - - - - - + + + + Cohbit POC + + + + + Machines + + + Projets + + + Blog + + + + Fablab + + Équipes + Redmine + Git + Matrix + + + + + + ) } diff --git a/src/stylesheets/base.css b/src/stylesheets/base.css index 8bc95dd..bfc91ab 100644 --- a/src/stylesheets/base.css +++ b/src/stylesheets/base.css @@ -12,6 +12,7 @@ /* size */ --_gap: var(--size-3); --_gap-half: calc(var(--_gap) / 2); + --_wide-screen: 1400px; /* color */ --_accent-color: var(--lime-6);