body {
	--admonition-font-size: 1em;
	
	--font-stack: sans-serif;
	--font-stack--headings: sans-serif;
	--font-stack--monospace: monospace, monospace;
	
	--color-api-name: #76bf00;
	--color-function-name: #baab00;
	--color-class-name: #00c693;
	--color-exception-name: #ff6f45;
	
	--color-api-pre-name: var(--color-foreground-secondary);
	--color-api-keyword: var(--color-foreground-muted);
	--color-api-overall: var(--color-foreground-muted);
	--color-api-paren: var(--color-foreground-muted);
}

@media not print {
	@media (prefers-color-scheme: dark) {
		body:not([data-theme="light"]) {
			--color-api-name: #95d943;
			--color-function-name: #d7c500;
			--color-class-name: #00e6a8;
			--color-exception-name: #ffa184;
		}
	}
	
	body[data-theme="dark"] {
		--color-api-name: #95d943;
		--color-function-name: #d7c500;
		--color-class-name: #00e6a8;
		--color-exception-name: #ffa184;
	}
}

h2, dl {
	margin-block-start: 2.0rem;
	margin-block-end: 1.5rem;
}

h3, .toctree-wrapper {
	margin-block-start: 1.5rem;
	margin-block-end: 1.125rem;
}

h4, dl dl {
	margin-block-start: 0.75rem;
	margin-block-end: 0.5rem;
}

.field-list dt {
	font-family: serif !important;
	font-weight: bold !important;
	font-size: smaller !important;
	
	color: var(--color-foreground-muted);
}

dt {
	border-block-start: 1px solid var(--color-background-border);
}

.method > dt .sig-name {
	color: var(--color-function-name);
}

.class > dt .sig-name {
	color: var(--color-class-name);
}

.exception > dt .sig-name {
	color: var(--color-exception-name);
}
