Skip to content
Snippets Groups Projects
Commit e0724a17 authored by khawkins98's avatar khawkins98
Browse files

Further optimise data tables

related to #65
parent f71c6e24
No related branches found
No related tags found
No related merge requests found
......@@ -1104,7 +1104,8 @@ table .padding-none th,
table .padding-none td
table.padding-none tbody th,
table.padding-none tbody td {
padding: 0; }
padding: 0;
border-spacing: 0; }
table .padding-small th,
table .padding-small td
......@@ -1112,7 +1113,12 @@ table.padding-small tbody th,
table.padding-small tbody td,
table.data-table tbody th,
table.data-table tbody td {
padding: 0rem 0.2rem 0.2rem; }
padding: 0rem 0.2rem 0.2rem;
border-spacing: 0; }
/* border lines on data tables without striping */
table.no-stripe.data-table tbody td {
border-top: 1px solid #eaeaea; }
/* None 100% wide tables */
table.data-table,
......@@ -1125,11 +1131,16 @@ img.stretch {
height: inherit; }
/* align table cell text to top */
table.data-table th,
table.data-table td,
table.align-top td,
table td.align-top {
vertical-align: top; }
/* highlight table header background */
table.data-table thead {
background: #eaeaea; }
/* wide screen support */
@media screen and (min-width: 40em) {
body.full-width .row,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment