From 6257d8a592e680303979390ae0281333761dc3d2 Mon Sep 17 00:00:00 2001 From: Alexel Date: Wed, 4 Sep 2024 16:27:44 -0400 Subject: [PATCH] =?UTF-8?q?Affichage=20Footer=20Ajout=20de=20balises=20div?= =?UTF-8?q?=20=C3=A0=20index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/footer.css | 30 ++++++++++++++++++++++++++++++ public/css/general.css | 2 ++ templates/html/footer.html | 18 +++++++++--------- templates/html/general.html | 21 +++++++++++---------- templates/html/index.html | 7 ++++--- 5 files changed, 56 insertions(+), 22 deletions(-) create mode 100644 public/css/footer.css diff --git a/public/css/footer.css b/public/css/footer.css new file mode 100644 index 0000000..f2d6b1a --- /dev/null +++ b/public/css/footer.css @@ -0,0 +1,30 @@ +.pageFooter { + background: #394596; + /*Bleu AGECEM*/ + width: 100%; + bottom: 0; + padding: 20px; + bottom: 0; + position: fixed; + +} + +ul.footerElementList { + display: flex; + flex-flow: row; + list-style: none; + justify-content: space-around; + align-items: center; + text-align: center; + +} + +li.footerElement { + font-family: "Poppins"; + font-weight: 400; + /*semi-bold*/ + font-size: 0, 75rem; + /*12px*/ + text-align: center; + +} \ No newline at end of file diff --git a/public/css/general.css b/public/css/general.css index 4eee7c1..b91614f 100644 --- a/public/css/general.css +++ b/public/css/general.css @@ -15,6 +15,7 @@ img { body { margin: 0; padding-top: 60px; + padding-bottom: 80px; } ul { @@ -24,6 +25,7 @@ ul { a { color: #FF563C; text-decoration: none; + font-family: "Poppins"; } .wrapper { diff --git a/templates/html/footer.html b/templates/html/footer.html index 74527db..8f9fb25 100644 --- a/templates/html/footer.html +++ b/templates/html/footer.html @@ -1,10 +1,10 @@ {{ define "footer-html" }} - -{{ end }} + +{{ end }} \ No newline at end of file diff --git a/templates/html/general.html b/templates/html/general.html index 35f7d8a..ba47914 100644 --- a/templates/html/general.html +++ b/templates/html/general.html @@ -1,11 +1,12 @@ {{ define "general-html" }} - - - - -{{ end }} + + + + + +{{ end }} \ No newline at end of file diff --git a/templates/html/index.html b/templates/html/index.html index 8dd20e5..e62fe06 100644 --- a/templates/html/index.html +++ b/templates/html/index.html @@ -39,9 +39,10 @@ src="/public/icones/instagram-icon.svg"> - - {{ template "footer-html" }} + + + {{ template "footer-html" }} -{{ end }} +{{ end }} \ No newline at end of file