Wikipedia:Contents/styles.css

Permanently protected page
From Wikipedia, the free encyclopedia
/* {{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;
    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;
}

.contentsPage--type .contentsPage__title {
    background: #cef2e0;
    border-color: #a3bfb1;
}

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

.contentsPage--type .contentsPage__heading {
    background: #cef2e0;
    border-color: #a3bfb1;
}

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

.contentsPage--topic {
    background: #f5faff;
    border: 1px solid #a3b1bf;
}

.contentsPage--topic .contentsPage__title {
    background: #fff;
    border-color: #a3b1bf;
}

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

.contentsPage--topic .contentsPage__heading {
    background: #cee0f2;
    border-color: #a3b1bf;
}

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