/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
/* Document
   ========================================================================== */
html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-cancel-button,
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
  display: none;
}

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
  display: none;
}

::selection {
  color: #fcf9f8;
  background-color: #d66329;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  color: #2b2b2b;
  font: 16px/1.6 system-ui, -apple-system, sans-serif;
  background-color: #fcf9f8;
}

ul.nav,
ul.post-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

ul {
  margin: 1rem 0;
}

a, a:active {
  color: #2b2b2b;
  text-decoration: none;
}

a.nav-list-link.active,
a.nav-list-link:hover,
a.post-title-link:hover {
  border-bottom: 2px solid #d66329;
}

hr {
  border: 0;
}

code {
  margin: 0 2px;
  padding: 3px 5px;
  color: #3b96c4;
  border-radius: 2px;
  white-space: inherit;
}

iframe, video {
  max-width: 100%;
  margin: 1rem auto;
  display: block;
}

table {
  width: 100%;
  margin: 1em auto;
}
table thead {
  background-color: #d4d4d4;
}
table thead th {
  padding: 5px;
  min-width: 20px;
}
table tbody tr:nth-child(2n) {
  background-color: #ededed;
}
table tbody td {
  padding: 5px;
  vertical-align: text-top;
}

#skippy {
  display: block;
  padding: 1em;
  color: #fcf9f8;
  background-color: #d66329;
  outline: 0;
}
#skippy .skiplink-text {
  padding: 0.5em;
  outline: 1px dotted;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sr-only-focusable:active, .sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}

header {
  min-height: 60px;
}
header .logo-link {
  float: left;
}
header .nav {
  float: right;
  left: 80px;
}
header .logo-link img {
  height: 60px;
}
header .nav-list-item {
  display: inline-block;
  padding: 19px 10px;
}
header .nav-list-item a {
  font-size: 1.1rem;
  line-height: 1.4;
}

.home.post-list {
  margin: 2em 0;
}
.home.post-list .post-list-item {
  padding: 1em 0 2em;
  border-bottom: 1px solid #d4d4d4;
}
.home.post-list .post-list-item:last-child {
  border-bottom: 0;
}
.home.post-list .post-content h2:before, .home.post-list .post-content h3:before, .home.post-list .post-content h4:before, .home.post-list .post-content h5:before, .home.post-list .post-content h6:before {
  content: "";
}
.home.post-list .post-content > ul {
  list-style: initial;
}
.home.post-list .read-more {
  color: #d66329;
}

.archive {
  max-width: 500px;
  margin: 5em auto;
}
.archive .post-item {
  padding: 2px 0 0 50px;
}
.archive .post-time,
.archive .post-title-link {
  font-size: 1rem;
}
.archive .post-title-link {
  display: block;
  margin-left: 125px;
  color: #d66329;
  word-break: break-all;
}
.archive .post-title-link:hover {
  border-bottom: 0;
  color: #dc936f;
}
.archive .post-info {
  float: left;
  width: 125px;
  color: #74838b;
}

.post {
  padding-top: 1em;
}

.post-block .post-title {
  margin: 0.65em 0;
  color: #2b2b2b;
  font-size: 1.5rem;
}
.post-block .post-info {
  color: gray;
  margin: 1.2rem 0;
}
.post-block .post-info span {
  margin-left: 0.5rem;
}
.post-block .post-info a.post-from {
  margin-left: 0.5rem;
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 12px;
  color: white;
  background-color: #3b96c4;
}

.post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  position: relative;
  margin: 1rem 0;
}
.post-content h2 a:before, .post-content h3 a:before, .post-content h4 a:before, .post-content h5 a:before, .post-content h6 a:before {
  content: "#";
  color: #d66329;
  position: absolute;
  left: -1.6rem;
  top: -6px;
  font-size: 1.8rem;
  font-weight: bold;
}
.post-content h4 a:before, .post-content h5 a:before, .post-content h6 a:before {
  content: "";
}
.post-content h2, .post-content h3 {
  font-size: 1.4rem;
}
.post-content h4, .post-content h5, .post-content h6 {
  font-size: 1.1rem;
}
.post-content p {
  text-align: start;
  text-indent: 2rem;
}
.post-content li p:first-child {
  text-indent: 0;
}
.post-content a {
  color: #d66329;
  word-break: break-all;
}
.post-content blockquote {
  margin: 2rem 0;
  padding-left: 20px;
  border-left: 4px solid #d66329;
}
.post-content img {
  display: block;
  max-width: 100%;
  margin: 1rem auto;
}
.post-content > table, .post-content > figure.highlight {
  box-shadow: 0 1px 2px rgba(43, 43, 43, 0.125);
}
.post-content .tip {
  position: relative;
  margin: 2rem 0;
  padding: 12px 24px 12px 30px;
  border-left: 4px solid hsl(0, 100%, 70%);
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  background-color: #fcf9f8;
}
.post-content .tip br {
  display: none;
}
.post-content .tip:before {
  position: absolute;
  top: 14px;
  left: -12px;
  content: "!";
  width: 20px;
  height: 20px;
  border-radius: 100%;
  color: #fcf9f8;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
  text-align: center;
  background-color: hsl(0, 100%, 70%);
  font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}

#mask {
  position: fixed;
  overflow: scroll;
  width: 100%;
  height: 100%;
  padding: 1rem 0;
  background-color: rgba(43, 43, 43, 0.5);
  z-index: 10;
}
#mask #mask-image {
  max-width: 95%;
}

code,
pre {
  font-size: 0.8rem;
  background-color: #ededed;
  font-family: "Roboto Mono", Monaco, courier, monospace;
}

.highlight {
  position: relative;
  margin: 1em 0;
  border-radius: 2px;
  line-height: 1.1em;
  background-color: #ededed;
  overflow-x: auto;
}
.highlight table, .highlight tr, .highlight td {
  width: 100%;
  border-collapse: collapse;
  padding: 0;
  margin: 0;
}
.highlight .gutter {
  display: none;
}
.highlight .code pre {
  padding: 1.2em 1.4em;
  line-height: 1.5em;
  margin: 0;
}
.highlight .code pre .line {
  width: auto;
  height: 18px;
}

.highlight.go .code:after, .highlight.ts .code:after, .highlight.cpp .code:after, .highlight.c .code:after, .highlight.php .code:after, .highlight.perl .code:after, .highlight.ruby .code:after, .highlight.swift .code:after, .highlight.json .code:after, .highlight.python .code:after, .highlight.xml .code:after, .highlight.java .code:after, .highlight.diff .code:after, .highlight.scss .code:after, .highlight.css .code:after, .highlight.bash .code:after, .highlight.js .code:after, .highlight.html .code:after {
  position: absolute;
  top: 0;
  right: 0;
  color: gray;
  text-align: right;
  font-size: 0.75rem;
  padding: 5px 10px 0;
  line-height: 15px;
  height: 15px;
  font-weight: 600;
}

.highlight.html .code:after {
  content: "HTML";
}

.highlight.js .code:after {
  content: "JS";
}

.highlight.bash .code:after {
  content: "BASH";
}

.highlight.css .code:after {
  content: "CSS";
}

.highlight.scss .code:after {
  content: "SCSS";
}

.highlight.diff .code:after {
  content: "DIFF";
}

.highlight.java .code:after {
  content: "JAVA";
}

.highlight.xml .code:after {
  content: "XML";
}

.highlight.python .code:after {
  content: "PYTHON";
}

.highlight.json .code:after {
  content: "JSON";
}

.highlight.swift .code:after {
  content: "SWIFT";
}

.highlight.ruby .code:after {
  content: "RUBY";
}

.highlight.perl .code:after {
  content: "PERL";
}

.highlight.php .code:after {
  content: "PHP";
}

.highlight.c .code:after {
  content: "C";
}

.highlight.java .code:after {
  content: "JAVA";
}

.highlight.cpp .code:after {
  content: "CPP";
}

.highlight.ts .code:after {
  content: "TS";
}

.highlight.go .code:after {
  content: "GO";
}

.highlight.cpp .code:after {
  content: "CPP";
}

pre {
  color: #2b2b2b;
}
pre .function .keyword,
pre .keyword,
pre .attribute,
pre .constant {
  font-weight: bold;
  color: #3b96c4;
}
pre .number,
pre .literal {
  color: #3bc497;
}
pre .tag,
pre .tag .title,
pre .change,
pre .winutils,
pre .flow,
pre .lisp .title,
pre .clojure .built_in,
pre .nginx .title,
pre .tex .special {
  color: #3bc497;
}
pre .symbol,
pre .symbol .string,
pre .value,
pre .regexp {
  color: #d66329;
}
pre .title {
  color: gray;
}
pre .tag .value,
pre .string,
pre .subst,
pre .haskell .type,
pre .preprocessor,
pre .ruby .class .parent,
pre .built_in,
pre .sql .aggregate,
pre .django .template_tag,
pre .django .variable,
pre .smalltalk .class,
pre .javadoc,
pre .django .filter .argument,
pre .smalltalk .localvars,
pre .smalltalk .array,
pre .attr_selector,
pre .pseudo,
pre .addition,
pre .stream,
pre .envvar,
pre .apache .tag,
pre .apache .cbracket,
pre .tex .command,
pre .prompt {
  color: #d66329;
}
pre .comment,
pre .java .annotation,
pre .python .decorator,
pre .template_comment,
pre .pi,
pre .doctype,
pre .shebang,
pre .apache .sqbracket,
pre .tex .formula {
  color: gray;
}
pre .deletion {
  color: hsl(0, 45%, 50%);
}
pre .coffeescript .javascript,
pre .javascript .xml,
pre .tex .formula,
pre .xml .javascript,
pre .xml .vbscript,
pre .xml .css,
pre .xml .cdata {
  opacity: 0.5;
}

.paginator {
  margin: 4em 0;
  text-align: center;
}
.paginator .prev, .paginator .next {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 12px;
  border-radius: 4px;
  border-bottom: 4px solid #2f6884;
  font-size: 14px;
  color: #fcf9f8;
  background-color: #3b96c4;
}
.paginator .prev:hover, .paginator .next:hover {
  background-color: #3484ac;
}

.ds-thread,
#disqus_thread {
  margin-bottom: 2em;
}

main.container {
  margin: 2em 10px;
}

@media screen and (min-width: 700px) {
  .wrap {
    width: 700px;
    margin: 0 auto;
  }
  header {
    padding: 20px 100px;
  }
}
@media screen and (max-width: 700px) {
  .wrap {
    width: 100%;
  }
  header {
    padding: 20px 0;
  }
  header a.logo-link,
  header ul.nav.nav-list {
    float: none;
    display: block;
    text-align: center;
  }
  header li.nav-list-item {
    padding: 10px 10px;
  }
  main.container,
  .home.post-list,
  .archive {
    margin-top: 0;
  }
  .archive .post-item {
    padding-left: 20px;
  }
  .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    max-width: 300px;
    left: 15px;
  }
  .ds-thread,
  #disqus_thread {
    margin: 2em 10px;
  }
}
footer {
  padding-bottom: 1px;
}
footer .copyright {
  margin: 4em 0;
  border-top: 1px solid #d4d4d4;
  text-align: center;
}
footer .copyright p, footer .copyright a {
  color: #aaaaaa;
  font-size: 14px;
  font-weight: 100;
}
footer .copyright a:hover {
  color: gray;
}

@font-face {
  font-family: "sourcesanspro";
  src: url("../font/sourcesanspro.woff2") format("woff2"), url("../font/sourcesanspro.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}