1/* Stylesheet for receipt.scm -- eguile-based Gnucash invoice report */ 2/* Version 0.03 */ 3 4/** 5;; This program is free software; you can redistribute it and/or 6;; modify it under the terms of the GNU General Public License as 7;; published by the Free Software Foundation; either version 2 of the 8;; License, or (at your option) any later version. 9;; 10;; This program is distributed in the hope that it will be useful, 11;; but WITHOUT ANY WARRANTY; without even the implied warranty of 12;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13;; General Public License for more details. 14;; 15;; You should have received a copy of the GNU General Public License 16;; along with this program; if not, write to the Free Software 17;; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 18;; 02111-1307 USA 19**/ 20 21/* Note that body and table font family and size will be overridden */ 22/* by separate report options. */ 23 table { /* table does not inherit font sizes for some reason */ 24 width: 72mm; 25 table-layout: auto; 26 } 27 table.entries { 28 border: 0; 29 border-spacing: 0.1em; 30 empty-cells: show; 31 } 32 table.entries th { 33 font-weight: bold; 34 padding: 0.2em 0.4em; 35 font-size: 0.9em; 36 border-top: 1px dashed black; 37 border-bottom: 1px dashed black; 38 } 39 table.entries td { 40 padding: 0.2em 0.4em; 41 } 42 td.invnum { 43 font-size: 120%; 44 font-weight: bold; 45 } 46 td.subtotal { 47 font-weight: bold; 48 } 49 50 td.total_first { 51 border-top: 1px dashed black; 52 } 53 td.total { 54 font-size: 1.1em; 55 /* font-weight: bold; */ 56 } 57 td.total_last { 58 border-bottom: 1px dashed black; 59 } 60 61 62 table.coytable td, table.coytable tr { 63 vertical-align: top; 64 } 65 h1.coyname { 66 margin-top: 0em; 67 padding-top: 0em; 68 text-align: left; 69 } 70 h2.invoice { 71 padding-top: 0em; 72 margin-top: 0em; 73 } 74/* new entries below */ 75 76body { 77 color: black; background-color: white; 78 font-size: 100.01%; 79 font-family: Helvetica,Arial,sans-serif; 80 text-align: center; 81 margin: 11mm 4mm 0mm 4mm; /* padding: 1em; */ 82 width: 72mm; 83} 84 85img.logo { 86 margin: 0; 87} 88 89div#content { 90 min-width: 16em; 91} 92div#content h1 { 93 font-size: 1.2em; 94 margin: 0.5em 0 0.5em 0; 95} 96div#content h2 { 97 font-size: 1.1em; 98 margin: 0.5em 0 0.5em 0; 99} 100div#content p { 101 font-size:1em; 102 margin: 0; 103} 104div#products { 105 margin: 0; 106 text-align: left; 107} 108div#totals { 109 margin: 0; 110 text-align: left; 111 border-top: 1px dashed black; 112 border-bottom: 1px dashed black; 113} 114 115