« get me outta code hell

search, client: custom display for results w/ artwork warnings - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-13 09:18:15 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-31 12:11:52 -0300
commit685cbad73cab59210f7f8842e4399d0550f03905 (patch)
treed27578ce708ae6a8be078341ccece5020b5c46e5 /src/static/css
parentfa0b2b56ec1d69d4c74918ca587f572bb4a9e1d0 (diff)
search, client: custom display for results w/ artwork warnings
Diffstat (limited to 'src/static/css')
-rw-r--r--src/static/css/site.css14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index c7267b2f..766a4010 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -581,13 +581,17 @@ summary .group-name {
   display: inline-block;
 }
 
+.wiki-search-result-image-container {
+  align-self: flex-start;
+  margin-right: 6px;
+  border-radius: 2px;
+  overflow: hidden;
+}
+
 .wiki-search-result-image,
 .wiki-search-result-image-placeholder {
-  align-self: flex-start;
   width: 1.8em;
   height: 1.8em;
-  margin-right: 6px;
-  border-radius: 2px;
   aspect-ratio: 1 / 1;
 }
 
@@ -599,6 +603,10 @@ summary .group-name {
   display: none;
 }
 
+.wiki-search-result-image.has-warning {
+  filter: blur(1px) brightness(0.8);
+}
+
 .wiki-search-end-search-line {
   text-align: center;
   margin-top: 6px;