Replace obsolete normalize with a lightweight reset.
This commit is contained in:
parent
8974e915aa
commit
a1e745c686
1 changed files with 220 additions and 703 deletions
19
assets/sass/reset/tables/_tables.scss
Normal file
19
assets/sass/reset/tables/_tables.scss
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// Tables
|
||||
//
|
||||
// The `<table>` element displays tabular data in rows, columns, and cells.
|
||||
|
||||
table {
|
||||
// Add vertical rhythm margins.
|
||||
@include margin(1 0);
|
||||
// Remove most spacing between table cells.
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
// Prevent cramped-looking tables
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
// Remove most spacing between table cells.
|
||||
padding: 0;
|
||||
}
|
||||
Loading…
Reference in a new issue