.post-excerpt p {
  display: inline;
}
.post-meta {
  margin: 1.75rem 0 1em 0;
}
.toot iframe {
  border: 1px solid black;
  box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);
  margin: 8px;
}
.toot {
  display: flex;
  margin-left: -8px;
  margin-bottom: 1.75em;
}
.post-content img.full-img {
  box-shadow: 2px 2px 3px 2px rgba(0, 0, 0, 0.2);
  padding: 0;
  margin-left: -64px;
  margin-bottom: 1.75em;
  max-width: 150%;
}
.post-content figure {
  margin: 0;
  margin-bottom: 1.75em;
  img.full-img {
    margin-bottom: 0;
  }
  figcaption {
    font-size: 0.8em;
    text-align: center;
    padding-top: 0.5em;
    color: #666;
    font-style: italic;
    font-size: 0.8em;
  }
}
body {
  display: flex;
  height: 100vh;
  nav {
    width: 250px;
  }
  main {
    width: 100%;
    overflow-y: auto;
  }
}
nav.side-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 60px;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 0;
  padding-left: 40px;
  padding-right: 56px;
  & > ul {
    padding: 0;
    margin: 0;
    li {
      padding: 0;
      margin: 0;
    }
  }
  li {
    list-style: none;
    position: relative;
    &:last-child {
      border-color: transparent;
    }
  }
  li ul {
    padding-left: 20px;
    margin: 0;
    li:first-child:before {
      height: 20px;
      top: -5px;
    }
    li:before {
      content: "";
      display: block;
      position: absolute;
      top: -15px;
      left: -5px;
      height: 30px;
      width: 8px;
      border: solid #ccc;
      border-width: 0 0 2px 2px;
    }
  }
  a,
  span {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 8px;
  }
  a.current,
  span.current {
    color: black;
    text-decoration: underline;
  }
  .blog-logo {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    width: 100%;
  }
}
dl.instance-list {
  dt {
    text-align: left;
    float: none;
    width: auto;
    margin-bottom: 0;
  }
  dd {
    margin-left: 20px;
  }
  dd p {
    display: inline;
    margin-left: 4px;
  }
}
table#money {
  // make table scrollable horizontally
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  td,
  th {
    text-align: right;
    font-family: monospace;
  }
  td:first-child,
  th:first-child {
    text-align: left;
    font-family: inherit;
  }
  thead th {
    font-family: inherit;
  }
}
.mobile-only {
  display: none;
}
@media (max-width: 1200px) {
  .blog-logo {
    max-width: 150px;
  }
}
@media (max-width: 1000px) {
  body nav.side-nav {
    width: 100px;
  }
}
@media (max-width: 800px) {
  body {
    flex-direction: column;
  }
  body nav.side-nav {
    width: 100%;
    padding: 0;
    margin: 0;
    ul {
      display: flex;
      flex-direction: row;
      margin: 8px auto;
      li:before {
        display: none;
      }
    }
    .blog-logo {
      display: none;
    }
    a.mobile-only,
    span.mobile-only {
      display: block !important;
    }
    a:not(.important),
    span:not(.important) {
      display: none;
    }
  }
  #blocked-instances + p + table {
    table-layout: auto;
    th:first-child {
      width: auto;
    }
  }
}

/* Code highlighting */
.highlight {
  background: #ffffff;
  .c {
    color: #999988;
    font-style: italic;
  } /* Comment */
  .err {
    color: #a61717;
    background-color: #e3d2d2;
  } /* Error */
  .k {
    font-weight: bold;
  } /* Keyword */
  .o {
    font-weight: bold;
  } /* Operator */
  .cm {
    color: #999988;
    font-style: italic;
  } /* Comment.Multiline */
  .cp {
    color: #999999;
    font-weight: bold;
  } /* Comment.Preproc */
  .c1 {
    color: #999988;
    font-style: italic;
  } /* Comment.Single */
  .cs {
    color: #999999;
    font-weight: bold;
    font-style: italic;
  } /* Comment.Special */
  .gd {
    color: #000000;
    background-color: #ffdddd;
  } /* Generic.Deleted */
  .gd .x {
    color: #000000;
    background-color: #ffaaaa;
  } /* Generic.Deleted.Specific */
  .ge {
    font-style: italic;
  } /* Generic.Emph */
  .gr {
    color: #aa0000;
  } /* Generic.Error */
  .gh {
    color: #999999;
  } /* Generic.Heading */
  .gi {
    color: #000000;
    background-color: #ddffdd;
  } /* Generic.Inserted */
  .gi .x {
    color: #000000;
    background-color: #aaffaa;
  } /* Generic.Inserted.Specific */
  .go {
    color: #888888;
  } /* Generic.Output */
  .gp {
    color: #555555;
  } /* Generic.Prompt */
  .gs {
    font-weight: bold;
  } /* Generic.Strong */
  .gu {
    color: #aaaaaa;
  } /* Generic.Subheading */
  .gt {
    color: #aa0000;
  } /* Generic.Traceback */
  .kc {
    font-weight: bold;
  } /* Keyword.Constant */
  .kd {
    font-weight: bold;
  } /* Keyword.Declaration */
  .kp {
    font-weight: bold;
  } /* Keyword.Pseudo */
  .kr {
    font-weight: bold;
  } /* Keyword.Reserved */
  .kt {
    color: #445588;
    font-weight: bold;
  } /* Keyword.Type */
  .m {
    color: #009999;
  } /* Literal.Number */
  .s {
    color: #d14;
  } /* Literal.String */
  .na {
    color: #008080;
  } /* Name.Attribute */
  .nb {
    color: #0086b3;
  } /* Name.Builtin */
  .nc {
    color: #445588;
    font-weight: bold;
  } /* Name.Class */
  .no {
    color: #008080;
  } /* Name.Constant */
  .ni {
    color: #800080;
  } /* Name.Entity */
  .ne {
    color: #990000;
    font-weight: bold;
  } /* Name.Exception */
  .nf {
    color: #990000;
    font-weight: bold;
  } /* Name.Function */
  .nn {
    color: #555555;
  } /* Name.Namespace */
  .nt {
    color: #000080;
  } /* Name.Tag */
  .nv {
    color: #008080;
  } /* Name.Variable */
  .ow {
    font-weight: bold;
  } /* Operator.Word */
  .w {
    color: #bbbbbb;
  } /* Text.Whitespace */
  .mf {
    color: #009999;
  } /* Literal.Number.Float */
  .mh {
    color: #009999;
  } /* Literal.Number.Hex */
  .mi {
    color: #009999;
  } /* Literal.Number.Integer */
  .mo {
    color: #009999;
  } /* Literal.Number.Oct */
  .sb {
    color: #d14;
  } /* Literal.String.Backtick */
  .sc {
    color: #d14;
  } /* Literal.String.Char */
  .sd {
    color: #d14;
  } /* Literal.String.Doc */
  .s2 {
    color: #d14;
  } /* Literal.String.Double */
  .se {
    color: #d14;
  } /* Literal.String.Escape */
  .sh {
    color: #d14;
  } /* Literal.String.Heredoc */
  .si {
    color: #d14;
  } /* Literal.String.Interpol */
  .sx {
    color: #d14;
  } /* Literal.String.Other */
  .sr {
    color: #009926;
  } /* Literal.String.Regex */
  .s1 {
    color: #d14;
  } /* Literal.String.Single */
  .ss {
    color: #990073;
  } /* Literal.String.Symbol */
  .bp {
    color: #999999;
  } /* Name.Builtin.Pseudo */
  .vc {
    color: #008080;
  } /* Name.Variable.Class */
  .vg {
    color: #008080;
  } /* Name.Variable.Global */
  .vi {
    color: #008080;
  } /* Name.Variable.Instance */
  .il {
    color: #009999;
  } /* Literal.Number.Integer.Long */
}
