a {
  color: var(--color-primary-300);
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
}

button.anchor {
  display: unset;
  padding: unset;
  margin: unset;
  border: unset;
  background: unset;
  font: unset;

  color: var(--color-primary-300);
  text-decoration: none;
  &:hover {
    text-decoration: underline;
  }
  cursor: pointer;
}

table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: .25rem;
  vertical-align: top;
  text-align: left;
}
thead tr {
  border-bottom: 2px solid var(--color-gray-500);
}
tr {
  border-top: 1px solid var(--color-gray-500);
}
table, table td, table th {
  border: 1px solid var(--color-gray-500);
}

blockquote {
  margin-left: 0;
  margin-right: 0;
  padding-left: 1rem;
  border-left: .25rem solid var(--color-gray-500);
}

ul, ol {
  padding-left: 1rem;
}

code {
  font-family: var(--font-family-monospace);
  color: var(--color-amber-300);
}
pre {
  padding: 1rem;
  overflow-x: auto;
  background-color: var(--code-bg);
  color: var(--code-fg);
}
pre > code {
  color: var(--code-fg);
  padding: 0;
  background-color: inherit;
  color: inherit;
}

mark {
  padding: .2rem .2rem .1rem;
  background-color: var(--color-highlight);
  color: inherit;
}

abbr {
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
}

kbd {
  font-family: var(--font-family-monospace);
  font-size: var(--font-sm);
}
/*kbd.-key {*/
kbd {
  display: inline-block;
  position: relative;
  top: -0.1em;
  padding: .25rem;
  margin-left: .25rem;
  margin-right: .25rem;
  border: none;
  border-radius: 0.1em;
  box-shadow: 0 1px 0 2px var(--color-gray-8), inset 0 0 0 2px var(--color-gray-10);
  color: var(--color-gray-0);
  font-size: var(--font-xs);
  line-height: var(--line-height-xs);
  letter-spacing: 0.1em;
  background-color: var(--color-gray-10);
  white-space: nowrap;
}

samp {
  font-family: var(--font-family-monospace);
  font-size: var(--font-sm);
}

figure {
  margin: 0 0 1rem;
}
figure figcaption {
  font-size: var(--font-sm);
}

img {
  max-width: 100%;
}

p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

hr {
  border-width: 1 0 0 0;
  border-color: var(--color-gray-500);
  border-style: solid;
}
