/* stagit style matching xcv.gr (see /static/style.css on the site).
 * stagit rewrites its default style.css on every run; stagit-regen copies
 * this file over the generated one, so edit it here, not on the server.
 */
:root {
	--fg: #eeefef;
	--bg: #232323;
	--accent: #3a9999;
	--accent-hover: #5ccccc;
	--border: #323232;
	--code-bg: #323232;
	--muted: #777;
	--font-mono: ui-monospace, 'Courier', monospace;
	color-scheme: dark;
}

body {
	color: var(--fg);
	background-color: var(--bg);
	font-family: system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	max-width: 960px;
	margin: 0 auto;
	padding: 2rem 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 1em;
	margin: 1em 0 0.5em;
	line-height: 1.25;
}

img, h1, h2 {
	vertical-align: middle;
}

img {
	border: 0;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color .3s ease;
}

a:hover {
	color: var(--accent-hover);
	text-shadow: 1px 0 #9E0B0F, -1px 0 var(--accent-hover);
}

a:target {
	background-color: var(--border);
}

a.d,
a.h,
a.i,
a.line {
	text-decoration: none;
}

#blob a {
	color: var(--muted);
}

#blob a:hover {
	color: var(--accent-hover);
	text-shadow: none;
}

table thead td {
	font-weight: bold;
}

table td {
	padding: 0 0.4em;
}

#content table td {
	vertical-align: top;
	white-space: nowrap;
}

#branches tr:hover td,
#tags tr:hover td,
#index tr:hover td,
#log tr:hover td,
#files tr:hover td {
	background-color: var(--border);
}

#index tr td:nth-child(2),
#tags tr td:nth-child(3),
#branches tr td:nth-child(3),
#log tr td:nth-child(2) {
	white-space: normal;
}

td.num {
	text-align: right;
}

.desc,
#generated {
	color: var(--muted);
	font-size: 0.9em;
}

hr {
	border: 0;
	border-top: 1px solid var(--border);
	height: 1px;
}

pre {
	font-family: var(--font-mono);
	background: var(--code-bg);
	padding: 1rem 1.25rem;
	border-radius: 4px;
	overflow-x: auto;
}

pre a.h {
	color: var(--accent);
}

.A,
span.i,
pre a.i {
	color: #7cbf7b;
}

.D,
span.d,
pre a.d {
	color: #cc5c5c;
}

pre a.h:hover,
pre a.i:hover,
pre a.d:hover {
	text-decoration: none;
}
