aboutsummaryrefslogtreecommitdiff
path: root/public/style.css
diff options
context:
space:
mode:
authordavidpkj <davidpenkow1@gmail.com>2024-04-13 12:28:41 +0200
committerdavidpkj <davidpenkow1@gmail.com>2024-04-13 12:28:41 +0200
commit59b700299f860f0854c37906eaa5a5850cc45f59 (patch)
treebaf0e3010bf38da42382e49bbc480c8dc6e65b51 /public/style.css
parentb291ddc44b9df8754c68f865383d206d9092c5a4 (diff)
univis stuff & docs
Diffstat (limited to 'public/style.css')
-rw-r--r--public/style.css66
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