gregH commited on
Commit
adf2c0f
·
verified ·
1 Parent(s): ca75949

Update assets/css/custom_style.css

Browse files
Files changed (1) hide show
  1. assets/css/custom_style.css +3 -3
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: 20px; /* 设置图片之间的间距 */
143
- margin: 20px;
144
  }
145
 
146
  /* 图片样式 */
147
  .image-container img {
148
- max-width: 95%; /* 每张图片占容器宽度的 45% */
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; /* 圆角效果 */