跳转到内容

MediaWiki:Common.css

轻之舟百科,让知识轻装启航
云云​(留言 | 贡献)2026年7月27日 (一) 04:48的版本
.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;
}