/* Styles for Heather - A Hyperminimal Jekyll Theme */

/* BASSCSS Reset - http://jxnblk.github.io/basscss */
body, h1, h2, h3, h4, h5, h6, dl, ol, ul, p,
button, input, select, textarea {
  margin: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
  display: block;
}

body {
  color: #333333;
  line-height: 1.4;
  font-family: 'Roboto Mono', monospace;
  font-size: 20px;
  background-color: #fff;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizelegibility;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 { line-height: 1.1; }
h1, .h1 {
  font-size: 36px;
  font-weight: 500;
}
h2, .h2 {
  font-size: 24px;
  margin-top: 50px;
}

h3, .h3, h4, h5, h6 {
  font-size: 20px;
  margin-top: 50px;
}

p, .p {
  margin: 20px 0;
}
.continue {
  margin-top: 10px;
}
small, .small { font-size: 16px; }

a { color: #09c; text-decoration: none; }
a:hover { color: #069; }

ul {
  padding-left: 30px;
  margin-top: 20px;
}

.wrap {
  width: 90%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0px 5% 64px 5%;
}

.m-0 { margin-top: 0; margin-bottom: 0; }
.mb { margin: 20px 0; }

.post {
  margin-top: 160px;
}
.post h1 {
  margin-top: 60px;
  font-weight: 700;
  margin-bottom: 10px;
}
.post img { max-width: 100%; }

.center { text-align: center; }
.fl { float: left; }
.fr { float: right; }


.left {float: left;}
.right {float: right;}

.prev-next-post {
	margin-top: 40px;
}
.prev-post, .next-post {
  display: block;
  text-align: center;
  margin-top: 20px;
}

pre {
  background-color: #f1f1f1;
  padding: 10px 20px;
  overflow-x:scroll;
}

blockquote {
  width: 100%;
  border-left: solid 5px #ccc;
  padding: 0;
  margin: 0;
  float: left;
  margin-bottom: 20px;
}

blockquote p, .citation {
  margin: 0;
  padding: 0;
  padding: 10px 10px 10px 20px;

}

blockquote p  {
  font-style: italic;
}

main {
  padding-top: 32px;
}

header {
  float: left;
  width: 100%;
}

header .h2 a {
  font-family: 'Roboto Mono', monospace;
  color: #666;
  font-weight: normal;
  font-size: 32px;
  float: left;
  width: 140px;
}

.author {
  font-size: 16px;
  color: #666;
  width: 100%;
  float: left;
}

.search input[type="text"] {
  border: 1px solid #999;
  color: #999;
  font-size: 16px;
  padding: 7px 8px 4px;
  width: 250px;
  -webkit-appearance: none;
  border-radius: 0;
  margin: 15px 0 30px 0;
  background-color: transparent;
}

footer {
  margin: 40px 0 0 0;
  padding-top: 20px;
  border-top: solid 1px #ddd;
  text-align: center;
}

.rss {
  background: #ef7522 url("/images/rss.png") no-repeat scroll center center;
  border: 1px solid #ef7522;
}

.twitter {
  background: #55cff8 url("/images/twitter.png") no-repeat scroll center center;
  border: 1px solid #55cff8;
}

.social a {
  border-radius: 50%;
  display: inline-block;
  height: 32px;
  margin: 15px 0;
  text-indent: -9999px;
  transition: all 0.3s ease 0s;
  width: 32px;
}

.date {
  margin: 0;
  width: 100%;
}

.tags {
  float: left;
  width: 100%;
  margin-bottom: 40px;
  color: #999;
}

.menu {
  margin-top: 10px;
  float: right;
}

.myPic {
  box-shadow: 0px 0px 10px rgb(180, 180, 180);
}

.logo {
  width: 50%;
}

.copyright {
  width: 100%;
  display: inline-block;
  text-align: center;
}

@media only screen and (max-width: 480px) {
  body {
    font-size: 20px;
  }
  h1, .h1 {
    font-size: 28px!important;
  }
  .search input[type="text"] {
    padding: 4px 8px 4px;
    width: 240px;
  }
  .author {
    font-size: 12px;
  }
  .logo {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #333;
    color: rgb(204, 204, 204);
  }
  h1 a {
    color: rgb(204, 204, 204);
  }
  .logo {
    filter: invert(100%);
  }
  pre {
    background-color: #222;
  }
}
