.preview {
  align-self: flex-start;
  width: 100%;
}

.header {
  border-bottom: var(--main-border);
  margin-bottom: 15px;
}

.markdown {
  font-size: .8em;
  align-self: flex-start;
  font-size: 16px;
  padding: 0 10px;
  p {
    font-size: 1em;
    margin: 0 0 10px;
  }
  h1, h2, h3, h4 {
    color: var(--main-font-color);
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.25;
  }
  h1 {
    padding-bottom: 0.3em;
    font-size: 2em;
    border-bottom: var(--main-border);
  }
  h2 {
    padding-bottom: 0.3em;
    font-size: 1.5em;
    border-bottom: var(--main-border);
  }
  pre {
    padding: 16px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    filter: invert(10%);
    background: var(--main-background-color);
    border-radius: 3px;
    code {
      padding: 0;
      background: transparent;
      &:before, &:after {
        content: none;
      }
    }
  }
  blockquote {
    border-left: 3px solid #999;
    margin: 15px 0;
    padding: 5px 15px;
    p:last-child {
      margin-bottom: 0;
    }
  }
  code {
    padding: 0;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    margin: 0;
    font-size: 85%;
    background-color: rgba(0,0,0,0.04);
    border-radius: 3px;
    &:after {
      letter-spacing: -0.2em;
      content: "\00a0";
    }
    &:before {
      letter-spacing: -0.2em;
      content: "\00a0";
    }
  }
  img {
    max-width: 100%;
  }
  a {
    color: #4078c0;
    text-decoration: none;
  }
  ul {
    padding-left: 2em;
    list-style-type: disc;
  }
  li {
    list-style-type: disc;
  }
  li + li {
    margin-top: 0.25em;
  }
}

.settingsWrapper {
  margin: 15px 0;
}
