MediaWiki:Common.css:修订间差异
外观
初始化 Wymbot 共创站门户内容 |
小 已保护“MediaWiki:Common.css”:保护全站样式([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)) |
||
(没有差异)
| |||
2026年7月30日 (四) 16:06的版本
/* Wymbot 共创站:门户页组件 */
.wum-hero,
.wum-page-intro {
position: relative;
overflow: hidden;
margin: 0 0 1.5rem;
padding: clamp(1.5rem, 4vw, 3.4rem);
border: 1px solid #c8dded;
border-radius: 22px;
background:
radial-gradient(circle at 88% 12%, rgba(97, 210, 231, .38), transparent 31%),
linear-gradient(135deg, #f4fbff 0%, #eaf5fc 52%, #f8fbff 100%);
box-shadow: 0 18px 50px rgba(33, 79, 112, .10);
}
.wum-hero::after,
.wum-page-intro::after {
position: absolute;
right: -3.5rem;
bottom: -5rem;
width: 14rem;
height: 14rem;
border: 1px solid rgba(63, 139, 183, .28);
border-radius: 50%;
content: "";
}
.wum-eyebrow {
margin-bottom: .7rem;
color: #337ca4;
font-size: .75rem;
font-weight: 700;
letter-spacing: .16em;
text-transform: uppercase;
}
.wum-title {
position: relative;
z-index: 1;
max-width: 760px;
color: #153d57;
font-size: clamp(2rem, 6vw, 3.7rem);
font-weight: 750;
letter-spacing: -.04em;
line-height: 1.08;
}
.wum-title-small {
font-size: clamp(1.8rem, 5vw, 3rem);
}
.wum-lead {
position: relative;
z-index: 1;
max-width: 740px;
margin-top: 1rem;
color: #456477;
font-size: 1.05rem;
line-height: 1.8;
}
.wum-actions {
position: relative;
z-index: 1;
display: flex;
flex-wrap: wrap;
gap: .65rem;
margin-top: 1.5rem;
}
.wum-button a {
display: inline-block;
padding: .7rem 1rem;
border: 1px solid #a9c9dd;
border-radius: 999px;
background: rgba(255, 255, 255, .76);
color: #245f82;
font-weight: 650;
text-decoration: none;
}
.wum-button-primary a {
border-color: #276e98;
background: #276e98;
color: #fff;
}
.wum-button a:hover {
border-color: #276e98;
text-decoration: none;
transform: translateY(-1px);
}
.wum-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: .9rem;
margin: 1.25rem 0;
}
.wum-card,
.wum-panel {
border: 1px solid #d9e4eb;
border-radius: 16px;
background: #fff;
box-shadow: 0 9px 28px rgba(36, 68, 88, .07);
}
.wum-card {
min-height: 9.5rem;
padding: 1.15rem;
}
.wum-card-kicker {
color: #6792aa;
font-size: .68rem;
font-weight: 700;
letter-spacing: .14em;
}
.wum-card-title {
margin: .45rem 0 .55rem;
font-size: 1.25rem;
font-weight: 700;
}
.wum-card-title a {
color: #1a516f;
text-decoration: none;
}
.wum-card-text {
color: #657b88;
font-size: .92rem;
line-height: 1.65;
}
.wum-columns {
display: grid;
grid-template-columns: 1.25fr .75fr;
gap: 1rem;
margin: 1.25rem 0;
}
.wum-panel {
padding: 1.35rem;
}
.wum-panel-soft {
background: #f7fafc;
}
.wum-section-title {
margin-bottom: .75rem;
color: #234e68;
font-size: 1.15rem;
font-weight: 700;
}
.wum-steps {
margin: .4rem 0 1rem 1.25rem;
}
.wum-steps li {
margin: .45rem 0;
}
.wum-inline-links,
.wum-note {
color: #53788e;
font-size: .92rem;
}
.wum-footer-note {
display: flex;
justify-content: space-between;
gap: 1rem;
margin-top: 1.25rem;
padding: 1rem 1.2rem;
border-left: 4px solid #4ea8ce;
border-radius: 8px;
background: #edf7fb;
}
@media (max-width: 900px) {
.wum-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.wum-hero,
.wum-page-intro {
padding: 1.3rem;
border-radius: 16px;
}
.wum-grid,
.wum-columns {
grid-template-columns: 1fr;
}
.wum-card {
min-height: 0;
}
.wum-footer-note {
display: block;
}
}
html.skin-theme-clientpref-night .wum-hero,
html.skin-theme-clientpref-night .wum-page-intro {
border-color: #35566c;
background:
radial-gradient(circle at 88% 12%, rgba(44, 141, 164, .32), transparent 31%),
linear-gradient(135deg, #152d3b, #193645);
}
html.skin-theme-clientpref-night .wum-title,
html.skin-theme-clientpref-night .wum-card-title a,
html.skin-theme-clientpref-night .wum-section-title {
color: #d9f1ff;
}
html.skin-theme-clientpref-night .wum-lead,
html.skin-theme-clientpref-night .wum-card-text {
color: #b3c9d5;
}
html.skin-theme-clientpref-night .wum-card,
html.skin-theme-clientpref-night .wum-panel {
border-color: #385465;
background: #172b36;
}
html.skin-theme-clientpref-night .wum-panel-soft,
html.skin-theme-clientpref-night .wum-footer-note {
background: #1a3543;
}