html {
	background: var(--main-background);
	/* background: linear-gradient(to bottom, #2865bc 0%, #1a478b 100%) no-repeat fixed 0% 0%; */
}

#top {
	margin: 0 auto;
	max-width: var(--main-body-width);
}

#top h1 {
	padding: 0;
}

#top h1 a:link,
#top h1 a:active {
	font-size: 5em;
	text-shadow: 0 0 0.5em var(--header-shadow-color);
}

#top h1 a:hover {
	color: var(--header-hover-link-color);
	text-shadow: 0 0 0.5em var(--header-hover-shadow-color);
}

/* tagline */
#top p {
	font-size: 1.8em;
	text-align: center;
}

/* Navigation */
#menu {
	max-width: var(--main-body-width);
}

#menu ul li {
	font-size: 3em;
	border-width: 0;
	border-radius: 0 2.4em 2.4em 0;
}

/* #menu ul li a:link, */
/* #menu ul li a:active, */
/* #menu ul li a:visited { */
/* 	font-size: 3em; */
/* } */

#menu ul li.active a:link,
#menu ul li.active a:active {
	text-shadow: 0 0 0.5em var(--nav-active-shadow-color);
}

#menu ul li a:hover,
#menu ul li.active a:hover {
	color: var(--nav-hover-link-color);
	text-shadow: 0 0 0.5em var(--nav-hover-shadow-color);
}

/* Main content area */
#content {
	margin: 0 auto;
	max-width: var(--main-body-width);
}

/* Fluid-width images at smaller screen sizes */
img {
	max-width: 100%;
}

.filter {
	font-size: 1.8em;
	margin: 0.7em auto;
}

.feed:hover {
	color: var(--feed-hover-link-color);
	text-shadow: 0 0 0.8em var(--feed-hover-link-shadow-color);
}

/* Entry styles */
article.entry {
	border-radius: 1.6em;
	padding: 1.6em;
	margin: 0 0 3.2em 0;
	box-shadow: 0 4px 4px var(--article-color);
}

.entry-title {
	font-size: 3em;
}

.entry-title a:visited {
	color: var(--article-title-visited-color) !important;
}

.entry-title a:hover {
	text-decoration: underline;
}

.entry-meta {
	font-size: 1.3em;
}

.entry-content > p,
.footnote ol {
	font-size: 1.5em;
}

.entry-content .right-outset p,
.entry-content .left-outset p {
	font-size: 1.2em;
}

/* Headings */
.entry-content h1 {
	font-size: 2.4em;
}

.entry-content h2 {
	font-size: 2.1em;
}

.entry-content h3 {
	font-size: 1.9em;
}

.entry-content h4 {
	font-size: 1.7em;
}

/* This is kind of a hack... */
.entry-content > blockquote {
	font-size: 1.4em;
}

.entry-content blockquote {
	margin: 0 3.2em;
	padding: .1em 1.6em;
	border-radius: 1.6em;
}

.entry-content pre {
	border: 1px solid var(--article-code-border-color);
	margin: 0 2em;
	padding: .2em .4em;
	border-radius: .4em;
	font-size: 1.3em;
}

.entry-content > ol,
.entry-content > ul,
.entry-content > dl {
	padding: 0 0 0 4.8em;
	margin: 1.6em 0;
}

.entry-content > ol > li,
.entry-content > ul > li,
.entry-content > dl > dd {
	font-size: 1.5em;
}

.entry-content > dl > dt {
	font-size: 1.6em;
}

.footnote-ref:before {
	content: "Note ";
}

.footnote ol {
	padding: 0 0 0 3.2em;
}

.footnote ol li:target {
	background: var(--article-footnote-hilite-color);
}

/* Spoilers */
.spoiler {
	padding: .1em .4em;
	border-radius: .4em;
}

.spoiler:hover {
	color: var(--article-spoiler-reveal-color);
}

.entry-tags {
	font-size: 1.4em;
}

.paginator {
	font-size: 1.6em;
}

/* Footer */
body > footer {
	margin: 1.6em auto;
	max-width: var(--main-body-width);
	font-size: 1.5em;
}

body > footer p,
body > footer ul li {
	line-height: 1.5;
}

.support-bar a {
	display: inline-block;
	margin: 0 0.5em;
	position: relative;
	text-align: center;
}

.support-bar a > span {
	display: none;
}

.support-bar a:hover span {
	display: block;
	position: absolute;
	bottom: 3.6em;
	font-size: 1.3em;
	white-space: nowrap;
	background: #fff;
	color: var(--article-color);
	border-radius: 0.5em;
	padding: 0.3em 0.5em;
	line-height: 1.2;
	box-shadow: 0 2px 4px var(--article-color);
	text-align: center;
	transform: translate(calc(-50% + 1.2em));
}

.support-bar a:hover span:after {
	width: 0;
	height: 0;
	border-width: .5em;
	border-color: #fff transparent transparent transparent;
	border-style: solid;
	content: "";
	display: block;
	position: absolute;
	bottom: -0.9em;
	left: calc(50% - .5em);
}
