
:root {
	--border: #131;
	--main-bg: #9a5322;
	//--inside-bg: #ed9823;
	--inside-bg: #edac53;
	--external-bg: #f9f9a3;
}
body {
	background-color: var(--main-bg);
	background-image: url("/images/leaves.svg");
	margin: 40px auto;
	padding: 0 10px;
	max-width: 60em;

}
pre code {
	background-color: #dedece;
	display: block;
}

h1, h2, h3, h4 {
	font-family: monospace;
	background-color: hsl(from var(--main-bg) h s calc(l + 10));
	border-radius: 8px;
	text-align: center;
	border: 1px solid var(--border);
	padding-top: 4px;
	//top: 10px;
	padding-bottom: -4px;

}
main {
	color: #000000;
	background-color: var(--inside-bg);
	font-size: 16pt;
	padding: 0 10px;
	border: 2px solid var(--border);
}

.page-item {
	display: inline-block;
	padding: 1px;
}

.page-item.active {
	border: 2px solid green;
}

.page-item.active {
border: 2px solid green;
}
.navlink {
	font-family: monospace;
	display: inline-block;
	padding: 0 1em;
	font-size: 14pt;
	color: #333;
}

nav {
	border: 1px solid var(--border);
	border-radius: 2px;
	margin-bottom: 2px;
	background-color: var(--inside-bg);
}


.post-nav {
	//font-size: 12pt;

}

.date, .comment-no {
	font-family: monospace;
	color: #333;
	font-size: 14pt;
	padding: 4px;
	border-bottom: 1px dotted black;
}


main img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
	max-width: 150ch;
}

#comment-thread {
	border: 1px solid black;
}

.comment {
	display: block;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	border-radius: 8px;
	margin-bottom: 8px;
	padding: 8px;
	background-color: var(--external-bg);
}

.comment-no, .commenter-name {
    display: inline;
}

.comment-field {
	display: block;
}
label {
	font-size: 12pt;
}


.comment .date {
	display: inline;
}

.comment-link {
	display: block;
}

table {
	border: 1px solid black;
	border-collapse: collapse;
}
td {
	border: 1px solid black;
}
th {
	border: 1px solid black;
}
tbody > tr:nth-of-type(even){
	background-color: #dfefef;
}

#reject-this {
	position: absolute;
	left: -10000px;
	top: -10000px;
}
.bot-trap{
	position: absolute;
	left: -10000px;
	top: -10000px;
}

blockquote {
	/* background-color: #00000018; */
	background-color: var(--external-bg);
	border-radius: 4px;
	padding: 4px;
	border: 1px dotted black;
}

.linkpost {
	border: 1px solid green;
	border-radius: 4px;
	margin-bottom: 8px;
	display: block;
}

.webring {
	max-width: 40em;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 2px;
	align: center;
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	justify-content: space-between;
	border: 1px solid black;
}

.webring > div {
	text-align: center;
}

.h-entry {
	font-family: monospace;
}

p {
	font-family: serif;
}

.webmention-list {
	background-color: var(--external-bg);
	border: 1px dotted black;
	border-radius: 4px;
}

.subscribe {
	font-family: monospace;
	text-align: right;
}

.prev-next-bar {
	display: flex;
	justify-content: space-between;
}

textarea {
	width:100%;
	height: 10em;
}
