body {
	font-family: sans-serif;
	background: white;
	color: black;
}

pre, tt {
	font-family: monospace;
	font-size: 1.2em;
}

a {
	color: !inherit;
	text-decoration: underline;
}

blockquote {
	font-style: italic;
	border-left: solid 1px;
	padding-left: 1em;
	margin-left: 1em;
}

pre {
	padding: 1em;
	margin: 0;
	overflow: auto;
}

.container {
	display: grid;
	grid-template-areas: "b a a";
	grid-gap: 2em;
	margin: 0 auto;
	max-width: 960px;
}

.sidebar {
	font-size: 0.9em;
	align-self: start;
	grid-area: b;
}

main {
	width: 660px;
}

body > header, body > footer {
	text-align: center;
}

.avatar {
	text-align: center;
}

.avatar img {
	width: 128px;
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: crisp-edges;
	border-radius: 10px;
}

nav ul {
	margin: 0;
	padding: 0;
}

nav ul li {
	list-style: none;
	display: inline-block;
	padding-right: 0.5em;
}

nav ul li:after {
	content: "·";
	margin-left: 0.5em;
}

nav ul li:last-child:after {
	content: "";
}

#post-list {
	padding: 0;
}

#post-list li {
	list-style: none;
	padding: 0;
}

.hentry h2 {
	font-size: 1em;
	display: inline;
}

@media screen and (max-width: 800px) {
	.container {
		display: block;
	}

	main {
		width: auto;
	}

	.avatar img {
		width: 48px;
	}
}

@media (prefers-color-scheme: dark) {
	body {
		background: #14131c;
		color: white;
	}

	a {
		color: #ffd662;
	}

	a:visited {
		color: #d9b653;
	}
}

.figure {
	text-align: center;
}

.container img, video {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.figure .caption {
	font-style: italic;
}
