模板:状态/styles.css
< 模板:状态
/* 状态、原有设定级别和规则版本共用;图标由模板显式输出。 */
.novark-notice {
display: flex;
align-items: center;
gap: 12px;
max-width: 100%;
margin: 0 0 8px;
padding: 8px 0;
border: 0;
border-bottom: 1px solid var(--nv-hair);
background: transparent;
color: var(--nv-ink-muted);
font-size: 12.5px;
line-height: 1.6;
overflow-wrap: break-word;
}
.novark-notice strong {
display: inline-flex;
align-items: center;
flex: 0 0 auto;
gap: 7px;
color: var(--nv-accent);
white-space: nowrap;
}
.novark-notice--compact { width: fit-content; }
.novark-notice__detail { margin-top: 4px; }
.novark-notice__detail-inline { margin-left: 4px; }
.novark-notice + .novark-notice { margin-top: -4px; }
.novark-notice--rule-version strong { gap: 8px; }
.novark-notice--rule-version .nv-icon--32 { width: 32px; height: 32px; margin-block: -3px; }
@media (max-width: 720px) { .novark-notice { flex-direction: column; gap: 3px; } }
/* ==========================================================================
Page-level status / importance banners (rendered by Common.js from categories)
========================================================================== */
.nv-status-stack {
display: flex;
flex-direction: column;
gap: 10px;
margin: 0 0 1.5rem;
}
.nv-status-banner {
display: flex;
align-items: flex-start;
gap: 14px;
padding: 13px 18px 13px 22px;
border: 1px solid var(--nv-line);
border-left: 5px solid #8C8375;
border-radius: 2px;
background: #F1EFEA;
color: #5B554B;
box-shadow: 5px 5px 0 rgba(36, 33, 29, .07);
font-size: 14.5px;
line-height: 1.68;
}
.nv-status-banner .nv-status-banner__icon,
.nv-status-banner .nv-icon {
flex: 0 0 40px;
width: 40px;
height: 40px;
margin-top: 2px;
}
.nv-status-banner__body { min-width: 0; flex: 1 1 auto; }
.nv-status-banner__title {
display: block;
font-size: 15.5px;
font-weight: 700;
letter-spacing: .02em;
}
.nv-status-banner__text { display: block; margin-top: 2px; }
.nv-status-banner__note,
.nv-status-banner__discuss { display: block; margin-top: 6px; }
.nv-status-banner__discuss { font-size: 13.5px; }
.nv-status-banner--setting-core { border-left-color: #B43C3C; background: #FDE8E8; color: #7F1D1D; }
.nv-status-banner--setting-major { border-left-color: #C9831E; background: #FFF1D6; color: #7A4A00; }
.nv-status-banner--setting-common { border-left-color: #55788A; background: #EAF1F4; color: #2F4B5E; }
.nv-status-banner--setting-derived { border-left-color: #8C8375; background: #F1EFEA; color: #5B554B; }
.nv-status-banner--spoiler { border-left-color: #B43C3C; background: #FDE8E8; color: #7F1D1D; }
.nv-status-banner--noncanon { border-left-color: #6B55A0; background: #EDEAF5; color: #3E2F63; }
.nv-status-banner--campaign { border-left-color: #9A6A3A; background: #F3EADF; color: #5A3E22; }
.nv-status-banner--disambiguation { border-left-color: #7A888F; background: #EEF0F1; color: #3F4A50; }
.nv-status-banner--revising { border-left-color: #3A6FA8; background: #E8F0FA; color: #1E4A7A; }
.nv-status-banner--confirming { border-left-color: #7A5AA8; background: #F0EAF7; color: #4A3270; }
.nv-status-banner--anchored { border-left-color: #3E8B5E; background: #E7F1EA; color: #1F5A3A; }
.nv-status-banner--improve { border-left-color: #C9A227; background: #FFF8D8; color: #7A5A00; }
.nv-status-banner--featured { border-left-color: #C08A2A; background: #FBF0D8; color: #6B4A00; }
@media (max-width: 720px) {
.nv-status-banner {
gap: 10px;
padding: 11px 13px 11px 16px;
box-shadow: 3px 3px 0 rgba(36, 33, 29, .07);
font-size: 14px;
}
.nv-status-banner .nv-status-banner__icon,
.nv-status-banner .nv-icon {
flex: 0 0 32px;
width: 32px;
height: 32px;
margin-top: 1px;
}
.nv-status-banner__title { font-size: 14.5px; }
}