diff options
author | Markus Katharina Brechtel <markus.katharina.brechtel@thengo.net> | 2021-10-26 20:31:45 +0200 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2022-02-03 09:07:07 -0800 |
commit | 28ed7b1c48b90bb57dca2ea238a758272d9d5d51 (patch) | |
tree | b7ec208ede6bf55190c36a0b1c6fb8b1073fc4d2 /contrib/html | |
parent | 829f633874df965453eadc429777723ed707800b (diff) | |
download | fork-ledger-28ed7b1c48b90bb57dca2ea238a758272d9d5d51.tar.gz fork-ledger-28ed7b1c48b90bb57dca2ea238a758272d9d5d51.tar.bz2 fork-ledger-28ed7b1c48b90bb57dca2ea238a758272d9d5d51.zip |
ledger.xsl: improve on table layout
Diffstat (limited to 'contrib/html')
-rw-r--r-- | contrib/html/ledger.xsl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/html/ledger.xsl b/contrib/html/ledger.xsl index d24ca015..09e4a92b 100644 --- a/contrib/html/ledger.xsl +++ b/contrib/html/ledger.xsl @@ -41,7 +41,9 @@ <style> table, th, td { border: 1px solid black; - border-collapse: collapse; + } + table { + border-spacing: 0; } table th { position: sticky; @@ -49,6 +51,12 @@ z-index: 1; background: #fff; } + #accounts table tr:nth-child(odd) { + background: #ccc; + } + #accounts table tr:nth-child(even) { + background: #fff; + } .amount-table-cell { text-align: right; } |