diff options
author | ADRN <adrien@luxeylab.net> | 2024-12-07 18:25:13 +0100 |
---|---|---|
committer | ADRN <adrien@luxeylab.net> | 2024-12-07 18:25:13 +0100 |
commit | f70be9acd6e163a71262e93f1bf7c552208c3e2b (patch) | |
tree | e708fddba64d787d373e4b918c5e6fcda9e3de39 | |
parent | a1607fd4af09d67867cbea2b837430ed367bdd8d (diff) | |
download | guide.deuxfleurs.fr-f70be9acd6e163a71262e93f1bf7c552208c3e2b.tar.gz guide.deuxfleurs.fr-f70be9acd6e163a71262e93f1bf7c552208c3e2b.zip |
hotfix: amélioration du footer, incluant mise en français de la date (dépend de la version de Zola installée, il faut au moins la 0.17 si j'ai bien compris
-rw-r--r-- | sass/_text.scss | 8 | ||||
-rw-r--r-- | sass/juice.scss | 1 | ||||
-rw-r--r-- | templates/index.html | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/sass/_text.scss b/sass/_text.scss index eb52d51..41d271f 100644 --- a/sass/_text.scss +++ b/sass/_text.scss @@ -46,5 +46,11 @@ h3, .subtitle-text { font-family: "Fira Sans", sans-serif; font-size: 16px; font-weight: 400; - letter-spacing: 0.1px; + letter-spacing: 0.2px; +} + +footer .subtext { + line-height: 1.6em; + margin-top: 1em; + margin-bottom: 1em; } diff --git a/sass/juice.scss b/sass/juice.scss index fd1086f..94285c9 100644 --- a/sass/juice.scss +++ b/sass/juice.scss @@ -161,6 +161,7 @@ footer { flex-direction: column; justify-content: center; align-items: center; + text-align: center; background-color: #202020; color: #fcfcfc; diff --git a/templates/index.html b/templates/index.html index 6f697ae..1193328 100644 --- a/templates/index.html +++ b/templates/index.html @@ -56,7 +56,7 @@ thème dérivé de <a href="https://github.com/huhu/juice">Juice</a>, servi par <a href="https://garagehq.deuxfleurs.fr/">Garage</a>. </small> - <small class="subtext">Last updated on: {{ now() | date(format="%d %B %Y") }}</small> + <small class="subtext">Dernière mise à jour le {{ now() | date(format="%A %-d %B %Y", locale="fr_FR") }}.</small> </footer> {% endblock footer %} </body> |