From 747b1dae14da5403c6c5c19b885090089dfeea83 Mon Sep 17 00:00:00 2001 From: Alexel Date: Mon, 16 Sep 2024 16:31:24 -0400 Subject: [PATCH 1/3] Modifications balises footer.html --- templates/html/footer.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/html/footer.html b/templates/html/footer.html index 74d2913..8f9fb25 100644 --- a/templates/html/footer.html +++ b/templates/html/footer.html @@ -1,10 +1,10 @@ {{ define "footer-html" }} {{ end }} \ No newline at end of file From dc1321c3e6811f87b31748ce590c8950df0b1331 Mon Sep 17 00:00:00 2001 From: Alexel Date: Mon, 16 Sep 2024 16:32:37 -0400 Subject: [PATCH 2/3] Fermeture balise div sur index.html --- templates/html/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/html/index.html b/templates/html/index.html index 4200673..e62fe06 100644 --- a/templates/html/index.html +++ b/templates/html/index.html @@ -39,8 +39,9 @@ src="/public/icones/instagram-icon.svg"> - - {{ template "footer-html" }} + + + {{ template "footer-html" }} From 787cb54b7d61ba06785d3321d5407ca7b571fde8 Mon Sep 17 00:00:00 2001 From: Alexel Date: Mon, 16 Sep 2024 16:33:54 -0400 Subject: [PATCH 3/3] Ajout de CSS au footer et ajustement padding body --- public/css/footer.css | 38 +++++++++++++++++++++++++++++++++++++ public/css/general.css | 1 + templates/html/general.html | 1 + 3 files changed, 40 insertions(+) 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..2237686 --- /dev/null +++ b/public/css/footer.css @@ -0,0 +1,38 @@ +footer.css .pageFooter { + background: #f3f3f7; + /*Gris pâle*/ + width: 100%; + padding: 5px; + position: fixed; + bottom: 0; +} + +ul.footerElementList { + display: flex; + flex-flow: row; + list-style: none; + justify-content: space-around; + align-items: center; + text-align: center; + +} + +.footerElement { + font-family: "Poppins"; + font-weight: 400; + /*semi-bold*/ + font-size: 0.5rem; + /*8px*/ + text-align: center; +} + +@media screen and (min-width: 768px) { + .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..078865b 100644 --- a/public/css/general.css +++ b/public/css/general.css @@ -15,6 +15,7 @@ img { body { margin: 0; padding-top: 60px; + padding-bottom: 20px; } ul { diff --git a/templates/html/general.html b/templates/html/general.html index a511fec..ba47914 100644 --- a/templates/html/general.html +++ b/templates/html/general.html @@ -2,6 +2,7 @@ +