/* Based on Zola Bear Blog Styling: https://codeberg.org/alinnow/zola-bearblog */

body {
	font-family: Verdana, sans-serif;
	font-size: 1em;
	margin: auto;
	padding: 20px;
	max-width: 800px;
	text-align: left;
	background-color: #eee;
	word-wrap: break-word;
	overflow-wrap: break-word;
	line-height: 1.5;
	color: #444; /* main-color */
}

h1,
h2,
h3 {
	font-family: Verdana, sans-serif;
	color: #222;
}

a {
	color: #3273dc;
	cursor: pointer;
	text-decoration: underline;
}

a.title {
	text-decoration: none;
}

nav a {
	margin-right: 8px;
}

nav span.active {
	font-weight: bold;
	margin-right: 10px;
}

img {
	max-width: 100%;
}

pre {
	font-family: monospace;
	background-color: #bbb;
	display: block;
	padding: 20px;
	white-space: pre-wrap;
	font-size: 0.875rem;
	overflow-x: auto;
}

blockquote {
	border-left: 2px solid #999;
	color: #222;
	padding-left: 20px;
	font-style: italic;
}

footer {
	padding: 25px 0;
	text-align: center;
}

.title:hover {
	text-decoration: none;
}

.title h1 {
	font-size: 1.5em;
}

.sabotage-string {
	font-size: 10%;
	opacity: 10%;
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #01242e;
		color: #ddd;
	}

	h1,
	h2,
	h3 {
		font-family: Verdana, sans-serif;
		color: #eee;
	}

	a {
		color: #8cc2dd;
	}

	pre {
		font-family: monospace;
		background-color: #000;
	}

	blockquote {
		font-family: monospace;
		background-color: #ddd;
	}
}

/* Unused styling from Zola Bear Blog
:root {
	--code-background-color: #bbb;
		--code-background-color: #000;
	--visited-color: #8b6fcb;
	--heading-color: #222;
}

@media (prefers-color-scheme: dark) {
	:root {
		--visited-color: #8b6fcb;
		--heading-color: #eee;
	}
}

h4,
h5,
h6 {
	font-family: Verdana, sans-serif;
	color: #222;
}

code {
	font-family: monospace;
	padding: 2px;
	background-color: var(--code-background-color);
	color: var(--code-color);
	border-radius: 3px;
}

button {
	margin: 0;
	cursor: pointer;
}

main {
	line-height: 1.6;
}

table {
	width: 100%;
}

hr {
	border: 0;
	border-top: 1px dashed;
}

strong,
b {
	color: var(--heading-color);
}

.inline {
	width: auto !important;
}

.highlight,
.code {
	padding: 1px 15px;
	background-color: var(--code-background-color);
	color: var(--code-color);
	border-radius: 3px;
	margin-block-start: 1em;
	margin-block-end: 1em;
	overflow-x: auto;
}

ul.blog-posts {
	list-style-type: none;
	padding: unset;
}

ul.blog-posts li {
	display: flex;
}

ul.blog-posts li span {
	flex: 0 0 130px;
}

ul.blog-posts li a:visited {
	color: var(--visited-color);
}

.tags {
	font-size: smaller;
}

.footnote-definition {
	display: flex;
	margin-top: 1em;
}
.footnote-definition-label {
	margin-left: 1rem;
	margin-right: 0.5rem;
	vertical-align: baseline;
}
.footnote-definition-label::after {
	content: "."
}
.footnote-definition > p {
	margin: 0;
}

blockquote {
	border-left: 2px solid #999;
	&.markdown-alert-note {
		border-left: 2px solid #0969DA;
		&:before {
			content: "Note";
		}
	}
	&.markdown-alert-important {
		border-left: 2px solid #8250DF;
		&:before {
			content: "Important";
		}
	}
	&.markdown-alert-warning {
		border-left: 2px solid #9A6700;
		&:before {
			content: "Warning";
		}
	}
	&.markdown-alert-tip {
		border-left: 2px solid #1A7F37;
		&:before {
			content: "Tip";
		}
	}
	&.markdown-alert-caution {
		border-left: 2px solid #CF222E;
		&:before {
			content: "Caution";
		}
	}
}
*/
