/* Some basic styles to start us off.
* Website background from background-tiles.com */
body {
	background: url("https://www.jayeless.net/images/background.png") #111;
	font: medium Charter,"Bitstream Charter","Charis SIL",Cambria,serif;
}
* {
	line-height: 125%;
	margin: 0;
	padding: 0;
	border: 0;
}

a {
	color: #268bd2;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	color: #d33682;
}

img {
	max-width: 100%;
}

h1 {
	text-align: center;
	margin: 0.67em 0;
	font-size: 2em;
}

h2 {
	text-align: center;
	margin: 0.75em 0;
}

h3 {
	text-align: center;
	margin: 0.83em 0;
}

h4,p {
	margin: 1.12em 0;
}

hr {
	border-top: 1px solid #ccc;
	margin-bottom: 1em;
}

/* Page layout */
div#container {
	width: 90%;
	max-width: 820px;
	margin: 0 auto;
}

nav#main-page-nav {
	background: #ccc;
	text-align: center;
	min-height: 30px;
}

nav#main-page-nav a {
	color: #222;
	padding: 5px 15px 5px 15px;
	vertical-align: -5px;
}

nav#main-page-nav a:hover {
	background: #222;
	color: #fff;
}

header#site-title {
	background: #444;
	text-align: center;
	font-size: 200%;
	padding: 20px;
	margin-top: 10px;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
}

@media only screen and (min-width: 560px) {
  header#site-title {
    font-size: 300%;
  }
} /* 300% for most screens, 200% for small phone screens */

header#site-title a {
	color: #fff;
}

header#site-title a:hover {
	color: #fff;
}

main {
	background-color: #fafafa;
	padding: 10px;
}

footer#page-footer {
	font: small "Helvetica Neue",Helvetica,"Liberation Sans",sans-serif;
	background-color: #666;
	color: #fff;
	text-align: center;
	padding: 10px;
	margin-bottom: 10px;
	border-bottom-left-radius: 50px;
	border-bottom-right-radius: 50px;
}

footer#page-footer a {
	color: #fff;
	border-bottom: 1px solid #999;
}

footer#page-footer a:hover {
	color: #fff;
	border-bottom: 1px solid #ccc;
}

footer#page-footer img.u-photo {
	border-radius: 50%;
}

footer#page-footer p {
	margin: 0.42em 0;
}

/* Style posts */
h1,h2.index,.interaction-post h2 {
	margin-top: 5px;
	border-bottom: 1px solid #ccc;
}

h1 a,h1 a:hover {
	color: #000;
}

header.post-header h1,h1.archive_subtitle {
  font-size: x-large;
}

header.post-header h1.post-meta, p.post-meta {
  font-size: large;
  color: #666;
  text-align: center;
  font-weight: normal;
  border-bottom: 0;
}

h1.post-meta a,p.post-meta a,h1.post-meta a:hover,p.post-meta a:hover {
	color: #666;
	font-weight: normal;
	margin: 0.67em 0;
}

p.post-meta {
  margin-top: -10px;
}

article.h-entry,div.h-entry {
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.h-entry:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

p.syndication-links {
	clear: both;
	color: #999;
	padding: 5px 0;
	margin: 5px 0;
	border-top: 1px solid #ccc;
	font-size: small;
	text-align: center;
}

section.footnotes {
	border-top: 1px solid #ccc;
	font-size: small;
}

p.sidenote {
	color: #999;
	padding: 5px 0;
	margin: 5px 0;
	font-size: small;
}

/* Some text formatting */
q {
  color: #333;
  font-style: italic;
}

blockquote {
  color: #333;
  background-color: #eee;
  border: 1px solid #bbb;
  padding: 0 10px 0 10px;
  margin: 0 40px 15px 40px;
}

q em,q cite,q i {
  font-style: normal;
}

span.spoiler {
	background-color: #333;
	color: #333;
	padding: 2px;
}

span.spoiler:hover {
	color: #fff;
}

table {
  margin: 0 auto;
  border-collapse: collapse;
  margin-bottom: 10px;
}

th,td {
  padding: 5px;
  margin: 0;
  border: 1px solid #ccc;
}

tr:nth-child(odd) {
  background: #eee;
}

thead tr,th {
  background: #333;
  color: #fff;
  border: 1px solid #333;
}

abbr {
  cursor: help;
}

div.column-2cols {
	width: 100%;
	box-sizing: border-box;
}

ol,ul {
	margin: 1.12em 0 1.12em 40px;
}

ol ol,ol ul,ul ol,ul ul {
	margin: 0 0 0 40px;
}

li {
	margin: 0.2em 0;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 0 0.2em 40px;
}

@media only screen and (min-width: 450px) {
div.column-2cols {
	width: 50%;
	box-sizing: border-box;
}
}

.clear-both {
	clear: both;
}

div.highlight pre {
	overflow-x: scroll;
	padding: 5px;
}

p code,li code {
	padding: 2px;
	background: #eee;
	border: 1px solid #ccc;
}

/* Style Conversation.js */
.microblog_conversation {
  margin-top: 50px;
  padding-top: 20px;
  width: 75%;
  margin: 0 auto;
}

.microblog_post {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.microblog_post:last-of-type {
  border-bottom: 0;
}

.microblog_avatar {
  border-radius: 10px;
  vertical-align: top;
}

.microblog_user {
  font-weight: bold;
  font-size: small;
  color: #333;
  border-bottom: 1px solid #ccc;
}

.microblog_time {
  font-size: small;
  color: gray;
  text-align: right;
}

.microblog_time a {
  color: gray;
}

/* Style the paginator */
nav#post-nav {
  margin-top: 20px;
  border-top: 1px solid #ccc;
  padding: 20px 0 15px 0;
  text-align: center;
  font-size: small;
}

nav#post-nav span.prev,nav#post-nav span.next {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Style h-card */
div.h-card {
  color: #333;
  background-color: #eee;
  border: 1px solid #bbb;
  padding: 10px;
  margin-top: 10px;
}

div.h-card img.u-photo {
  float: left;
  margin-right: 5px;
  border-radius: 10px;
}

div.h-card a {
	color: #000;
}

/* Styling pages in list views */
li.blog-post a {
	color: #000;
}

span.post-summary,span.post-review-title {
	font-weight: normal;
}

ul#index-feed li.blog-post a time {
	font-weight: bold;
}

ul#index-feed,ul#time-archive {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

li.blog-post {
	margin-bottom: 0.7em;
	padding: 0;
}

p.read-more {
	text-align: center;
}

p.read-more a,a.read-more {
	color: #333;
	border-bottom: 1px solid #ccc;
}

p.read-more a:hover,a.read-more:hover {
	color: #000;
}

/* Styling reading/book pages */

@media only screen and (min-width: 560px) {
div.books-splash {
	width: 49%;
}
} /* if a screen's width is smaller than this, the divs will just display one atop the other */

div.book-review-summary-view {
	background-color: #eee;
	border: 1px solid #ccc;
	min-height: 120px;
	padding: 10px;
	margin-bottom: 10px;
}

div#currently-reading-list {
	background-color: #eee;
	border: 1px solid #ccc;
}

div.book-review-summary-view h1,div#currently-reading-list h2,h2.small-title {
	font-size: medium;
	margin: 0 0 5px 0;
	border-bottom: 1px solid #ccc;
}

div.book-review-summary-view h1 {
	text-align: left;
}

div.book-review-summary-view span.book-title {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
	float: left;
	display: block;
	width: calc(90% - 76px);
}

p.book-genre-summary-view {
	font-size: small;
	color: #666;
	margin: 0 0 5px 0;
}

p.book-genre-summary-view span.book-metadata-label {
	font-weight: bold;
}

p.book-genre-summary-view span.book-series::before {
	content: '\A';
	white-space:pre;
}

@media only screen and (min-width: 420px) {
p.book-genre-summary-view span.book-series::before {
	content: '';
}

p.book-genre-summary-view span.book-series {
	float: right;
}
}

p.book-rating {
	text-align: center;
	margin: 10px 0 0 0;
}

p.star-rating {
	text-align: center;
	font-size: large;
}

div#currently-reading-list ul {
	margin: 0;
	padding: 0 5px 0 2px;
	font-size: small;
}

div#currently-reading-list li {
	margin: 5px 0;
	padding-left: 0;
	list-style-type: none;
}

div#currently-reading-list li:last-of-type {
	margin-bottom: 0;
}

/* Styling recipe/photo pages */

div#recipe-list-grid,div#photo-list-grid {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

figure.recipe h2,figure.photo-post h2 {
	margin: 0;
	font-size: 100%;
}

figure.recipe img {
	aspect-ratio: 4 / 3;
}

@media only screen and (min-width: 420px) {
div#recipe-list-grid,div#photo-list-grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

figure.recipe h2 {
	font-size: 125%;
}
}

/* Styling interaction posts */
.interaction-post h1,.interaction-post h2 {
	text-align: left;
	font-size: large;
	margin: 15px 0 0 0;
}

.interaction-post h1:first-of-type,.interaction-post h2:first-of-type {
	margin-top: 0;
}

.interaction-post h2 a {
	color: #000;
}

span.interaction-title {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    width: calc(100% - 95px);
    float: left;
}

p.interaction-meta {
	font-size: small;
	color: #666;
	margin-top: 5px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Special homepage styles */
article#home-page img.u-photo {
	border-radius: 50%;
	width: 40%;
	margin-left: 5px;
	float: right;
	aspect-ratio: 1 / 1;
}

nav.sm-profiles {
	text-align: center;
}

nav.sm-profiles img {
	width: 24px;
	height: 24px;
}

h2.index {
	margin-top: 30px;
}

/* Special archives page styles */
@media only screen and (min-width: 500px) {
ul.archives-list,ul.archives-datelist {
	column-count: 2;
}
}


@media only screen and (min-width: 750px) {
ul.archives-list {
	column-count: 3;
}
}
