跳转到内容

MediaWiki:Common.css

轻之舟百科,让知识轻装启航
云云​(留言 | 贡献)2026年7月27日 (一) 05:14的版本
.infobox {
    float: right;
    margin: 0 0 1em 1em;
    width: 24em;
    border-spacing: 5px;
    border: 1px solid var(--border-color-base, #ccc);
    background: var(--color-surface-1, #f8f9fa);
    color: var(--color-base, #202122);
}

.infobox-header {
    text-align: center;
    font-size: 120%;
    padding: 5px;
    background: var(--color-surface-3, #e0e0e0);
    font-weight: bold;
}

.infobox th {
    text-align: left;
    padding: 4px;
    background: var(--color-surface-2, #eaecf0);
}

.infobox td {
    padding: 4px;
    border-bottom: 1px solid var(--border-color-muted, #ddd);
}



/* Better source needed 内联模板样式 */
.better-source-inline {
    font-size: 0.85em;
    color: #0645ad;
    white-space: nowrap;
}

.better-source-inline a {
    color: #0645ad;
    text-decoration: none;
    border-bottom: 1px dotted #0645ad;
}

.better-source-inline a:hover {
    text-decoration: underline;
}

.better-source-bracket {
    color: #0645ad;
    font-weight: normal;
}



.primary-source-inline {
    font-size: 0.85em;
    color: #0645ad;
    white-space: nowrap;
}

.primary-source-inline a {
    color: #0645ad;
    text-decoration: none;
    border-bottom: 1px dotted #0645ad;
}

.primary-source-inline a:hover {
    text-decoration: underline;
}

.primary-source-bracket {
    color: #0645ad;
    font-weight: normal;
}



/* ============================================
   来源维护内联模板统一样式
   ============================================ */

/* 通用基础样式 */
.citation-tag-inline {
    font-size: 0.85em;
    white-space: nowrap;
    font-family: sans-serif;
}

.citation-tag-inline a {
    text-decoration: none;
    border-bottom: 1px dotted;
    cursor: help;
}

.citation-tag-inline a:hover {
    text-decoration: underline;
    border-bottom: 1px solid;
}

.citation-tag-bracket {
    font-weight: normal;
}

/* Failed verification — 橙色,表示来源与内容不符(最严重) */
.failed-verification-inline,
.failed-verification-inline a,
.failed-verification-bracket {
    color: #c2580e;
}

.failed-verification-inline a {
    border-bottom-color: #c2580e;
}

/* Primary source inline — 蓝色,需要二手来源 */
.primary-source-inline,
.primary-source-inline a,
.primary-source-bracket {
    color: #0645ad;
}

.primary-source-inline a {
    border-bottom-color: #0645ad;
}

/* Better source needed — 蓝色,来源不够好 */
.better-source-inline,
.better-source-inline a,
.better-source-bracket {
    color: #0645ad;
}

.better-source-inline a {
    border-bottom-color: #0645ad;
}

/* Citation needed — 红色,完全无来源(可选配套) */
.citation-needed-inline,
.citation-needed-inline a,
.citation-needed-bracket {
    color: #d33;
}

.citation-needed-inline a {
    border-bottom-color: #d33;
}