From 0f2e4ff987cb4c9fe446a4118d45c59d51c37437 Mon Sep 17 00:00:00 2001 From: davidpkj Date: Tue, 16 Apr 2024 15:33:32 +0200 Subject: styleclass & fixes --- public/style.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'public/style.css') diff --git a/public/style.css b/public/style.css index acc57b4..e197769 100644 --- a/public/style.css +++ b/public/style.css @@ -10,7 +10,9 @@ --headers-b: #333; --headers-f: #fff; + --mark: #ccc; --block: #ccc; + --mensa: #777; } em { @@ -18,6 +20,10 @@ em { text-decoration: underline; } +mark { + background-color: var(--mark); +} + table { width: 100%; } @@ -54,6 +60,11 @@ table td.block { background-size: 99.9999999% 99.9999999%; /* because 100% gives wrong scaling for some reason */ border: 2px solid var(--block); } +table td.mensa { + background-image: repeating-linear-gradient(45deg, var(--mensa), var(--mensa) 10px, transparent 10px, transparent 20px); + background-size: 99.9999999% 99.9999999%; /* because 100% gives wrong scaling for some reason */ + border: 2px solid var(--mensa); +} div { position: absolute; @@ -63,4 +74,4 @@ div { left: 0.4em; width: calc(100% - 0.8em); justify-content: space-between; -} \ No newline at end of file +} -- cgit v1.2.3