2020-01-14 00:06:14 +11:00
|
|
|
/*
|
|
|
|
ledger-pyreport
|
|
|
|
Copyright © 2020 Lee Yingtong Li (RunasSudo)
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: 'TeX Gyre Termes', 'Nimbus Roman', 'Times New Roman', 'Liberation Serif', Times, serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
text-align: center;
|
|
|
|
font-size: x-large;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
text-align: center;
|
|
|
|
font-size: medium;
|
|
|
|
font-weight: normal;
|
|
|
|
margin: 0.2em 0 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.ledger {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.ledger td, table.ledger th {
|
|
|
|
padding: 2px 2px 2px 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.ledger th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
table.ledger th.h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.ledger tr.total td {
|
|
|
|
font-weight: bold;
|
2020-03-23 17:17:10 +11:00
|
|
|
}
|
|
|
|
table.ledger tr.total:not(.explicit-rules) td {
|
2020-01-14 00:06:14 +11:00
|
|
|
border-top: 1pt solid black;
|
|
|
|
border-bottom: 1pt solid black;
|
|
|
|
}
|
|
|
|
|
2020-02-15 15:50:33 +11:00
|
|
|
table.ledger.onedesc tr td:not(:first-child), table.ledger.onedesc tr th:not(:first-child) {
|
2020-01-14 00:06:14 +11:00
|
|
|
text-align: right;
|
2020-02-15 11:47:10 +11:00
|
|
|
width: 6em;
|
2020-01-14 00:06:14 +11:00
|
|
|
}
|
|
|
|
|
2020-02-15 15:50:33 +11:00
|
|
|
table.ledger a {
|
|
|
|
color: black;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
table.ledger a:hover {
|
|
|
|
color: blue;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2020-03-23 17:17:10 +11:00
|
|
|
.nav-header {
|
2020-03-20 23:20:39 +11:00
|
|
|
color: #888;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
2020-03-23 17:17:10 +11:00
|
|
|
.nav-header a {
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
.nav-header a:hover {
|
|
|
|
color: #666;
|
|
|
|
}
|
2020-03-20 23:20:39 +11:00
|
|
|
|
2020-04-15 11:10:16 +10:00
|
|
|
.index-group {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
line-height: 2;
|
|
|
|
}
|
2020-04-01 13:48:14 +11:00
|
|
|
label {
|
|
|
|
margin-left: 1ex;
|
2020-04-15 11:10:16 +10:00
|
|
|
white-space: nowrap;
|
2020-04-01 13:48:14 +11:00
|
|
|
}
|
|
|
|
|
2020-01-14 00:06:14 +11:00
|
|
|
@media screen {
|
|
|
|
body {
|
|
|
|
padding: 2em;
|
|
|
|
}
|
|
|
|
}
|
2020-03-20 23:20:39 +11:00
|
|
|
|
|
|
|
@media print {
|
2020-03-30 19:20:41 +11:00
|
|
|
.nav-header {
|
2020-03-20 23:20:39 +11:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|