MediaWiki:Common.css:修订间差异
无编辑摘要 标签:已被回退 |
无编辑摘要 标签:手工回退 |
||
| 第274行: | 第274行: | ||
/* 图片集 */ | /* 图片集 */ | ||
/* Portfolio V2. | /* Noblecraft Portfolio Gallery V2 */ | ||
.nc-art- | .nc-portfolio-grid { | ||
.nc-art- | display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); | |||
height: | gap: 18px; | ||
display: flex | margin: 14px 0 32px; | ||
align-items: center | } | ||
justify-content: center | |||
.nc-art-card { | |||
position: relative; | |||
background: rgba(255,255,255,.54); | |||
border: 1px solid rgba(218,224,230,.72); | |||
box-shadow: 0 16px 34px -30px rgba(45,52,68,.5); | |||
overflow: hidden; | |||
transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; | |||
} | |||
.nc-art-card:hover { | |||
transform: translateY(-2px); | |||
border-color: rgba(190,200,210,.92); | |||
box-shadow: 0 22px 44px -32px rgba(45,52,68,.72); | |||
} | |||
.nc-art-image { | |||
height: 300px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
padding: 14px; | |||
background: rgba(255,255,255,.34); | |||
} | } | ||
.nc-art-image img, | .nc-art-image img, | ||
.nc-art-image .mw-file-element { | .nc-art-image .mw-file-element { | ||
| 第291行: | 第312行: | ||
max-width: 100% !important; | max-width: 100% !important; | ||
max-height: 100% !important; | max-height: 100% !important; | ||
object-fit: contain | object-fit: contain; | ||
} | |||
.nc-art-caption { | |||
padding: 12px 12px 14px; | |||
text-align: center; | |||
background: rgba(246,248,251,.62); | |||
color: #263039; | |||
font-weight: 800; | |||
line-height: 1.45; | |||
} | } | ||
/* | .nc-art-caption span { | ||
display: inline-block; | |||
margin-top: 3px; | |||
color: #7a828d; | |||
font-size: .88em; | |||
font-weight: 600; | |||
} | |||
/* Official character art: taller, illustration-first cards. */ | |||
.nc-character-grid { | |||
grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); | |||
} | |||
.nc-character-grid .nc-art-image { | |||
height: 330px; | |||
padding: 16px; | |||
background: | |||
linear-gradient(180deg, rgba(255,255,255,.56), rgba(246,248,251,.42)); | |||
} | |||
/* Logo assets: shorter, cleaner, material-display cards. */ | |||
.nc-logo-grid { | .nc-logo-grid { | ||
grid-template-columns: repeat(auto-fill, minmax( | grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); | ||
} | } | ||
.nc-logo-grid .nc-art-image { | .nc-logo-grid .nc-art-image { | ||
height: | height: 190px; | ||
padding: | padding: 20px; | ||
background: | |||
linear-gradient(135deg, rgba(255,255,255,.62), rgba(238,242,246,.55)); | |||
} | } | ||
.nc-logo-grid .nc-art-caption { | .nc-logo-grid .nc-art-caption { | ||
background: rgba(240,244,248,.70); | |||
} | } | ||
/* | /* Player creations: slightly softer, community-gallery feel. */ | ||
.nc- | .nc-fanart-grid { | ||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); | |||
} | } | ||
.nc-fanart-grid .nc-art-card::before { | |||
.nc-fanart-grid .nc-art- | content: ""; | ||
height: | position: absolute; | ||
left: 0; | |||
top: 0; | |||
right: 0; | |||
height: 3px; | |||
background: linear-gradient(90deg, #d89038, #4c8fbd, #8d62b8); | |||
opacity: .45; | |||