Sha256: b00ceeecd22fc7f8cf8a53a77e51fb7f30cac06ada1174285e7401179358e009

Contents?: true

Size: 861 Bytes

Versions: 11

Compression:

Stored size: 861 Bytes

Contents

// Tables
// stylelint-disable max-nesting-depth, selector-no-type, selector-max-type

.table-wrapper {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: $sp-5;
  overflow-x: auto;
  border-radius: $border-radius;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
}

table {
  display: table;
  min-width: 100%;
  border-collapse: separate;
}

th,
td {
  @include fs-3;

  min-width: 120px;
  padding: $sp-2 $sp-3;
  background-color: $table-background-color;
  border-bottom: $border rgba($border-color, 0.5);
  border-left: $border $border-color;

  &:first-of-type {
    border-left: 0;
  }
}

tbody {
  tr {
    &:last-of-type {
      th,
      td {
        border-bottom: 0;
      }

      td {
        padding-bottom: $sp-3;
      }
    }
  }
}

thead {
  th {
    border-bottom: $border $border-color;
  }
}

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
just-the-docs-0.5.2 _sass/tables.scss
just-the-docs-0.5.1 _sass/tables.scss
just-the-docs-0.5.0 _sass/tables.scss
just-the-docs-0.4.2 _sass/tables.scss
just-the-docs-0.4.1 _sass/tables.scss
just-the-hm-docs-1.0.2.rc1 _sass/tables.scss
just-the-docs-0.4.0 _sass/tables.scss
just-the-docs-0.4.0.rc5 _sass/tables.scss
just-the-hm-docs-1.0.1.rc1 _sass/tables.scss
just-the-hm-docs-1.0.0.rc1 _sass/tables.scss
just-the-docs-0.4.0.rc4 _sass/tables.scss