/* DO A RESET */
/* https://www.joshwcomeau.com/css/custom-css-reset/ */
* {
  margin: 0;
  /* /* /* /* /* /* /* /* /* line-height: calc(1em + 0.5rem); */
}

*, *::before, *::after {
  box-sizing: border-box;
}

/*
 *   Typographic tweaks!
 *     3. Add accessible line-height
 *       4. Improve text rendering
 *       */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*
 *   5. Improve media defaults
 *   */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  margin: 0 auto 2em auto;
}
/*
 *   6. Remove built-in form typography styles
 *   */
input, button, textarea, select {
  font: inherit;
}
/*
 *   7. Avoid text overflows
 *   */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
/*
 *   8. Create a root stacking context
 *   */
#root, #__next {
  isolation: isolate;
}

/* STYLE STUFF FROM THAT BASIS */
html {
  padding: 1em;
}

body {
  max-width: 800px;
  margin: 2em auto;
  font-family: serif;
  color: #101010;
  background-color: #e0e0e0;
}

.title {
  text-align: right;
  margin: 1em 0 4em 0;
  line-height: 1;
}

.title h1 {
  color: #c0c0c0;
  font-size: 6em;
  margin: 0;
}

.title h2 {
  color: #a0a0a0;
  font-size: 1em;
  font-style: italic;
  margin: -0.8em 0 0 0;
}

section {
  margin-top: 2em;
}

h1, h2, h3 {
  margin-bottom: 0.5em;
  margin-top: 1em;
}

.index-content {
  overflow: auto;
}

.entries-section {
  width: 79%;
  float: left;
}

.tags-section {
  width: 20%;
  float: right;
}

p, ul, ol {
  margin-bottom: 0.5em;
}

.nav, .entries, .tags {
  list-style-type: none;
  padding: 0;
}

.tag, .entry {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry {
  margin-bottom: 1em;
}

.entry .link {
  text-decoration: none;
}

.entry .link-text {
  text-decoration: underline;
}

.nav {
  margin: 0;
}

.nav li {
  display: inline;
  padding-right: 1em;
}

.nav a::before {
  padding-right: 0.2em;
}

.nav .home::before {
  content: "🏠";
}

.nav .prev::before {
  content: "⬅️";
}

.nav .next::before {
  content: "➡️";
}

.footer {
  color: grey;
  overflow: auto;
  margin-top: 1.5em;
  border-top: 1px grey dotted;
  padding-top: 2.5em;
}

.footer .feed-link {
  float: right;
}

.footer .attribution {
  float: left;
}

.footer .copyright {
  text-align: center;
}

.metadata div, .metadata ul {
  color: grey;
  display: inline-block;
}

.metadata .date::after {
  content: "·";
  padding: 0 1em;
}

.heading .tags {
  margin: 0 auto;
  padding: 0;
}

.heading .tags li,
.metadata .tags li {
  display: inline;
  border-right: 1px;
  padding-right: 1em;
}

.metadata-raw {
  display: none;
}

.content {
  margin-top: 2em;
}

blockquote {
  color: gray;
  font-style: italic;
  margin-left: 1em;
  padding-left: 1em;
  border-left: 1px dotted gray;
}

.mastodon-comment {
  background-color: #cccccc;
  margin-bottom: 1em;
  padding: 1em;
  font-family: sans-serif;
  font-size: smaller;
}

.comment-depth-1 {
  margin-left: 2em;
}

.comment-depth-2 {
  margin-left: 4em;
}

.comment-depth-3 {
  margin-left: 6em;
}

.comment-depth-4 {
  margin-left: 8em;
}

.mastodon-comment .avatar {
  display: inline-block;
}

.mastodon-comment .details img,
.mastodon-comment .avatar img {
  margin: 0;
  display: inline-block;
}

.mastodon-comment .details {
  display: inline-block;
  vertical-align: top;
  padding-left: 1em;
}

.mastodon-comment .user {
  display: block;
}

.mastodon-comment .author {
  overflow: auto;
}

.mastodon-comment .status div {
  display: inline;
}

.mastodon-comment .status .active {
  margin-right: 0.6em;
}

.mastodon-comment .status .replies.active::before {
  content: "💬"; 
}

.mastodon-comment .status .reblogs.active::before {
  content: "♻️"; 
}

.mastodon-comment .status .favourites.active::before {
  content: "⭐️";
}

