/*
 * Oninit Snooper - page-specific CSS overlay.
 *
 * Loaded by /snooper/content.php so it applies to every snooper page
 * without touching the shared site CSS.  Scoped under the
 * .snooper-content namespace so the rules don't bleed into other
 * subtrees of the site.
 */

/* Tables: visible grid, tahoma cells matching the legacy <td>/<th> rules */
.snooper-content table.legacy {
	border-collapse: collapse;
	margin: 8px 4px 12px 4px;
	font-family: tahoma;
	font-size: 12px;
	color: #000000;
	width: auto;
	max-width: 100%;
	text-align: left;
}

.snooper-content table.legacy th,
.snooper-content table.legacy td {
	border: 1px solid #c0a880;
	padding: 6px 10px;
	vertical-align: top;
	text-align: left;
}

.snooper-content table.legacy th {
	background-color: #f2eddc;
	color: #7e4400;
	font-weight: bold;
}

.snooper-content table.legacy tr:nth-child(even) td {
	background-color: #fbf8ee;
}

/* Lists */
.snooper-content ul.legacy {
	list-style-type: disc;
	margin-left: 24px;
	padding-left: 16px;
	font-family: tahoma;
	font-size: 12px;
	color: #000000;
}

.snooper-content ul.legacy li {
	margin-top: 2px;
	margin-bottom: 2px;
	color: #000000;
}

.snooper-content ol.legacy {
	list-style-type: decimal;
	list-style-position: outside;
	margin: 8px 4px 12px 24px;
	padding-left: 16px;
	font-family: tahoma;
	font-size: 12px;
	color: #000000;
}

.snooper-content ol.legacy li {
	display: list-item;
	margin-top: 2px;
	margin-bottom: 2px;
	color: #000000;
}

/* Headings */
.snooper-content h3 {
	font-size: 16px;
	font-family: tahoma;
	color: #7e4400;
	margin-top: 8px;
	margin-bottom: 12px;
}

.snooper-content h2.legacy {
	margin-top: 18px;
	margin-bottom: 6px;
}

/* Inline em as code-ish identifiers */
.snooper-content em.legacy,
.snooper-content em {
	color: #6b5a1f;
	font-style: normal;
}

/* Body paragraphs */
.snooper-content p,
.snooper-content p.legacy {
	line-height: 1.45;
	max-width: 64em;
	text-align: left;
}

/* Code blocks */
.snooper-content pre.legacy {
	background-color: #fbf8ee;
	border: 1px solid #e8e0c8;
	padding: 8px 10px;
	overflow-x: auto;
	max-width: 100%;
	white-space: pre;
	margin: 8px 0;
}

/* Sidenav section divider */
.sidenav .sidenav-section {
	display: block;
	margin-top: 14px;
	margin-bottom: 4px;
	padding: 4px 12px 4px 12px;
	border-top: 1px solid #d8c8a8;
	font-family: tahoma;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #7e4400;
}
