From 5cc98b3ae1c3e93d808bae34a478599d128cf880 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Thu, 3 Nov 2022 16:39:24 +0100 Subject: [PATCH] added arrow to galleries --- style.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/style.css b/style.css index 33f0434..3513984 100644 --- a/style.css +++ b/style.css @@ -1157,6 +1157,7 @@ form#commentform p.form-submit input#submit { } .gallery .gallery-item { width: 100% !important; + position: relative; } .gallery .gallery-item:not(:first-of-type) { display: none; @@ -1177,6 +1178,19 @@ form#commentform p.form-submit input#submit { display: inline-block /*block!important*/; } +.gallery .gallery-icon::after { + content: ""; + display: inline-block; + position: absolute; + top: calc(50% - 1.5rem); + left: 50%; + height: 3rem; + width: 3rem; + background: url('data:image/svg+xml;utf8,') center center no-repeat; + background-color: rgba(90,90,90,0.5); + border-radius: 2rem; +} + /* Footer --------------------------------------------- */ .wrapfooter {