/* BASE OVERRIDES */
.prose h3:first-child,
.prose h2:first-child {
  padding-top: 20px;
}

/* Add buffer for nicer anchor links */
.prose h3:target,
.prose h2:target,
.prose h1:target {
  padding-top: 60px;
}
/* Header gets bigger */
@media only screen and (max-width:640px) {
  .prose h2:target {
    padding-top: 120px;
  }
  .prose h3:target {
    padding-top: 120px;
  }
}

/* tables are too giant */
.prose table,
.prose table code {
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.5;
}

.prose table th, .prose table td {
  padding: 5px;
}

.overflow-auto {
  overflow: auto;
}

.dark.keyline-top,
.dark.keyline-bottom {
  border-color: #303030;
}

html, body, #app, .container {
  height: 100%;
}

body pre {
  padding: 0;
}

/* BASE ADDONS */
.fill-dark2 { background-color: #313131; }
.fill-dark2 .rounded-toggle input[type=radio]:checked + label,
.fill-dark2 .rounded-toggle .active { background-color: #313131; }
.space-top3 { margin-top: 30px;}
.space-top5 { margin-top: 50px;}
.line-height15 { line-height: 15px; }
.pad00y { padding-top: 2px; padding-bottom: 2px; }
.space-bottom00 { margin-bottom: 3px;}
.unround-topright { border-bottom-right-radius: 0; }
.endpoint {
  width: 100%;
  display: flex;
}

.endpoint-url {
  flex-grow: 1;
  word-wrap: break-word;
}

.endpoint-url a {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  font-weight:bold;
  padding: 2px;
  color: #fff;
}

.endpoint-url a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}


.bottom-shadow:after {
  content: '';
  height: 15px;
  left: 0;
  right: 0;
  display: block;
  background: linear-gradient(rgba(0,0,0,.08), transparent);
  position: absolute;
  top: 50px;
}

a.hljs-linked {
  border-radius: 2px;
  color: #a5c261;
  background: #383C2F;
  padding: 2px;
}

body .prose blockquote {
  padding: 5px 10px;
  border-radius: 3px;
  color: white;
  background: #404040;
}

.hljs {
  /* Objective-C relies on soft wrapping, so it’s unreadable with character wrapping. */
  word-break: normal;
}
