User:The wub/sandbox/styles.css

.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 { padding: 1em; }

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

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

.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--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--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; }