模板:MUCWikiHome/styles.css:修订间差异
来自MUC Wiki
更多操作
style: refine homepage image gallery |
style: use natural homepage resource image previews |
||
| 第272行: | 第272行: | ||
.mucwiki-home-resource-media figure { | .mucwiki-home-resource-media figure { | ||
display: | display: block; | ||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid #e4dfd6; | border: 1px solid #e4dfd6; | ||
| 第282行: | 第281行: | ||
.mucwiki-home-resource-media a.mw-file-description { | .mucwiki-home-resource-media a.mw-file-description { | ||
display: flex; | display: flex; | ||
height: | min-height: 11rem; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
| 第291行: | 第290行: | ||
.mucwiki-home-resource-media img { | .mucwiki-home-resource-media img { | ||
display: block; | display: block; | ||
width: | width: auto; | ||
max-width: 100%; | max-width: 100%; | ||
height: | height: auto; | ||
max-height: 17rem; | |||
border-radius: 4px; | border-radius: 4px; | ||
object-fit: contain; | object-fit: contain; | ||
| 第386行: | 第386行: | ||
.mucwiki-home-resource-media a.mw-file-description { | .mucwiki-home-resource-media a.mw-file-description { | ||
height: | min-height: 10rem; | ||
} | } | ||
} | } | ||