| 1 | body { |
| 2 | font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, |
| 3 | Ubuntu, sans-serif; |
| 4 | padding: 0; |
| 5 | margin: 0; |
| 6 | line-height: 1.4; |
| 7 | } |
| 8 | |
| 9 | .container { |
| 10 | padding: 12px 1em; |
| 11 | } |
| 12 | |
| 13 | header { |
| 14 | display: flex; |
| 15 | justify-content: space-between; |
| 16 | align-items: center; |
| 17 | } |
| 18 | header .title { |
| 19 | font-size: 2em; |
| 20 | } |
| 21 | header ul { |
| 22 | display: flex; |
| 23 | justify-content: space-between; |
| 24 | padding: 0; |
| 25 | } |
| 26 | header ul li { |
| 27 | list-style: none; |
| 28 | } |
| 29 | header li a { |
| 30 | display: inline-block; |
| 31 | padding: 4px; |
| 32 | margin: 0 4px; |
| 33 | border-bottom: 2px solid transparent; |
| 34 | } |
| 35 | |
| 36 | a { |
| 37 | color: #03a9f4; |
| 38 | } |
| 39 | |
| 40 | table { |
| 41 | border: 1px solid #e3e3e3; |
| 42 | border-radius: 4px; |
| 43 | } |
| 44 | |
| 45 | thead { |
| 46 | position: sticky; |
| 47 | top: 0; |
| 48 | z-index: 2; |
| 49 | } |
| 50 | |
| 51 | .usable { |
| 52 | background-color: rgba(0, 255, 0, 0.2); |
| 53 | } |
| 54 | |
| 55 | th { |
| 56 | background-color: #e3e3e3; |
| 57 | padding: 4px; |
| 58 | } |
| 59 | |
| 60 | td { |
| 61 | text-align: right; |
| 62 | } |
| 63 | |
| 64 | td:nth-child(1) { |
| 65 | text-align: left; |
| 66 | position: relative; |
| 67 | } |
| 68 | |
| 69 | tr:hover td:nth-child(1):before { |
| 70 | content: ""; |
| 71 | position: absolute; |
| 72 | top: 0; |
| 73 | left: -2px; |
| 74 | bottom: 0; |
| 75 | width: 4px; |
| 76 | background-color: chocolate; |
| 77 | } |
| 78 | |
| 79 | .zero { |
| 80 | background-color: rgba(255, 0, 0, 0.2); |
| 81 | } |
| 82 | |
| 83 | .zero.important { |
| 84 | background-color: rgba(255, 0, 0, 0.5); |
| 85 | } |
| 86 | |
| 87 | td a { |
| 88 | display: block; |
| 89 | padding: 4px; |
| 90 | text-decoration: none; |
| 91 | color: black; |
| 92 | } |
| 93 | |
| 94 | td a:hover { |
| 95 | background-color: #e3e3e3; |
| 96 | } |
| 97 | |
| 98 | td.multiple a { |
| 99 | display: inline-block; |
| 100 | } |