Sha256: b5ed21a86318b2c0578041a87c9a141b4bbf5778558d020c9f78bb180a11b04a

Contents?: true

Size: 1.47 KB

Versions: 66

Compression:

Stored size: 1.47 KB

Contents

/* Table */

.table-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
}

table {
    margin: 0 0 _size(element-margin) 0;
    width: 100%;

    tbody {
        tr {
            border: solid 1px _palette(border);
            border-left: 0;
            border-right: 0;

            &:nth-child(2n + 1) {
                background-color: _palette(border-bg);
            }
        }
    }

    td {
        padding: 0.75em 0.75em;
    }

    th {
        color: _palette(fg-bold);
        font-size: 0.9em;
        font-weight: _font(weight-bold);
        padding: 0 0.75em 0.75em 0.75em;
        text-align: left;
    }

    thead {
        border-bottom: solid 2px _palette(border);
    }

    tfoot {
        border-top: solid 2px _palette(border);
    }

    &.alt {
        border-collapse: separate;

        tbody {
            tr {
                td {
                    border: solid 1px _palette(border);
                    border-left-width: 0;
                    border-top-width: 0;

                    &:first-child {
                        border-left-width: 1px;
                    }
                }

                &:first-child {
                    td {
                        border-top-width: 1px;
                    }
                }
            }
        }

        thead {
            border-bottom: 0;
        }

        tfoot {
            border-top: 0;
        }
    }
}

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
jekyll-theme-consulting-0.11.24 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.23 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.22 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.21 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.20 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.19 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.18 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.17 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.15 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.14 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.13 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.12 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.11 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.10 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.9 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.8 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.7 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.6 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.5 _sass/main/components/_table.scss
jekyll-theme-consulting-0.11.4 _sass/main/components/_table.scss