@font-face {
  font-family: SourceSansPro-Light;
  src: url("/assets/fonts/SourceSansPro-Light.otf");
}
* {
  margin: 0;
  padding: 0;
  font-size: 100%;
}

html, body {
  height: 100%;
  font-family: SourceSansPro-Light, Courier New, Courier, monospace;
}

body {
  font-size: 110%;
}

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

a:hover {
  color: #aaa;
}

blockquote {
  margin: 15px;
  padding-left: 15px;
  border-left: 2px solid #888;
}

h1, h2, h3, h4, h5, h6 {
  line-height: normal;
  margin: 5px 0;
  text-indent: 0;
}

h1 {
  font-size: 1.5em;
}

h2 {
  font-size: 1.3em;
}

h3 {
  font-size: 1.1em;
}

h4 {
  font-size: 1em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 1em;
}

hr {
  margin: 10px;
  border: 1px solid #eee;
}

img {
  max-width: 700px;
}

ol, ul {
  margin-left: 35px;
  text-align: left;
}

li {
  margin-bottom: 5px;
}

p {
  margin-bottom: 5px;
  text-align: left;
}

table {
  width: 100%;
}

tbody tr:hover {
  background-color: #f5f5f5;
}

td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

th {
  padding: 8px;
  border-bottom: 1px solid #ccc;
  background: #f5f5f5;
}

.container-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 800px;
}

.container-header {
  width: 100%;
  padding: 10px 0;
  border-bottom: solid 1px #aaa;
  overflow: hidden;
}

.container-main {
  width: 95%;
  margin: 10px auto;
  overflow: hidden;
  min-height: calc(100vh - 159px);
}

.container-footer {
  padding: 10px 0;
  padding-top: 0;
  border-top: solid 1px #aaa;
  overflow: hidden;
}

.header-info {
  display: block;
  position: relative;
  margin: 10px;
}

.header-info-name {
  font-size: 2em;
  font-weight: bold;
}

.header-info-desc {
  font-size: .9em;
}

.header-main-nav {
  margin: 0;
  list-style: none;
}

.header-main-nav-item {
  display: block;
  position: relative;
  float: left;
  line-height: 24px;
  margin: 0 10px;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.float-center {
  text-align: center;
}

.footer-copyright {
  overflow: hidden;
}

.footer-copyright-text {
  display: block;
  position: relative;
  font-size: 0.8em;
}

.page-title {
  text-align: center;
}

.page-content p {
  line-height: 20px;
}

.posts-list-item {
  display: block;
  position: relative;
  line-height: 24px;
  margin: 5px 0;
  overflow: hidden;
}

.posts-list-item-name {
  width: calc(100% - 100px);
  font-weight: 300;
}

.posts-list-pagination {
  margin: 20px 0 10px 0;
  text-align: center;
}

.post-title {
  text-align: center;
}

.post-author {
  display: none;
}

.post-content p {
  line-height: 20px;
}

.post-content a {
  text-decoration: none;
  color: #009;
}

.post-content a:hover {
  color: #44f;
}

.post-content img {
  display: block;
  margin: 10px auto;
}

.post-info {
  line-height: 24px;
  margin: 10px 0;
  margin-top: 30px;
}

.post-category, .post-tag {
  margin: 0 5px;
}

.post-content sup {
  vertical-align: top;
  font-size: 0.8em;
}

a.footnote:before {
  content: "[";
}

a.footnote:after {
  content: "]";
}

@keyframes highlightlink {
  from {
    background-color: #ddf;
  }
  to {
    background-color: none;
  }
}
:target {
  animation-name: highlightlink;
  animation-duration: 1s;
}

/* for specific category page */
.category-title {
  text-align: center;
}

.category-list {
  line-height: 24px;
}

/* for categories page */
.categories-title {
  text-align: center;
}

.categories-list {
  line-height: 24px;
}

.highlight > pre, pre.highlight {
  line-height: 18px;
  margin: 10px 0;
  padding-left: 3px;
  border: 1px solid #ccc;
  overflow-x: auto;
  font-size: 0.8em;
  text-indent: 0px;
  background-color: #eee;
}

.highlighter-rouge {
  background-color: #eee;
}

.highlight > * {
  font-family: "Courier New", Courier, monospace;
}

@media screen and (max-width: 768px) {
  /* reset default styles */
  img {
    width: 100%;
    max-width: 300px;
  }

  /* Posts list */
  .posts-list-pagination {
    margin: 10px 0 5px 0;
  }

  /* Footer */
  .footer-copyright .float-left, .footer-copyright .float-right {
    float: none;
  }
}
@media print {
  /* Header */
  .header-container {
    display: none;
  }

  /* Footer */
  .footer-container {
    display: none;
  }

  /* Post */
  .post-title {
    text-align: center;
  }

  .post-author {
    display: block;
    text-align: center;
  }

  .post-info {
    display: none;
  }

  /* Highlight */
  pre.highlight {
    overflow-x: hidden;
    word-wrap: break-word;
    white-space: pre-wrap;
  }
}
.task-list-item {
  list-style: none;
}

.task-list-item-checkbox {
  position: relative;
  right: 15px;
}

code.language-mermaid {
  display: block;
  text-align: center;
}
