:root {
	--accent: #23B0FF;
	--color: #daf1ff;
	--gray: #727072;
}

.hide {
	display: none;
}

/* override the default #fff body color */
body {
	color: var(--color);
}

h1, h2 {
	color: var(--accent);
}

/* reduce vertical spacing between nested lists */
ol ol, ol ul, ul ol, ul ul {
	margin-top: 5px;
}

ol li::before {
	content: counter(li) '.';
}

/* center copyright in the footer */
.footer__inner {
	width: 100%;
}
.footer .copyright {
	margin: auto;
}


/* "attention" blocks */
div.attention i.attention {
	color: var(--accent);
	text-align: center;
	display: block;
	font-size: 36pt;
	margin-top: 10px;
	margin-bottom: 10px;
}

div.attention {
	border: 1px solid var(--accent);
	border-radius: 8px;
	margin-top: 30px;
	margin-bottom: 30px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
}

/* Related posts section of single pages */
.related-post-tags a {
  text-decoration: none;
}

/* Tweak style for inline code. */
code {
	background: inherit;
	border-radius: 8px;
	border: 2px dotted var(--gray);
	margin: 0;
}

/* Tweak the default style for code blocks */
pre {
	border: 1px solid var(--gray);
	border-radius: 8px;
	margin: 0;
}
pre code {
	color: #33ea0e;
}

@media screen and (min-device-width: 768px) {
	div.attention {
		/* squeeze in the left/right margins on larger-ish screens */
		margin-right: 10%;
		margin-left: 10%;
	}
}


/* blockquotes */
blockquote {
	border-top: none;
	border-bottom: none;
	margin: 0px;
	padding: 15px;
}

@media screen and (min-device-width: 768px) {
	blockquote {
		/* pull it in on the left side to give it more visual distinction */
		margin-left: 50px;
	}
}


/* "taxonomy clouds" */
div.taxonomy-cloud ul li:not(:empty)::before {
	/* override the Terminal theme */
	content: '';
}
div.taxonomy-cloud ul li {
	display: inline;
	padding: 5px 5px;
}
div.taxonomy-cloud {
	text-align: center;
}


/* archives page */
li.archive-title a {
	text-decoration: none;
}


/* search trigger and box */
.search-toggle, .search-toggle:hover {
	background: none;
	border: none;
	color: white;
	margin: 0;
	padding: 0;
	outline: none;
	z-index: 9;
	display: inline-block;
	position: relative;
	/* sync'd with theme CSS */
	font-size: 1rem;
	line-height: 1.54;
}
.searchbox {
	margin-top: 15px;
}
input[type="search"]::placeholder {
	color: #939393;
	opacity: 1;
}
input[type="search"]::selection {
	background: var(--accent);
}
input[type="search"] {
	line-height: 1.75rem;
	font-size: 1rem;
	font-family: monospace;
	/* this is arbitrary, based on trial and error */
	width: 100%;
}
/* At this width, the menu is all on one line; anything less (but above 684px)
 * and the search box will float overtop of one or more menu items because the
 * menu items will wrap down and form a second line.
 */
@media screen and (min-device-width: 926px) {
	.searchbox {
		position: absolute;
		top: 130px;
	}
	input[type="search"] {
		line-height: 1.33rem;
		width: 525px;
	}
}


/* Code highlighting */
pre.chroma span.hl {
	/* Fade to same background color as "native" Chroma color scheme. */
	background-image: linear-gradient(to right, #484848, #202020);
}
