aboutsummaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
authorDepFA <35278260+dfaker@users.noreply.github.com>2022-09-19 02:33:37 +0100
committerAUTOMATIC1111 <16777216c@gmail.com>2022-09-19 16:43:08 +0300
commit326236ed317a0b09a87b749299dad5ad9b7bacc8 (patch)
tree7ee998d63a4212be6eef68f1e84c3d36b82797d8 /style.css
parent6d7ca54a1a9f448419acb31a54c5e28f3e4bcc4c (diff)
add styles for image zoom
Diffstat (limited to 'style.css')
-rw-r--r--style.css18
1 files changed, 16 insertions, 2 deletions
diff --git a/style.css b/style.css
index fb937f3a..adb50128 100644
--- a/style.css
+++ b/style.css
@@ -246,17 +246,26 @@ input[type="range"]{
background-color: rgba(20, 20, 20, 0.95);
}
-.modalClose {
+.modalClose,
+.modalZoom {
color: white;
position: absolute;
top: 10px;
right: 25px;
font-size: 35px;
font-weight: bold;
+ cursor: pointer;
+}
+
+.modalZoom {
+ left: 10px;
+ right: auto;
}
.modalClose:hover,
-.modalClose:focus {
+.modalClose:focus,
+.modalZoom:hover,
+.modalZoom:focus {
color: #999;
text-decoration: none;
cursor: pointer;
@@ -270,6 +279,11 @@ input[type="range"]{
width: auto;
}
+.modalImageFullscreen {
+ max-width: max-content;
+ height: 90%;
+}
+
.modalPrev,
.modalNext {
cursor: pointer;