Convert to css style comments, part 2.
This commit is contained in:
parent
2eee4d3c24
commit
9f8b1eaf18
1 changed files with 234 additions and 201 deletions
|
|
@ -1,29 +1,32 @@
|
|||
// Tables
|
||||
/* Tables */
|
||||
|
||||
table {
|
||||
// Add vertical rhythm margins.
|
||||
/* Add vertical rhythm margins. */
|
||||
margin-block: 0 var(--spacing-m);
|
||||
// Remove default spacing between table cells.
|
||||
|
||||
/* Remove default spacing between table cells. */
|
||||
border-collapse: collapse;
|
||||
// Prevent cramped-looking tables
|
||||
|
||||
/* Prevent cramped-looking tables */
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
// Remove most spacing between table cells.
|
||||
/* Remove most spacing between table cells. */
|
||||
padding: 0;
|
||||
// Align content to top of cells.
|
||||
|
||||
/* Align content to top of cells. */
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
||||
th {
|
||||
// Align content to bottom of headers.
|
||||
/* Align content to bottom of headers. */
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
caption,
|
||||
th {
|
||||
// Align all text the same.
|
||||
/* Align all text the same. */
|
||||
text-align: start;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue