/* hello non CSS3 browsers :) */
html { background: #fff; color: #000; }
a { color: #63d; }
h1, h2, h3, h4, a:hover { color: #bd00bd; }
pre { background: #eef; }

:root {
	--bg: #fff;
	--fg: #000;
	--pre: #eef;
	--headers: #bd00bd;
	--links: #63d;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #222;
		--fg: #fff;
		--pre: #323;
		--headers: #faf;
		--links: #ccf;
	}
}

body {
	margin: 0 auto;
	padding: .5em;
	max-width: 45rem;
	font-family: sans-serif;
	font-size: 110%;
}
html, body {
	background: var(--bg);
	color: var(--fg);
}
tr:nth-child(odd+1) {
	/* this guy needs to be alone, dunno why, body bg is no more respected */
	background: var(--bg);
	color: var(--fg);
}
tr:nth-child(even) {
	background: var(--pre);
}
table {
	width: 100%;
	border-collapse: collapse;
}
thead > tr {
	font-weight: bold;
	background: var(--pre);
}
thead > tr > td {
	border-bottom: 2px solid #aaa;
}
td {
	padding: .5em;
}
li {
	list-style-type: square;
}
main {
	line-height: 1.5em;
}
pre {
	overflow: auto;
	padding: .5em;
	border: 1px solid #ccc;
	background: var(--pre);
}
h1, h2, h3, h4 {
	color: var(--headers);
}
h2 {
	margin-top: 2em;
	padding-bottom: .2em;
	border-bottom: 1px dotted;
}
a {
	color: var(--links);
}
a:hover {
	color: var(--headers);
	text-decoration: none;
}
#boarder {
	margin-bottom: 0px;
}
#atom {
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: right;
}
#boarder a {
	text-decoration: none;
}


@media (max-width: 500px) {
	body {
		font-size: initial;
	}
}

/* SPECIFICS */

.bouncy {
	display: none;
}

header.mainindex {
	text-align: center
}

nav.mainindex {
	padding-top: 10vh;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
	width: 100%;
	font-size: 150%;
}

.mainindex figure {
	margin: .25em;
}

.mainindex figure:hover {
	filter: contrast(2)
}

.mainindex img {
	width: 120px;
	height: 120px;
	image-rendering: pixelated;
	border-radius: 4px;
}

table.depot_project_index td {
	background: var(--pre);
	border-bottom: .3em solid var(--bg);
	padding: .2em;
}

table.depot_project_index tr>td:nth-child(1),
table.blog_main_index tr>td:nth-child(1) {
	width: 0;
	min-width: fit-content;
	white-space: nowrap;
}

table.depot_project_index tr>td:nth-child(2),
table.blog_main_index tr>td:nth-child(2) {
	word-break: break-word;
}

table.blog_main_index tr>td>a {
	color: var(--headers)
}

table.blog_main_index tr>td>a:hover {
	color: var(--links)
}
