From 5266992b281f7deccddf16dda3154168a80a0bcb Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 19 Mar 2026 00:57:34 +0100 Subject: [PATCH] =?UTF-8?q?S=C3=A9paration=20du=20footer=20en=20CSS=20?= =?UTF-8?q?=C3=A0=20la=20place=20de=20HTML.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/style.scss | 24 ++++++++++++++++++++++++ layouts/_partials/footer.html | 2 -- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/assets/style.scss b/assets/style.scss index 243ef9a..4d2198f 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -158,6 +158,30 @@ article:not(:last-of-type)::after { ); } +// Séparation du pied de page +footer { + margin: 0; + padding-top: 1em; + position: relative; +} + +footer::before { + content: ""; + position: absolute; + + left: 0; + top: 0; + width: 100%; + height: 1em; /* ≈ hauteur d’un caractère */ + + background-image: linear-gradient( + to bottom, + transparent 49.99%, + $fg 49.99% 57.13%, + transparent 57.13% + ); +} + // Prompt and command line. // ======================== .cmdblock { diff --git a/layouts/_partials/footer.html b/layouts/_partials/footer.html index c638c00..e818d06 100644 --- a/layouts/_partials/footer.html +++ b/layouts/_partials/footer.html @@ -1,5 +1,3 @@ -
- {{ with .GitInfo }}

Dernière modification commit {{ .AuthorDate }} - {{ .Hash }} - {{ .AuthorName }} <{{ replace .AuthorEmail "@" " at " }}>

{{ end }}