Compare commits
10
Commits
963ba1d173
...
d19c8ddfc9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d19c8ddfc9 | ||
|
|
b3182d6366 | ||
|
|
b97b49b5be | ||
|
|
51691cd75e | ||
|
|
74cc7aad58 | ||
|
|
7e80d15a06 | ||
|
|
aaf1447048 | ||
|
|
7943824eeb | ||
|
|
eaeae275a7 | ||
|
|
e6a455b095 |
No files matched your search
@@ -187,13 +187,14 @@ HDM_DEPLOY_PATH = /home/tengo/html/hdm
|
||||
|
||||
build-index: build/.exists
|
||||
@echo "Building root index..."
|
||||
@echo '<!DOCTYPE html><html lang="de"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>HdM Vorlesungen</title><style>*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,sans-serif;max-width:720px;margin:0 auto;padding:3rem 1.5rem;background:#fafafa;color:#1d1d1f;line-height:1.5}h1{font-size:2rem;font-weight:600;letter-spacing:-0.02em;margin-bottom:.5rem}.subtitle{color:#86868b;font-size:1rem}.courses{margin-top:2rem;display:flex;flex-direction:column;gap:.75rem}a.course{display:block;background:#fff;border-radius:12px;padding:1.5rem;text-decoration:none;color:inherit;box-shadow:0 1px 3px rgba(0,0,0,0.08);transition:all .2s ease;cursor:pointer}a.course:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.12)}.course-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.course-b .course-label{color:#5da9e9}.course-c .course-label{color:#d63384}.course-title{font-size:1.15rem;font-weight:500;color:#1d1d1f;margin:.25rem 0}.course-info{font-size:.85rem;color:#86868b}footer{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid #e5e5e7;color:#86868b;font-size:.85rem}footer a{color:#1d1d1f;text-decoration:none}footer a:hover{text-decoration:underline}</style></head><body><h1>HdM Vorlesungen</h1><p class="subtitle">Wintersemester 2025/26 · Michael Czechowski</p><div class="courses"><a class="course course-b" href="223015b/"><span class="course-label">223015b</span><div class="course-title">Dateiformate, Schnittstellen, Speichermedien & Distributionswege</div><span class="course-info">6 Termine · Modul "Technik 1"</span></a><a class="course course-c" href="223015c/"><span class="course-label">223015c</span><div class="course-title">Grundlagen IT- und Internettechnik</div><span class="course-info">3 Termine · Modul "Technik 1"</span></a></div><footer><a href="mailto:mail@librete.ch">Kontakt</a></footer></body></html>' > build/index.html
|
||||
@echo '<!DOCTYPE html><html lang="de"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>HdM Vorlesungen</title><style>*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,sans-serif;max-width:720px;margin:0 auto;padding:3rem 1.5rem;background:#fafafa;color:#1d1d1f;line-height:1.5}h1{font-size:2rem;font-weight:600;letter-spacing:-0.02em;margin-bottom:.5rem}.subtitle{color:#86868b;font-size:1rem}.courses{margin-top:2rem;display:flex;flex-direction:column;gap:.75rem}a.course{display:block;background:#fff;border-radius:12px;padding:1.5rem;text-decoration:none;color:inherit;box-shadow:0 1px 3px rgba(0,0,0,0.08);transition:all .2s ease;cursor:pointer}a.course:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.12)}.course-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.course-b .course-label{color:#1e5f8a}.course-c .course-label{color:#d63384}.course-title{font-size:1.15rem;font-weight:500;color:#1d1d1f;margin:.25rem 0}.course-info{font-size:.85rem;color:#86868b}.section-title{font-size:1rem;font-weight:600;color:#86868b;margin-top:2.5rem;margin-bottom:.75rem}.references{display:flex;flex-direction:column;gap:.75rem}footer{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid #e5e5e7;color:#86868b;font-size:.85rem}footer a{color:#1d1d1f;text-decoration:none}footer a:hover{text-decoration:underline}.qr-section{margin-top:2.5rem;padding:1.5rem;background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,0.08);text-align:center}.qr-code{width:100%;height:auto}.qr-url{margin-top:.75rem;font-size:.85rem;color:#86868b}</style></head><body><h1>HdM Vorlesungen</h1><p class="subtitle">Wintersemester 2025/26 · Michael Czechowski</p><div class="courses"><a class="course course-b" href="223015b/"><span class="course-label">223015b</span><div class="course-title">Dateiformate, Schnittstellen, Speichermedien & Distributionswege</div><span class="course-info">6 Termine · Modul "Technik 1"</span></a><a class="course course-c" href="223015c/"><span class="course-label">223015c</span><div class="course-title">Grundlagen IT- und Internettechnik</div><span class="course-info">3 Termine · Modul "Technik 1"</span></a></div><h2 class="section-title">Referenzen</h2><div class="references"><a class="course" href="https://codecrispi.es/"><span class="course-label">Plattform</span><div class="course-title">Code Crispies</div><span class="course-info">Selbstlernplattform</span></a></div><div class="qr-section"><img src="qr-root.svg" alt="QR Code" class="qr-code"><p class="qr-url">https://librete.ch/hdm/</p></div><footer><a href="mailto:mail@librete.ch">Kontakt</a></footer></body></html>' > build/index.html
|
||||
|
||||
# Deploy
|
||||
define deploy_course
|
||||
@echo "Deploying $(1)..."
|
||||
scp build/$(1)/*.html $(DEPLOY_HOST):$($(1)_DEPLOY_PATH)/
|
||||
scp build/$(1)/*.pdf $(DEPLOY_HOST):$($(1)_DEPLOY_PATH)/ 2>/dev/null || true
|
||||
scp build/$(1)/*.svg $(DEPLOY_HOST):$($(1)_DEPLOY_PATH)/ 2>/dev/null || true
|
||||
scp -r build/$(1)/assets/ $(DEPLOY_HOST):$($(1)_DEPLOY_PATH)/
|
||||
scp -r build/$(1)/materials/ $(DEPLOY_HOST):$($(1)_DEPLOY_PATH)/ 2>/dev/null || true
|
||||
@echo "$(1) deployed!"
|
||||
@@ -208,6 +209,7 @@ deploy-c: build-c
|
||||
deploy-index: build-index
|
||||
@echo "Deploying root index..."
|
||||
scp build/index.html $(DEPLOY_HOST):$(HDM_DEPLOY_PATH)/
|
||||
scp build/qr-root.svg $(DEPLOY_HOST):$(HDM_DEPLOY_PATH)/ 2>/dev/null || true
|
||||
@echo "Root index deployed!"
|
||||
|
||||
deploy: build-index deploy-b deploy-c deploy-index
|
||||
|
||||
@@ -11,7 +11,7 @@ title: Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
<style>
|
||||
:root {
|
||||
--color-foreground: #1a1a2e;
|
||||
--color-highlight: #5da9e9;
|
||||
--color-highlight: #1e5f8a;
|
||||
--color-dimmed: #4a4a6a;
|
||||
}
|
||||
section.invert {
|
||||
@@ -20,14 +20,20 @@ section.invert {
|
||||
section {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
h1 {
|
||||
color: #1e5f8a;
|
||||
}
|
||||
section.invert h1 {
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
color: var(--color-highlight);
|
||||
color: #1f2937;
|
||||
}
|
||||
pre {
|
||||
background: #0f0f23;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
border-radius: 8px;
|
||||
border-left: 3px solid #5da9e9;
|
||||
border-left: 3px solid #1e5f8a;
|
||||
}
|
||||
pre code {
|
||||
background: transparent;
|
||||
@@ -35,7 +41,7 @@ pre code {
|
||||
}
|
||||
code {
|
||||
background: #1a1a2e;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
padding: 0.15em 0.4em;
|
||||
border-radius: 4px;
|
||||
}
|
||||
@@ -54,7 +60,7 @@ section.klausur footer {
|
||||
<!-- _header: '' -->
|
||||
<!-- _backgroundColor: #000 -->
|
||||
|
||||

|
||||

|
||||
|
||||
# Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ title: Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
<style>
|
||||
:root {
|
||||
--color-foreground: #1a1a2e;
|
||||
--color-highlight: #5da9e9;
|
||||
--color-highlight: #1e5f8a;
|
||||
--color-dimmed: #4a4a6a;
|
||||
}
|
||||
section.invert {
|
||||
@@ -20,14 +20,20 @@ section.invert {
|
||||
section {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
h1 {
|
||||
color: #1e5f8a;
|
||||
}
|
||||
section.invert h1 {
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
color: var(--color-highlight);
|
||||
color: #1f2937;
|
||||
}
|
||||
pre {
|
||||
background: #0f0f23;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
border-radius: 8px;
|
||||
border-left: 3px solid #5da9e9;
|
||||
border-left: 3px solid #1e5f8a;
|
||||
}
|
||||
pre code {
|
||||
background: transparent;
|
||||
@@ -35,7 +41,7 @@ pre code {
|
||||
}
|
||||
code {
|
||||
background: #1a1a2e;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
padding: 0.15em 0.4em;
|
||||
border-radius: 4px;
|
||||
}
|
||||
@@ -54,7 +60,7 @@ section.klausur footer {
|
||||
<!-- _header: '' -->
|
||||
<!-- _backgroundColor: #000 -->
|
||||
|
||||

|
||||

|
||||
|
||||
# Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ title: Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
<style>
|
||||
:root {
|
||||
--color-foreground: #1a1a2e;
|
||||
--color-highlight: #5da9e9;
|
||||
--color-highlight: #1e5f8a;
|
||||
--color-dimmed: #4a4a6a;
|
||||
}
|
||||
section.invert {
|
||||
@@ -20,14 +20,20 @@ section.invert {
|
||||
section {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
h1 {
|
||||
color: #1e5f8a;
|
||||
}
|
||||
section.invert h1 {
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
color: var(--color-highlight);
|
||||
color: #1f2937;
|
||||
}
|
||||
pre {
|
||||
background: #0f0f23;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
border-radius: 8px;
|
||||
border-left: 3px solid #5da9e9;
|
||||
border-left: 3px solid #1e5f8a;
|
||||
}
|
||||
pre code {
|
||||
background: transparent;
|
||||
@@ -35,7 +41,7 @@ pre code {
|
||||
}
|
||||
code {
|
||||
background: #1a1a2e;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
padding: 0.15em 0.4em;
|
||||
border-radius: 4px;
|
||||
}
|
||||
@@ -55,7 +61,7 @@ section.klausur footer {
|
||||
<!-- _footer: '' -->
|
||||
<!-- _backgroundColor: #000 -->
|
||||
|
||||

|
||||

|
||||
|
||||
# Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
|
||||
@@ -474,7 +480,7 @@ Lösung: Portfolio-Websites (eigene Kontrolle)
|
||||
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
# Hands-On: Kompression vergleichen
|
||||
|
||||
@@ -538,24 +544,75 @@ Ohne Kompression: Unmöglich zu streamen oder speichern
|
||||
|
||||
---
|
||||
|
||||
# Container vs. Codec
|
||||
# Container: Das Dateiformat
|
||||
|
||||
**Container = Die Box**
|
||||
Verpackt Video, Audio, Untertitel, Metadaten
|
||||
**Was ist ein Container?**
|
||||
Das Dateiformat – eine "Box", die verschiedene Streams zusammenpackt:
|
||||
- Video-Stream, Audio-Stream(s), Untertitel, Metadaten
|
||||
|
||||
**Beispiele:** MP4, MKV, AVI, MOV
|
||||
**Gängige Container:**
|
||||
- **MP4** (.mp4) – Web, Streaming
|
||||
- **MKV** (.mkv) – Archiv, viele Streams
|
||||
- **AVI** (.avi) – Legacy (veraltet)
|
||||
- **MOV** (.mov) – Apple-Ökosystem
|
||||
|
||||
**Codec = Kompressionsalgorithmus**
|
||||
Entscheidet, WIE Daten komprimiert werden
|
||||
<!--
|
||||
Container = Verpackung, nicht der Inhalt
|
||||
Ein MP4 sagt nichts über die Qualität aus
|
||||
MKV kann beliebig viele Audio/Untertitel-Spuren haben
|
||||
-->
|
||||
|
||||
**Video-Codecs:** H.264, H.265, VP9, AV1
|
||||
**Audio-Codecs:** AAC, MP3, Opus
|
||||
---
|
||||
|
||||
# Codec: Der Kompressionsalgorithmus
|
||||
|
||||
**Was ist ein Codec?** (Coder/Decoder)
|
||||
Entscheidet, WIE Video/Audio komprimiert wird
|
||||
|
||||
**Video-Codecs:**
|
||||
|
||||
| Codec | Jahr | Verbreitung |
|
||||
|-------|------|-------------|
|
||||
| H.264/AVC | 2003 | Universell, überall |
|
||||
| H.265/HEVC | 2013 | 4K, effizient, Lizenzen |
|
||||
| VP9 | 2013 | YouTube, Google |
|
||||
| AV1 | 2018 | Zukunft, lizenzfrei |
|
||||
|
||||
**Audio-Codecs:** AAC, MP3, Opus, FLAC
|
||||
|
||||
<!--
|
||||
H.264 = De-facto-Standard seit 20 Jahren
|
||||
H.265 = 50% kleinere Dateien, aber teure Lizenzen
|
||||
AV1 = Open Source, Netflix/YouTube pushen es
|
||||
-->
|
||||
|
||||
---
|
||||
|
||||
# Container + Codec = Video
|
||||
|
||||
**Das Zusammenspiel:**
|
||||
|
||||
```
|
||||
┌─────────────────────────────┐
|
||||
│ Container (z.B. MP4) │
|
||||
│ ┌────────────────────────┐ │
|
||||
│ │ Video-Stream (H.264) │ │
|
||||
│ ├────────────────────────┤ │
|
||||
│ │ Audio-Stream (AAC) │ │
|
||||
│ ├────────────────────────┤ │
|
||||
│ │ Untertitel (SRT) │ │
|
||||
│ └────────────────────────┘ │
|
||||
└─────────────────────────────┘
|
||||
```
|
||||
|
||||
**Häufiger Irrtum:** "Das ist eine MP4-Datei"
|
||||
→ Sagt nichts über den Codec aus!
|
||||
|
||||
<!--
|
||||
Container ≠ Codec (häufiges Missverständnis!)
|
||||
MP4 ist KEIN Codec, sondern Container
|
||||
Schachtel-Analogie: Container = Karton, Codec = Inhalt
|
||||
Ein MP4 kann H.264, H.265 oder AV1 enthalten
|
||||
Prüfen mit: MediaInfo, ffprobe
|
||||
-->
|
||||
|
||||
---
|
||||
|
||||
@@ -11,7 +11,7 @@ title: Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
<style>
|
||||
:root {
|
||||
--color-foreground: #1a1a2e;
|
||||
--color-highlight: #5da9e9;
|
||||
--color-highlight: #1e5f8a;
|
||||
--color-dimmed: #4a4a6a;
|
||||
}
|
||||
section.invert {
|
||||
@@ -20,14 +20,20 @@ section.invert {
|
||||
section {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
h1 {
|
||||
color: #1e5f8a;
|
||||
}
|
||||
section.invert h1 {
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
color: var(--color-highlight);
|
||||
color: #1f2937;
|
||||
}
|
||||
pre {
|
||||
background: #0f0f23;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
border-radius: 8px;
|
||||
border-left: 3px solid #5da9e9;
|
||||
border-left: 3px solid #1e5f8a;
|
||||
}
|
||||
pre code {
|
||||
background: transparent;
|
||||
@@ -35,7 +41,7 @@ pre code {
|
||||
}
|
||||
code {
|
||||
background: #1a1a2e;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
padding: 0.15em 0.4em;
|
||||
border-radius: 4px;
|
||||
}
|
||||
@@ -54,7 +60,7 @@ section.klausur footer {
|
||||
<!-- _header: '' -->
|
||||
<!-- _backgroundColor: #000 -->
|
||||
|
||||

|
||||

|
||||
|
||||
# Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ title: Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
<style>
|
||||
:root {
|
||||
--color-foreground: #1a1a2e;
|
||||
--color-highlight: #5da9e9;
|
||||
--color-highlight: #1e5f8a;
|
||||
--color-dimmed: #4a4a6a;
|
||||
}
|
||||
section.invert {
|
||||
@@ -20,14 +20,20 @@ section.invert {
|
||||
section {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
h1 {
|
||||
color: #1e5f8a;
|
||||
}
|
||||
section.invert h1 {
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
color: var(--color-highlight);
|
||||
color: #1f2937;
|
||||
}
|
||||
pre {
|
||||
background: #0f0f23;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
border-radius: 8px;
|
||||
border-left: 3px solid #5da9e9;
|
||||
border-left: 3px solid #1e5f8a;
|
||||
}
|
||||
pre code {
|
||||
background: transparent;
|
||||
@@ -35,7 +41,7 @@ pre code {
|
||||
}
|
||||
code {
|
||||
background: #1a1a2e;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
padding: 0.15em 0.4em;
|
||||
border-radius: 4px;
|
||||
}
|
||||
@@ -55,7 +61,7 @@ section.klausur footer {
|
||||
<!-- _footer: '' -->
|
||||
<!-- _backgroundColor: #000 -->
|
||||
|
||||

|
||||

|
||||
|
||||
# Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ title: Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
<style>
|
||||
:root {
|
||||
--color-foreground: #1a1a2e;
|
||||
--color-highlight: #5da9e9;
|
||||
--color-highlight: #1e5f8a;
|
||||
--color-dimmed: #4a4a6a;
|
||||
}
|
||||
section.invert {
|
||||
@@ -20,14 +20,20 @@ section.invert {
|
||||
section {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
h1 {
|
||||
color: #1e5f8a;
|
||||
}
|
||||
section.invert h1 {
|
||||
color: #fff;
|
||||
}
|
||||
h2 {
|
||||
color: var(--color-highlight);
|
||||
color: #1f2937;
|
||||
}
|
||||
pre {
|
||||
background: #0f0f23;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
border-radius: 8px;
|
||||
border-left: 3px solid #5da9e9;
|
||||
border-left: 3px solid #1e5f8a;
|
||||
}
|
||||
pre code {
|
||||
background: transparent;
|
||||
@@ -35,7 +41,7 @@ pre code {
|
||||
}
|
||||
code {
|
||||
background: #1a1a2e;
|
||||
color: #5da9e9;
|
||||
color: #5fb3e4;
|
||||
padding: 0.15em 0.4em;
|
||||
border-radius: 4px;
|
||||
}
|
||||
@@ -55,7 +61,7 @@ section.klausur footer {
|
||||
<!-- _footer: '' -->
|
||||
<!-- _backgroundColor: #000 -->
|
||||
|
||||

|
||||

|
||||
|
||||
# Dateiformate, Schnittstellen, Speichermedien & Distributionswege
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 438 KiB |
@@ -264,7 +264,6 @@ Wichtige Lektion für MedienethikerInnen
|
||||
# Lektionen für heute
|
||||
|
||||
* Technologie ist nie neutral
|
||||
* Steigerung der Rechenleistung ist immer dann nötig, wenn die angehäuften Datenmengen nicht mehr von Menschenhand berechnet werden können
|
||||
|
||||
|
||||
<!--
|
||||
|
||||
@@ -12,7 +12,7 @@ title: "Termin 2: Netzwerke, Protokolle & CSS"
|
||||
:root {
|
||||
--color-foreground: #1a1a2e;
|
||||
--color-highlight: #d63384;
|
||||
--color-dimmed: #4a4a6a;
|
||||
--color-dimmed: #dde0e4;
|
||||
}
|
||||
section.invert {
|
||||
--color-foreground: #fff;
|
||||
@@ -40,8 +40,8 @@ pre code {
|
||||
color: inherit;
|
||||
}
|
||||
code {
|
||||
background: #1a1a2e;
|
||||
color: #d63384;
|
||||
background: #f0e6eb;
|
||||
color: #1a1a2e;
|
||||
padding: 0.15em 0.4em;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
@@ -85,15 +85,10 @@ Hochschule der Medien Stuttgart
|
||||
|
||||
# Agenda
|
||||
|
||||
**Teil 1:**
|
||||
- Was ist JavaScript?
|
||||
- Variablen, Datentypen, Operatoren
|
||||
- Funktionen & Kontrollstrukturen
|
||||
|
||||
**Teil 2:**
|
||||
- Das DOM: HTML mit JS manipulieren
|
||||
- Events: Auf NutzerInnen reagieren
|
||||
- Projekt: Interaktive Webseite
|
||||
**Teil 1:** JavaScript-Grundlagen
|
||||
**Teil 2:** Das DOM
|
||||
**Teil 3:** Events
|
||||
**Teil 4:** Projekt & Ausblick
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ generate_index() {
|
||||
a.course{display:block;background:#fff;border-radius:12px;padding:1.5rem;text-decoration:none;color:inherit;box-shadow:0 1px 3px rgba(0,0,0,0.08);transition:all .2s ease;cursor:pointer}
|
||||
a.course:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.12)}
|
||||
.course-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
|
||||
.course-b .course-label{color:#5da9e9}
|
||||
.course-b .course-label{color:#1e5f8a}
|
||||
.course-c .course-label{color:#d63384}
|
||||
.course-title{font-size:1.15rem;font-weight:500;color:#1d1d1f;margin:.25rem 0}
|
||||
.course-info{font-size:.85rem;color:#86868b}
|
||||
|
||||
@@ -11,7 +11,7 @@ case "$COURSE" in
|
||||
TITLE="Dateiformate, Schnittstellen, Speichermedien & Distributionswege"
|
||||
SUBTITLE="223015b · Modul \"Technik 1\" · 1. Semester"
|
||||
SLIDES_URL="https://librete.ch/hdm/223015b"
|
||||
ACCENT_COLOR="#5da9e9"
|
||||
ACCENT_COLOR="#1e5f8a"
|
||||
ACCENT_LIGHT="#e8f4fc"
|
||||
;;
|
||||
223015c)
|
||||
@@ -166,6 +166,23 @@ cat > "$BUILD_DIR/index.html" << HEADER
|
||||
}
|
||||
footer a { color: $ACCENT_COLOR; text-decoration: none; }
|
||||
footer a:hover { text-decoration: underline; }
|
||||
.qr-section {
|
||||
margin-top: 2.5rem;
|
||||
padding: 1.5rem;
|
||||
background: #fff;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
|
||||
text-align: center;
|
||||
}
|
||||
.qr-code {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.qr-url {
|
||||
margin-top: 0.75rem;
|
||||
font-size: 0.85rem;
|
||||
color: #86868b;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
.termin-card {
|
||||
grid-template-columns: 1fr;
|
||||
@@ -240,6 +257,10 @@ done
|
||||
|
||||
cat >> "$BUILD_DIR/index.html" << FOOTER
|
||||
</div>
|
||||
<div class="qr-section">
|
||||
<img src="qr-index.svg" alt="QR Code" class="qr-code">
|
||||
<p class="qr-url">$SLIDES_URL</p>
|
||||
</div>
|
||||
<footer>
|
||||
<a href="mailto:mail@librete.ch">Kontakt</a> ·
|
||||
<a href="../">Alle Kurse</a>
|
||||
|
||||
@@ -6,6 +6,7 @@ section {
|
||||
background-color: #f0f8ff;
|
||||
color: #2c3e50;
|
||||
font-size: 0.85em;
|
||||
--color-dimmed: #e0e6eb;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@@ -21,13 +22,17 @@ ul, ol {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #ecf0f1;
|
||||
color: #2c3e50;
|
||||
section code {
|
||||
color: #1a1a1a;
|
||||
padding: 2px 4px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
/* Preserve explicit SVG fill colors */
|
||||
section svg *[fill] {
|
||||
fill: revert;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: 4px solid #3498db;
|
||||
background-color: #ecf0f1;
|
||||
|
||||
Reference in new issue
Block a user