/* Blog-only additions. The theme itself is oxideterminal.com/docs/docs.css;
   this just swaps the docs' three-column layout for a single reading column
   and styles the things markdown emits that the hand-written docs never use. */

.blog {
  max-width: 808px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.topbar .brand + .brand {
  margin-left: -6px;
}

.pager span {
  flex: 1;
}

/* Post list on the index */
.posts a {
  display: block;
  padding: 20px 0 22px;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}

.posts time {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.posts h2 {
  font-size: 19px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  transition: color 0.15s ease;
}

.posts a:hover h2 {
  color: var(--rust-bright);
}

.posts p {
  font-size: 15px;
  margin: 6px 0 0;
}

/* Markdown output */
article p a,
article li a {
  color: var(--apricot);
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 179, 135, 0.3);
  transition: border-color 0.2s ease;
}

article p a:hover,
article li a:hover {
  border-color: var(--apricot);
}

article img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 0 20px;
}

article blockquote {
  border-left: 2px solid var(--rust);
  padding-left: 18px;
  margin: 0 0 20px;
}

article hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 40px 0;
}

article table {
  margin-bottom: 22px;
}
