@import url(https://fonts.googleapis.com/css?family=Merriweather|Source+Sans+Pro:300|Quicksand);
@import url(https://cdn.jsdelivr.net/npm/hack-font@3/build/web/hack-subset.css);
/*

vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid)

*/

/*background color*/
.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #1d1f21;
}

/*selection color*/
.hljs::-moz-selection, .hljs span::-moz-selection {
  background: #373b41;
}
.hljs::selection,
.hljs span::selection {
  background: #373b41;
}

.hljs::-moz-selection,
.hljs span::-moz-selection {
  background: #373b41;
}

/*foreground color*/
.hljs {
  color: #c5c8c6;
}

/*color: fg_yellow*/
.hljs-title,
.hljs-name {
  color: #f0c674;
}

/*color: fg_comment*/
.hljs-comment,
.hljs-meta,
.hljs-meta .hljs-keyword {
  color: #707880;
}

/*color: fg_red*/
.hljs-number,
.hljs-symbol,
.hljs-literal,
.hljs-deletion,
.hljs-link {
 color: #cc6666
}

/*color: fg_green*/
.hljs-string,
.hljs-doctag,
.hljs-addition,
.hljs-regexp,
.hljs-selector-attr,
.hljs-selector-pseudo {
  color: #b5bd68;
}

/*color: fg_purple*/
.hljs-attribute,
.hljs-code,
.hljs-selector-id {
 color: #b294bb;
}

/*color: fg_blue*/
.hljs-keyword,
.hljs-selector-tag,
.hljs-bullet,
.hljs-tag {
 color: #81a2be;
}

/*color: fg_aqua*/
.hljs-subst,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
  color: #8abeb7;
}

/*color: fg_orange*/
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-quote,
.hljs-section,
.hljs-selector-class {
  color: #de935f;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: #216adb;
}

body {
  font-family: "Merriweather", "Sans Serif";
  font-size: 1em;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > main {
  flex: 1 1 auto;
  padding-top: 2rem;
}
body > header, body > footer {
  font-family: Quicksand, "Lucida Grande", "Lucida Sans", Arial;
}
body > header a, body > footer a {
  text-decoration: none;
}
body > header {
  box-shadow: 0 5px 15px #eee;
  position: -webkit-sticky;
  position: sticky;
  z-index: 1;
  top: 0;
  background: #fff;
}
body > header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body > header nav li {
  padding: 0 0.5rem;
  font-size: 0.9rem;
}
body > header nav a {
  padding-bottom: 4px;
  border-bottom: solid 2px transparent;
}
body > header nav a:hover {
  border-bottom-color: #216adb;
}
body > footer {
  color: #ddd;
  background: #191919;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
body > footer h2 {
  margin-top: 0;
}
body > footer .legal {
  text-align: center;
  margin: 0;
  padding-top: 1rem;
  color: #888;
}

h1, h2, h3 {
  font-family: "Source Sans Pro", "Serif";
  font-weight: 300;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  padding-bottom: 1rem;
  border-bottom: solid 1px #eee;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
h2 code {
  font-size: 1.7rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 0.5rem;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.meta time {
  display: block;
}
.meta .tags {
  font-family: Quicksand, "Lucida Grande", "Lucida Sans", Arial;
}
.meta .tags li {
  margin-left: 20px;
}
.meta .tags a {
  padding: 3px 8px 3px 3px;
  border-top-left-radius: 1px;
  border-bottom-left-radius: 1px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  background: #eee;
  display: block;
  position: relative;
  text-decoration: none;
}
.meta .tags a:before {
  position: absolute;
  top: 0;
  left: -22px;
  display: block;
  content: "";
  width: 0;
  height: 0;
  border-width: 11px;
  border-style: solid;
  border-color: transparent;
  border-right-color: #eee;
}
.meta .tags a:hover {
  color: #fff;
  background: #216adb;
}
.meta .tags a:hover:before {
  border-right-color: #216adb;
}

article footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: solid 1px #eee;
}
article footer a {
  display: block;
  position: relative;
  margin-left: 2rem;
  margin-bottom: 1rem;
}
article footer a span {
  position: absolute;
  top: 0;
  left: -35px;
}

.content {
  line-height: 1.8;
}
.content code {
  font-family: "Hack", monospace;
  padding: 3px;
  background: #F7FAFC;
}
.content p > code, .content pre > code {
  font-size: 0.8rem;
}
.content pre {
  background: #ddebeb;
  padding: 10px;
  margin: 1rem 0;
  line-height: 1.5;
}
.content pre code {
  position: relative;
  font-size: 0.6rem;
  color: #ddd;
  background: #2b3e50;
  display: block;
  overflow: auto;
  width: 100%;
  border-radius: 5px;
  padding: 50px 20px 20px 20px;
  box-shadow: 0px 0px 35px 0px rgba(0, 0, 0, 0.75);
}
.content pre code .title {
  position: absolute;
  top: 0.75rem;
  left: 80px;
  color: #919191;
  font-size: 0.9rem;
}
.content pre code:before {
  position: absolute;
  top: 18px;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 17px 0px 0px 0px #ffbd2e;
}
.content pre code:after {
  position: absolute;
  top: 18px;
  left: 55px;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #27c93f;
}
.content img {
  max-width: 100%;
}
.content figure {
  margin: 2rem 0;
  display: block;
  text-align: center;
  background: #fbfbfb;
  border-bottom: solid 1px #ddd;
  padding: 1rem;
}
.content figure img {
  display: inline-block;
  max-width: 100%;
}
.content figure figcaption {
  padding-top: 1rem;
  max-width: 500px;
  margin: auto;
  font-size: 0.8rem;
  font-style: italic;
}
.content ul, .content ol {
  margin: 2rem;
}
.content blockquote {
  font-size: 0.95rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff8ee;
  border-left: solid 2px #f6d099;
}
.content blockquote p:last-child {
  margin: 0;
}
.content a[id]:not([href]) {
  position: relative;
  top: -60px;
}

.container {
  max-width: 1000px;
  padding: 1rem;
  margin: 0 auto;
}

.list-h {
  list-style: none;
  display: flex;
}

hr {
  margin: 30px 0;
  background: #eee;
  height: 1px;
  border: none;
}

aside {
  font-size: 0.8rem;
}

@media screen and (min-width: 640px) {
  body > footer {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  article footer {
    display: flex;
    justify-content: space-between;
  }
  article footer a {
    margin-bottom: 0;
  }
  article footer > div:last-child a {
    margin-right: 2rem;
    text-align: right;
  }
  article footer > div:last-child a span {
    right: -35px;
  }

  .content pre {
    padding: 40px;
  }
  .content pre code {
    font-size: 1rem;
  }
}
