Jump to content

Wikipedia:Contents/styles.css

Permanently protected page
From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by TheDJ (talk | contribs) at 10:52, 5 November 2024 (some basic fixes for dark mode). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp-template}} */
.contentsPage__title {
    border-bottom: 2px solid #333;
    font-size: 1.8em;
    padding: 0.5em 0;
    text-align: center;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.contentsPage__toc {
    padding: 1em;
}

.contentsPage__intro {
    position: relative;
    padding: 1.5em 1em;
}

.contentsPage__section {
    padding: 1.5em 1em;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    color: var( --color-inverted, #101418 );
    background-color: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.contentsPage__heading {
    position: relative;
    border-bottom: 2px solid #333;
    text-align: center;
    padding: 0.5em 0;
}

.contentsPage__heading h2 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.3em;
    margin: 0;
}

.contentsPage__xlink {
    font-size: 0.9em;
    white-space: nowrap;
    display: block;
    margin-top: 10px;
}

@media (min-width: 720px) {
    .contentsPage__xlink {
        display: inline;
    }
}

.contentsPage__sectionlinks {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 0.85em;
}

.contentsPage__notes {
    padding: 1em;
    border-top: 1px solid #ddd;
}

.contentsPage__notes:empty {
    display: none;
}

.contentsPage--type {
    background: #f5fffa;
    border: 1px solid #a3bfb1;
    color: var( --color-inverted, #101418 );
}

.contentsPage--type .contentsPage__title {
    background: #cef2e0;
    border-color: #a3bfb1;
    color: var( --color-inverted, #101418 );
}

.contentsPage--type .contentsPage__intro {
    background: #e6fff2;
}

.contentsPage--type .contentsPage__heading {
    background: #cef2e0;
    border-color: #a3bfb1;
    color: var( --color-inverted, #101418 );
}

.contentsPage--type .contentsPage__notes {
    border-color: #a3bfb1;
}

.contentsPage--topic {
    background: #f5faff;
    border: 1px solid #a3b1bf;
    color: var( --color-inverted, #101418 );
}

.contentsPage--topic .contentsPage__title {
    background: #fff;
    border-color: #a3b1bf;
    color: var( --color-inverted, #101418 );
}

.contentsPage--topic .contentsPage__intro {
    background: #e6f2ff;
}

.contentsPage--topic .contentsPage__heading,
.contentsPage--topic .contentsPage__heading .mw-heading {
    background: #cee0f2;
    border-color: #a3b1bf;
    color: var( --color-inverted, #101418 );
}

.contentsPage--topic .contentsPage__notes {
    border-color: #a3b1bf;
}