From 97c3d1ee40ca6ec7b7cf0d44a46647a60bb80311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Mon, 25 Sep 2023 23:37:40 +0200 Subject: [PATCH] Some CSS --- content/pages/projets.md | 3 +-- mnmlist/static/css/main.css | 9 +++++++-- mnmlist/templates/base.html | 3 +++ pelicanconf.py | 1 - 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/content/pages/projets.md b/content/pages/projets.md index 3b3fe24..4d388ed 100644 --- a/content/pages/projets.md +++ b/content/pages/projets.md @@ -7,8 +7,7 @@ slug: index 👋 **Bienvenue par ici**. Developpeur et Brasseur, je suis intéressé par les dynamiques collectives, les libertés numériques et la facilitation. -Si vous souhaitez me contacter, envoyez moi un email sur ``alexis`` -@ ``notmyidea.org``. +Pour me contacter, envoyez-moi un email sur ``alexis`` ``@`` ``notmyidea.org``. --- diff --git a/mnmlist/static/css/main.css b/mnmlist/static/css/main.css index 4fc768c..891a314 100644 --- a/mnmlist/static/css/main.css +++ b/mnmlist/static/css/main.css @@ -239,7 +239,8 @@ section.index { #links li { display: initial; list-style-type: none; - } + white-space: nowrap; + } # links li:nth-child(1) { display: inline-block; @@ -260,11 +261,15 @@ section.index { color: var(--link-color-menu); } - #links a.selected { + #links a.main { color: #fff; background-color: var(--link-color-menu); } + #links a.selected { + text-decoration-color: var(--link-color); + } + #links a.selected:hover { cursor: default; } diff --git a/mnmlist/templates/base.html b/mnmlist/templates/base.html index 345453b..0b744d7 100644 --- a/mnmlist/templates/base.html +++ b/mnmlist/templates/base.html @@ -18,6 +18,9 @@