diff --git a/default_environment/stylesheet/main.css b/default_environment/stylesheet/main.css index b648058..b57d0db 100644 --- a/default_environment/stylesheet/main.css +++ b/default_environment/stylesheet/main.css @@ -14,6 +14,10 @@ --src-block-language-background: #84828f; --quote-block-border-color: #84828f; + + --table-border-color: #6a687a; + --table-odd-background-color: #0a0a0a; + --table-even-background-color: #141414; } body { @@ -184,4 +188,23 @@ body { } } } + + .org_table { + table-layout: fixed; + border-collapse: collapse; + border: 1px solid var(--table-border-color); + > tbody { + > tr { + > td { + padding: 0.2rem; + } + } + > tr:nth-child(odd) { + background-color: var(--table-odd-background-color); + } + > tr:nth-child(even) { + background-color: var(--table-even-background-color); + } + } + } } diff --git a/default_environment/templates/html/table.dust b/default_environment/templates/html/table.dust index a77e7c3..4a5eb5d 100644 --- a/default_environment/templates/html/table.dust +++ b/default_environment/templates/html/table.dust @@ -1 +1 @@ -{#.children}{>table_row/}{/.children}
+{#.children}{>table_row/}{/.children}