summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/html/ledger.xsl10
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;
}