MediaWiki:Common.css:修订间差异

Baneq​(留言 | 贡献)
无编辑摘要
标签:已被回退
Baneq​(留言 | 贡献)
无编辑摘要
标签:已被回退
第159行: 第159行:




/* Noblecraft homepage polish. Append after the current homepage CSS in MediaWiki:Common.css */
/* Keep polish scoped to the existing homepage pieces. */
.nc-stage,
.nc-cards {
max-width: 1180px;
margin-left: auto;
margin-right: auto;
}
/* A compact intro panel for the current homepage text area. */
.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-intro p {
color: #4f5663;
font-size: 1.02rem;
line-height: 1.75;
}
.nc-home-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 18px;
}
.nc-home-actions a {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 32px;
padding: 0 13px;
background: rgba(255,255,255,.54);
border: 1px solid rgba(196,205,214,.82);
border-radius: 6px;
color: #3e4752 !important;
font-size: .92rem;
font-weight: 680;
text-decoration: none !important;
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, color .15s ease;
}
.nc-home-actions a:first-child {
background: linear-gradient(135deg,#0f4c5c,#176273);
border-color: rgba(15,76,92,.92);
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 {
transform: translateY(-1px);
background: rgba(255,255,255,.86);
border-color: rgba(143,166,173,.95);
color: #20303a !important;
}
.nc-home-actions a:first-child:hover {
background: linear-gradient(135deg,#123f4c,#0f4c5c);
border-color: rgba(18,63,76,.95);
color: #fff !important;
}


/* Noblecraft homepage polish. Append after the current homepage CSS in MediaWiki:Common.css */
/* Noblecraft homepage polish. Append after the current homepage CSS in MediaWiki:Common.css */
第242行: 第322行:
/* Make the original four-card layout feel more deliberate. */
/* Make the original four-card layout feel more deliberate. */
.nc-cards {
.nc-cards {
display: grid !important;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 16px;
gap: 16px;
margin-top: 18px;
margin-top: 18px;
第248行: 第330行:


.nc-card {
.nc-card {
flex: 1 1 230px;
min-width: 230px;
min-width: 230px;
min-height: 430px;
min-height: 480px;
border-color: rgba(225,229,234,.95);
border-color: rgba(225,229,234,.95);
overflow: hidden;
overflow: hidden;
align-self: stretch;
align-self: stretch;
}
.nc-card-head {
position: relative;
padding: 14px 18px 13px;
letter-spacing: 0;
.nc-cards {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.nc-card {
    min-height: 520px;
}
}


.nc-card ul {
.nc-card ul {
    padding-bottom: 84px !important;
padding-bottom: 46px !important;
}
}