:root {
  --bg: #202a31;
  --headings: #abb0c0;
  --text: #abb0c0;
  --date: #1f8332;
  --category: #b28761;
  --fenced-block: #b28761;
  --link: #5496bd;
  --footer-text: #abb0c0;
  --divider: #007f8a;
  --status-line-mode-fg: #364850;
  --status-line-mode-bg: #b1b4a2;
  --blockquote-bg: #2b3740;
  --type-fg: #9b85bb;
}

html {
  height: 100%;
}

body {
  font-family: monospace;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  overflow-wrap: break-word;
  min-height: 100%;

  background: var(--bg);
  color: var(--text);
}

.site-body {
  max-width: 81ch;
  margin: auto;
  padding: 0.4rem 1rem;
}

h1:before {
  content: "# ";
  color: var(--category);
}

h2:before {
  content: "## ";
  color: var(--category);
}

h3:before {
  content: "### ";
  color: var(--category);
}

h4:before {
  content: "#### ";
  color: var(--category);
}

h5:before {
  content: "##### ";
  color: var(--category);
}

h6:before {
  content: "###### ";
  color: var(--category);
}

/* hr { */
/*   margin: 2rem 0; */
/*   color: var(--divider); */
/* } */

hr {
    text-align: center;
    border: 0
}

hr:before {
    content: '-----'
}

hr:after {
    content: attr(data-content) "-----"
}


hr.site-footer-hr {
    text-align: left;
    border: 0
}

hr.site-footer-hr:before {
    content: '====='
}

hr.site-footer-hr:after {
    content: '====='
}

p {
  margin: 1rem 0;
}

div.highlight pre {
  padding: 0.5rem 1rem;
}

a {
  /* color: #ffc107; */
  color: var(--link);
  text-decoration: none;
}

a:before {
  content: "[[";
  color: var(--type-fg);
}

a:after {
  content: "]]";
  color: var(--type-fg);
}

a:hover {
  color: var(--link);
  text-decoration: underline dotted;
}

a:active {
  text-decoration: underline;
}

main {
  max-width: 800px;
  margin: auto;
}

img {
  max-width: 100%;
}

header h1 {
  text-align: center;
}

footer {
  text-align: center;
  clear: both;
}

/* For TAGLIST.HTML */
.taglist {
  text-align: center;
  clear: both;
}

/* For NEXTPREV.HTML */
#nextprev {
  /* The container for both the previous and next articles. */
}
#prevart {
  float: left;
  text-align: left;
}
#nextart {
  float: right;
  text-align: right;
}
#nextart,
#prevart {
  max-width: 33%;
}
