body {
	font-family: Sans-Serif;
}

.unimportant {
	font-style: italic;
	color: gray;
}

h4 {
	margin-top: 5px;
	margin-bottom: 5px;
}

ul {
	margin-top: 5px;
	margin-bottom: 5px;
}

legend {
	/* background-color: lightgoldenrodyellow; */
	font-size: large;
	font-weight: bold;
}

a {
	color: darkcyan;
}

a.crossed {
	color: crimson;
	cursor: not-allowed;
	text-decoration: line-through;
}

.quote {
	background-color: #0000001a;
	font-style: italic;
	margin: 5px 2px;
	padding: 5px;
	padding-left: 20px;
	border-left: 2px solid black;
}

@font-face {
	font-family: Digital;
	src: url('Digital-7.ttf');
}

.digital {
	font-family: Digital, monospace;
}

.hidden {
	display: none;
}

legend h3 {
	margin: 0;
}

fieldset.opinion {
	margin: 8px 2px;
	border: 1px solid black;
	transition: border-color 500ms;
}

fieldset.opinion legend {
	padding: 8px;
	color: white;
	background-color: black;
	border: 1px solid transparent;
	transition: color 500ms, background-color 500ms, border-color 500ms;
}

fieldset.opinion:hover legend {
	color: black;
	background-color: #ffff1e;
	border-color: black;
}

fieldset > p:first-child, fieldset:has(> legend) > p:nth-child(2) {
	margin-top: 4px;
}

fieldset > p:last-child {
	margin-bottom: 4px;
}

.code {
	display: inline;
	font-family: monospace;
    unicode-bidi: isolate;
    white-space: pre;
	background-color: #f0f0f0;
	padding: 1px;
	border-radius: 4px;
}

.code.block {
	display: block;
	padding: 8px;
}

.code .type {
	font-style: italic;
	color: #ad81ff;
}

.code .literal {
	color: #058658;
}

.code .directive, .code .keyword {
	color: #af01dc;
}

.code .operator {
	color: black;
}

.code .function {
	color: #795e28;
}

.code .string {
	color: #a31515;
}

.blog-post header {
	padding: 16px;
	margin: 8px;
	background-color: #e1e1e1;
	border: 1px solid #f1f100;
	border-radius: 10px;
}

.blog-post header h1 {
	margin-top: 8px;
	margin-bottom: 8px;
	font-size: 1.75em;
}

.blog-post header subtitle {
	display: block;
	margin-top: 4px;
	margin-bottom: 4px;
	font-size: 1.2em;
	font-style: italic;
}

.blog-post header .bottom-line, .blog-post header .bottom-line a[rel=author] {
	display: flex;
	align-items: center;
}

.blog-post header a[rel=author] img {
	border-radius: 4px;
	width: 24px;
	height: 24px;
	margin-right: 2px;
}

.blog-post header date:before {
	content: '•';
	margin-left: 4px;
	margin-right: 8px;
}

.blog-post main {
	margin-left: 20px;
	margin-right: 20px
}

.blog-post .footnote {
	font-size: 0.85em;
}

.highlight-line {
	display: inline-block;
}

.highlight-yellow {
	background-color: #e1e100;
}
