:root {
  --fg: #d8dee8;
  --bg: #2f343f;
  --hi: #a2a2a2;
  --lo: #999;

  --lnk: #bf616a;
  --act: #37c3d6;

  --cod: #282839;
}

body {
  font-family: Verdana, sans-serif;
  margin: auto;
  max-width: 60rem;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  background-color: var(--bg);
  color: var(--fg);
}

@media screen and (max-width: 1200px) {
  body { max-width: 40rem; }
}
@media screen and (max-width: 640px) {
  body { max-width: 30rem; }
}

h1,h2,h3,h4,h5,h6,strong,b {
  color: var(--hi);
}

a {
  color: var(--lnk);
  text-decoration: none;
}
a:hover,a:focus {
  color: var(--act);
}

header h1, nav {
  display: inline-block;
}
header h1 {
  font-size: 1.2rem;
}
nav {
  padding-left: 1rem;
}

header h1 a {
  color: var(--fg);
}

nav a {
  margin-right: 1rem;
}

/*input,textarea {
  font-size: 1rem;
  background-color: var(--lo);
}*/

table,textarea {
  width: 100%;
}

main,article {
  line-height: 1.6;
}

img {
  max-width: 100%;
  border: 1px solid #5B5B66;
}
img.avatar {
  border: none
}

code {
  background-color: var(--cod);
  padding: 0.1rem 0.4rem;
  border-radius: 0.2rem;
}

pre code {
  color: var(--fg);
  display: block;
  padding: 1rem;
  white-space: pre-wrap;
  font-size: 0.9rem;
  line-height: 1;
  overflow-x: auto;
}

div.highlight pre {
  background-color: initial;
  color: initial;
}

div.highlight code {
  background-color: unset;
  color: unset;
}

sup.footnote-reference {
  font-size: x-small;
  padding-left: 0.2rem;
}
div.footnote-definition {
  font-size: small;
  margin-left: 2rem;
}
div.footnote-definition > p {
  color: var(--hi);
  padding-left: 1rem;
  display: inline;
}

blockquote {
  border-left: 1px solid var(--hi);
  margin: 1rem 2rem;
  padding-left: 1rem;
  font-style: italic;
}

footer {
  padding-top: 1rem;
  text-align: center;
  font-size: small;
}
footer p {
  margin: 0;
}

.helptext {
  color: #aaa;
  font-size: small;
}

.errorlist {
  color: #eba613;
  font-size: small;
}

/* blog posts */
main.post > p {
  text-align: justify;
}

p.pageinfo {
  margin: -1rem 0 2rem 0;
  font-size: small;
}

ul.blog-posts {
  list-style-type: none;
  padding: unset;
}

ul.blog-posts li {
  display: flex;
}

ul.blog-posts li > span:first-child {
  font-style: italic;
  padding-right: 1rem;
}

span.taglist {
  flex: 0 0 20rem;
  font-size: small;
  color: var(--hi);
}

