1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
| table { font: 1em sans-serif; border-collapse: collapse; border-spacing: 0; }
table td, table th { border : 1px solid black; padding: 0.5em 0.5em 0.4em; }
table thead th { color: white; background: black; }
table tbody td + td { text-align: center; }
table tbody td:last-child { text-align: right }
table tfoot th { text-align: right; border-top-width: 5px; border-left: none; border-bottom: none; }
table th + td { text-align: right; border-top-width: 5px; color: white; background: black; }
.with-currency[lang="en-US"] td:last-child::before { content: '$'; }
.with-currency[lang="fr"] td:last-child::after { content: ' €'; }
|