.center {
  text-align: center;
}

a:link,
a:visited,
a:hover {
  color: var(--fg);
}
a:target {
  background-color: #ffa;
}

.block {
  display: inline-block;
  max-width: 340px;
  margin-right: 40px;
  vertical-align: top;
}

aside {
  font-size: 85%;
  color: #777777;
  font-style: italic;
}

blockquote {
  font-style: italic;
  margin: 1em auto 1em auto;
  width: 90%;
  max-width: 500px;
}

.linenumber {
  display: inline-block;
  color: #999999;
  width: 20pt;
  margin-right: 10px;
  text-align: right;
}

.coderef {
  float: right;
}

.coderef-target:target {
  background-color: #ffffaa;
}

pre.example code,
pre.code code {
  font-size: 14px;
}

dt {
  display: inline-block;
  font-weight: 500;
  margin-top: 10px;
  background: #f5f5dc;
  color: rgba(0, 0, 0, 0.8);
}

dl {
  margin-left: 10px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

dd {
  margin-left: 15px;
  margin-top: 3px;
}

figcaption {
  text-align: center;
}

hr {
  border-color: #ffffff;
  height: 0px;
  width: 70%;
  margin: 4em auto 1em auto;
}

.dark-mode button {
  width: 30px;
  height: 30px;
  display: inline;
  padding-left: 1px;
  padding-top: 1px;
  border-color: rgba(0, 0, 0, 0);
  border-radius: 50% 50% 50% 50%;
  background: none;
}

.dark-mode button:hover {
  background: rgba(204, 204, 204, 0.2);
}

button {
  background: none;
  cursor: pointer;
  color: #a6a2a0;
  border-style: none;
  text-decoration: underline;
}

.csl-left-margin {
  display: inline;
}

.csl-right-inline {
  display: inline;
}

/* @media only screen and (min-width: 600px) { */
/*   section { */
/* border-left  : 2px solid rgba(243,241,236,13.0); */
/* padding-left : 15px; */
/*   } */
/* } */

pre.code.with-number {
  grid-template-columns: min-content auto;
}

.line-number {
  display: inline-block;
  color: #ccc;
  user-select: none;
  text-align: right;
  margin-right: 10px;
}

#footnotes {
  font-size: 18px;
}

table {
  border-collapse: collapse;
  border-top: 1.5px solid;
  border-bottom: 1.5px solid;
  margin: 20px auto;
}

table,
th,
td {
  padding: 3px 16px;
  font-weight: 300;
}

thead {
}

tbody:not(:first-child) {
  border-top: 1px solid black;
}

tbody th {
}

.timestamp {
  vertical-align: baseline;
  background: #af431119;
  border-radius: 0.2rem;
  padding: 0rem 0.1rem;
}
