From 4e1f6a908312ad5908c9377f9e551254c0b0c8e8 Mon Sep 17 00:00:00 2001 From: leosw Date: Sun, 3 Aug 2025 22:15:21 +0200 Subject: [PATCH] Style pour les images dans le wiki --- views/css/d.wiki.css | 24 ++++++++++++++++++++++++ views/d.admin.html | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/views/css/d.wiki.css b/views/css/d.wiki.css index 0ea7682..cb5c1da 100755 --- a/views/css/d.wiki.css +++ b/views/css/d.wiki.css @@ -61,4 +61,28 @@ form.form input[type=submit] { #wiki_page.archive { opacity: 0.5; +} +#wikiContent img { + max-width: 100%; + border: 1px solid #bbb; +} + +#wikiContent .imglegend { + position: relative; +} +#wikiContent .imglegend img { + display: block; +} +#wikiContent .imglegend p { + display: block; + background: rgba(0,0,0,0.5); + color: white; + font-size: 14px; + font-variant: small-caps; + line-height: 20px; + position: absolute; + bottom: 0; + right: 0; + margin: 0; + padding: 2px 5px; } \ No newline at end of file diff --git a/views/d.admin.html b/views/d.admin.html index 9704a52..13c4ba3 100755 --- a/views/d.admin.html +++ b/views/d.admin.html @@ -15,7 +15,7 @@ rankIsHigher("moderator")) { ?> Voir les logs Permet d'accéder aux 200 dernières lignes des logs bruts des actions sur la base de données.

- Fichiers attachésGérer les fichiers attachés pour le wiki : liste, ajout suppression...

+ Fichiers attachésGérer les fichiers attachés pour le wiki : liste, ajout, suppression...