Spaces:
Sleeping
Sleeping
Update static/IMG-Larger.css
Browse files- static/IMG-Larger.css +84 -84
static/IMG-Larger.css
CHANGED
|
@@ -2,88 +2,88 @@
|
|
| 2 |
|
| 3 |
/*IMGGGGG*/
|
| 4 |
#myImg {
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
}
|
| 83 |
-
|
| 84 |
-
/* 100% Image Width on Smaller Screens */
|
| 85 |
-
@media only screen and (max-width: 700px){
|
| 86 |
-
.modal-content {
|
| 87 |
-
width: 100%;
|
| 88 |
-
}
|
| 89 |
-
}
|
|
|
|
| 2 |
|
| 3 |
/*IMGGGGG*/
|
| 4 |
#myImg {
|
| 5 |
+
border-radius: 5px;
|
| 6 |
+
cursor: pointer;
|
| 7 |
+
transition: 0.3s;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
#myImg:hover {opacity: 0.7;}
|
| 11 |
+
|
| 12 |
+
/* The Modal (background) */
|
| 13 |
+
.modal {
|
| 14 |
+
display: none; /* Hidden by default */
|
| 15 |
+
position: fixed; /* Stay in place */
|
| 16 |
+
z-index: 1; /* Sit on top */
|
| 17 |
+
padding-top: 100px; /* Location of the box */
|
| 18 |
+
left: 0;
|
| 19 |
+
top: 0;
|
| 20 |
+
width: 100%; /* Full width */
|
| 21 |
+
height: 100%; /* Full height */
|
| 22 |
+
overflow: auto; /* Enable scroll if needed */
|
| 23 |
+
background-color: rgb(0,0,0); /* Fallback color */
|
| 24 |
+
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
/* Modal Content (image) */
|
| 28 |
+
.modal-contentImgLarger{
|
| 29 |
+
margin: auto;
|
| 30 |
+
display: block;
|
| 31 |
+
width: 1200px;
|
| 32 |
+
/* max-width: 560px; */
|
| 33 |
+
overflow-x: visible;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/* Caption of Modal Image */
|
| 37 |
+
#caption {
|
| 38 |
+
margin: auto;
|
| 39 |
+
display: block;
|
| 40 |
+
width: 80%;
|
| 41 |
+
max-width: 700px;
|
| 42 |
+
text-align: center;
|
| 43 |
+
color: #ccc;
|
| 44 |
+
padding: 10px 0;
|
| 45 |
+
height: 150px;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
/* Add Animation */
|
| 49 |
+
.modal-contentImgLarger, #caption {
|
| 50 |
+
-webkit-animation-name: zoom;
|
| 51 |
+
-webkit-animation-duration: 0.6s;
|
| 52 |
+
animation-name: zoom;
|
| 53 |
+
animation-duration: 0.6s;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
@-webkit-keyframes zoom {
|
| 57 |
+
from {-webkit-transform:scale(0)}
|
| 58 |
+
to {-webkit-transform:scale(1)}
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
@keyframes zoom {
|
| 62 |
+
from {transform:scale(0)}
|
| 63 |
+
to {transform:scale(1)}
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
/* The Close Button */
|
| 67 |
+
.close {
|
| 68 |
+
position: absolute;
|
| 69 |
+
top: 50px;
|
| 70 |
+
right: 35px;
|
| 71 |
+
color: #f1f1f1;
|
| 72 |
+
font-size: 40px;
|
| 73 |
+
font-weight: bold;
|
| 74 |
+
transition: 0.3s;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.close:hover,
|
| 78 |
+
.close:focus {
|
| 79 |
+
color: #bbb;
|
| 80 |
+
text-decoration: none;
|
| 81 |
+
cursor: pointer;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
/* 100% Image Width on Smaller Screens */
|
| 85 |
+
@media only screen and (max-width: 700px){
|
| 86 |
+
.modal-contentImgLarger {
|
| 87 |
+
width: 100%;
|
| 88 |
}
|
| 89 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|