« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/static/css/site.css31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index 9a49a5d9..d57f5712 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -1915,6 +1915,37 @@ p.image-details.origin-details .filename-line {
   height: 100%;
 }
 
+.music-video .image-link::after {
+  content: "▶︎";
+  background: #0008;
+  color: white;
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+
+.music-video .image-link:hover::after,
+.music-video .image-link:focus::after {
+  font-size: 1.4em;
+  background: #0006;
+}
+
+.music-video .image-inner-area::after {
+  /* We're overriding normal image-inner-area stuff. */
+  opacity: 0.8;
+  box-shadow: 0 0 4px inset black;
+}
+
+.music-video .image-link:hover .image,
+.music-video .image-link:focus .image {
+  transform: scale(1.02);
+}
+
 .album-art-info {
   font-size: 0.8em;
   border: 2px solid var(--deep-color);