Sha256: f876443b8b94f2655392723d9aeefc6970797aef8b741bf4f6d680d817834b7f

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 KB

Contents

/*!
Pure v3.0.0
Copyright 2013 Yahoo!
Licensed under the BSD License.
https://github.com/pure-css/pure/blob/master/LICENSE
*/

.pure-table {
  /* Remove spacing between table cells (from Normalize.css) */
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  border: 1px solid #cbcbcb;

  caption {
    color: #000;
    font: italic 85%/1 arial, sans-serif;
    padding: 1em 0;
    text-align: center;
  }

  td, th {
    border-left: 1px solid #cbcbcb;

    /*  inner column border */
    border-width: 0 0 0 1px;
    font-size: inherit;
    margin: 0;
    overflow: visible;

    /*to make ths where the title is really long work*/
    padding: 0.5em 1em;

    /* cell padding */
  }

  thead {
    background-color: #e0e0e0;
    color: #000;
    text-align: left;
    vertical-align: bottom;
  }

  td {
    background-color: transparent;
  }
}

/*
striping:
   even - #fff (white)
   odd  - #f2f2f2 (light gray)
*/

.pure-table-odd td, .pure-table-striped tr:nth-child(2n-1) td {
  background-color: #f2f2f2;
}

/* nth-child selector for modern browsers */

/* BORDERED TABLES */

.pure-table-bordered {
  td {
    border-bottom: 1px solid #cbcbcb;
  }

  tbody > tr:last-child > td {
    border-bottom-width: 0;
  }
}

/* HORIZONTAL BORDERED TABLES */

.pure-table-horizontal {
  td, th {
    border-width: 0 0 1px 0;
    border-bottom: 1px solid #cbcbcb;
  }

  tbody > tr:last-child > td {
    border-bottom-width: 0;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
purecss-sass-3.0.1 vendor/assets/stylesheets/purecss/_tables.scss
purecss-sass-3.0.0 vendor/assets/stylesheets/purecss/_tables.scss