Spaces:
Running
Running
Update assets/css/custom_style.css
Browse files
assets/css/custom_style.css
CHANGED
@@ -139,13 +139,13 @@ input[type='radio'] { visibility: hidden; display: none; }
|
|
139 |
display: flex; /* 使用 flexbox 实现并排布局 */
|
140 |
justify-content: space-around; /* 图片之间留有间距 */
|
141 |
align-items: center; /* 垂直居中对齐 */
|
142 |
-
gap:
|
143 |
-
margin:
|
144 |
}
|
145 |
|
146 |
/* 图片样式 */
|
147 |
.image-container img {
|
148 |
-
max-width:
|
149 |
height: auto; /* 保持图片比例 */
|
150 |
border: 1px solid #ccc; /* 添加边框 */
|
151 |
border-radius: 8px; /* 圆角效果 */
|
|
|
139 |
display: flex; /* 使用 flexbox 实现并排布局 */
|
140 |
justify-content: space-around; /* 图片之间留有间距 */
|
141 |
align-items: center; /* 垂直居中对齐 */
|
142 |
+
gap: 10px; /* 设置图片之间的间距 */
|
143 |
+
margin: 10px;
|
144 |
}
|
145 |
|
146 |
/* 图片样式 */
|
147 |
.image-container img {
|
148 |
+
max-width: 100%; /* 每张图片占容器宽度的 45% */
|
149 |
height: auto; /* 保持图片比例 */
|
150 |
border: 1px solid #ccc; /* 添加边框 */
|
151 |
border-radius: 8px; /* 圆角效果 */
|