// Needs refactoring
// stylelint-disable selector-no-type
.markdown-body {
  // Tables
  table {
    display: block;
    width: 100%;
    overflow: auto;

    th {
      font-weight: $font-weight-bold;
    }

    th,
    td {
      padding: 6px 13px;
      border: 1px solid lighten($gray-300, 5%);
    }

    tr {
      background-color: $bg-white;
      border-top: 1px solid darken($gray-300, 4%);

      &:nth-child(2n) {
        background-color: $gray-100;
      }
    }

    img {
      background-color: transparent;
    }
  }
}
