diff options
author | DepFA <35278260+dfaker@users.noreply.github.com> | 2022-09-19 02:33:37 +0100 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-09-19 16:43:08 +0300 |
commit | 326236ed317a0b09a87b749299dad5ad9b7bacc8 (patch) | |
tree | 7ee998d63a4212be6eef68f1e84c3d36b82797d8 | |
parent | 6d7ca54a1a9f448419acb31a54c5e28f3e4bcc4c (diff) |
add styles for image zoom
-rw-r--r-- | style.css | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -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;
|