Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Ambrosini <marcoambrosini@pm.me>2020-10-01 17:08:07 +0300
committerMarco Ambrosini <marcoambrosini@pm.me>2020-10-01 17:08:07 +0300
commit15d3a1a1b22bf776e05288f5ebc86f1a37212c09 (patch)
tree6117795464f8f539ab0bcf929e4b5341daac869e /assets/css/custom.css
parent330e37d8ed5ffaaa24175eff187ebc2637c3c687 (diff)
Adapt overlay for images
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
Diffstat (limited to 'assets/css/custom.css')
-rw-r--r--assets/css/custom.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/css/custom.css b/assets/css/custom.css
index 55c7cb39..4e401615 100644
--- a/assets/css/custom.css
+++ b/assets/css/custom.css
@@ -10800,3 +10800,14 @@ blockquote.twitter-tweet {
width: 48px;
height:48px;
}
+
+.overlay-image {
+ object-fit: contain;
+ width: 100%;
+ height: 100%;
+ padding: 2vh 2vw;
+}
+
+img.overlay-trigger {
+ cursor: pointer;
+} \ No newline at end of file