跳到正文
Novark

模板:首页/styles.css

Phase1EmergencyAdmin​(留言 | 贡献)2026年11月3日 (二) 15:15的版本 (上线已选定的弥恩刊本主页,移除被替代的首页样式与选择器)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
/* Homepage composition. Palette and artwork are supplied by the selected skin. */
.nv-home { font-size: 15px; line-height: 1.85; font-weight: 400; color: var(--nv-ink); }
.nv-home .mw-heading { display: contents; }
.nv-home .nv-home-running { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 18px 0; border-bottom: 3px double var(--nv-hair); color: var(--nv-ink-muted); font-size: 11px; line-height: 1.6; font-weight: 400; }
.nv-home .nv-home-hero { text-align: center; padding: 25px 0 24px; }
.nv-home .nv-home-signature { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 12px; color: var(--nv-metal); font-size: 11px; line-height: 1.7; font-weight: 400; letter-spacing: .16em; }
.nv-home .nv-home-signature > span:not(.nv-home-brand) { flex-basis: 140px; }
.nv-home .nv-home-signature > span:first-child { text-align: right; }
.nv-home .nv-home-signature > span:last-child { text-align: left; }
.nv-home .nv-home-signature .nv-home-brand { width: 47px; height: 49px; }
.nv-home .nv-home-pretitle { font-size: 17px; line-height: 1.5; font-weight: 400; letter-spacing: .38em; margin-bottom: 8px; }
.nv-home .nv-home-title { font-size: 72px; line-height: 1.25; font-weight: 500; letter-spacing: .16em; }
.nv-home .nv-home-tagline { margin: 17px 0 0; font-size: 18px; line-height: 1.8; }
.nv-home .nv-home-subline { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 16px 0 0; color: var(--nv-ink-muted); font-size: 11px; line-height: 1.8; font-weight: 400; letter-spacing: .1em; }
.nv-home .nv-home-subline::before, .nv-home .nv-home-subline::after { content: ''; width: 40px; height: 1px; background: var(--nv-hair); }
.nv-home .nv-home-shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; border-block: 3px double var(--nv-hair); padding: 5px 0; }
.nv-home .nv-home-shortcuts > div { display: flex; align-items: center; gap: 10px; padding: 12px 8px; font-size: 13px; line-height: 1.6; font-weight: 400; }
.nv-home .nv-home-shortcuts a { flex: 1; display: flex; justify-content: space-between; gap: 8px; }
.nv-home .nv-home-shortcuts a::after { content: '↗'; color: var(--nv-ink-muted); }
.nv-home .nv-home-section { margin-top: 36px; }
.nv-home .nv-home-front { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.8fr); gap: 38px; }
.nv-home .nv-home-label { display: flex; align-items: center; gap: 10px; color: var(--nv-metal); font-size: 12px; line-height: 1.8; font-weight: 400; }
.nv-home .nv-home-lead-title { font-size: 32px; line-height: 1.5; font-weight: 500; color: var(--nv-ink); margin: 10px 0; border: 0; padding: 0; background: none; }
.nv-home .nv-home-intro { color: var(--nv-ink-muted); font-size: 14px; line-height: 1.95; margin: 9px 0 0; }
.nv-home .nv-home-actions { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 23px; font-size: 12px; line-height: 1.8; font-weight: 400; }
.nv-home .nv-home-primary a { display: inline-block; padding: 10px 16px; background: var(--nv-button); color: var(--nv-button-ink); border-bottom: 3px solid var(--nv-metal); border-radius: 2px; }
.nv-home .nv-home-primary a:hover { text-decoration: none; background: var(--nv-link); }
.nv-home .nv-home-reading { padding-left: 23px; border-left: 1px solid var(--nv-hair); }
.nv-home .nv-home-reading-title { font-size: 20px; line-height: 1.5; font-weight: 500; color: var(--nv-ink); margin: 0 0 10px; }
.nv-home .nv-home-reading > div { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--nv-hair); }
.nv-home .nv-home-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.nv-home .nv-home-heading > .nv-home-brand { width: 28px; height: 31px; }
.nv-home .nv-home-section-title { margin: 0; padding: 0; border: 0; background: none; font-size: 28px; line-height: 1.4; font-weight: 500; letter-spacing: .09em; color: var(--nv-ink); }
.nv-home .nv-home-heading::after { content: ''; flex: 1; border-top: 1px solid var(--nv-hair); margin-left: 10px; }
.nv-home .nv-home-more { order: 4; white-space: nowrap; font-size: 12px; line-height: 1.5; font-weight: 400; }
.nv-home .nv-home-directory { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.nv-home .nv-home-shelf { min-width: 0; }
.nv-home .nv-home-shelf-head { text-align: center; border-block: 1px solid var(--nv-metal); padding: 4px 0 13px; }
.nv-home .nv-home-emblem { display: grid; place-items: center; position: relative; width: 46px; height: 46px; margin: 11px auto 10px; color: var(--nv-metal); }
.nv-home .nv-home-emblem::before { content: ''; position: absolute; inset: 4px; border: 1px solid var(--nv-hair); transform: rotate(45deg); }
.nv-home .nv-home-emblem::after { content: ''; position: absolute; bottom: 2px; left: 20px; width: 6px; height: 6px; background: var(--nv-metal); transform: rotate(45deg); }
.nv-home .nv-home-emblem .nv-home-icon { width: 25px; height: 25px; }
.nv-home .nv-home-shelf-title { color: var(--nv-ink); font-size: 22px; line-height: 1.5; font-weight: 500; margin: 0; padding: 0; background: none; letter-spacing: .04em; }
.nv-home .nv-home-shelf-desc { color: var(--nv-ink-muted); font-size: 11px; line-height: 1.8; font-weight: 400; margin: 3px 0 0; }
.nv-home .nv-home-shelf ul { list-style: none; padding: 9px 0 0; margin: 0; }
.nv-home .nv-home-shelf li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 2px; margin: 0; border-bottom: 1px solid var(--nv-hair); font-size: 15px; }
.nv-home .nv-home-shelf li a { color: var(--nv-ink); }
.nv-home .nv-home-shelf li span { color: var(--nv-ink-muted); font-size: 11px; line-height: 1.6; font-weight: 400; text-align: right; }
.nv-home .nv-home-shelf li:hover { background: var(--nv-wash); }
.nv-home .nv-home-atlas { display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 24px; align-items: center; margin-top: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--nv-hair); }
.nv-home .nv-home-map img { display: block; width: 100%; height: auto; }
.nv-home .nv-home-map-caption { color: var(--nv-ink-muted); font-size: 11px; line-height: 1.6; font-weight: 400; margin: 7px 0 0; }
.nv-home .nv-home-atlas-title { color: var(--nv-ink); font-size: 23px; line-height: 1.5; font-weight: 500; margin: 8px 0 0; background: none; }
.nv-home .nv-home-atlas-links { margin-top: 16px; font-size: 12px; line-height: 1.8; font-weight: 400; }
.nv-home .nv-home-rules-intro { color: var(--nv-ink-muted); font-size: 13px; line-height: 1.8; font-weight: 400; margin: 0 0 18px; }
.nv-home .nv-home-editions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.nv-home .nv-home-edition { display: flex; align-items: center; gap: 15px; padding: 15px 12px 15px 0; border-block: 1px solid var(--nv-hair); }
.nv-home .nv-home-edition .nv-icon { flex: 0 0 48px; width: 48px; height: 52px; margin: 0; }
.nv-home .nv-home-edition-title { display: block; font-size: 20px; line-height: 1.4; font-weight: 400; }
.nv-home .nv-home-edition-title a { color: var(--nv-ink); }
.nv-home .nv-home-edition small { display: block; color: var(--nv-ink-muted); font-size: 11px; line-height: 1.8; font-weight: 400; margin-top: 5px; }
.nv-home .nv-home-edition::after { content: '→'; color: var(--nv-metal); margin-left: auto; }
.nv-home .nv-home-edition--35::after { color: var(--nv-copper); }
.nv-home .nv-home-edition--55::after { color: var(--nv-danger); }
.nv-home .nv-home-rule-links { font-size: 13px; line-height: 1.8; font-weight: 400; padding-top: 16px; }
.nv-home .nv-home-rule-links > span { float: right; }
.nv-home .nv-home-workshop { display: grid; grid-template-columns: 55px minmax(0,1.3fr) minmax(0,.9fr); gap: 25px; padding: 25px 0 26px; border-top: 3px double var(--nv-hair); border-bottom: 1px solid var(--nv-hair); }
.nv-home .nv-home-workshop > .nv-home-brand { width: 48px; height: 56px; margin-top: 6px; }
.nv-home .nv-home-workshop-title { font-size: 27px; line-height: 1.5; font-weight: 500; color: var(--nv-ink); margin: 0; border: 0; padding: 0; background: none; letter-spacing: .04em; }
.nv-home .nv-home-author-links > div { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--nv-hair); font-size: 13px; line-height: 1.8; font-weight: 400; }
.nv-home .nv-home-author-links a { flex: 1; display: flex; justify-content: space-between; }
.nv-home .nv-home-author-links a::after { content: '↗'; color: var(--nv-ink-muted); }
.nv-home .nv-home-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; padding-top: 25px; color: var(--nv-ink-muted); font-size: 11px; line-height: 1.8; font-weight: 400; }
.nv-home .nv-home-footer > span { display: flex; align-items: center; gap: 8px; }
.nv-home .nv-home-footer .nv-home-brand { width: 22px; height: 24px; }
@media (max-width:900px) {
 .nv-home .nv-home-shelf li { display: block; }
 .nv-home .nv-home-shelf li span { display: block; text-align: left; margin-top: 3px; }
 .nv-home .nv-home-directory { gap: 22px; }
}
@media (max-width:720px) {
 .nv-home .nv-home-shortcuts { grid-template-columns: 1fr 1fr; gap: 0 15px; }
 .nv-home .nv-home-front { grid-template-columns: minmax(0,1fr) 170px; gap: 24px; }
 .nv-home .nv-home-reading { padding-left: 18px; }
 .nv-home .nv-home-lead-title { font-size: 27px; }
 .nv-home .nv-home-shelf-title { font-size: 19px; }
 .nv-home .nv-home-edition { flex-wrap: wrap; gap: 10px; }
 .nv-home .nv-home-edition::after { content: none; }
 .nv-home .nv-home-workshop { grid-template-columns: 52px 1fr; gap: 18px; }
 .nv-home .nv-home-author-links { grid-column: 2; }
}
@media (max-width:480px) {
 .nv-home .nv-home-signature { gap: 11px; letter-spacing: .03em; }
 .nv-home .nv-home-signature > span:not(.nv-home-brand) { flex-basis: auto; }
 .nv-home .nv-home-signature .nv-home-brand { width: 40px; height: 44px; }
 .nv-home .nv-home-title { font-size: 46px; letter-spacing: .08em; }
 .nv-home .nv-home-tagline { font-size: 16px; }
 .nv-home .nv-home-front { grid-template-columns: 1fr; }
 .nv-home .nv-home-reading { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--nv-hair); }
 .nv-home .nv-home-heading { gap: 8px; }
 .nv-home .nv-home-section-title { font-size: 25px; }
 .nv-home .nv-home-heading > .nv-home-brand { width: 24px; height: 27px; }
 .nv-home .nv-home-more { font-size: 11px; }
 .nv-home .nv-home-heading::after { margin-left: 3px; }
 .nv-home .nv-home-directory { grid-template-columns: 1fr; gap: 29px; }
 .nv-home .nv-home-shelf-head { display: flex; text-align: left; gap: 15px; padding: 0 0 13px; border-top: 0; }
 .nv-home .nv-home-emblem { flex-shrink: 0; margin: 0; width: 44px; height: 44px; }
 .nv-home .nv-home-shelf-title { font-size: 22px; }
 .nv-home .nv-home-shelf ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
 .nv-home .nv-home-shelf li { font-size: 16px; padding-block: 10px; }
 .nv-home .nv-home-atlas { grid-template-columns: 1fr; gap: 20px; }
 .nv-home .nv-home-editions { grid-template-columns: 1fr; gap: 0; }
 .nv-home .nv-home-edition { padding: 14px 0; border-top: 0; gap: 17px; }
 .nv-home .nv-home-edition:first-child { border-top: 1px solid var(--nv-hair); }
 .nv-home .nv-home-edition::after { content: '→'; }
 .nv-home .nv-home-rule-links > span { float: none; display: block; margin-top: 10px; }
 .nv-home .nv-home-workshop { grid-template-columns: 1fr; gap: 15px; }
 .nv-home .nv-home-author-links { grid-column: 1; }
 .nv-home .nv-home-workshop-title { font-size: 25px; }
 .nv-home .nv-home-workshop > .nv-home-brand { width: 43px; height: 48px; }
}
@media (pointer:coarse) {
 .nv-home .nv-home-shortcuts a, .nv-home .nv-home-reading a, .nv-home .nv-home-author-links a, .nv-home .nv-home-atlas-links a, .nv-home .nv-home-rule-links a { min-height: 44px; display: inline-flex; align-items: center; }
}