diff options
Diffstat (limited to 'public/style.css')
-rw-r--r-- | public/style.css | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/public/style.css b/public/style.css new file mode 100644 index 0000000..acc57b4 --- /dev/null +++ b/public/style.css @@ -0,0 +1,66 @@ +* { + font-weight: 300; + font-family: "Abel", sans-serif; + + print-color-adjust: exact; + -webkit-print-color-adjust: exact; + + --entries-b: #ccc; + --entries-f: #111; + --headers-b: #333; + --headers-f: #fff; + + --block: #ccc; +} + +em { + font-style: normal; + text-decoration: underline; +} + +table { + width: 100%; +} + +table td, +table tr { + background: var(--headers-f); + height: 4px; +} + +table th, +table td:not(:empty) { + background-color: var(--entries-b); + color: var(--entries-f); + padding: 0.5em 1em; + position: relative +} + +table th { + background-color: var(--headers-b); + color: var(--headers-f); +} + +table th.tag { + width: 20%; +} + +table td { + font-size: 12px; +} + +table td.block { + background-image: repeating-linear-gradient(314deg, var(--block), var(--block) 10px, transparent 10px, transparent 20px); + background-size: 99.9999999% 99.9999999%; /* because 100% gives wrong scaling for some reason */ + border: 2px solid var(--block); +} + +div { + position: absolute; + display: flex; + + top: 0.4em; + left: 0.4em; + width: calc(100% - 0.8em); + justify-content: space-between; +}
\ No newline at end of file |