/* Clovie Documentation Styles */
@font-face {
  font-family: "Monorama";
  src: url("https://db.onlinewebfonts.com/t/0d2fc67532a7c000fa3b6d66f0a70103.eot");
  src: url("https://db.onlinewebfonts.com/t/0d2fc67532a7c000fa3b6d66f0a70103.eot?#iefix") format("embedded-opentype"), url("https://db.onlinewebfonts.com/t/0d2fc67532a7c000fa3b6d66f0a70103.woff2") format("woff2"), url("https://db.onlinewebfonts.com/t/0d2fc67532a7c000fa3b6d66f0a70103.woff") format("woff"), url("https://db.onlinewebfonts.com/t/0d2fc67532a7c000fa3b6d66f0a70103.ttf") format("truetype"), url("https://db.onlinewebfonts.com/t/0d2fc67532a7c000fa3b6d66f0a70103.svg#Monorama") format("svg");
}
@font-face {
  font-family: "ABC Diatype Mono";
  src: url("https://db.onlinewebfonts.com/t/fbee28f49e99c472f1f569c6ddc24ebe.eot");
  src: url("https://db.onlinewebfonts.com/t/fbee28f49e99c472f1f569c6ddc24ebe.eot?#iefix") format("embedded-opentype"), url("https://db.onlinewebfonts.com/t/fbee28f49e99c472f1f569c6ddc24ebe.woff2") format("woff2"), url("https://db.onlinewebfonts.com/t/fbee28f49e99c472f1f569c6ddc24ebe.woff") format("woff"), url("https://db.onlinewebfonts.com/t/fbee28f49e99c472f1f569c6ddc24ebe.ttf") format("truetype"), url("https://db.onlinewebfonts.com/t/fbee28f49e99c472f1f569c6ddc24ebe.svg#ABC Diatype Mono") format("svg");
}
pre {
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }
}

.main, .header {
  max-width: 600px;
  margin: 0 auto;
}

.header {
  padding-top: 10rem;
}
.header-title {
  font-family: "Monorama";
  padding: 1rem;
  background-color: #000;
  color: #fff;
  display: inline-block;
  letter-spacing: -0.05em;
}

.codeBlock {
  box-shadow: 0.25rem 0.25rem black;
}
.codeBlock-code {
  border: 2px solid black;
  position: relative;
}
.codeBlock-code-copy {
  position: relative;
  display: inline-block;
  padding: 0.15rem;
  margin: -0.15rem;
}
.codeBlock-code-copy:after {
  content: attr(data-copy-text);
  visibility: hidden;
  margin-left: 0.5rem;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(100%, -50%) translateX(0.5rem);
}
.codeBlock-code-copy:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}
.codeBlock-code-copy:hover:after {
  visibility: visible;
}
.codeBlock-header {
  border: 2px solid black;
  border-bottom: none;
}
.codeBlock-header-title {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.5rem;
  background-color: #fff;
}

.link-backToTop {
  color: black;
  text-decoration: underline;
  text-decoration-color: black;
  text-decoration-thickness: 2px;
  font-weight: bold;
  text-underline-offset: 5px;
}
.link-pageContents {
  text-decoration: none;
  color: black;
  display: inline-block;
  transition: transform 0.25s ease-in-out, color 0.25s ease-in-out;
  transform-origin: left center;
  position: relative;
  color: black;
  display: inline-block;
  vertical-align: baseline;
  padding: 0.125rem;
}
.link-pageContents:after {
  content: attr(data-content);
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.125rem;
  background-color: black;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  transition: width 0.25s ease-in-out, opacity 0s ease 0.25s;
  opacity: 0;
}
.link-pageContents.is-key:after {
  opacity: 1;
  transition: width 0.25s ease-in-out, opacity 0s ease 0s;
  width: 100%;
}

.commentBlock {
  border: 1px solid black;
  border-left: 2rem solid black;
}

.pattern-slash-grid {
  background-image: linear-gradient(45deg, transparent 0%, transparent 10px, gray 10.5px, gray 11px, transparent 11.5px, transparent 48px);
  background-size: 32px 32px;
}

.pattern-dot-grid {
  background-image: radial-gradient(circle, #ccc 1px, transparent 1px);
  background-size: 0.5rem 0.5rem;
}