From 155eaba7be7150c044ef1686845a8beafbcae89b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Garc=C3=ADa=20Garz=C3=B3n?= Date: Sat, 6 May 2023 00:27:37 +0200 Subject: [PATCH] figure css adjustments --- css/figure.css | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/css/figure.css b/css/figure.css index 2f8e458..5d9234a 100644 --- a/css/figure.css +++ b/css/figure.css @@ -3,7 +3,8 @@ figure { background: #efefef; color: #111; padding: 3pt; - display: inline-block; + display: inline-flex; + flex-direction: column; } figure figcaption { width: 100%; @@ -30,7 +31,7 @@ figure.lightbox:target { left: 0; right: 0; background: black; - background: rgba(0,0,0,.9); + background: rgba(0,0,0,.97); color: grey; height: 100% !important; width: 100% !important; @@ -59,14 +60,14 @@ figure.lightbox:target img { border: 0; } figure.lightbox img.full { - display: none; + display: none; } figure.lightbox:target img.full { - display: block; + display: block; } figure.lightbox img.thumb { - display: block; + display: block; } figure.lightbox:target img.thumb { - display: none; + display: none; }