« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static
diff options
context:
space:
mode:
Diffstat (limited to 'src/static')
-rw-r--r--src/static/site6.css19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/static/site6.css b/src/static/site6.css
index f709c2d..2ab577a 100644
--- a/src/static/site6.css
+++ b/src/static/site6.css
@@ -1285,17 +1285,30 @@ img.pixelate, .pixelate img {
 }
 
 .reveal:not(.revealed) .image-outer-area > * {
+  --reveal-border-radius: 6px;
+  position: relative;
+  overflow: hidden;
+  border-radius: var(--reveal-border-radius);
+}
+
+.reveal:not(.revealed) .image-outer-area > *::after {
+  content: "";
+  position: absolute;
   box-sizing: border-box;
+  top: 0;
+  left: 0;
+  bottom: 0;
+  right: 0;
   border: 1px dotted var(--primary-color);
-  border-radius: 6px;
-  overflow: hidden;
+  border-radius: var(--reveal-border-radius);
+  pointer-events: none;
 }
 
 .reveal:not(.revealed) .image-inner-area {
   background: var(--deep-color);
 }
 
-.reveal:not(.revealed) .image-outer-area > *:hover {
+.reveal:not(.revealed) .image-outer-area > *:hover::after {
   border-style: solid;
 }