@import url(/fonts/fonts.css);
/* A Linux- and Windows-friendly sans-serif font stack: http://prospects.mhurrell.co.uk/post/updating-the-helvetica-font-stack */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

p, ::after, ::before, html, code, pre {
  font-family: Roboto, Helmet, Freesans, Arial, sans-serif;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

h1 > *, h2 > *, h3 > *, h4 > *, h5 > *, h6 > *, h1, h2, h3, h4, h5, h6, nav, nav h1 {
  font-family: Muli, "Open Sans", Roboto, Helmet, Freesans, Arial, sans-serif;
  font-weight: bold;
  text-rendering: geometricPrecision;
}

nav h1 {
  font-weight: 800;
}

code, pre {
  font-family: Menlo, Monaco, Consolas, "Dejavu Sans Mono", "Courier New", monospace;
}

nav {
  font-weight: normal;
}

body > header, header p {
  font-family: Roboto, Helmet, Freesans, Arial, sans-serif;
  font-size: 0.9em;
  line-height: 1.5;
}

p.meta + p.meta {
  margin-top: 0em;
  margin-bottom: 0em;
}

html {
  font-size: 12pt;
  line-height: 1.75;
  color: #111;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

::after, ::before {
  text-rendering: optimizeLegibility;
}

article header {
  margin-bottom: 0.6rem;
}

h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
  margin-top: 0.5rem;
}

header p {
  margin-bottom: 0.25em;
  margin-top: 0.25em;
}

header p .info {
  font-style: italic;
}

p {
  max-width: 84em;
  margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.5;
  color: #000;
  break-after: avoid;
  margin-bottom: 0.5em;
  margin-top: 1em;
}

h1 + h2, h2 + h3, h3 + h4, h4 + h5 {
  margin-top: 0em;
}

/* disable org mode stuff */
.org-section-number {
  display: none;
}

h1 {
  font-size: 150%;
}

h2 {
  font-size: 125%;
}

h3, h4, h5, h6 {
  font-size: 100%;
}

section.category > header > h1 {
  display: none;
}

ul, ol {
  padding: 0;
  padding-left: 1.5em;
  list-style-type: disc;
}

dt {
  font-weight: bold;
  margin-top: 0.5em;
}

code, pre {
  break-inside: avoid;
}

code {
  color: #000;
  background: #f5f5f5;
}

pre {
  display: block;
  margin: 0 0 14px;
  padding: 15px;
  border-radius: 3px 3px 3px 3px;
  font-size: 75%;
  line-height: 150%;
  background-color: #f5f5f5;
  white-space: pre;
  white-space: pre-wrap;
  word-break: break-all;
  word-wrap: break-word;
}

blockquote {
  padding: 0 0 0 20px;
  margin: 0 30px 20px -22.5px;
  color: #999;
  border-left: 8px solid #e5e5e5;
}

blockquote p:last-child {
  margin-bottom: 0;
}

em {
  font-style: italic;
}

a {
  font-weight: inherit;
  line-height: inherit;
  color: #45b;
  text-decoration: none;
}

a :hover {
  color: #fff;
  background: #000;
}

a[href^="https://github.com/"]::before {
  content: " ";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  vertical-align: middle;
  background: url("/media/img/GitHub-Mark-32px.png");
  background-size: contain;
}

table {
  line-height: 2.5;
  margin-bottom: 15px;
  max-width: 100%;
  width: 100%;
}

table td, table th {
  padding: 0 15px;
}

table th.left, table td.left {
  text-align: left;
}

table th.right, table td.right {
  text-align: right;
}

/******************************************************/
body > header {
  margin-bottom: 1.5em;
  padding: 0;
  color: #888;
}

nav {
  margin: 0;
}

nav h1 {
  margin-top: 0.75rem;
}

nav a {
  color: #000;
  text-decoration: none;
}

nav .active {
  color: #000;
  background: transparent;
  font-weight: bold;
  /* &::after { */
  /* 	content: ''; */
  /* 	display: block; */
  /* 	width: 100%; */
  /* 	position: relative; */
  /* 	left: 0; */
  /* 	bottom: 2px; */
  /* 	border-width: 0 0 2px; */
  /* 	border-style: solid; */
  /* }	 */
}

nav h1 {
  font-size: 14pt;
  display: inline-block;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline-block;
  margin-right: 0.5em;
}

@media screen and (min-width: 500px) {
  nav li {
    margin-right: 1em;
  }
}

@media screen and (min-width: 550px) {
  nav h1 {
    margin-right: 2em;
  }
  nav ul {
    display: inline-block;
  }
}

@media screen and (min-width: 650px) {
  nav li {
    margin-right: 1.5em;
  }
}

section, article {
  margin: 0;
  /* fix firefox not handling negative margins on bottom element correctly */
  padding-bottom: 1rem;
}

article {
  position: relative;
  margin-bottom: 3rem;
  margin-top: 2.5rem;
}

section > *:first-child, article > *:first-child, header > *:first-child {
  margin-top: 0;
}

section > *:last-child, article > *:last-child, header > *:last-child {
  margin-bottom: 0;
}

/* special for li in pre */
article pre li {
  list-style-type: decimal;
}

/* meta info */
article-info {
  display: inline-block;
  margin: -10px 0 -10px;
  color: #999;
}

article-info + article-info:before {
  content: "\2223 \00a0";
}

a.full-entry {
  display: block;
  margin-top: 1em;
  padding: 0.2em;
  border: 1px solid #45b;
  text-align: center;
}

a.full-entry:hover {
  border-color: #000;
}

figure {
  padding: 0;
}

figcaption {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  break-before: avoid;
  page-break-before: avoid;
  -webkit-column-break-before: avoid;
  font-style: italic;
  margin-bottom: 1.5rem;
}

footer {
  margin: 5em 0 2em 0;
  font-size: 75%;
  color: #999;
}

footer > p {
  margin: 0;
  line-height: 1.5;
}

footer a {
  text-decoration: none;
  color: #666;
  background: none;
}

footer a:hover {
  color: #666;
  background: none;
  text-decoration: underline;
}

footer ul {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  display: inline-block;
  margin-right: 1em;
}

/* Responsive
   -------------------------------------------------- */
article .small {
  max-width: 33%;
}
