Bharatpedia:Contents/styles.css

From Bharatpedia, an open encyclopedia
/*  */
.contentsPage__title {
    border-bottom: 1px solid;
    font-size: 1.5em;
    padding: 0.25em;
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
}

.contentsPage__toc {
    padding: 1em;
}

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

.contentsPage__section {
    padding: 1em;
    margin-bottom: 10px;
}

.contentsPage__heading {
	position: relative;
    border-bottom: 1px solid;
    text-align: center;
    padding: 2px 72px;
}

.contentsPage__heading h2 {
    display: inline;
    font-family: sans-serif;
    font-weight: bold;
    border: 0;
    font-size: 1.2em;
    vertical-align: middle;
}

.contentsPage__xlink {
    font-size: 0.85em;
    vertical-align: middle;
    white-space: nowrap;
    display: block;
}

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

.contentsPage__sectionlinks {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: .85em;
}

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

.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: #cee0f2;
    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;
}