MediaWiki:Common.css:修订间差异
无编辑摘要 标签:已被回退 |
无编辑摘要 标签:已被回退 |
||
| 第1行: | 第1行: | ||
/* Noblecraft homepage polish. Append | /* Noblecraft homepage recovery polish. | ||
Append this at the very bottom of MediaWiki:Common.css after removing broken test rules. */ | |||
.nc-mascot { | .nc-mascot { | ||
| 第21行: | 第14行: | ||
} | } | ||
.nc-home-intro { | .nc-home-intro { | ||
max-width: 1180px; | max-width: 1180px; | ||
| 第72行: | 第64行: | ||
} | } | ||
.nc-cards { | .nc-cards { | ||
display: | display: flex !important; | ||
flex-wrap: wrap !important; | |||
gap: 16px; | align-items: stretch !important; | ||
gap: 16px !important; | |||
max-width: 1180px; | |||
margin: 18px auto 0 !important; | |||
} | } | ||
.nc-card { | .nc-card { | ||
flex: 1 1 230px !important; | |||
min-width: 230px; | min-width: 230px; | ||
min-height: 520px; | min-height: 520px; | ||
align-self: stretch !important; | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
| 第94行: | 第85行: | ||
} | } | ||
.nc- | @media (max-width: 760px) { | ||
.nc-mascot img { | |||
max-width: min(360px, 86vw); | |||
} | |||
.nc-home-intro { | |||
padding: 16px; | |||
} | |||
.nc-home-intro h2 { | |||
font-size: 1.22rem; | |||
} | |||
.nc-card { | |||
min-width: 100%; | |||
} | |||
} | |||