MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
无编辑摘要 标签:已被回退 |
无编辑摘要 标签:已被回退 |
||
| 第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%; | |||
} | |||
} | |||
2026年6月3日 (三) 13:00的版本
/* Noblecraft homepage recovery polish.
Append this at the very bottom of MediaWiki:Common.css after removing broken test rules. */
.nc-mascot {
max-width: 1180px;
margin: 0 auto 10px;
text-align: center;
}
.nc-mascot img {
max-width: min(560px, 88vw);
height: auto;
filter: drop-shadow(0 18px 28px rgba(45,52,68,.18));
}
.nc-home-intro {
max-width: 1180px;
margin: 8px auto 18px;
padding: 20px 24px;
background: rgba(255,255,255,.58);
border: 1px solid rgba(255,255,255,.82);
box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 42px -30px rgba(45,52,68,.55);
backdrop-filter: blur(18px) saturate(135%);
-webkit-backdrop-filter: blur(18px) saturate(135%);
}
.nc-home-intro h2 {
margin-top: 0;
border-bottom: 0;
color: #24282f;
font-size: 1.45rem;
line-height: 1.35;
}
.nc-home-subtitle {
margin: -4px 0 14px;
color: #75808c;
font-size: .96rem;
font-weight: 700;
}
.nc-home-intro p {
color: #4f5663;
font-size: 1.02rem;
line-height: 1.75;
}
.nc-home-meta {
max-width: 1180px;
margin: -4px auto 12px;
padding: 10px 14px;
background: rgba(255,255,255,.46);
border: 1px solid rgba(210,216,222,.78);
color: #56616d;
font-size: .94rem;
font-weight: 620;
box-shadow: 0 10px 24px -24px rgba(45,52,68,.45);
}
.nc-home-meta a {
color: #0f4c5c;
font-weight: 800;
text-decoration: none;
}
.nc-cards {
display: flex !important;
flex-wrap: wrap !important;
align-items: stretch !important;
gap: 16px !important;
max-width: 1180px;
margin: 18px auto 0 !important;
}
.nc-card {
flex: 1 1 230px !important;
min-width: 230px;
min-height: 520px;
align-self: stretch !important;
overflow: hidden;
}
.nc-card ul {
padding-bottom: 84px !important;
}
@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%;
}
}