Update README.md
Browse files
README.md
CHANGED
|
@@ -23,21 +23,21 @@ tags:
|
|
| 23 |
display: flex;
|
| 24 |
flex-direction: row;
|
| 25 |
flex-wrap: wrap;
|
| 26 |
-
gap:
|
| 27 |
justify-content: center;
|
| 28 |
align-items: center;
|
| 29 |
width: 100%;
|
| 30 |
-
padding:
|
| 31 |
}
|
| 32 |
|
| 33 |
.gallery-item {
|
| 34 |
-
flex: 0 0
|
| 35 |
margin: 0;
|
| 36 |
-
position: relative;
|
| 37 |
}
|
| 38 |
|
| 39 |
.gallery img {
|
| 40 |
-
width:
|
| 41 |
cursor: pointer;
|
| 42 |
transition: transform 0.2s;
|
| 43 |
border-radius: 8px;
|
|
@@ -52,18 +52,18 @@ tags:
|
|
| 52 |
bottom: 0;
|
| 53 |
left: 0;
|
| 54 |
right: 0;
|
| 55 |
-
background: rgba(0, 0, 0, 0.
|
| 56 |
color: white;
|
| 57 |
-
padding:
|
| 58 |
-
font-size:
|
| 59 |
border-bottom-left-radius: 8px;
|
| 60 |
border-bottom-right-radius: 8px;
|
| 61 |
-
opacity: 0.
|
| 62 |
-
transition: opacity 0.3s;
|
| 63 |
}
|
| 64 |
|
| 65 |
.gallery-item:hover .caption {
|
| 66 |
-
opacity:
|
| 67 |
}
|
| 68 |
|
| 69 |
.modal {
|
|
|
|
| 23 |
display: flex;
|
| 24 |
flex-direction: row;
|
| 25 |
flex-wrap: wrap;
|
| 26 |
+
gap: 10px; /* Reduced gap for smaller images */
|
| 27 |
justify-content: center;
|
| 28 |
align-items: center;
|
| 29 |
width: 100%;
|
| 30 |
+
padding: 10px;
|
| 31 |
}
|
| 32 |
|
| 33 |
.gallery-item {
|
| 34 |
+
flex: 0 0 300px; /* Reduced from 340px to 300px */
|
| 35 |
margin: 0;
|
| 36 |
+
position: relative;
|
| 37 |
}
|
| 38 |
|
| 39 |
.gallery img {
|
| 40 |
+
width: 300px; /* Reduced from 340px to 300px */
|
| 41 |
cursor: pointer;
|
| 42 |
transition: transform 0.2s;
|
| 43 |
border-radius: 8px;
|
|
|
|
| 52 |
bottom: 0;
|
| 53 |
left: 0;
|
| 54 |
right: 0;
|
| 55 |
+
background: rgba(0, 0, 0, 0.4);
|
| 56 |
color: white;
|
| 57 |
+
padding: 8px; /* Slightly reduced padding */
|
| 58 |
+
font-size: 11px; /* Slightly reduced font size */
|
| 59 |
border-bottom-left-radius: 8px;
|
| 60 |
border-bottom-right-radius: 8px;
|
| 61 |
+
opacity: 0.7;
|
| 62 |
+
transition: opacity 0.3s ease;
|
| 63 |
}
|
| 64 |
|
| 65 |
.gallery-item:hover .caption {
|
| 66 |
+
opacity: 0.2;
|
| 67 |
}
|
| 68 |
|
| 69 |
.modal {
|