aboutsummaryrefslogtreecommitdiff
path: root/sass/include/_table.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/include/_table.scss')
-rw-r--r--sass/include/_table.scss30
1 files changed, 14 insertions, 16 deletions
diff --git a/sass/include/_table.scss b/sass/include/_table.scss
index e141b7e..0c4befc 100644
--- a/sass/include/_table.scss
+++ b/sass/include/_table.scss
@@ -3,23 +3,21 @@ table {
border-collapse: collapse;
width: 100%;
text-indent: 0; /* Remove text indentation from table contents in Chrome, Edge, and Safari. */
-}
-table caption {
- margin-bottom: .5rem;
-}
-tr {
- border-bottom: var(--bw) solid var(--c3);
-}
-td,
-th {
- padding: var(--s1);
-}
-th {
- text-align: left;
-}
+ caption {
+ margin-bottom: .5rem;
+ }
+ tr {
+ border-bottom: var(--bw) solid var(--c3);
+ }
+ td,
+ th {
+ padding: var(--s1);
+ }
+ th {
+ text-align: left;
+ }
-// Striped
-table {
+ // Striped
tbody tr:nth-child(even) {
background-color: var(--c2);
}