MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第375行: | 第375行: | ||
opacity: .45; | opacity: .45; | ||
.nc-logo-mosaic { | .nc-logo-mosaic { | ||
display: grid; | display: grid; | ||
| 第427行: | 第391行: | ||
.nc-logo-image { | .nc-logo-image { | ||
height: 190px; | height: 190px; | ||
padding: | padding: 18px; | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| 第433行: | 第397行: | ||
background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(238,242,246,.48)); | background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(238,242,246,.48)); | ||
box-sizing: border-box; | box-sizing: border-box; | ||
overflow: hidden; | |||
} | } | ||
| 第447行: | 第404行: | ||
} | } | ||
.nc-logo- | .nc-logo-small .nc-logo-image { | ||
height: 240px; | height: 240px; | ||
} | |||
.nc-logo-image .mw-file-description, | |||
.nc-logo-image a.image { | |||
display: inline-flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
max-width: 100% !important; | |||
max-height: 100% !important; | |||
} | |||
.nc-logo-image img, | |||
.nc-logo-image .mw-file-element { | |||
width: auto !important; | |||
height: auto !important; | |||
max-width: 100% !important; | |||
max-height: 100% !important; | |||
object-fit: contain !important; | |||
} | } | ||