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/config.yaml | 55 +++++++++++++++++++++++++++++++++++++++++++++ public/style.css | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) create mode 100644 public/config.yaml create mode 100644 public/style.css (limited to 'public') diff --git a/public/config.yaml b/public/config.yaml new file mode 100644 index 0000000..c9bece2 --- /dev/null +++ b/public/config.yaml @@ -0,0 +1,55 @@ +# Allgemeine Informationen +student: David Penkowoj +semester: Sommersemester 2024 +filename: Stundenplan_SS24.pdf + +# Jeder hinweis wird unter dem Stundenplan aufgelistet +hinweise: + - "Mensabetrieb: 11:15 - 14:15 Uhr + 00:15 min" + - "GET 2 / V am 23.05. & 04.07. im V1" + - "GET 2 / Ü am 24.05. im T S2" + - "FuQ / V am 24.05. im T S1" + +# Modul- und Veranstaltungsdefinitionen +eintraege: + - GET 2: + U: + - [Mo, 12h00, 13h00, AM S4] + - [Fr, 11h30, 13h00, AM S4] + V: + - [Di, 08h30, 10h00, H 1] + - [Do, 08h30, 10h00, Z 1/2] + - TGI 1: + V: + - [Mi, 08h15, 09h45, AM 1] + U: + - [Do, 15h00, 16h00, AM 1] + Prak. Gr. 2: + - [Di, 14h30, 16h30, ITI 131] + - Pho: + V: + - [Fr, 08h30, 10h00, T 1] + U: + - [Mi, 12h00, 13h00, AM 1] + - Ana 2: + V: + - [Di, 12h30, 14h00, AM 1] + U: + - [Do, 16h15, 17h15, H 1] + Helpdesk: + - [Di, 18h00, 19h00, O-Sync] + - [Mi, 18h00, 19h00, O-Sync] + - EiBMO: + V: + - [Mi, 14h00, 16h00, H 1] + U: + - [Mi, 16h00, 17h00, H 1] + - FuQ: + V: + - [Fr, 10h00, 11h30, AM 4] + U: + - [Di, 11h00, 12h00, SI 4 (Minsky)] + - BLOCKED: + BLOCKED: + - [Mo, 13h00, 19h00, BLOCKED] + - [Do, 10h00, 15h00, BLOCKED] \ No newline at end of file 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