@import url(https://fonts.googleapis.com/css?family=Noto+Serif:700|Libre+Baskerville:400,700&subset=latin,latin-ext);

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

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

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

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

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

html, body {
  font-family: 'Helvetica Neue', serif;
  font-size: 16px;
  background-color: #FDFDFD;
  line-height: 1.5;
  width: 100%;
  overflow-x: hidden;
}

main {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 50px;
}

a {
  text-decoration: none;
}

h1, h2 {
  font-family: 'Noto Serif', serif;
  font-weight: 700;
}

h3, h4, h5, h6 {
  font-weight: 700;
}

pre {
  background-color: #282c34;
  padding: 10px;
  color: #fff;
  border-radius: 0px 0px 5px 5px;
  margin-bottom: 1em;
  margin-top: 0;
}

blockquote {
  margin: 0px;
  text-align: right; 
  padding-right: 25px; 
  background-color: #f5f5f5;
  color: #222;
  font-family: verdana;
  border: 1px solid #d8d8d8;
  border-radius: 10px 10px 0px 0px;
  font-size: 14px;
  font-weight: 600;
  height: 20px;
  line-height: 20px;
}

.post .abstract {
  color: #aaa;
  margin: 0;
}

.post-date {
  color: #555;
  float: right;
  margin: 0;
  line-height: 49px;
}

.meta {
  font-size: 15px;
  color: #aaa;
  margin-top: -13px;
}

header h1 {
  color: #848484;
  font-size: 20px;
  border-bottom: 1px solid #F5F5F5;
  padding-bottom: 10px;
}

article header h2 {
  margin-bottom: 5px;
}

article header h2, article header h2 a {
  font-size: 36px;
  color: #444;
}

article {
  margin-bottom: 20px;
}

.back {
  position: absolute;
  top: 5px;
  right: 0;
  color: #aaa;
  text-transform: uppercase;
  font-size: 12px;
}

iframe {
  width: 640px;
  height: 390px;
}

main>header>a.home-link {
  float: right;
  font-size: 12px;
  font-weight: 700;
  font-family: impact;
  line-height: 40px;
}

main>footer {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 10px 10px 0px 0px;
  border: 1px solid #ccc;
  font-size: 12px;
  font-weight: 700;
  font-family: impact;
  position: fixed;
  bottom: 0;
  width: 620px;
}

main>footer>a>#static-note {
  float: right;
  color: #777;
}

footer>.home-link {
  color: blue;
}

header>a.home-link {
  color: blue;
}

article img {
  width: 100%;
}

main>a:hover article>header>h2.post-title {
  color: blue;
  text-decoration: underline;
}

@media (max-width: 666px) {
  main {
    width: 98%;
  }

  main>footer {
    width: 92.5%;
    font-size: 7px;
    white-space: nowrap;
  }

  #static-note {
    width: 140px;
  }

  main>header>a.home-link {
    line-height: 19px;
    font-size: 7px;
    white-space: nowrap;
    width: 80px;
  }

  header h1 { font-size: 10px; }

  main>header>img {
    height: 29px;
    margin-top: -1px;
  }

  p.post-date {
    font-size: 7px;
    line-height: 22px;
    white-space: nowrap;
    width: 100px;
    text-align: right;
  }

  .back {
    font-size: 7px;
    white-space: nowrap;
    width: 100px;
    text-align: right;
  }

  article>p {
    font-size: 12px;
    padding-left: 6px;
    padding-right: 6px;
  }

  blockquote {
    font-size: 10px;
  }

  pre {
    font-size: 8px;
  }

  article header h2 a { font-size: 12px; }

  article header h2  { font-size: 12px; }

  p.abstract { font-size: 8px; }
  
  .gist td.blob-num { font-size: 9px !important; padding: 1px 10px 1px 0px !important }

  .gist td.blob-code { padding: 1px 0px !important }
  
  .gist .blob-code-inner { font-size: 9px !important }

  .gist-meta { font-size: 9px !important }

  iframe {
    width: 100%;
    height: auto;
    min-height: 220px;
  }
}