Un dépôt pour générer le site de canine - retour accueil
git clone git://bebou.netlib.re/1s
Log | Files | Refs | README |
commit 029c385c4f2131b03ce9b2873471c2b61767316a parent 6063b37f8d432786710a6eb1698357317a937f28 Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Sun, 11 May 2025 23:19:14 +0200 Centrer les vidéos Diffstat:
M | style.css | | | 25 | ++----------------------- |
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/style.css b/style.css @@ -23,29 +23,6 @@ --disabled: #efefef; } -/* Dark theme */ -@media (prefers-color-scheme: dark) { - :root, - ::backdrop { - color-scheme: dark; - --bg: #212121; - --accent-bg: #2b2b2b; - --text: #dcdcdc; - --text-light: #ababab; - --accent: #ffb300; - --accent-hover: #ffe099; - --accent-text: var(--bg); - --code: #f06292; - --preformatted: #ccc; - --disabled: #111; - } - /* Add a bit of transparency so light media isn't so glaring in dark mode */ - img, - video { - opacity: 0.8; - } -} - /* Reset box-sizing */ *, *::before, *::after { box-sizing: border-box; @@ -384,6 +361,8 @@ video { max-width: 100%; height: auto; border-radius: var(--standard-border-radius); + display: block; + margin-inline: auto; } figure {