- Adjust styles

- Adjust alignment
This commit is contained in:
Keith Solomon
2022-12-23 17:30:53 +00:00
parent abe10c88a2
commit 388266609d
3 changed files with 42 additions and 17 deletions
+19 -4
View File
@@ -1,11 +1,20 @@
:root {
--red: #f77e82;
--green: #08817d;
}
body { padding: 0 1em; }
.grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-column-gap: 4em;
grid-row-gap: 0px;
}
table {width: 100%; }
table, tr, td {
border: 1px solid #333;
border-collapse: collapse;
@@ -18,8 +27,14 @@ thead td {
text-transform: uppercase;
}
tr.debit { background-color: #f77e82; }
tr.debit { background-color: var(--red); }
tr.credit { background-color: #08817d; color: #fff; }
tr.credit { background-color: var(--green); color: #fff; }
td { padding: .15em 1em; }
td { padding: .15em 1em; }
h1 { }
h3, h4 { margin: 0; }
h4 { font-style: italic; }