html {
  background-color: black;
}

.mail-thread a,
.news-post a {
  color: var(--color-link) !important;
  text-decoration: underline;
}

.mail-thread br,
.news-post br {
  display: block;
  margin-top: 1em;
  content: " ";
}

.mail-thread h1,
.mail-thread h2,
.mail-thread h3,
.mail-thread h4,
.news-post h1,
.news-post h2,
.news-post h3,
.news-post h4 {
  margin-top: 1em !important;
  margin-bottom: 1em !important;
}

.mail-thread p,
.news-post p {
  margin-bottom: 1em;
}

.mail-thread pre,
.news-post pre {
  font-family: monospace;
  background-color: #eee !important;
  padding: 0.5em;
  white-space: break-spaces;
}

.mail-thread code,
.news-post code {
  font-family: monospace;
  white-space: break-spaces;
  background-color: #eee !important;
}

.mail-thread blockquote {
  padding-left: 1em;
  border-left: 2px solid #ddd;
}

.mail-thread ol,
.mail-thread ul {
  margin-left: 2em;
}

.mail-thread .noreply-news-bloomberg-com a {
  background-color: initial !important;
}

.mail-thread .noreply-news-bloomberg-com h2 {
  margin: 0 !important;
  padding: 0 !important;
}

/* Hackaday figures have unreadable black on dark grey */
.news-post figcaption.wp-caption-text {
  background-color: initial !important;
}

.news-post.site-nautilus .article-ad,
.news-post.site-nautilus .primis-ad {
  display: none !important;
}

.news-post.site-slashdot .story-byline {
  display: block !important;
  height: initial !important;
  overflow: auto !important;
  position: static !important;
}
