summaryrefslogtreecommitdiff
path: root/public/assets/css/hootstream.css
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-27 16:42:57 +0200
committerjulian laplace <julescarbon@gmail.com>2022-10-27 16:42:57 +0200
commit83c938702eb67bd6d154bb98b632e64e5e7e183f (patch)
tree7b2b64a91f68cbcd4d4b2089b3a24b3f40bde88f /public/assets/css/hootstream.css
parent53644b55eb3a6a355f25e4a30b62c2c78451cd29 (diff)
add player and image viewer
Diffstat (limited to 'public/assets/css/hootstream.css')
-rw-r--r--public/assets/css/hootstream.css42
1 files changed, 40 insertions, 2 deletions
diff --git a/public/assets/css/hootstream.css b/public/assets/css/hootstream.css
index 96b140c..470cb72 100644
--- a/public/assets/css/hootstream.css
+++ b/public/assets/css/hootstream.css
@@ -6,7 +6,7 @@
margin-top: 1.5rem;
font-size: 16px;
}
-#hootstream #audio {
+#audio {
display: none;
}
#hootstream form {
@@ -54,8 +54,46 @@
.hoot:hover > .text {
opacity: 1 !important;
}
+
+/** ImAgeS and other image lISTS!! */
+#hootevents .imageList {
+ margin-bottom: 1rem;
+ display: flex;
+ flex-direction: row;
+ align-items: flex-end;
+}
#hootevents .hootText img {
- max-width: 100%;
+ max-width: calc(100vmin - 2rem);
+ max-height: calc(100vmin - 1rem);
+}
+#hootevents .imageList img {
+ max-width: calc(100vmin - 2rem);
+ max-height: calc(100vmin - 1rem);
+ display: block;
+}
+#hootevents .imageList .image {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: 1rem;
+ max-height: 100vmin;
+ opacity: 0.95;
+ transition: opacity 0.1s;
+}
+#hootevents .imageList .caption {
+ margin: 1rem;
+ font-size: 0.9rem;
+ color: rgba(128, 128, 128, 0.5);
+ transition: color 0.1s;
+}
+#hootevents .imageList .image:hover {
+ opacity: 1;
+}
+#hootevents .imageList .image:hover .caption {
+ color: rgba(255, 255, 255, 0.8);
+}
+#hootevents .imageList .image:hover a {
+ opacity: 1 !important;
}
/** metadata */