@font-face {
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/abrilfatface/v25/zOL64pLDlL1D99S8g8PtiKchq-dmiA.ttf) format('truetype');
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
p > code,
dd > code,
li > code {
  padding: 2px 4px;
  background-color: rgba(200, 200, 200, 0.3);
  border-radius: 4px;
}
.nav-container {
  background-color: #f0f0f0;
}
@media print {
  .nav-container {
    display: none;
  }
}
nav h1 {
  text-align: center;
  margin: 0;
  padding-top: 10px;
}
nav h2 {
  font-size: 120%;
  padding-left: 7px;
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
nav ul li a {
  font-weight: bold;
  color: inherit;
  display: block;
  padding: 7px;
  text-decoration: none;
}
nav ul li a:hover {
  background-color: white;
  border-right: 3px solid gray;
  box-shadow: 0 0 10px silver;
}
img.emoji {
  height: 1.3em;
  width: 1.3em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.1em;
}
article {
  padding: 10px;
  max-height: 100%;
  overflow-y: auto;
}
article a[href] {
  text-decoration: none;
}
article h1 {
  padding: 20px 0 5px 10px;
  background-color: #444444;
  color: white;
  border-bottom: 2px solid gray;
  position: relative;
  margin: 30px 0;
}
article h1::after {
  position: absolute;
  display: block;
  content: '';
  left: 10px;
  right: 10px;
  top: 0;
  bottom: 0;
  background-color: green;
  transform: rotate(1.5deg);
  z-index: -1;
}
article h2 {
  border-bottom: 1px solid gray;
  margin: 3em 0 1em;
}
article h3 {
  margin: 2em 0 0.5em;
}
article .logo {
  font-family: 'Abril Fatface', cursive;
  text-align: center;
  font-weight: bold;
  font-size: 50px;
}
article pre {
  margin-left: 15px;
  border: 1px solid silver;
  padding: 1em;
  background-color: #f5f5f5;
}
article pre code.hljs {
  background-color: transparent;
}
article p {
  margin: 15px 0;
}
article mark {
  border-radius: 5px;
  background-color: rgba(255, 255, 0, 0.4);
}
article blockquote {
  margin-left: 15px;
  border-left: 3px solid gray;
  padding: 5px 15px;
}
article table {
  border-collapse: collapse;
  border-top: 2px solid silver;
  border-bottom: 2px solid silver;
}
article table thead {
  border-bottom: 2px solid silver;
}
article table th,
article table td {
  vertical-align: top;
  border-collapse: collapse;
  padding: 0.2em 0.5em;
}
article table td:first-child {
  white-space: nowrap;
}
article table tr {
  border-bottom: 1px solid #eee;
}
article table tr:nth-child(even) {
  background-color: #f9f9f9;
}
article table tbody tr:hover {
  background-color: #f3f3f3;
}
article .link {
  border: 2px solid rgba(0, 0, 0, 0.1);
  padding: 0.5em;
  background-color: rgba(255, 255, 255, 0.3);
}
article .note {
  padding: 5px 15px;
  border-left: 4px solid #afd9ee;
  margin: 10px 15px 10px 0;
  color: #31708f;
  background-color: #d9edf7;
}
article .note code {
  color: inherit;
}
article .warning {
  padding: 5px 15px;
  border-left: 4px solid #f7ecb5;
  margin: 10px 15px 10px 0;
  color: #8a6d3b;
  background-color: #fcf8e3;
}
article .warning code {
  color: inherit;
}
article .danger {
  padding: 5px 15px;
  border-left: 4px solid #e4b9b9;
  margin: 10px 15px 10px 0;
  color: #a94442;
  background-color: #f2dede;
}
article .danger code {
  color: inherit;
}
article p > img:not([class='emoji']) {
  max-width: 100%;
  border: 2px solid rgba(0, 0, 0, 0.1);
}
article .good::before {
  color: green;
  content: 'Good:';
  font-weight: bold;
}
article .good pre {
  border-color: green;
}
article .bad::before {
  color: brown;
  content: 'Bad:';
  font-weight: bold;
}
article .bad pre {
  border-color: brown;
}
article .api-key-def {
  padding-left: 15px;
}
article .api-key-def .api-key-name {
  margin-left: -15px;
}
article .api-key-def .api-key-type {
  font-weight: bolder;
}
article .api-route {
  padding: 1em;
  border: 1px solid silver;
  border-radius: 10px;
  margin: 1em 0;
}
article .api-route h3 {
  margin: 0;
  font-family: monospace;
}
article .histories .author {
  padding-left: 0.5em;
  padding-right: 0.5em;
}
dt {
  font-weight: bold;
}
@media (min-width: 800px) {
  .container {
    display: flex;
    max-width: 1000px;
    min-height: 100%;
    margin: 0 auto;
  }
  .nav-container {
    width: 200px;
    flex-shrink: 0;
    padding: 0.3em;
  }
  nav {
    display: block;
    position: static;
    line-height: 1.1;
    font-size: 80%;
  }
  nav h2 {
    border-left: 6px solid green;
    background-color: #f5fff5;
    margin-left: -0.1em;
    margin-right: -0.1em;
  }
  nav h3 {
    text-align: left;
    text-indent: 0.3em;
    border-bottom: 1px solid #666;
  }
  nav ul {
    line-height: 1;
  }
  article {
    flex: 1 1;
  }
}
