:root {
	--fg0: #242424;
	--fg1: #454545;

	--bg0: #ebedf0;
	--bg1: #e5e7ed;
	--bg2: #dadae3;
	--bg3: #d0d0db;
	--bg4: #c0c0cc;

	--fg-red0:     #970900;
	--fg-green0:   #00553d;
	--fg-blue0:    #004990;
	--fg-magenta0: #830091;

	--bg-red0:     #ff8f88;
	--bg-green0:   #04ef28;
	--bg-yellow0:  #e8be6f;
	--bg-blue0:    #8ec1f5;

	--code-red:     #970900;
	--code-green:   #00553d;
	--code-yellow:  #733b00;
	--code-blue:    #004990;
	--code-magenta: #830091;
	--code-cyan:    #005167;
	--code-muted:   var(--fg1);
}

@media (prefers-color-scheme: dark) {
	:root {
		--fg0: #eeeeee;
		--fg1: #aaaaaa;

		--bg0: #15191e;
		--bg1: #1b2026;
		--bg2: #2c2c38;
		--bg3: #3f414d;
		--bg4: #474957;

		--fg-red0:     #b30f0f;
		--fg-green0:   #a4c252;
		--fg-blue0:    #78a3c7;
		--fg-magenta0: #ad7ac4;

		--bg-red0:     #6b0606;
		--bg-green0:   #225311;
		--bg-yellow0:  #604402;
		--bg-blue0:    #114977;

		--code-red:     #e15d5d;
		--code-green:   #a4c252;
		--code-yellow:  #d99463;
		--code-blue:    #78a3c7;
		--code-magenta: #ad7ac4;
		--code-cyan:    #79b5ae;
		--code-muted:   var(--fg1);
	}
}

html * {
	font-family: monospace !important;
	font-size: 12px !important;
	tab-size: 4; !important;
}

body {
	color: var(--fg0);
	background-color: var(--bg0);
	margin: 0;
	font-size: 16px;
}

hr {
	border: 1px solid var(--bg2);
}

input, select {
	color: var(--fg0);
	background-color: var(--bg2);

	padding: 2px 0.75em;
	border: none;
	outline: none;
}

input[type="submit"]:hover {
	background-color: var(--bg3);
	cursor: pointer;
}

div#cgit {
	max-width: 80rem;
	margin: 1rem auto 0 auto;
	padding: 0 1rem;
}

div#cgit a {
	color: var(--fg-blue0);
	text-decoration: none;
}

div#cgit a:hover {
	text-decoration: underline;
}

div#cgit table {
	border-collapse: collapse;
}

div#cgit table#header {
	display: flex;
	justify-content: space-between;
	overflow-x: auto;
	width: 100%;
	margin-bottom: 1em;
}

div#cgit table#header tbody {
	width: 100%;
}

@media (min-width: 768px) {
	div#cgit table#header tbody {
		padding: 0 1rem;
	}
}


div#cgit table#header tr {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	align-items: center;
}

div#cgit table#header td.logo a {
	display: flex;
}

div#cgit table#header td.logo img {
	height: 2rem;
	border-radius: 0.25rem;
}
@media (min-width: 768px) {
	div#cgit table#header td.logo img { height: 2.5rem; }
}

div#cgit table#header td.main {
	padding-bottom: 0.3rem;
	font-size: 1.5rem;
	padding-right: 1rem;
	white-space: nowrap;
}

@media (min-width: 768px) {
	div#cgit table#header td.main {
		font-size: 2rem;
	}
}

div#cgit table#header td.main a {
	color: var(--fg0);
}

div#cgit table#header td.form {
	margin-left: auto;
	white-space: nowrap;
}

div#cgit table#header td.form form {
	display: flex;
}

div#cgit table#header td.sub {
	color: var(--fg1);
}

div#cgit table.tabs {
	display: block;
	overflow-x: auto;
	overflow-y: hidden;
	
	border-collapse: collapse;
	margin-top: 2em;
	width: 100%;
}

div#cgit table.tabs tbody {
	display: block;
	width: 100%;
}

div#cgit table.tabs tr {
	display: flex;
	justify-content: space-between;
}

div#cgit table.tabs td {
	display: flex;
}


@media (min-width: 768px) {
	div#cgit table.tabs td {
		padding: 0 1rem;
	}
}

div#cgit table.tabs td a {
	padding: 2px 0.75em;
	color: var(--fg1);
	font-size: 1.1rem;
}

div#cgit table.tabs td a.active {
	color: var(--fg0);
	background-color: var(--bg2);
}

div#cgit table.tabs a[href^="http://"]:after, div#cgit table.tabs a[href^="https://"]:after {
	content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfgAhcJDQY+gm2TAAAAHWlUWHRDb21tZW50AAAAAABDcmVhdGVkIHdpdGggR0lNUGQuZQcAAABbSURBVAhbY2BABs4MU4CwhYHBh2Erww4wrGFQZHjI8B8IgUIscJWyDHcggltQhI4zGDCcRwhChPggHIggP1QoAVmQkSETrGoHsiAEsACtBYN0oDAMbgU6EBcAAL2eHUt4XUU4AAAAAElFTkSuQmCC);
	opacity: 0.5;
	margin: 0 0 0 5px;
}

div#cgit table.tabs td.form form {
	white-space: nowrap;
	display: flex;
}

div#cgit input,
div#cgit select {
	font-size: 1.1rem;
	margin-left: 0.6rem;
}

div#cgit div.path {
	padding: 1rem 1rem 0.2rem 1rem;
	margin: 0px;
	color: var(--fg0);
	background-color: var(--bg2);
}

@media (min-width: 768px) {
	div#cgit div.path {
		padding: 0rem 1.8rem 0.2rem 1.8rem;
	}
}

div#cgit div.content {
	display: block;
	overflow-x: auto;
	margin-top: -20px;
	padding-top: 2rem;
}

div#cgit div.content img {
	width: 100%;
}

div#cgit div.content ul, li {
	margin: 0;
	padding: 0;
}

div#cgit div.content li:before {
	content: "* ";
}

div#cgit div.content h1, h2, h3 {
	border-bottom: 1px solid black;
	width: 100%;
}
div#cgit div.content pre {
	margin: 10px;
	padding: 10px;
	background: #ddd;
}

@media (min-width: 768px) {
	div#cgit div.content {
		padding: 2rem 1rem;
	}
}


div#cgit table.list {
	width: 100%;
	border: none;
	border-collapse: collapse;
}

div#cgit table.list tr {
	background: white;
}

div#cgit table.list tr.logheader {
	background: #eee;
}

div#cgit table.list tr:nth-child(even) {
	background: var(--bg1);
}

div#cgit table.list tr:nth-child(odd) {
	background: var(--bg0);
}

/*div#cgit table.list tr:hover {
	background: var(--bg2);
}*/

div#cgit table.list tr.nohover,
div#cgit table.list tr.nohover:hover {
	background: var(--bg0);
	background: var(--bg0);
}

div#cgit table.list tr.nohover-highlight:hover:nth-child(even) {
	background: var(--bg1);
}

div#cgit table.list tr.nohover-highlight:hover:nth-child(odd) {
	background: var(--bg0);
}

div#cgit table.list th {
	font-weight: bold;
	padding: 0.4rem 0.5rem;
}

div#cgit table.list td {
	border: none;
	padding: 0.4rem 0.8rem;
}

div#cgit table.list td.commitgraph {
	font-family: monospace;
	white-space: pre;
}

div#cgit table.list td.commitgraph .column1 {
	color: #a00;
}

div#cgit table.list td.commitgraph .column2 {
	color: #0a0;
}

div#cgit table.list td.commitgraph .column3 {
	color: #aa0;
}

div#cgit table.list td.commitgraph .column4 {
	color: #00a;
}

div#cgit table.list td.commitgraph .column5 {
	color: #a0a;
}

div#cgit table.list td.commitgraph .column6 {
	color: #0aa;
}

div#cgit table.list td.logsubject {
	font-family: monospace;
	font-weight: bold;
}

div#cgit table.list td.logmsg {
	font-family: monospace;
	white-space: pre;
	padding: 0 0.5em;
}

div#cgit table.list td a {
	color: var(--fg0);
}

div#cgit table.list td a.ls-dir {
	font-weight: bold;
	color: var(--fg-magenta0);
}

div#cgit table.list td a:hover {
	color: var(--fg-blue0);
}

div#cgit img {
	border: none;
}

div#cgit input#switch-btn {
	margin: 2px 0px 0px 0px;
}

div#cgit td#sidebar input {
	width: 100%;
	margin: 2px 0px 0px 0px;
}

div#cgit table#grid {
	margin: 0px;
}

div#cgit td#content {
	vertical-align: top;
	padding: 1em 2em 1em 1em;
	border: none;
}

div#cgit div#summary {
	vertical-align: top;
	margin-bottom: 1em;
}

div#cgit table#downloads {
	float: right;
	border-collapse: collapse;
	border: solid 1px #777;
	margin-left: 0.5em;
	margin-bottom: 0.5em;
}

div#cgit table#downloads th {
	background-color: #ccc;
}

div#cgit div#blob {
	border: solid 1px black;
}

div#cgit div.error {
	color: red;
	font-weight: bold;
	margin: 1em 2em;
}

div#cgit a.ls-blob, div#cgit a.ls-dir, div#cgit .ls-mod {
	font-family: monospace;
}

div#cgit td.ls-size {
	text-align: right;
	font-family: monospace;
	width: 10em;
}

div#cgit td.ls-mode {
	font-family: monospace;
	width: 10em;
}

div#cgit table.blob,
div#cgit table.diff {
	display: block;
	width: 100%;
	overflow-x: auto;
	margin-top: 0.5em;

	background: var(--bg1);
	border: 1px solid var(--bg3);
}

div#cgit table.blob td.hashes,
div#cgit table.blob td.lines {
	margin: 0;
	padding: 0 0 0 0.5em;
	vertical-align: top;
	color: var(--fg0);
}

div#cgit table.blob td.linenumbers {
	margin: 0; padding: 0 0.5em 0 0.5em;
	vertical-align: top;
	text-align: right;
}

div#cgit table.blob pre {
	padding: 0; margin: 0;
}

div#cgit table.blob td.linenumbers a,
div#cgit table.ssdiff td.lineno a {
	color: var(--code-yellow);
	text-align: right;
	text-decoration: none;
}

div#cgit table.blob td.linenumbers a:hover,
div#cgit table.ssdiff td.lineno a:hover {
	color: var(--fg0);
}

div#cgit table.blame td.hashes,
div#cgit table.blame td.lines,
div#cgit table.blame td.linenumbers {
	padding: 0;
}

div#cgit table.blame td.hashes div.alt,
div#cgit table.blame td.lines div.alt {
	padding: 0 0.5em 0 0.5em;
}

div#cgit table.blame td.linenumbers div.alt {
	padding: 0 0.5em 0 0;
}

div#cgit table.blame div.alt:nth-child(even) {
	background: var(--bg0);
}

div#cgit table.blame div.alt:nth-child(odd) {
	background: var(--bg1);
}

div#cgit table.blame td.lines {
	width: 100%;
}

div#cgit table.blame td.lines > div {
	position: relative;
}

div#cgit table.blame td.lines > div > pre {
	padding: 0 0 0 0.5em;
	position: absolute;
	top: 0;
}

div#cgit table.bin-blob {
	margin-top: 0.5em;
	border: solid 1px black;
}

div#cgit table.bin-blob th {
	font-family: monospace;
	white-space: pre;
	border: solid 1px #777;
	padding: 0.5em 1em;
}

div#cgit table.bin-blob td {
	font-family: monospace;
	white-space: pre;
	border-left: solid 1px #777;
	padding: 0em 1em;
}

div#cgit table.nowrap td {
	white-space: nowrap;
}

div#cgit table.commit-info {
	border-collapse: collapse;
	margin-top: 1.5em;
}

div#cgit div.cgit-panel b,
div#cgit div.cgit-panel form {
	margin-left: auto;	
}

div#cgit div.cgit-panel b {
	width: 100%;
	text-align: right;
}

@media (min-width: 768px) {
	div#cgit div.cgit-panel {
		float: right;
		margin: 1.5rem;
		margin-right: 0;
	}
}


div#cgit div.cgit-panel table {
	border-collapse: collapse;
	border: solid 1px var(--bg3);
	background-color: var(--bg2);
}

div#cgit div.cgit-panel th {
	text-align: center;
}

div#cgit div.cgit-panel td {
	padding: 0.25em 0.5em;
}

div#cgit div.cgit-panel td.label {
	padding-right: 0.5em;
}

div#cgit div.cgit-panel td.ctrl {
	padding-left: 0.5em;
}

div#cgit div.cgit-panel td.ctrl input[type="submit"],
div#cgit div.cgit-panel td.ctrl input,
div#cgit div.cgit-panel td.ctrl select {
	background-color: var(--bg3);
	border: 1px solid var(--bg4);
}

div#cgit table.commit-info th {
	text-align: left;
	font-weight: normal;
	padding: 0.1em 1em 0.1em 0.1em;
	vertical-align: top;
}

div#cgit table.commit-info td {
	font-weight: normal;
	padding: 0.1em 1em 0.1em 0.1em;
}

div#cgit div.commit-subject {
	font-weight: bold;
	font-size: 125%;
	margin: 1.5em 0em 0.5em 0em;
	padding: 0em;
}

div#cgit div.commit-msg {
	white-space: pre;
	font-family: monospace;
}

div#cgit div.notes-header {
	font-weight: bold;
	padding-top: 1.5em;
}

div#cgit div.notes {
	white-space: pre;
	font-family: monospace;
	border: solid 1px #ee9;
	background-color: #ffd;
	padding: 0.3em 2em 0.3em 1em;
	float: left;
}

div#cgit div.notes-footer {
	clear: left;
}

div#cgit div.diffstat-header {
	font-weight: bold;
	padding-top: 1.5em;
}

div#cgit table.diffstat {
	border-collapse: collapse;
	border: solid 1px var(--bg3);
	background-color: var(--bg2);
}

div#cgit table.diffstat th {
	font-weight: normal;
	text-align: left;
	text-decoration: underline;
	padding: 0.1em 1em 0.1em 0.1em;
	font-size: 100%;
}

div#cgit table.diffstat td {
	padding: 0.2em 0.2em 0.1em 0.1em;
	font-size: 100%;
	border: none;
}

div#cgit table.diffstat td.mode {
	white-space: nowrap;
}

div#cgit table.diffstat td span.modechange {
	padding-left: 1em;
	color: red;
}

div#cgit table.diffstat td.add a {
	color: var(--fg-green0);
}

div#cgit table.diffstat td.del a {
	color: var(--fg-red0);
}

div#cgit table.diffstat td.upd a {
	color: var(--fg-blue0);
}

div#cgit table.diffstat td.graph {
	width: 300px;
	vertical-align: middle;
}

div#cgit table.diffstat td.graph table {
	border: none;
}

div#cgit table.diffstat td.graph td {
	padding: 0px;
	border: 0px;
	height: 7pt;
}

div#cgit table.diffstat td.graph td.add {
	background-color: var(--bg-green0);
}

div#cgit table.diffstat td.graph td.rem {
	background-color: var(--bg-red0);
}

div#cgit div.diffstat-summary {
	color: var(--fg1);
	padding-top: 0.5em;
}

div#cgit table.diff td {
	font-family: monospace;
	white-space: pre;
}

div#cgit table.diff td div.head {
	color: var(--fg0);
	font-weight: bold;
	margin-bottom: 1em;
}

div#cgit table.diff td div.hunk {
	color: var(--code-magenta);
}

div#cgit table.diff td div.add {
	color: var(--code-green);
}

div#cgit table.diff td div.del {
	color: var(--code-red);
}

div#cgit .sha1 {
	font-family: monospace;
	font-size: 90%;
}

div#cgit .left {
	text-align: left;
}

div#cgit .sub.right {
	display: none;
}

div#cgit table.list td.reposection {
	font-style: italic;
	color: var(--fg1);
}

div#cgit a.button {
	padding-right: 0.5em;.sub.right
}

div#cgit a.primary {
	font-size: 100%;
}

div#cgit a.secondary {
	font-size: 90%;
}

div#cgit td.toplevel-repo {

}

div#cgit table.list td.sublevel-repo {
	padding-left: 1.5em;
}

div#cgit ul.pager {
	list-style-type: none;
	text-align: center;
	margin: 1em 0em 0em 0em;
	padding: 0;
}

div#cgit ul.pager li {
	display: inline-block;
	margin: 0.25em 0.5em;
}

div#cgit ul.pager a {
	background-color: var(--bg3);
	padding: 0.25rem 0.5rem;
	color: var(--fg0);
}

div#cgit ul.pager .current {
	font-weight: bold;
}

div#cgit span.age-mins {
	font-weight: bold;
	color: var(--fg-green0);
}

div#cgit span.age-hours,
div#cgit span.age-days {
	color: var(--fg-green0);
}

div#cgit span.age-weeks,
div#cgit span.age-months,
div#cgit span.age-years {
	color: var(--fg1);
}

div#cgit span.insertions {
	color: var(--fg-green0);
}

div#cgit span.deletions {
	color: var(--fg-red0);
}

div#cgit div.footer {
	display: none;
	margin-top: 0.5em;
	text-align: center;
	font-size: 80%;
	color: var(--fg1);
}

div#cgit div.footer a {
	color: var(--fg1);
	text-decoration: none;
}

div#cgit div.footer a:hover {
	text-decoration: underline;
}

div#cgit a.branch-deco {
	color: var(--fg0);
	margin-left: 0.5rem;
	padding: 0px 0.25em;
	background-color: var(--bg-green0);
	border: solid 1px #000000;
}

div#cgit a.tag-deco {
	color: var(--fg0);
	margin-left: 0.5rem;
	padding: 0px 0.25em;
	background-color: var(--bg-yellow0);
	border: solid 1px #000000;
}

div#cgit a.tag-annotated-deco {
	color: var(--fg0);
	margin-left: 0.5rem;
	padding: 0px 0.25em;
	background-color: var(--bg-yellow0);
	border: solid 1px #000000;
}

div#cgit a.remote-deco {
	color: var(--fg0);
	margin-left: 0.5rem;
	padding: 0px 0.25em;
	background-color: var(--bg-blue0);
	border: solid 1px #000000;
}

div#cgit a.deco {
	color: var(--fg0);
	margin-left: 0.5rem;
	padding: 0px 0.25em;
	background-color: var(--bg-red0);
	border: solid 1px #000000;
}

div#cgit div.commit-subject a.branch-deco,
div#cgit div.commit-subject a.tag-deco,
div#cgit div.commit-subject a.tag-annotated-deco,
div#cgit div.commit-subject a.remote-deco,
div#cgit div.commit-subject a.deco {
	margin-left: 1em;
	font-size: 75%;
}

div#cgit table.stats {
	border: solid 1px black;
	border-collapse: collapse;
}

div#cgit table.stats th {
	text-align: left;
	padding: 1px 0.5em;
	background-color: #eee;
	border: solid 1px black;
}

div#cgit table.stats td {
	text-align: right;
	padding: 1px 0.5em;
	border: solid 1px black;
}

div#cgit table.stats td.total {
	font-weight: bold;
	text-align: left;
}

div#cgit table.stats td.sum {
	color: #c00;
	font-weight: bold;
/*	background-color: #eee; */
}

div#cgit table.stats td.left {
	text-align: left;
}

div#cgit table.vgraph {
	border-collapse: separate;
	border: solid 1px black;
	height: 200px;
}

div#cgit table.vgraph th {
	background-color: #eee;
	font-weight: bold;
	border: solid 1px white;
	padding: 1px 0.5em;
}

div#cgit table.vgraph td {
	vertical-align: bottom;
	padding: 0px 10px;
}

div#cgit table.vgraph div.bar {
	background-color: #eee;
}

div#cgit table.hgraph {
	border: solid 1px black;
	width: 800px;
}

div#cgit table.hgraph th {
	background-color: #eee;
	font-weight: bold;
	border: solid 1px black;
	padding: 1px 0.5em;
}

div#cgit table.hgraph td {
	vertical-align: middle;
	padding: 2px 2px;
}

div#cgit table.hgraph div.bar {
	background-color: #eee;
	height: 1em;
}

div#cgit table.ssdiff {
	width: 100%;
}

div#cgit table.ssdiff td {
	font-size: 75%;
	font-family: monospace;
	white-space: pre;
	padding: 1px 4px 1px 4px;
	border-left: solid 1px #aaa;
	border-right: solid 1px #aaa;
}

div#cgit table.ssdiff td.add {
	color: black;
	background: #cfc;
	min-width: 50%;
}

div#cgit table.ssdiff td.add_dark {
	color: black;
	background: #aca;
	min-width: 50%;
}

div#cgit table.ssdiff span.add {
	background: #cfc;
	font-weight: bold;
}

div#cgit table.ssdiff td.del {
	color: black;
	background: #fcc;
	min-width: 50%;
}

div#cgit table.ssdiff td.del_dark {
	color: black;
	background: #caa;
	min-width: 50%;
}

div#cgit table.ssdiff span.del {
	background: #fcc;
	font-weight: bold;
}

div#cgit table.ssdiff td.changed {
	color: black;
	background: #ffc;
	min-width: 50%;
}

div#cgit table.ssdiff td.changed_dark {
	color: black;
	background: #cca;
	min-width: 50%;
}

div#cgit table.ssdiff td.lineno {
	color: black;
	background: #eee;
	text-align: right;
	width: 3em;
	min-width: 3em;
}

div#cgit table.ssdiff td.hunk {
	color: black;
	background: #ccf;
	border-top: solid 1px #aaa;
	border-bottom: solid 1px #aaa;
}

div#cgit table.ssdiff td.head {
	border-top: solid 1px #aaa;
	border-bottom: solid 1px #aaa;
}

div#cgit table.ssdiff td.head div.head {
	font-weight: bold;
	color: black;
}

div#cgit table.ssdiff td.foot {
	border-top: solid 1px #aaa;
	border-left: none;
	border-right: none;
	border-bottom: none;
}

div#cgit table.ssdiff td.space {
	border: none;
}

div#cgit table.ssdiff td.space div {
	min-height: 3em;
}



/*
 * Markdown
 */

.markdown-body>*:first-child {
    margin-top: 0 !important;
}

.markdown-body>*:last-child {
    margin-bottom: 0 !important;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    margin: 0.75rem 0;
    font-weight: bold;
}

div#cgit .markdown-body h1 > a:hover,
div#cgit .markdown-body h2 > a:hover,
div#cgit .markdown-body h3 > a:hover,
div#cgit .markdown-body h4 > a:hover,
div#cgit .markdown-body h5 > a:hover,
div#cgit .markdown-body h6 > a:hover {
    text-decoration: none;
}

div#cgit .markdown-body h1 a.toclink,
div#cgit .markdown-body h2 a.toclink,
div#cgit .markdown-body h3 a.toclink,
div#cgit .markdown-body h4 a.toclink,
div#cgit .markdown-body h5 a.toclink,
div#cgit .markdown-body h6 a.toclink {
    color: var(--fg0);
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    border-bottom: 2px solid var(--bg2);
}
.markdown-body h1 { font-size: 2.1rem; }
.markdown-body h2 { font-size: 1.85rem; }
.markdown-body h3 { font-size: 1.7rem; }
.markdown-body h4 { font-size: 1.5rem; }
.markdown-body h5 { font-size: 1.35rem; }
.markdown-body h6 { font-size: 1.2rem; }

.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
    margin: 1rem 0;
}

.markdown-body>h1:first-child,
.markdown-body>h2:first-child,
.markdown-body>h3:first-child,
.markdown-body>h4:first-child,
.markdown-body>h5:first-child,
.markdown-body>h6:first-child,
.markdown-body a:first-child h1,
.markdown-body a:first-child h2,
.markdown-body a:first-child h3,
.markdown-body a:first-child h4,
.markdown-body a:first-child h5,
.markdown-body a:first-child h6,
.markdown-body h1+p,
.markdown-body h2+p,
.markdown-body h3+p,
.markdown-body h4+p,
.markdown-body h5+p,
.markdown-body h6+p {
    padding-top: 0;
    margin-top: 0;
}

.markdown-body li p.first {
    display: inline-block;
}

.markdown-body ul, .markdown-body ol {
    padding-left: 1rem;
}

.markdown-body ul.no-list, .markdown-body ol.no-list {
    list-style-type: none;
    padding: 0;
}

.markdown-body ul li>:first-child,
.markdown-body ul li ul:first-of-type,
.markdown-body ul li ol:first-of-type,
.markdown-body ol li>:first-child,
.markdown-body ol li ul:first-of-type,
.markdown-body ol li ol:first-of-type {
    margin-top: 0;
}

.markdown-body ul li p:last-of-type,
.markdown-body ol li p:last-of-type {
    margin-bottom: 0;
}

.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
    margin-bottom: 0;
}

.markdown-body dl {
    padding: 0;
}

.markdown-body dl dt {
    font-weight: bold;
    font-style: italic;
    padding: 0;
    margin: 15px 0 5px;
}

.markdown-body dl dt:first-child {
    padding: 0;
}

.markdown-body dl dt>:first-child {
    margin-top: 0px;
}

.markdown-body dl dt>:last-child {
    margin-bottom: 0px;
}

.markdown-body dl dd {
    margin: 0 0 15px;
    padding: 0 15px;
}

.markdown-body dl dd>:first-child {
    margin-top: 0px;
}

.markdown-body dl dd>:last-child {
    margin-bottom: 0px;
}

.markdown-body blockquote {
    border-left: 0.4rem solid var(--bg3);
    padding: 0 15px;
    color: var(--fg1);
}

.markdown-body blockquote>:first-child {
    margin-top: 0px;
}

.markdown-body blockquote>:last-child {
    margin-bottom: 0px;
}

.markdown-body table th {
    font-weight: bold;
}

.markdown-body table th,
.markdown-body table td {
    border: 1px solid var(--bg3);
    padding: 6px 13px;
}

.markdown-body table tr {
    border-top: 1px solid var(--bg3);
    background-color: var(--bg0);
}

.markdown-body table tr:nth-child(2n) {
    background-color: var(--bg2);
}

.markdown-body table thead tr {
    background-color: var(--bg2);
}

.markdown-body img {
    max-width: 100%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.markdown-body span.frame {
    display: block;
    overflow: hidden;
}

.markdown-body span.frame>span {
    border: 1px solid var(--bg3);
    display: block;
    float: left;
    overflow: hidden;
    margin: 13px 0 0;
    padding: 7px;
    width: auto;
}

.markdown-body span.frame span img {
    display: block;
    float: left;
}

.markdown-body span.frame span span {
    clear: both;
    color: #333;
    display: block;
    padding: 5px 0 0;
}

.markdown-body span.align-center {
    display: block;
    overflow: hidden;
    clear: both;
}

.markdown-body span.align-center>span {
    display: block;
    overflow: hidden;
    margin: 13px auto 0;
    text-align: center;
}

.markdown-body span.align-center span img {
    margin: 0 auto;
    text-align: center;
}

.markdown-body span.align-right {
    display: block;
    overflow: hidden;
    clear: both;
}

.markdown-body span.align-right>span {
    display: block;
    overflow: hidden;
    margin: 13px 0 0;
    text-align: right;
}

.markdown-body span.align-right span img {
    margin: 0;
    text-align: right;
}

.markdown-body span.float-left {
    display: block;
    margin-right: 13px;
    overflow: hidden;
    float: left;
}

.markdown-body span.float-left span {
    margin: 13px 0 0;
}

.markdown-body span.float-right {
    display: block;
    margin-left: 13px;
    overflow: hidden;
    float: right;
}

.markdown-body span.float-right>span {
    display: block;
    overflow: hidden;
    margin: 13px auto 0;
    text-align: right;
}

.markdown-body code, .markdown-body tt {
    margin: 0 2px;
    padding: 0px 5px;
    border: 1px solid var(--bg3);
    background-color: var(--bg2);
    border-radius: 3px;
}

.markdown-body code {
    font-size: 90%;
}

.markdown-body pre>code {
    margin: 0;
    padding: 0;
    white-space: pre;
    border: none;
    background: #ddd;
}

.markdown-body .highlight pre, .markdown-body pre {
    background-color: var(--bg2);
    border: 1px solid var(--bg3);
    overflow: auto;
    padding: 0.5rem 0.75rem;
    border-radius: 3px;
}

.markdown-body pre code, .markdown-body pre tt {
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
}


/* Custom element */
.header {
	background-color: var(--code-red);
	color: var(--bg0);
	padding: 0.25rem;
	text-align: center;
}
.header a {
	color: var(--bg0);
}
