html {
	--bg-page: #ddd;
	--fg-page: #000;
	--bg-top: #000;
	--fg-top: #ddd;
}
@media (prefers-color-scheme: dark) {
	html {
		--bg-page: #000;
		--fg-page: #ddd;
	}
}
@font-face {
	font-family: "Fantasque Mono";
	src: url("/fantasque.ttf") format("truetype");
}

body {
	font-size: 24px;
	font-family: sans-serif;
	background-color: var(--bg-page);
	color: var(--fg-page);
}
table {
	border-collapse: collapse;
	border-top: solid var(--fg-page) 2px;
	border-bottom: solid var(--fg-page) 2px;
	width: 100%;
}
td {
	padding: 0.75em 1em 0.75em 1em;
}
td.full {
	width: 100%;
}
tr {
	border-bottom: solid var(--fg-page) 1px;
}
table p {
	margin-bottom: 0;
	word-break: break-word;
}
img {
	max-width: 720px;
}
.smaller {
	font-family: monospace;
	font-size: 0.8em;
}
.quotidian {
	float: left;
	height: 0;
	transform: translateX(-100%) translateX(-4em) rotate(-90deg);
	transform-origin: top right 0;
}
.topper {
	background-color: var(--bg-top);
	color: var(--fg-top);
	margin-bottom: 0;
	padding: 0;
	border: solid var(--fg-top) 2px;
}
.topper h1 {
	font-size: 2em;
	margin-top: 0.25em;
	margin-bottom: 0.25em;
	margin-left: 1em;
}
.topper a {
	color: var(--fg-top);
}
.topper p {
	margin: 0;
}
.main {
	margin-left: 2em;
	padding: 0 2em 0 2em;
	border-left: solid var(--fg-page) 2px;
	border-right: solid var(--fg-page) 2px;
}
.main a {
	color: var(--fg-page);
}
input, select {
	font-size: 1em;
	font-family: monospace;
	color: var(--fg-page);
	background-color: var(--bg-page);
	padding: 4px;
}

code, pre {
	word-break: break-word;
	font-family: "fantasque sans mono", "Fantasque Mono", monospace;
}
pre {
	white-space: pre-wrap;
	font-size: 0.8em;
}
pre.highlight {
	counter-reset: linecount 0;
}
.codeline {
	counter-increment: linecount;
}
span.codeline:before {
	color: #777;
	content: counter(linecount) ":	";
}

@media screen and (max-width: 740px) {
	body {
		font-size: 12px;
	}
	img {
		max-width: 100%;
	}
	table {
		border-top: solid var(--fg-page) 1px;
		border-bottom: solid var(--fg-page) 1px;
	}
	.topper {
		border: solid var(--fg-top) 1px;
	}
	.topper h1 {
		font-size: 1.5em;
	}
	.main {
		margin-left: 1.0em;
		padding: 0 0.5em 0 0.5em;
		border-left: solid var(--fg-page) 1px;
		border-right: solid var(--fg-page) 1px;
	}
	.quotidian {
		font-size: 0.75em;
		transform: translateX(-100%) translateX(-2.5em) rotate(-90deg);
	}
	.readme {
		font-size: 1.2em;
	}
	.manual {
		font-size: 1.4em;
	}
}

div.manual {
	font-family: serif;
	border-top: solid var(--fg-page) 1px;
	border-bottom: solid var(--fg-page) 1px;
	padding: 0.5em;
}
.manual .head, .manual .foot {
	display: none;
}
.manual .manual-text {
	max-width: 40em;
	margin-left: 0.5ex;
}
.manual h1 {
	font-size: 1.1em;
	margin-left: -1.0ex;
}
.manual h2 {
	font-size: 1.0em;
	font-weight: bold;
	margin-left: -1.0ex;
}
div.manual section:first-of-type h1 {
	margin-top: 0;
}
.manual a.permalink {
	text-decoration: none;
	border-bottom: thin dotted;
}
.manual table {
	border: none;
}
.manual tr {
	border: none;
}
.manual td {
	padding: 0;
}

.manual img {
	max-width: 100%;
}
.manual p {
	margin-bottom: 0;
}

div.Bd-indent { margin-left: 2.0ex; }
div.Nd, div.Bf, div.Op { display: inline; }
span.Pa, span.Ad { font-style: italic; }
span.Ms { font-weight: bold; }
dl.Bl-diag > dt { font-weight: bold; }
code.Nm, code.Fl, code.Cm, code.Ic, code.In, code.Fd, code.Fn, code.Cd {
	font-weight: bold; font-family: inherit;
}
code.Li {
	font-size: 0.8em;
}
.Bl-tag {
}
.Bl-tag > dt {
	font-style: italic;
	margin-left: 0.5em;
}
.Bl-tag > dd {
	margin-left: 5em;
	margin-bottom: 0.5em;
}


.highlight  { background-color: var(--bg-page); border: 1px solid #777; padding: 0.2em; }
.highlight .kw { color: #790D91 }
.highlight .bi { color: #690DE1 }
.highlight .st { color: #AC011E }
.highlight .nm { color: #AC011E }
.highlight .tp { color: #790D91 }
.highlight .cm { color: #175500 }
.highlight .al { color: #006000 }
.highlight .dl { color: #900000 }
@media (prefers-color-scheme: dark) {
.highlight .kw { color: #D90DA1 }
.highlight .bi { color: #A98DD1 }
.highlight .st { color: #DC011E }
.highlight .nm { color: #DC011E }
.highlight .tp { color: #A98DD1 }
.highlight .cm { color: #17A500 }
.highlight .al { color: #00B000 }
.highlight .dl { color: #C00000 }
}
