From 59b700299f860f0854c37906eaa5a5850cc45f59 Mon Sep 17 00:00:00 2001 From: davidpkj Date: Sat, 13 Apr 2024 12:28:41 +0200 Subject: univis stuff & docs --- public/style.css | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 public/style.css (limited to 'public/style.css') 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 -- cgit v1.2.3