* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

  font-family: sans-serif;
}

#main li {
  margin-bottom: 0.1em;
}

#posts-list {
  list-style: none;
}

#rss-link {
  text-decoration: none;
}

#rss-link img {
  margin-left: 0.3em;
  vertical-align: middle;
  width: 0.9em;
}

body {
  background: #202020;
  color: #fafafa;
}

a {
  color: #57bde6;
}

header {
  text-align: center;
  padding: 2em 0;
  background-color: rgb(88, 132, 149);
  color: white;
  margin-bottom: 2em;
}

main {
  /* I could use CSS variables but that's not
   * supported by all browsers out there, especially
   * the minimalist ones. So I will keep it simple */
  max-width: 720px;
  line-height: 1.3;
  margin: 0 auto;
  margin-top: 1.5em;
  padding: 1em 1em 3em 1em;
}

/* text styling and spacing, hard to get right */
.post__content h1, .post__content h2, .post__content h3,
.post__content h4, .post__content h5, .post__content h6 {
  margin-bottom: 0.5em;
  margin-top: 1.5em;
  font-style: italic;
  font-weight: 400;
}

.link__favorite {
  color: #e6d057;
}

.link__poop {
  color: #d2945e;
}

.link__cs {
  color: #84e657;
}

.post__content code {
  padding: 0.13em 0.3em;
  background: #444;
  border-radius: 6px;
  font-family: Monospace;
}

.post__content > p {
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
}

.post__content ul {
  list-style: square;
  margin-left: 2em;
  margin-top: 1em;
}

.post__content li {
  margin-bottom: 0.8em;
}

.post__content blockquote {
  font-style: italic;
  padding: 1em;
  border-left: 7px solid #151515;
  background-color: #1a1a1a;
  text-indent: 1em;
  margin: 1.0em 0 1.5em 0;
}

.post__content blockquote p + p {
  margin-top: 1em;
}

#books {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em;
}

#books span {
  background-color: #1e4655;
  border: 1px solid black;
  padding: 0.13em 0.5em;
  white-space: nowrap;
  font-size: 0.75rem;
}
