模板:MUCWikiHome/styles.css:修订间差异
来自MUC Wiki
更多操作
style: fix homepage image presentation |
style: refine homepage image gallery |
||
| 第78行: | 第78行: | ||
border: 1px solid #e4dfd6; | border: 1px solid #e4dfd6; | ||
border-radius: 8px; | border-radius: 8px; | ||
background: # | background: #fff; | ||
} | } | ||
| 第111行: | 第111行: | ||
.mucwiki-home-media figcaption { | .mucwiki-home-media figcaption { | ||
display: block; | display: block; | ||
margin: 0; | |||
padding: .48rem .62rem .56rem; | padding: .48rem .62rem .56rem; | ||
border-top: 1px solid #e4dfd6; | border-top: 1px solid #e4dfd6; | ||
| 第232行: | 第233行: | ||
.mucwiki-home-resources-grid { | .mucwiki-home-resources-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: | grid-template-columns: minmax(0, 1fr); | ||
gap: . | gap: .72rem; | ||
align-items: start; | align-items: start; | ||
} | } | ||
.mucwiki-home-resource-links { | .mucwiki-home-resource-links { | ||
display: | display: flex; | ||
gap: . | flex-wrap: wrap; | ||
padding: . | gap: .46rem; | ||
padding: .72rem .78rem; | |||
border: 1px solid #e1e5e0; | border: 1px solid #e1e5e0; | ||
border-radius: 8px; | border-radius: 8px; | ||
| 第247行: | 第249行: | ||
.mucwiki-home-resource-links p { | .mucwiki-home-resource-links p { | ||
display: inline-flex; | |||
min-height: 2rem; | |||
align-items: center; | |||
margin: 0; | margin: 0; | ||
padding: .28rem .58rem; | |||
border: 1px solid #eaded7; | |||
border-radius: 999px; | |||
background: #fff; | |||
line-height: 1.25; | |||
} | } | ||
| 第256行: | 第266行: | ||
.mucwiki-home-resource-media { | .mucwiki-home-resource-media { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat( | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
gap: . | gap: .68rem; | ||
min-width: 0; | min-width: 0; | ||
} | } | ||
| 第272行: | 第282行: | ||
.mucwiki-home-resource-media a.mw-file-description { | .mucwiki-home-resource-media a.mw-file-description { | ||
display: flex; | display: flex; | ||
height: | height: 12.5rem; | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
padding: . | padding: .62rem; | ||
background: # | background: #f8f6f1; | ||
} | } | ||
| 第290行: | 第300行: | ||
.mucwiki-home-resource-media figcaption { | .mucwiki-home-resource-media figcaption { | ||
display: block; | display: block; | ||
margin: 0; | |||
padding: .44rem .58rem .5rem; | padding: .44rem .58rem .5rem; | ||
border-top: 1px solid #e8e3dc; | border-top: 1px solid #e8e3dc; | ||
| 第314行: | 第325行: | ||
.mucwiki-home-resources-grid { | .mucwiki-home-resources-grid { | ||
grid-template-columns: minmax(0, 1fr); | grid-template-columns: minmax(0, 1fr); | ||
} | |||
.mucwiki-home-resource-media { | |||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
} | } | ||
} | } | ||
| 第352行: | 第367行: | ||
.mucwiki-home-link-grid li { | .mucwiki-home-link-grid li { | ||
width: 100%; | |||
border-radius: 8px; | |||
} | |||
.mucwiki-home-resource-links { | |||
display: grid; | |||
gap: .38rem; | |||
} | |||
.mucwiki-home-resource-links p { | |||
width: 100%; | width: 100%; | ||
border-radius: 8px; | border-radius: 8px; | ||