aboutsummaryrefslogtreecommitdiff
path: root/sass/include/_table.scss
diff options
context:
space:
mode:
authorJieiku2022-06-15 02:51:03 -0700
committerJieiku2022-06-15 02:51:03 -0700
commitc24c001d799742ba6dd0ce0be2b84a67f7a78081 (patch)
treec82262b3f8ccb996f27c843f789d30b878d3a19c /sass/include/_table.scss
parent4827695147bea438cf5c42c0ebc325b89f6e731e (diff)
downloadabridge-c24c001d799742ba6dd0ce0be2b84a67f7a78081.tar.gz
abridge-c24c001d799742ba6dd0ce0be2b84a67f7a78081.tar.bz2
abridge-c24c001d799742ba6dd0ce0be2b84a67f7a78081.zip
Update SCSS for Zola's linenos and hl_lines
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);
}