Sha256: 723a66a72bee61ef45aa35899df1eddf5146de8c266971411d2b1ab1717f8b8e

Contents?: true

Size: 1.26 KB

Versions: 10

Compression:

Stored size: 1.26 KB

Contents

///
/// Forty by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///

/* 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

10 entries across 10 versions & 1 rubygems

Version Path
fortyone-jekyll-theme-1.2.3 _sass/components/_table.scss
fortyone-jekyll-theme-1.2.2 _sass/components/_table.scss
fortyone-jekyll-theme-1.2.1 _sass/components/_table.scss
fortyone-jekyll-theme-1.2.0 _sass/components/_table.scss
fortyone-jekyll-theme-1.1.0 _sass/components/_table.scss
fortyone-jekyll-theme-1.0.4 _sass/components/_table.scss
fortyone-jekyll-theme-1.0.3 _sass/components/_table.scss
fortyone-jekyll-theme-1.0.2 _sass/components/_table.scss
fortyone-jekyll-theme-1.0.1 _sass/components/_table.scss
fortyone-jekyll-theme-1.0.0 _sass/components/_table.scss