/**
 * This is a custom PrismJS syntax highlighting theme that uses LIL colors.
 *
 * Colors are derived from the LIL palette and darkened so as to retain
 * sufficient contrast when rendered over a light background.
 */

:root {
	--code-bg: hsl(200, 13%, 97%);
	--code-fg: #121212;

	--code-comment: #5C6B72;
	--code-punctuation: #3A4A50;
	--code-keyword: #0B6E9C;
	--code-string: #356E61;
	--code-function: #B23A4B;
	--code-number: #7A3D99;
	--code-variable: #8A6B00;
	--code-operator: #7A5A1F;
}

code[class*="language-"],
pre[class*="language-"] {
	color: var(--code-fg);
	background: none;
	font-family: "DMMono", ui-monospace, monospace;
	font-weight: 400;
	font-size: 1em;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;

	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

pre[class*="language-"] {
	background: var(--code-bg);

	padding: 1em;
	margin: 20px 0 40px;
	overflow: auto;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: var(--code-comment);
}

.token.punctuation {
	color: var(--code-punctuation);
}

.token.namespace {
	opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
	color: var(--code-number);
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: var(--code-string);
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
	color: var(--code-operator);
}

.token.atrule,
.token.attr-value,
.token.keyword {
	color: var(--code-keyword);
}

.token.function,
.token.class-name {
	color: var(--code-function);
}

.token.regex,
.token.important,
.token.variable {
	color: var(--code-variable);
}

.token.important,
.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}
