MediaWiki:Common.css:修订间差异

Baneq留言 | 贡献
无编辑摘要
标签已被回退
Baneq留言 | 贡献
无编辑摘要
标签已被回退
第199行: 第199行:
display: flex;
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;
gap: 10px;
gap: 8px;
margin-top: 14px;
margin-top: 18px;
}
}


第206行: 第206行:
display: inline-flex;
display: inline-flex;
align-items: center;
align-items: center;
min-height: 34px;
justify-content: center;
padding: 0 14px;
min-height: 32px;
background: rgba(255,255,255,.74);
padding: 0 13px;
border: 1px solid #cbd3d8;
background: rgba(255,255,255,.54);
color: #27313b !important;
border: 1px solid rgba(196,205,214,.82);
font-weight: 700;
border-radius: 6px;
color: #3e4752 !important;
font-size: .92rem;
font-weight: 680;
text-decoration: none !important;
text-decoration: none !important;
box-shadow: 0 8px 18px -16px rgba(20,30,45,.55);
box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 8px 18px -18px rgba(20,30,45,.55);
transition: transform .15s ease, background .15s ease, border-color .15s ease;
transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
}


.nc-home-actions a:first-child {
.nc-home-actions a:first-child {
background: #0f4c5c;
background: linear-gradient(135deg,#0f4c5c,#176273);
border-color: #0f4c5c;
border-color: rgba(15,76,92,.92);
color: #fff !important;
color: #fff !important;
box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 20px -16px rgba(15,76,92,.75);
}
}


.nc-home-actions a:hover {
.nc-home-actions a:hover {
transform: translateY(-1px);
transform: translateY(-1px);
background: #fff;
background: rgba(255,255,255,.86);
border-color: #8fa6ad;
border-color: rgba(143,166,173,.95);
color: #20303a !important;
}
}


.nc-home-actions a:first-child:hover {
.nc-home-actions a:first-child:hover {
background: #123f4c;
background: linear-gradient(135deg,#123f4c,#0f4c5c);
border-color: #123f4c;
border-color: rgba(18,63,76,.95);
color: #fff !important;
}
}


第238行: 第244行:
gap: 16px;
gap: 16px;
margin-top: 18px;
margin-top: 18px;
align-items: flex-start;
}
}


.nc-card {
.nc-card {
flex: 1 1 230px;
min-width: 230px;
min-width: 230px;
border-color: rgba(225,229,234,.95);
border-color: rgba(225,229,234,.95);
overflow: hidden;
overflow: hidden;
align-self: flex-start;
}
}


第250行: 第259行:
padding: 14px 18px 13px;
padding: 14px 18px 13px;
letter-spacing: 0;
letter-spacing: 0;
}
.nc-card-head::after {
content: "";
position: absolute;
left: 18px;
right: 18px;
bottom: 0;
height: 1px;
background: rgba(255,255,255,.45);
}
.nc-card li a {
position: relative;
padding: 8px 18px 8px 28px;
font-weight: 620;
}
.nc-card li a::before {
content: "";
position: absolute;
left: 16px;
top: 50%;
width: 4px;
height: 4px;
margin-top: -2px;
background: #9aa4ad;
}
.nc-card li a:hover {
padding-left: 32px;
background: rgba(86,102,118,.12);
}
.nc-card li a:hover::before {
background: #0f4c5c;
}
/* Softer status boxes if you keep {{成功}} near the top. */
.mw-parser-output .successbox,
.mw-parser-output .mw-message-box-success {
border-color: #bdd8c8;
background: rgba(246,252,248,.72);
}
/* Mobile: keep the mascot useful, not overwhelming. */
@media (max-width: 760px) {
.nc-home-intro {
padding: 16px;
}
.nc-home-intro h2 {
font-size: 1.22rem;
}
.nc-home-actions a {
width: 100%;
justify-content: center;
}
.nc-card {
min-width: 100%;
}
}
}