.split {
  text-align: center;
  @media (width > 900px) {
    display: flex;
    text-align: left;
  }
}

.content {
  margin-bottom: 30px;

  @media (width > 900px) {
    margin-right: 80px;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
  }
}

.sidebar {
  @media (width > 900px) {
    width: 300px;
  }
}

.sidebarInner {
  @media (width > 900px) {
    position: sticky;
    top: 30px;
  }
}

.announce {
  margin: rfs(40px) 0;
}

.info {
  margin-top: rfs(40px);
}

.readme {
  font-size: 18px;
  font-family: var(--font-serif);
  line-height: 1.6;
  letter-spacing: -0.02em;
  padding-bottom: 80px;

  a {
    color: inherit;

    &:hover {
      color: var(--accent-color);
    }
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 130%;
    line-height: 1.25;
    margin: 3em 0 1em;
    font-weight: bold;
    font-family: var(--font-sans);
  }

  h1,
  h2,
  h3 {
    font-size: 160%;
  }

  hr {
    margin: 60px 0;
    width: 90%;
    height: 1px;
    background: var(--border-color);
    border: 0;
  }

  p,
  ul,
  ol {
    margin: 0 0 1em;
  }

  li {
    margin: 0 0 5px;
  }

  figure {
    text-align: center;
    margin: 2.5em 0;
  }

  figcaption {
    color: var(--light-body-color);
    font-size: 0.8em;
    margin-top: 15px;
  }

  code {
    background-color: #f4f4f4;
    margin: 0 0.1em;
    padding: 0 0.25em;
    font-family: var(--font-mono);
    border-radius: 0.25em;
    font-size: 0.9em;
  }

  pre,
  .responsiveImage,
  img {
    border-radius: 5px;
    overflow: hidden;
    display: inline-block;
    box-shadow: var(--box-shadow);
  }

  pre {
    padding: 30px;
    font-family: var(--font-mono);
    font-size: 0.8em;
    margin: 2.5em 0;
    tab-size: 2;
    width: 100%;
    overflow: auto;
    line-height: 1.3;

    &:last-child {
      margin-bottom: 0;
    }
  }

  .responsiveImage {
    margin: 0;
  }

  table {
    width: 100%;
    margin: 2.5em 0;
  }

  th {
    font-weight: normal;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    text-align: left;
    font-size: 0.8em;
    color: var(--light-body-color);
  }

  td {
    font-weight: normal;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 20px;
    text-align: left;
  }

  tr:first-child {
    td {
      border-top: 1px solid var(--border-color);
    }
  }

  th,
  td {
    &:first-child {
      padding-left: 0;
    }

    &:last-child {
      padding-right: 0;
    }
  }
}

.previewImage {
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    max-height: 350px;
  }
}
