« get me outta code hell

css: fix commentary artwork shadow not applying, lighten slightly - 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:
author(quasar) nebula <qznebula@protonmail.com>2024-03-16 12:23:00 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-03-16 12:23:00 -0300
commitd016c4c40a5da5f452acb0a5e1c23636ab8a2e88 (patch)
tree40c2bc668b0d7d424e9cb61be71d053a9313d4e3 /src/static
parent316814c80848e5b7ea1e8772d14d3f5c23cdb94f (diff)
css: fix commentary artwork shadow not applying, lighten slightly
Diffstat (limited to 'src/static')
-rw-r--r--src/static/site6.css8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/static/site6.css b/src/static/site6.css
index e718791..6be1ddc 100644
--- a/src/static/site6.css
+++ b/src/static/site6.css
@@ -764,7 +764,13 @@ ul.image-details li {
   width: 30%;
   max-width: 250px;
   margin: 15px 0 10px 20px;
-  box-shadow: 0 0 4px 5px rgba(0, 0, 0, 0.35);
+
+  /* This !important is unfortunate, but it's necessary
+   * even if the rule itself is placed lower, because this
+   * is a relatively low-priority selector compared to
+   * others that alter image shadows.
+   */
+  box-shadow: 0 0 4px 5px rgba(0, 0, 0, 0.25) !important;
 }
 
 .js-hide,