Update static/style.css
Browse files- static/style.css +28 -7
static/style.css
CHANGED
|
@@ -130,16 +130,36 @@ body{
|
|
| 130 |
position: absolute;
|
| 131 |
}
|
| 132 |
|
| 133 |
-
|
| 134 |
-
display:
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
}
|
| 140 |
|
| 141 |
#backgroundimg {
|
| 142 |
-
margin-top:
|
| 143 |
display: flex; /* Use flexbox to align items horizontally */
|
| 144 |
/* flex-wrap: wrap; Allows items to wrap to the next line if they exceed container width */
|
| 145 |
background-color: lightgrey;
|
|
@@ -147,6 +167,7 @@ body{
|
|
| 147 |
overflow: auto;
|
| 148 |
white-space: nowrap;
|
| 149 |
padding: 20px;
|
|
|
|
| 150 |
}
|
| 151 |
|
| 152 |
#underimgbuttons, #imgs {
|
|
|
|
| 130 |
position: absolute;
|
| 131 |
}
|
| 132 |
|
| 133 |
+
.imgContainer {
|
| 134 |
+
display: flex;
|
| 135 |
+
flex-direction: column; /* images on top, buttons below */
|
| 136 |
+
gap: 15px;
|
| 137 |
+
margin-bottom: 1px;
|
| 138 |
+
padding: 2px;
|
| 139 |
+
border: 1px solid #ccc;
|
| 140 |
+
border-radius: 10px;
|
| 141 |
+
width: fit-content; /* only as wide as needed */
|
| 142 |
+
/* max-width: 100%; /* don’t overflow parent */ */
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.imgsWrapperContainer {
|
| 146 |
+
display: flex;
|
| 147 |
+
gap: 15px;
|
| 148 |
+
overflow-x: auto; /* enable horizontal scroll */
|
| 149 |
+
max-width: 850px; /* only as wide as one image (adjust to taste) */
|
| 150 |
+
/* or try width: 100%; if you want it responsive */
|
| 151 |
+
white-space: nowrap; /* keep items in one row */
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
.imgsWrapperContainer img {
|
| 155 |
+
flex-shrink: 0; /* don’t shrink images */
|
| 156 |
+
border-radius: 8px;
|
| 157 |
+
cursor: pointer;
|
| 158 |
+
height: 600px;
|
| 159 |
}
|
| 160 |
|
| 161 |
#backgroundimg {
|
| 162 |
+
margin-top: 1px;
|
| 163 |
display: flex; /* Use flexbox to align items horizontally */
|
| 164 |
/* flex-wrap: wrap; Allows items to wrap to the next line if they exceed container width */
|
| 165 |
background-color: lightgrey;
|
|
|
|
| 167 |
overflow: auto;
|
| 168 |
white-space: nowrap;
|
| 169 |
padding: 20px;
|
| 170 |
+
margin-left:120px;
|
| 171 |
}
|
| 172 |
|
| 173 |
#underimgbuttons, #imgs {
|