diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..3f5b38b --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,68 @@ +name: Seite bauen und veröffentlichen + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + bauen: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.3" + bundler-cache: true + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Seite bauen + run: bundle exec jekyll build + env: + JEKYLL_ENV: production + - name: Ausgabe prüfen + run: python werkzeug/pruefe_ausgabe.py + - name: Verweise prüfen + uses: lycheeverse/lychee-action@v2 + with: + args: >- + --no-progress --accept 200,206,429 + --root-dir "${{ github.workspace }}/_site" + --exclude-path _site/assets + '_site/**/*.html' + # --root-dir ist nötig, sonst meldet lychee jeden wurzelrelativen Pfad + # als Fehler ("Cannot resolve root-relative link") - beim ersten Lauf + # waren das 392 von 479 Verweisen und der Bericht damit unlesbar. + # + # Absichtlich nicht fehlschlagend: Fremde Seiten verschwinden, ohne + # dass die eigene Veröffentlichung daran scheitern soll. Die internen + # Verweise prüft pruefe_ausgabe.py, und das schlägt sehr wohl fehl. + # Bis Schritt 1 der DNS-Umstellung meldet lychee hier zu Recht + # forum.conspiratio.net als nicht erreichbar - die Subdomain gibt es + # noch nicht. + fail: false + - uses: actions/upload-pages-artifact@v3 + with: + path: _site + + veroeffentlichen: + needs: bauen + if: github.ref == 'refs/heads/main' + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deploy.outputs.page_url }} + steps: + - id: deploy + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6a82177 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +_site/ +.jekyll-cache/ +.jekyll-metadata +rohbilder/ diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..b3a17cc --- /dev/null +++ b/Gemfile @@ -0,0 +1,8 @@ +source "https://rubygems.org" + +gem "jekyll", "~> 4.3.4" +gem "jekyll-feed", "~> 0.17" +gem "jekyll-seo-tag", "~> 2.8" +gem "jekyll-sitemap", "~> 1.4" +gem "jekyll-redirect-from", "~> 0.16" +gem "webrick", "~> 1.8" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..9de51c9 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,170 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.9.0) + public_suffix (>= 2.0.2, < 8.0) + bigdecimal (4.1.2) + colorator (1.1.0) + concurrent-ruby (1.3.8) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.17.4) + ffi (1.17.4-aarch64-linux-gnu) + ffi (1.17.4-aarch64-linux-musl) + ffi (1.17.4-arm-linux-gnu) + ffi (1.17.4-arm-linux-musl) + ffi (1.17.4-arm64-darwin) + ffi (1.17.4-x86-linux-gnu) + ffi (1.17.4-x86-linux-musl) + ffi (1.17.4-x86_64-darwin) + ffi (1.17.4-x86_64-linux-gnu) + ffi (1.17.4-x86_64-linux-musl) + forwardable-extended (2.6.0) + google-protobuf (4.36.1) + bigdecimal + rake (~> 13.3) + google-protobuf (4.36.1-aarch64-linux-gnu) + bigdecimal + rake (~> 13.3) + google-protobuf (4.36.1-aarch64-linux-musl) + bigdecimal + rake (~> 13.3) + google-protobuf (4.36.1-arm64-darwin) + bigdecimal + rake (~> 13.3) + google-protobuf (4.36.1-x86-linux-gnu) + bigdecimal + rake (~> 13.3) + google-protobuf (4.36.1-x86-linux-musl) + bigdecimal + rake (~> 13.3) + google-protobuf (4.36.1-x86_64-darwin) + bigdecimal + rake (~> 13.3) + google-protobuf (4.36.1-x86_64-linux-gnu) + bigdecimal + rake (~> 13.3) + google-protobuf (4.36.1-x86_64-linux-musl) + bigdecimal + rake (~> 13.3) + http_parser.rb (0.8.1) + i18n (1.15.2) + concurrent-ruby (~> 1.0) + jekyll (4.3.4) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (>= 0.3.6, < 0.5) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-feed (0.17.0) + jekyll (>= 3.7, < 5.0) + jekyll-redirect-from (0.16.0) + jekyll (>= 3.3, < 5.0) + jekyll-sass-converter (3.1.0) + sass-embedded (~> 1.75) + jekyll-seo-tag (2.9.0) + jekyll (>= 3.8, < 5.0) + jekyll-sitemap (1.4.0) + jekyll (>= 3.7, < 5.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.5.2) + rexml (>= 3.4.4) + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.4) + listen (3.10.0) + logger + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + logger (1.7.0) + mercenary (0.4.0) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (7.0.5) + rake (13.4.2) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) + ffi (~> 1.0) + rexml (3.4.4) + rouge (4.7.0) + safe_yaml (1.0.5) + sass-embedded (1.104.0) + google-protobuf (~> 4.31) + rake (>= 13) + sass-embedded (1.104.0-aarch64-linux-android) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-aarch64-linux-gnu) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-aarch64-linux-musl) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-arm-linux-androideabi) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-arm-linux-gnueabihf) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-arm-linux-musleabihf) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-arm64-darwin) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-riscv64-linux-android) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-riscv64-linux-gnu) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-riscv64-linux-musl) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-x86_64-darwin) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-x86_64-linux-android) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-x86_64-linux-gnu) + google-protobuf (~> 4.31) + sass-embedded (1.104.0-x86_64-linux-musl) + google-protobuf (~> 4.31) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.6.0) + webrick (1.9.2) + +PLATFORMS + aarch64-linux-android + aarch64-linux-gnu + aarch64-linux-musl + arm-linux-androideabi + arm-linux-gnu + arm-linux-gnueabihf + arm-linux-musl + arm-linux-musleabihf + arm64-darwin + riscv64-linux-android + riscv64-linux-gnu + riscv64-linux-musl + ruby + x86-linux-gnu + x86-linux-musl + x86_64-darwin + x86_64-linux-android + x86_64-linux-gnu + x86_64-linux-musl + +DEPENDENCIES + jekyll (~> 4.3.4) + jekyll-feed (~> 0.17) + jekyll-redirect-from (~> 0.16) + jekyll-seo-tag (~> 2.8) + jekyll-sitemap (~> 1.4) + webrick (~> 1.8) + +BUNDLED WITH + 2.5.22 diff --git a/Jurist_aufsuchen.png b/Jurist_aufsuchen.png deleted file mode 100644 index f884109..0000000 Binary files a/Jurist_aufsuchen.png and /dev/null differ diff --git a/OLDENGL.TTF b/OLDENGL.TTF deleted file mode 100644 index bed2c5b..0000000 Binary files a/OLDENGL.TTF and /dev/null differ diff --git a/README.md b/README.md index a22047e..4e6ff49 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,76 @@ # Conspiratio.Website -Die aktuelle Website von https://conspiratio.net + +Die Website von — eine statische Jekyll-Seite, die über GitHub +Actions nach GitHub Pages veröffentlicht wird. + +## Eine Newsmeldung schreiben + +Eine Meldung ist **eine Datei** in `_posts/`, benannt `JJJJ-MM-TT-kuerzel.md`: + +```markdown +--- +title: "Der Godot-Client ist da" +excerpt: "Ein Satz, der auf der Startseite und im Archiv steht." +--- + +Werte Spieler, + +… Fließtext in Markdown … +``` + +Drei Wege, sie anzulegen: + +1. **Auf github.com**, ganz ohne lokales Repo: „Add file" → Dateiname eintippen → schreiben + → „Commit". Nach ein bis zwei Minuten ist sie online. Das geht auch vom Telefon. +2. Lokal anlegen und pushen. +3. `powershell -File werkzeug/neue-news.ps1 "Titel der Meldung"` legt die Datei mit + fertigem Kopf und heutigem Datum an. + +Archiv, Anrisse auf der Startseite, Einzelseite und RSS-Feed entstehen daraus von selbst. + +## Ein neues Release eintragen + +Einen Eintrag oben in `_data/downloads.yml` ergänzen. Die Downloadseite nimmt den obersten +Eintrag als aktuelle Fassung, alle weiteren als Archiv. + +## Lokal bauen + +Braucht **kein Ruby**, nur Docker: + +```powershell +powershell -File werkzeug/bauen.ps1 # einmalig bauen nach _site/ +powershell -File werkzeug/bauen.ps1 -Vorschau # Server auf http://localhost:4000 +python werkzeug/pruefe_ausgabe.py # prueft die gebaute Seite +``` + +`pruefe_ausgabe.py` tritt an die Stelle einer Testsuite: Es prüft Sprache, Navigation, +Kontrast in beiden Themen, tote interne Verweise, Alternativtexte, die Weiterleitungen der +alten Adressen und die Vollständigkeit des Newsarchivs. Es läuft auch in CI; ein Fehler +verhindert die Veröffentlichung. + +## Bilder + +`python werkzeug/bilder_aufbereiten.py` skaliert die Vorlagen aus `quellen/` und +`rohbilder/` nach `assets/bilder/` (WebP, 1000 px) und schreibt `_data/bilder.yml`. +Die Alternativtexte stehen in diesem Skript; ein Motiv ohne Alternativtext wird nicht +aufbereitet. + +## Aufbau + +| Ort | Inhalt | +|---|---| +| `_layouts/`, `_includes/` | Seitengerüst, Navigation, Fußzeile, Schalter | +| `_data/` | Navigation, Downloads, Team, Links, Bilder | +| `_posts/` | Newsmeldungen | +| `assets/` | CSS, JavaScript, Schriften, fertige Bilder | +| `quellen/` | unbearbeitete Bildvorlagen (nicht veröffentlicht) | +| `werkzeug/` | Bau-, Prüf- und Hilfsskripte | +| `docs/` | Spec, Implementierungsplan, Anleitung zur DNS-Umstellung | + +Die Umstellung der Domain auf GitHub Pages beschreibt +[`docs/umstellung-dns.md`](docs/umstellung-dns.md). + +## Lizenz + +GNU General Public License v3.0. Die Schriftarten unter `assets/schriften/` stehen unter +der SIL Open Font License; ihre Lizenztexte liegen daneben. diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..364ed4f --- /dev/null +++ b/_config.yml @@ -0,0 +1,44 @@ +title: Conspiratio +# Kurzfassung fuer den Browser-Tab. Ohne sie haengt jekyll-seo-tag auf der +# Startseite die ganze description an den Titel - das ergibt einen Tab-Titel +# ueber drei Zeilen. +tagline: Freie Wirtschaftssimulation der frühen Neuzeit +description: >- + Conspiratio ist eine freie Wirtschaftssimulation der frühen Neuzeit: Handel, Ämter, + Intrigen und eine Dynastie, die den eigenen Tod überdauern muss. +url: https://conspiratio.net +lang: de + +plugins: + - jekyll-feed + - jekyll-seo-tag + - jekyll-sitemap + - jekyll-redirect-from + +permalink: /news/:year/:month/:day/:title/ + +defaults: + - scope: { path: "", type: posts } + values: { layout: news } + - scope: { path: "" } + values: { layout: seite } + +feed: + path: feed.xml + posts_limit: 50 # Vorgabe waere 10; der Feed soll das ganze Archiv tragen + +exclude: + - Gemfile + - Gemfile.lock + - README.md + - LICENSE + - docs/ + - werkzeug/ + - massenmails/ + - rohbilder/ + - "*.txt" + + # Quellmaterial: die unbearbeiteten Vorlagen der Bilder unter assets/bilder/. + # Sie bleiben im Repo, damit sie sich neu aufbereiten lassen, gehoeren aber + # nicht in die Ausgabe - ausgeliefert werden nur die fertigen WebP. + - quellen/ diff --git a/_data/bilder.yml b/_data/bilder.yml new file mode 100644 index 0000000..1d2bce2 --- /dev/null +++ b/_data/bilder.yml @@ -0,0 +1,80 @@ +# Erzeugt von werkzeug/bilder_aufbereiten.py - nicht von Hand pflegen. +# Alternativtexte stehen in jenem Skript. + +- datei: godot-kontor.webp + alt: "Das Kontor: der Schreibtisch, von dem aus alle Bereiche eines Zuges angesteuert werden" + client: godot + breite: 1000 + hoehe: 562 + +- datei: godot-weltkarte.webp + alt: "Die Weltkarte mit den vierzehn Städten zwischen Wattern, Meadowvalley und Redcoast" + client: godot + breite: 1000 + hoehe: 562 + +- datei: godot-schreibstube.webp + alt: "Die Schreibstube: Kreditbuch, Gesetze und Akten auf dem Tisch" + client: godot + breite: 1000 + hoehe: 562 + +- datei: godot-hinterzimmer.webp + alt: "Das Hinterzimmer: Gift, Würfel, eine Bombe und ein versiegelter Brief im Kerzenlicht" + client: godot + breite: 1000 + hoehe: 562 + +- datei: godot-gesetze.webp + alt: "Die Strafgesetze einer Stadt - Spionage verboten, Anschwärzen erlaubt" + client: godot + breite: 1000 + hoehe: 562 + +- datei: winforms-kontor.webp + alt: "Das Kontor im bisherigen Client" + client: winforms + breite: 1000 + hoehe: 562 + +- datei: winforms-schreibstube-gesetze.webp + alt: "Die Gesetzestafel in der Schreibstube" + client: winforms + breite: 1000 + hoehe: 562 + +- datei: winforms-amtsuebersicht.webp + alt: "Die Ämterübersicht mit Amtsinhabern und Bewerbungen" + client: winforms + breite: 1000 + hoehe: 562 + +- datei: winforms-beziehungen-kontrahenten.webp + alt: "Die Beziehungen zu den Kontrahenten" + client: winforms + breite: 1000 + hoehe: 562 + +- datei: winforms-kirche.webp + alt: "Die Kirche" + client: winforms + breite: 1000 + hoehe: 562 + +- datei: winforms-produktion.webp + alt: "Die Produktion einer Werkstätte" + client: winforms + breite: 1000 + hoehe: 562 + +- datei: winforms-stadtinfos.webp + alt: "Die Stadtinformationen mit Lagerbeständen und Preisen" + client: winforms + breite: 1000 + hoehe: 562 + +- datei: winforms-zollburg-verwalten.webp + alt: "Eine Zollburg verwalten" + client: winforms + breite: 1000 + hoehe: 562 diff --git a/_data/downloads.yml b/_data/downloads.yml new file mode 100644 index 0000000..f4cbe96 --- /dev/null +++ b/_data/downloads.yml @@ -0,0 +1,51 @@ +# Ein neues Release ist ein Eintrag hier, keine Änderung am Seitentext. +# msi leer lassen, wenn es kein GitHub-Release mit Installationsprogramm gibt +# (1.4.1 und 1.4.2 lagen nur auf dem alten Webspeicher). + +- version: "1.4.8" + datum: 2026-01-01 + groesse: "236 MB" + msi: https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.8/Conspiratio.1.4.8.0.msi + changelog: https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#148---01012026 + +- version: "1.4.7" + datum: 2024-12-24 + groesse: "234 MB" + msi: https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.7/Conspiratio.1.4.7.0.msi + changelog: https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#147---24122024 + +- version: "1.4.6" + datum: 2023-12-24 + groesse: "234 MB" + msi: https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.6/Conspiratio.1.4.6.0.msi + changelog: https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#146---24122023 + +- version: "1.4.5" + datum: 2022-12-24 + groesse: "231 MB" + msi: https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.5/Conspiratio.1.4.5.0.msi + changelog: https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#145---24122022 + +- version: "1.4.4" + datum: 2021-12-24 + groesse: "218 MB" + msi: https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.4/Conspiratio.1.4.4.0.msi + changelog: https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#144---24122021 + +- version: "1.4.3" + datum: 2020-12-24 + groesse: "218 MB" + msi: https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.3/Conspiratio.1.4.3.0.msi + changelog: https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#143---24122020 + +- version: "1.4.2" + datum: 2019-12-24 + groesse: "217 MB" + msi: + changelog: https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#142---24122019 + +- version: "1.4.1" + datum: 2018-12-24 + groesse: "217 MB" + msi: + changelog: https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#141---24122018 diff --git a/_data/links.yml b/_data/links.yml new file mode 100644 index 0000000..ea4315e --- /dev/null +++ b/_data/links.yml @@ -0,0 +1,23 @@ +- titel: Mittelland AD (Fugger-2-Neuauflage) + ziel: https://store.steampowered.com/app/3890400/Mittelland_AD/ + beschreibung: >- + Die Neuauflage von Fugger 2 unter neuem Titel „Mittelland AD" auf Steam + (von Lars Martensen und dem Team von „Die Gulde"). + +- titel: Commercia + ziel: https://game.commercia.pro + beschreibung: Eine rundenbasierte Handelssimulation für ein bis sechs Spieler. + +- titel: gilde2.de + ziel: http://www.gilde2.de + beschreibung: Große Gemeinschaft zu den Spielen Die Gilde, Die Gilde 2 und Die Gilde 3. + +- titel: Wikipedia – Die Fugger II + ziel: https://de.wikipedia.org/wiki/Die_Fugger_II + beschreibung: Der Wikipedia-Artikel zum Kultspiel, dem Conspiratio nacheifert. + +- titel: Die Gulde + ziel: https://github.com/EuleMitKeule/die-gulde + beschreibung: >- + Eine mittelalterliche Wirtschaftssimulation, umgesetzt mit Unity, die sich der + Ideen von „Die Gilde" bedient. diff --git a/_data/navigation.yml b/_data/navigation.yml new file mode 100644 index 0000000..ce88289 --- /dev/null +++ b/_data/navigation.yml @@ -0,0 +1,15 @@ +- titel: Das Spiel + ziel: /spiel/ +- titel: Bilder + ziel: /bilder/ +- titel: Downloads + ziel: /downloads/ +- titel: News + ziel: /news/ +- titel: Handbuch + ziel: https://conspiratio.github.io/Conspiratio.Wiki/ + extern: true +- titel: Mitmachen + ziel: /mitmachen/ +- titel: Kontakt + ziel: /kontakt/ diff --git a/_data/team.yml b/_data/team.yml new file mode 100644 index 0000000..d88c0b0 --- /dev/null +++ b/_data/team.yml @@ -0,0 +1,6 @@ +- name: Marco Berger (DerEinzehnte) + rolle: Gründung, ursprüngliche Projektleitung, Programmierung, Konzeption +- name: Andreas Käfer (beetle) + rolle: Gründung, Grafik und Design, Konzeption, Homepage +- name: Tobias (Sir Toby) + rolle: Derzeitige Projektleitung, Programmierung, Konzeption, Homepage diff --git a/_includes/fuss.html b/_includes/fuss.html new file mode 100644 index 0000000..f011f28 --- /dev/null +++ b/_includes/fuss.html @@ -0,0 +1,10 @@ + diff --git a/_includes/navigation.html b/_includes/navigation.html new file mode 100644 index 0000000..904f111 --- /dev/null +++ b/_includes/navigation.html @@ -0,0 +1,25 @@ +{%- comment -%} +Bewusst ohne
-Aufklapper: Ein geschlossenes
verbirgt seine +Kinder ueber einen Mechanismus des Browsers, den sich per Media Query nicht +verlaesslich wieder aufheben laesst - die Navigation war dadurch oberhalb von +700 px unsichtbar UND nicht zu oeffnen. Sieben kurze Punkte brechen auf dem +Telefon in zwei bis drei Zeilen um; das braucht keinen Aufklapper und ist +sichtbar statt versteckt. +{%- endcomment -%} + diff --git a/_includes/news-anriss.html b/_includes/news-anriss.html new file mode 100644 index 0000000..72db107 --- /dev/null +++ b/_includes/news-anriss.html @@ -0,0 +1,6 @@ + diff --git a/_includes/schalter.html b/_includes/schalter.html new file mode 100644 index 0000000..a1940d3 --- /dev/null +++ b/_includes/schalter.html @@ -0,0 +1,16 @@ +{%- comment -%} +Die Beschriftungen stehen hier im Zustand "noch nichts gewaehlt". Sobald +einstellungen.js laeuft, setzt es sie passend zum wirksamen Thema. Ohne +JavaScript bleiben die Knoepfe sichtbar, aber wirkungslos - deshalb tragen sie +dann auch keine irrefuehrende Beschriftung, sondern die neutrale Ansage dessen, +was sie anbieten wuerden. +{%- endcomment -%} +
+ + + {%- if page.lang == "en" %} + DE + {%- else %} + EN + {%- endif %} +
diff --git a/_layouts/basis.html b/_layouts/basis.html new file mode 100644 index 0000000..f620433 --- /dev/null +++ b/_layouts/basis.html @@ -0,0 +1,40 @@ + + + + + + {%- seo -%} + + + + + + + + Zum Inhalt springen +
+ Conspiratio +
+ + {%- include navigation.html -%} + {%- include schalter.html -%} +
+ {{ content }} +
+ {%- include fuss.html -%} + + + diff --git a/_layouts/news.html b/_layouts/news.html new file mode 100644 index 0000000..e59e4b7 --- /dev/null +++ b/_layouts/news.html @@ -0,0 +1,14 @@ +--- +layout: basis +--- +
+

{{ page.title }}

+

+ {%- if page.bild %} + {{ page.bild_alt | default: page.title }} + {%- endif %} + {{ content }} +

← Alle Meldungen

+
diff --git a/_layouts/seite.html b/_layouts/seite.html new file mode 100644 index 0000000..5225f8a --- /dev/null +++ b/_layouts/seite.html @@ -0,0 +1,7 @@ +--- +layout: basis +--- +
+

{{ page.title }}

+ {{ content }} +
diff --git a/_layouts/start.html b/_layouts/start.html new file mode 100644 index 0000000..9442b96 --- /dev/null +++ b/_layouts/start.html @@ -0,0 +1,20 @@ +--- +layout: basis +--- +
+ Ein Schreibtisch bei Kerzenlicht: Landkarte, Federkiel, Münzen, ein Dolch und ein versiegelter Brief +
+

{{ site.description }}

+

Herunterladen

+
+
+ +
+

Ankündigungen

+ {%- for meldung in site.posts limit: 3 %} + {% include news-anriss.html meldung=meldung %} + {%- endfor %} +

Alle Meldungen

+
diff --git a/_posts/2018-12-24-conspiratio-1-4-1.md b/_posts/2018-12-24-conspiratio-1-4-1.md new file mode 100644 index 0000000..1a41c80 --- /dev/null +++ b/_posts/2018-12-24-conspiratio-1-4-1.md @@ -0,0 +1,12 @@ +--- +title: "Conspiratio 1.4.1 zu Weihnachten" +excerpt: "Das Weihnachtsupdate 2018." +--- + +Zum Weihnachtsfest 2018 ist Conspiratio 1.4.1 erschienen. + +- [Changelog](https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#141---24122018) + +Von dieser Fassung gibt es kein Installationsprogramm mehr zum Herunterladen: +Sie lag nur auf dem alten Webspeicher und wurde nie als GitHub-Release +veröffentlicht. Der Changelog ist erhalten. diff --git a/_posts/2019-12-24-conspiratio-1-4-2.md b/_posts/2019-12-24-conspiratio-1-4-2.md new file mode 100644 index 0000000..912aa84 --- /dev/null +++ b/_posts/2019-12-24-conspiratio-1-4-2.md @@ -0,0 +1,12 @@ +--- +title: "Conspiratio 1.4.2 zu Weihnachten" +excerpt: "Das Weihnachtsupdate 2019." +--- + +Zum Weihnachtsfest 2019 ist Conspiratio 1.4.2 erschienen. + +- [Changelog](https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#142---24122019) + +Von dieser Fassung gibt es kein Installationsprogramm mehr zum Herunterladen: +Sie lag nur auf dem alten Webspeicher und wurde nie als GitHub-Release +veröffentlicht. Der Changelog ist erhalten. diff --git a/_posts/2020-12-24-conspiratio-1-4-3.md b/_posts/2020-12-24-conspiratio-1-4-3.md new file mode 100644 index 0000000..73d83bb --- /dev/null +++ b/_posts/2020-12-24-conspiratio-1-4-3.md @@ -0,0 +1,9 @@ +--- +title: "Conspiratio 1.4.3 zu Weihnachten" +excerpt: "Das Weihnachtsupdate 2020." +--- + +Zum Weihnachtsfest 2020 ist Conspiratio 1.4.3 erschienen. + +- [Conspiratio.1.4.3.0.msi](https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.3/Conspiratio.1.4.3.0.msi) (218 MB) +- [Changelog](https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#143---24122020) diff --git a/_posts/2021-12-24-conspiratio-1-4-4.md b/_posts/2021-12-24-conspiratio-1-4-4.md new file mode 100644 index 0000000..0f7b51d --- /dev/null +++ b/_posts/2021-12-24-conspiratio-1-4-4.md @@ -0,0 +1,24 @@ +--- +title: "Conspiratio 1.4.4 zu Weihnachten" +excerpt: "Viele Korrekturen und kleinere Verbesserungen; der Startschuss für den neuen Client ist noch nicht gefallen." +--- + +Liebe Spieler, + +zuerst einmal wünschen wir euch fröhliche Weihnachten und entspannte Feiertage. Auch dieses +Jahr gibt es wieder ein kleines Update von Conspiratio: +[Conspiratio 1.4.4](https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.4/Conspiratio.1.4.4.0.msi) + +Es gab viele Korrekturen und kleinere Verbesserungen, hier der +[Changelog](https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#144---24122021). + +Der Startschuss für den neuen Unity-Client ist aufgrund von Zeitmangel leider noch nicht +gefallen, für das nächste Jahr aber fest eingeplant. Interessierte Helfer sind weiterhin +willkommen. + +Feedback, Wünsche oder Anregungen gerne über [Discord](https://discord.gg/dxkC5DPgRY) oder im +[Forum](https://forum.conspiratio.net/). + +Wir wünschen euch viel Spaß und einen guten Rutsch ins neue Jahr, + +Euer Conspiratio Team diff --git a/_posts/2022-12-24-conspiratio-1-4-5.md b/_posts/2022-12-24-conspiratio-1-4-5.md new file mode 100644 index 0000000..5f133ad --- /dev/null +++ b/_posts/2022-12-24-conspiratio-1-4-5.md @@ -0,0 +1,25 @@ +--- +title: "Conspiratio 1.4.5 zu Weihnachten" +excerpt: "Viele Korrekturen und Verbesserungen aus eurem Feedback - und erste Prototypen in Unity und Godot." +--- + +Werte Spieler, + +frohe Weihnachten! Es ist wieder einmal soweit, es gibt Geschenke, so auch dieses Jahr in Form +eines kleinen Conspiratio-Updates: +[Conspiratio 1.4.5](https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.5/Conspiratio.1.4.5.0.msi) + +Dank eures zahlreichen Feedbacks aus dem vergangenen Jahr gibt es viele Korrekturen, +Verbesserungen sowie ein paar Kleinigkeiten, hier der +[Changelog](https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#145---24122022). + +Ich habe geplant, um Erfahrungen für den neuen Client zu sammeln, jeweils einen Prototyp sowohl +in Unity als auch in Godot zu erstellen. Damit habe ich auch bereits angefangen, bin aber noch +nicht so weit gekommen wie erhofft. Mehr dazu in Kürze. + +Feedback, Wünsche oder Anregungen gerne über [Discord](https://discord.gg/dxkC5DPgRY) oder im +[Forum](https://forum.conspiratio.net/). + +Viel Spaß, angenehme Feiertage und einen guten Rutsch ins neue Jahr, + +Euer Conspiratio Team diff --git a/_posts/2023-12-24-conspiratio-1-4-6.md b/_posts/2023-12-24-conspiratio-1-4-6.md new file mode 100644 index 0000000..041e6e7 --- /dev/null +++ b/_posts/2023-12-24-conspiratio-1-4-6.md @@ -0,0 +1,9 @@ +--- +title: "Conspiratio 1.4.6 zu Weihnachten" +excerpt: "Das Weihnachtsupdate 2023." +--- + +Zum Weihnachtsfest 2023 ist Conspiratio 1.4.6 erschienen. + +- [Conspiratio.1.4.6.0.msi](https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.6/Conspiratio.1.4.6.0.msi) (234 MB) +- [Changelog](https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#146---24122023) diff --git a/_posts/2024-12-24-conspiratio-1-4-7.md b/_posts/2024-12-24-conspiratio-1-4-7.md new file mode 100644 index 0000000..dcf7b71 --- /dev/null +++ b/_posts/2024-12-24-conspiratio-1-4-7.md @@ -0,0 +1,25 @@ +--- +title: "Conspiratio 1.4.7 zu Weihnachten" +excerpt: "Ein kleines Update - der Dezember ging krankheitsbedingt weitgehend verloren." +--- + +Werte Spieler, + +frohe Weihnachten! Wie schon angekündigt habe ich einen Großteil des Dezembers krank +verbracht, so dass ich in meiner freien Zeit nicht wie geplant an Conspiratio arbeiten konnte, +sondern mich erholen musste. Daher wieder nur ein kleines Update: +[Conspiratio 1.4.7](https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.7/Conspiratio.1.4.7.0.msi) + +Hier findet ihr Details zu den Änderungen: +[Changelog](https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#147---24122024) + +Eine erste Version des neuen Godot-Clients verschiebt sich auf Anfang nächsten Jahres. +Unterstützung in allen Bereichen wird weiterhin gesucht. Beteiligt euch gerne an den neuen +Umfragen, diese findet ihr im Forum und in Discord. + +Feedback, Wünsche oder Anregungen gerne über [Discord](https://discord.gg/dxkC5DPgRY) oder im +[Forum](https://forum.conspiratio.net/). + +Viel Spaß, schöne Feiertage und einen guten Rutsch, + +Euer Sir Toby und das Conspiratio Team diff --git a/_posts/2026-01-01-conspiratio-1-4-8.md b/_posts/2026-01-01-conspiratio-1-4-8.md new file mode 100644 index 0000000..eb387e3 --- /dev/null +++ b/_posts/2026-01-01-conspiratio-1-4-8.md @@ -0,0 +1,25 @@ +--- +title: "Conspiratio 1.4.8 ist erschienen" +excerpt: "Das krankheitsbedingt verschobene Weihnachts-Update behebt die gemeldeten Abstürze und Hänger." +--- + +Liebe Spieler, + +ein gesundes und frohes neues Jahr euch allen! Leider musste das traditionelle +Weihnachts-Update krankheitsbedingt etwas verschoben werden. Nun habe ich aber die Zeit +gefunden, das Update mit der wichtigen Korrektur zu den Abstürzen und Hängern zu +veröffentlichen: +[Conspiratio 1.4.8](https://github.com/Conspiratio/Conspiratio.WinForms/releases/download/1.4.8/Conspiratio.1.4.8.0.msi) + +Hier findet ihr Details zu den Änderungen: +[Changelog](https://github.com/Conspiratio/Conspiratio.WinForms/blob/main/CHANGELOG.md#148---01012026) + +Eine erste Version des neuen Godot-Clients verschiebt sich leider noch weiter. +Unterstützung in allen Bereichen wird weiterhin gesucht! + +Feedback, Wünsche oder Anregungen gerne über [Discord](https://discord.gg/dxkC5DPgRY) +oder im [Forum](https://forum.conspiratio.net/viewtopic.php?p=204). + +Viel Spaß und einen guten Start ins neue Jahr, + +Euer Sir Toby und das Conspiratio Team diff --git a/assets/bilder/aemter-stadt-politisch.webp b/assets/bilder/aemter-stadt-politisch.webp new file mode 100644 index 0000000..4f2b5f1 Binary files /dev/null and b/assets/bilder/aemter-stadt-politisch.webp differ diff --git a/assets/bilder/godot-gesetze.webp b/assets/bilder/godot-gesetze.webp new file mode 100644 index 0000000..37408a4 Binary files /dev/null and b/assets/bilder/godot-gesetze.webp differ diff --git a/assets/bilder/godot-hinterzimmer.webp b/assets/bilder/godot-hinterzimmer.webp new file mode 100644 index 0000000..78efdb6 Binary files /dev/null and b/assets/bilder/godot-hinterzimmer.webp differ diff --git a/assets/bilder/godot-kontor.webp b/assets/bilder/godot-kontor.webp new file mode 100644 index 0000000..a94d6e9 Binary files /dev/null and b/assets/bilder/godot-kontor.webp differ diff --git a/assets/bilder/godot-schreibstube.webp b/assets/bilder/godot-schreibstube.webp new file mode 100644 index 0000000..2dc321f Binary files /dev/null and b/assets/bilder/godot-schreibstube.webp differ diff --git a/assets/bilder/godot-weltkarte.webp b/assets/bilder/godot-weltkarte.webp new file mode 100644 index 0000000..cd63da8 Binary files /dev/null and b/assets/bilder/godot-weltkarte.webp differ diff --git a/assets/bilder/icon.png b/assets/bilder/icon.png new file mode 100644 index 0000000..c5578b5 Binary files /dev/null and b/assets/bilder/icon.png differ diff --git a/assets/bilder/kontor-aufmacher.webp b/assets/bilder/kontor-aufmacher.webp new file mode 100644 index 0000000..e885531 Binary files /dev/null and b/assets/bilder/kontor-aufmacher.webp differ diff --git a/assets/bilder/winforms-amtsuebersicht.webp b/assets/bilder/winforms-amtsuebersicht.webp new file mode 100644 index 0000000..7eb48c8 Binary files /dev/null and b/assets/bilder/winforms-amtsuebersicht.webp differ diff --git a/assets/bilder/winforms-beziehungen-kontrahenten.webp b/assets/bilder/winforms-beziehungen-kontrahenten.webp new file mode 100644 index 0000000..4f585a9 Binary files /dev/null and b/assets/bilder/winforms-beziehungen-kontrahenten.webp differ diff --git a/assets/bilder/winforms-kirche.webp b/assets/bilder/winforms-kirche.webp new file mode 100644 index 0000000..e45119b Binary files /dev/null and b/assets/bilder/winforms-kirche.webp differ diff --git a/assets/bilder/winforms-kontor.webp b/assets/bilder/winforms-kontor.webp new file mode 100644 index 0000000..181acb4 Binary files /dev/null and b/assets/bilder/winforms-kontor.webp differ diff --git a/assets/bilder/winforms-produktion.webp b/assets/bilder/winforms-produktion.webp new file mode 100644 index 0000000..6cb4da0 Binary files /dev/null and b/assets/bilder/winforms-produktion.webp differ diff --git a/assets/bilder/winforms-schreibstube-gesetze.webp b/assets/bilder/winforms-schreibstube-gesetze.webp new file mode 100644 index 0000000..9ed8317 Binary files /dev/null and b/assets/bilder/winforms-schreibstube-gesetze.webp differ diff --git a/assets/bilder/winforms-stadtinfos.webp b/assets/bilder/winforms-stadtinfos.webp new file mode 100644 index 0000000..40b5970 Binary files /dev/null and b/assets/bilder/winforms-stadtinfos.webp differ diff --git a/assets/bilder/winforms-zollburg-verwalten.webp b/assets/bilder/winforms-zollburg-verwalten.webp new file mode 100644 index 0000000..3e18b17 Binary files /dev/null and b/assets/bilder/winforms-zollburg-verwalten.webp differ diff --git a/assets/bilder/zierbalken.webp b/assets/bilder/zierbalken.webp new file mode 100644 index 0000000..70a8310 Binary files /dev/null and b/assets/bilder/zierbalken.webp differ diff --git a/assets/css/conspiratio.css b/assets/css/conspiratio.css new file mode 100644 index 0000000..20b1fe0 --- /dev/null +++ b/assets/css/conspiratio.css @@ -0,0 +1,195 @@ +/* Conspiratio - conspiratio.net + Eine Datei, kein Framework. Die Custom Properties sind die einzige + Schaltstelle: Farben je Thema, Schriften je Schriftschalter. */ + +/* ---------- Schriften (selbst ausgeliefert, SIL OFL) ---------- */ +@font-face { font-family: "Grenze Gotisch"; src: url("/assets/schriften/grenze-gotisch-400.woff2") format("woff2"); + font-weight: 400; font-display: swap; } +@font-face { font-family: "EB Garamond"; src: url("/assets/schriften/eb-garamond-400.woff2") format("woff2"); + font-weight: 400; font-style: normal; font-display: swap; } +@font-face { font-family: "EB Garamond"; src: url("/assets/schriften/eb-garamond-400-kursiv.woff2") format("woff2"); + font-weight: 400; font-style: italic; font-display: swap; } +@font-face { font-family: "EB Garamond"; src: url("/assets/schriften/eb-garamond-600.woff2") format("woff2"); + font-weight: 600; font-style: normal; font-display: swap; } +@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/schriften/atkinson-hyperlegible-400.woff2") format("woff2"); + font-weight: 400; font-display: swap; } +@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/schriften/atkinson-hyperlegible-700.woff2") format("woff2"); + font-weight: 700; font-display: swap; } + +/* ---------- Helles Thema: das Pergament ---------- */ +:root { + --grund: #efe3c8; + --grund-erhoben: #f7eeda; + --schrift: #2a1d0d; + --schrift-leise: #5b4526; + --akzent: #8a5a12; + --akzent-hell: #6d4509; + --linie: #c9b48a; + + --schrift-zier: "Grenze Gotisch", "Palatino Linotype", serif; + --schrift-text: "EB Garamond", Georgia, serif; + --zeilenhoehe: 1.65; + --buchstabenabstand: 0; + --spaltenbreite: 38rem; /* rund 70 Zeichen */ +} + +/* ---------- Dunkles Thema: das Kontor bei Kerzenlicht ---------- */ +@media (prefers-color-scheme: dark) { + :root:not([data-thema="hell"]) { + --grund: #14100b; + --grund-erhoben: #1f1810; + --schrift: #ece0cb; + --schrift-leise: #b8a68b; + --akzent: #e0a84a; + --akzent-hell: #f2c477; + --linie: #3d3122; + } +} +:root[data-thema="dunkel"] { + --grund: #14100b; + --grund-erhoben: #1f1810; + --schrift: #ece0cb; + --schrift-leise: #b8a68b; + --akzent: #e0a84a; + --akzent-hell: #f2c477; + --linie: #3d3122; +} + +/* ---------- Gut lesbare Schrift ---------- */ +:root[data-schrift="lesbar"] { + --schrift-zier: "Atkinson Hyperlegible", system-ui, sans-serif; + --schrift-text: "Atkinson Hyperlegible", system-ui, sans-serif; + --zeilenhoehe: 1.8; + --buchstabenabstand: 0.01em; +} + +/* ---------- Grundlagen ---------- */ +*, *::before, *::after { box-sizing: border-box; } + +body { + margin: 0; + background: var(--grund); + color: var(--schrift); + font-family: var(--schrift-text); + font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem); + line-height: var(--zeilenhoehe); + letter-spacing: var(--buchstabenabstand); +} + +h1, h2, h3, .wortmarke { + font-family: var(--schrift-zier); + font-weight: 400; + line-height: 1.15; +} +h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin-top: 1.5rem; } +h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin-top: 2rem; } +h3 { font-size: 1.3rem; } + +a { color: var(--akzent); text-decoration-thickness: 1px; text-underline-offset: 0.15em; } +a:hover { color: var(--akzent-hell); } +:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; } + +img { max-width: 100%; height: auto; } + +.zum-inhalt { position: absolute; left: -9999px; } +.zum-inhalt:focus { + position: fixed; left: 0.5rem; top: 0.5rem; z-index: 10; + background: var(--grund-erhoben); padding: 0.5rem 1rem; +} + +.textspalte { max-width: var(--spaltenbreite); margin: 0 auto; padding: 0 1.25rem 4rem; } + +/* ---------- Kopf ---------- */ +.kopf { text-align: center; padding: 1.5rem 1rem 0.5rem; } +.wortmarke { + font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem); + text-decoration: none; color: var(--schrift); +} + +/* Der Holzbalken mit Fachwerkhaus, Kreuz, Hammer, Truhe, Schwert und Wagenrad + aus der alten Seite. Kein Hintergrundbild, sondern ein echtes: Gekachelt + zeigte er eine deutliche Naht (die Kanten weichen um 42 von 255 ab), und + beschneiden verbietet sich, weil die Symbole genau an den Raendern sitzen. + So skaliert er stattdessen mit - auf dem Telefon wird er schmaler. */ +.zierbalken { + display: block; + width: 100%; + max-width: 68rem; + margin: 0 auto; + border-block: 1px solid var(--linie); +} +:root[data-thema="dunkel"] .zierbalken { filter: brightness(0.72); } +@media (prefers-color-scheme: dark) { + :root:not([data-thema="hell"]) .zierbalken { filter: brightness(0.72); } +} + +/* ---------- Navigation ---------- */ +.hauptnavigation { background: var(--grund-erhoben); border-bottom: 1px solid var(--linie); } +.hauptnavigation ul { + list-style: none; margin: 0; padding: 0.5rem 1rem; + display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; justify-content: center; +} +.hauptnavigation a { + text-decoration: none; font-family: var(--schrift-zier); font-size: 1.25rem; +} +.hauptnavigation a[aria-current="page"] { color: var(--schrift); text-decoration: underline; } + +@media (max-width: 700px) { + .hauptnavigation ul { gap: 0.25rem 1rem; padding: 0.6rem 0.75rem; } + .hauptnavigation a { font-size: 1.15rem; } +} + +/* ---------- Schalter ---------- */ +.schalter { + display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; + padding: 0.6rem 0.5rem 0; +} +.schalter button, .schalter a { + background: none; border: 1px solid var(--linie); color: var(--schrift-leise); + border-radius: 3px; padding: 0.3rem 0.7rem; cursor: pointer; + font: inherit; font-size: 0.9rem; line-height: 1.2; text-decoration: none; +} +.schalter button:hover, .schalter a:hover { color: var(--schrift); border-color: var(--akzent); } +.schalter button[aria-pressed="true"] { color: var(--schrift); border-color: var(--akzent); } + +/* ---------- Bausteine ---------- */ +.knopf { + display: inline-block; background: var(--akzent); color: var(--grund); + padding: 0.7rem 1.4rem; border-radius: 3px; text-decoration: none; + font-family: var(--schrift-zier); font-size: 1.25rem; +} +.knopf:hover { background: var(--akzent-hell); color: var(--grund); } + +.aufmacher img { + width: 100%; height: auto; display: block; + max-height: 60vh; object-fit: cover; +} +.vorspann { font-size: 1.2em; } + +.galerie { + display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); + max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; list-style: none; +} +.galerie figure { margin: 0; } +.galerie figcaption { font-size: 0.9rem; color: var(--schrift-leise); } + +.news-anriss { border-top: 1px solid var(--linie); padding-top: 1rem; margin-top: 1.5rem; } +.news-anriss h2 { margin-top: 0; } +.news-anriss time { color: var(--schrift-leise); font-size: 0.9rem; } + +.hinweis { + background: var(--grund-erhoben); border-left: 3px solid var(--akzent); + padding: 0.75rem 1rem; +} + +.fuss { + border-top: 1px solid var(--linie); text-align: center; padding: 1.5rem 1rem; + color: var(--schrift-leise); font-size: 0.9rem; +} + +@media (prefers-reduced-motion: reduce) { + *, *::before, *::after { + animation-duration: 0.01ms !important; + transition-duration: 0.01ms !important; + } +} diff --git a/assets/js/einstellungen.js b/assets/js/einstellungen.js new file mode 100644 index 0000000..bfe7c9a --- /dev/null +++ b/assets/js/einstellungen.js @@ -0,0 +1,70 @@ +// Thema und Schriftart umschalten. Die Seite funktioniert ohne diese Datei +// vollstaendig - dann gilt die Systemeinstellung und die Standardschrift. +(function () { + "use strict"; + + var wurzel = document.documentElement; + + function merke(schluessel, wert) { + try { + if (wert === null) { localStorage.removeItem(schluessel); } + else { localStorage.setItem(schluessel, wert); } + } catch (e) { /* privates Fenster oder gesperrter Speicher: dann eben nur diese Seite */ } + } + + // --- Thema ------------------------------------------------------------- + // Ohne eigene Wahl gilt die Systemeinstellung. Der Knopf muss deshalb das + // *wirksame* Thema kennen und nicht nur das gesetzte Attribut, sonst bietet + // er auf einem dunkel eingestellten System "dunkel" an. + var themenKnopf = document.getElementById("schalter-thema"); + if (themenKnopf) { + var dunkelBevorzugt = window.matchMedia("(prefers-color-scheme: dark)"); + + function wirksamesThema() { + return wurzel.getAttribute("data-thema") || (dunkelBevorzugt.matches ? "dunkel" : "hell"); + } + + function zeigeThema() { + var dunkel = wirksamesThema() === "dunkel"; + themenKnopf.setAttribute("aria-pressed", dunkel ? "true" : "false"); + themenKnopf.textContent = dunkel ? "Helles Pergament" : "Dunkles Kontor"; + } + + themenKnopf.addEventListener("click", function () { + var neu = wirksamesThema() === "dunkel" ? "hell" : "dunkel"; + wurzel.setAttribute("data-thema", neu); + merke("conspiratio-thema", neu); + zeigeThema(); + }); + + // Aendert der Besucher die Systemeinstellung, waehrend die Seite offen ist, + // folgt die Beschriftung - aber nur, solange er nicht selbst gewaehlt hat. + dunkelBevorzugt.addEventListener("change", zeigeThema); + + zeigeThema(); + } + + // --- Schriftart -------------------------------------------------------- + // Hier gibt es keine Systemvorgabe, also genuegt an/aus. + var schriftKnopf = document.getElementById("schalter-schrift"); + if (schriftKnopf) { + function zeigeSchrift() { + var lesbar = wurzel.getAttribute("data-schrift") === "lesbar"; + schriftKnopf.setAttribute("aria-pressed", lesbar ? "true" : "false"); + schriftKnopf.textContent = lesbar ? "Zierschrift" : "Gut lesbar"; + } + + schriftKnopf.addEventListener("click", function () { + if (wurzel.getAttribute("data-schrift") === "lesbar") { + wurzel.removeAttribute("data-schrift"); + merke("conspiratio-schrift", null); + } else { + wurzel.setAttribute("data-schrift", "lesbar"); + merke("conspiratio-schrift", "lesbar"); + } + zeigeSchrift(); + }); + + zeigeSchrift(); + } +})(); diff --git a/assets/schriften/OFL-atkinson-hyperlegible.txt b/assets/schriften/OFL-atkinson-hyperlegible.txt new file mode 100644 index 0000000..2befc89 --- /dev/null +++ b/assets/schriften/OFL-atkinson-hyperlegible.txt @@ -0,0 +1,92 @@ +Copyright 2020 Braille Institute of America, Inc. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/schriften/OFL-eb-garamond.txt b/assets/schriften/OFL-eb-garamond.txt new file mode 100644 index 0000000..c1ec5e1 --- /dev/null +++ b/assets/schriften/OFL-eb-garamond.txt @@ -0,0 +1,93 @@ +Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/schriften/OFL-grenze-gotisch.txt b/assets/schriften/OFL-grenze-gotisch.txt new file mode 100644 index 0000000..03e84a8 --- /dev/null +++ b/assets/schriften/OFL-grenze-gotisch.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Grenze Gotisch Project Authors (https://github.com/Omnibus-Type/Grenze-Gotisch) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/assets/schriften/atkinson-hyperlegible-400.woff2 b/assets/schriften/atkinson-hyperlegible-400.woff2 new file mode 100644 index 0000000..2e43c90 Binary files /dev/null and b/assets/schriften/atkinson-hyperlegible-400.woff2 differ diff --git a/assets/schriften/atkinson-hyperlegible-700.woff2 b/assets/schriften/atkinson-hyperlegible-700.woff2 new file mode 100644 index 0000000..bc31903 Binary files /dev/null and b/assets/schriften/atkinson-hyperlegible-700.woff2 differ diff --git a/assets/schriften/eb-garamond-400-kursiv.woff2 b/assets/schriften/eb-garamond-400-kursiv.woff2 new file mode 100644 index 0000000..f833540 Binary files /dev/null and b/assets/schriften/eb-garamond-400-kursiv.woff2 differ diff --git a/assets/schriften/eb-garamond-400.woff2 b/assets/schriften/eb-garamond-400.woff2 new file mode 100644 index 0000000..b51664d Binary files /dev/null and b/assets/schriften/eb-garamond-400.woff2 differ diff --git a/assets/schriften/eb-garamond-600.woff2 b/assets/schriften/eb-garamond-600.woff2 new file mode 100644 index 0000000..d58452f Binary files /dev/null and b/assets/schriften/eb-garamond-600.woff2 differ diff --git a/assets/schriften/grenze-gotisch-400.woff2 b/assets/schriften/grenze-gotisch-400.woff2 new file mode 100644 index 0000000..02473bd Binary files /dev/null and b/assets/schriften/grenze-gotisch-400.woff2 differ diff --git a/bilder.html b/bilder.html deleted file mode 100644 index c260e20..0000000 --- a/bilder.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - Conspiratio - Bilder - - - - - - - - - - -
- - -
- -
Bilder
- -
Im Folgenden einige Eindrücke des Spiels

-
- - - - - - - - - - - -
-
-
- - - \ No newline at end of file diff --git a/bilder.md b/bilder.md new file mode 100644 index 0000000..c5bac3b --- /dev/null +++ b/bilder.md @@ -0,0 +1,43 @@ +--- +title: Bilder +permalink: /bilder/ +redirect_from: + - /bilder.html +--- + +Einige Eindrücke aus dem Spiel. Ein Klick öffnet das Bild in voller Größe. + +## Der neue Client (Godot) + +
    +{%- for bild in site.data.bilder %}{% if bild.client == "godot" %} +
  • + + {{ bild.alt }} + +
    {{ bild.alt }}
    +
  • +{%- endif %}{% endfor %} +
+ +

+ Weitere Ansichten kommen mit der ersten Fassung des neuen Clients hinzu. +

+ +## Der bisherige Client (WinForms) + +
    +{%- for bild in site.data.bilder %}{% if bild.client == "winforms" %} +
  • + + {{ bild.alt }} + +
    {{ bild.alt }}
    +
  • +{%- endif %}{% endfor %} +
+ +Bewegte Bilder gibt es auf dem +[YouTube-Kanal](https://www.youtube.com/channel/UCBNIo4SB2c2GkgL7f_dMN_w). diff --git a/cons.css b/cons.css deleted file mode 100644 index 32302ca..0000000 --- a/cons.css +++ /dev/null @@ -1,254 +0,0 @@ - -html, body -{ -text-align: center; -} - - -p {text-align: middle;} - - -@font-face { font-family: OldEng; src: url('OLDENGL.TTF'); } - - -.einruecken {text-indent: 6em;} - - -#rechts -{ - float: right; - width: 140px; - height: 140px; - margin-left: 20px; - margin-right: 180px; - border-style: solid; - border-width: 4px; - -} - - -#links -{ - width: 45px; - height: 24px; - margin-top: 29px; - margin-left: 20px; - margin-right: 20px; -} - - -body -{ - margin: 0; - padding: 0; - background: url(hintIntro.png)no-repeat center center fixed; - text-align: justify; - font-family:OldEng, sans-serif; - font-size: 13px; - color: #000000; - background-color:#000000; - background-size:cover; -} - - -* -{ - margin: 0 auto 0 auto; - /*text-align:left;*/ -} - - -#header -{ - position:relative; - width: 1000px; - height:99px; - background: url(header4.png) no-repeat center; -} - - -#page -{ - display: block; - height: 100%; - position: relative; - overflow: hidden; - background: #252F33 url(pergament3.png) no-repeat center; - width: 1000px; - background-color: rgba(0, 0, 0, 0.0); -} - - -.title -{ - position:relative; - top:1px; - text-align:center; - font-family:OldEng, sans-serif; - font-size:75px; - font-weight:bold; - color:#000000; -} - - -.articleTitle -{ - text-align:center; - padding-top:120px; - padding-bottom:50px; - color: #000000; - font-family:OldEng, sans-serif; - font-size:30px; - font-weight:bold; -} - -.articleContent -{ - width:auto; - position:relative; - padding-left:30px; - padding-right:30px; - color:#000000; - text-align:center; - font-family:OldEng, sans-serif; - line-height:27px; - font-size:22px; -} - -.articleContent a:link, a:active, a:visited -{ - text-decoration:none; - color: #0000FF; -} - -.articleContent a:hover -{ - text-decoration:none; - color: #ffffff; -} - -.leftContent -{ - text-align:left; -} - - -#bar -{ - position:relative; - width: 1000px; - height:57px; - background: url(bar1.png) no-repeat; - padding-left: 30px; -} - -#bar.submenu -{ - height:80px; - background: url(bar1.png); - padding-left: 30px; -} - -.menuLink -{ - text-align:left; - float:left; - font-family:OldEng, sans-serif; - font-size:26px; - font-weight:bold; - color: #000000; - padding-top:14px; - padding-right: 44px; -} - -.submenuLinks -{ - text-align:left; - float:left; - font-family:OldEng, sans-serif; - font-size:22px; - font-weight:bold; - color: #000000; - padding-top:2px; - padding-right: 30px; - padding-left: 154px; -} - -a -{ - text-decoration:none; - color: #000000; -} - -a:link.submenu,a:visited.submenu,a:active.submenu -{ - text-decoration:none; - color: #000000; - margin-right: 20px; -} - -a:hover.submenu -{ - text-decoration:none; - color: #FFFFFF; -} - -a:link.submenuactive,a:visited.submenuactive,a:active.submenuactive -{ - text-decoration:none; - color: #ffffff; - margin-right: 20px; -} - -a:link.menu,a:visited.menu,a:active.menu -{ - text-decoration:none; - color: #000000; -} - -a:hover.menu -{ - text-decoration:none; - color: #FFFFFF; -} - -a.menuactive -{ - text-decoration:none; - color: #FFFFFF; -} - -#pageContent -{ - width: 750px; - height: 1000px; - -} - - -#footer -{ - width: 1000px; - height:24px; - font-size:16px; - color:#FFFFFF; -} - - -#footer a -{ - font-size:30px; - color:#FFFFFF; -} - - -html, body -{ - text-align: center; -} - - -p -{ -text-align: left; -} \ No newline at end of file diff --git a/datenschutz.md b/datenschutz.md new file mode 100644 index 0000000..e9f2331 --- /dev/null +++ b/datenschutz.md @@ -0,0 +1,47 @@ +--- +title: Datenschutz +permalink: /datenschutz/ +--- + +Conspiratio ist ein nicht-kommerzielles Open-Source-Fanprojekt. Diese Seite verfolgt keine +finanziellen Ziele, enthält keine Werbung und verkauft nichts. + +## Wer diese Seite ausliefert + +Die Seite wird von GitHub Pages ausgeliefert (GitHub Inc., 88 Colin P. Kelly Jr. Street, +San Francisco, CA 94107, USA). Beim Abruf verarbeitet GitHub technisch notwendige Daten, +darunter die IP-Adresse des abrufenden Geräts, um die Seite überhaupt zusenden zu können. +Diese Verarbeitung liegt außerhalb unseres Einflusses; Näheres steht in der +[Datenschutzerklärung von GitHub](https://docs.github.com/site-policy/privacy-policies/github-privacy-statement). + +## Was diese Seite selbst erhebt: nichts + +- **Keine Cookies.** Die Seite setzt keine. +- **Keine Zählung, keine Analyse.** Es gibt kein Analysewerkzeug, keine Zählpixel, keine + Einbindung sozialer Netzwerke. +- **Keine fremden Inhalte.** Schriftarten, Bilder, Stilvorlagen und Skripte werden von + diesem Server ausgeliefert. Es gehen also auch keine Abrufe an Dritte, die dabei Ihre + IP-Adresse sehen würden. +- **Keine Formulare.** Es gibt nichts abzuschicken. + +Die Wahl von Farbschema und Schriftart merkt sich der Browser im lokalen Speicher +(`localStorage`). Diese Angabe verlässt Ihr Gerät nicht, wird nicht übertragen und ist uns +nicht zugänglich. Sie können sie jederzeit löschen, indem Sie die Websitedaten in Ihrem +Browser leeren. + +## Wenn Sie diese Seite verlassen + +Verweise auf Discord, GitHub, YouTube, Steam, Wikipedia und das Forum führen zu fremden +Anbietern mit eigenen Datenschutzbestimmungen. Auf deren Inhalte und Datenverarbeitung +haben wir keinen Einfluss. Ein Abruf dort findet erst statt, wenn Sie den Verweis anklicken. + +## Kontakt + +Fragen zu dieser Seite beantworten wir gern über die +[Kontaktwege](/kontakt/) — am einfachsten unter +[mail@conspiratio.net](mailto:mail@conspiratio.net). + +## Lizenz + +Conspiratio steht unter der [GNU General Public License v3.0](https://github.com/Conspiratio). +Die verwendeten Schriftarten stehen unter der SIL Open Font License. diff --git a/docs/superpowers/plans/2026-09-12-webseite-modernisierung.md b/docs/superpowers/plans/2026-09-12-webseite-modernisierung.md new file mode 100644 index 0000000..25b0ea7 --- /dev/null +++ b/docs/superpowers/plans/2026-09-12-webseite-modernisierung.md @@ -0,0 +1,2357 @@ +# Modernisierung conspiratio.net — Implementierungsplan + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** Die Projektseite conspiratio.net wird eine responsive, umschaltbar helle/dunkle +Jekyll-Seite auf GitHub Pages, deren Newsmeldungen aus je einer Markdown-Datei entstehen. + +**Architecture:** Jekyll baut statisches HTML aus Layouts (`_layouts/`), Bausteinen (`_includes/`), +Daten (`_data/*.yml`) und Meldungen (`_posts/*.md`). Gebaut wird lokal in einem Docker-Container mit +derselben `Gemfile.lock` wie in CI; ausgeliefert wird über einen GitHub-Actions-Workflow. Die +Abnahme läuft über ein Python-Prüfskript, das die gebaute Seite in `_site/` gegen feste Zusagen +prüft — es ersetzt die Testsuite, die es für eine statische Seite sonst nicht gäbe. + +**Tech Stack:** Jekyll 4.3 (Ruby 3.3, im Container), jekyll-feed / -seo-tag / -sitemap / +-redirect-from, handgeschriebenes CSS mit Custom Properties, ~40 Zeilen Vanilla-JavaScript, +Python 3.11 (Prüfskript, Bildaufbereitung mit Pillow), GitHub Actions, lychee. + +**Spec:** [`docs/superpowers/specs/2026-09-12-webseite-modernisierung-design.md`](../specs/2026-09-12-webseite-modernisierung-design.md) + +## Global Constraints + +> **Nachtrag nach der Umsetzung:** Aus `/impressum/` ist `/datenschutz/` geworden. Der +> Projekteigentümer führt bewusst kein Impressum und hinterlegt keine Anschrift — ein +> nicht-kommerzielles Open-Source-Fanprojekt. Wo dieser Plan unten „Impressum" sagt, ist die +> Datenschutzerklärung gemeint; sie enthält keine Platzhalter und blockiert die +> Veröffentlichung daher nicht. Siehe Kapitel 5 des Spec. + +Diese Vorgaben gelten für **jede** Aufgabe; sie werden nicht je Aufgabe wiederholt. + +- **Repo:** `Conspiratio/conspiratio.github.io`, Arbeitszweig `feature/pages-neubau`, Zielzweig `main`. +- **Sprache:** Alle sichtbaren Texte, Dateinamen eigener Dateien, Commit-Nachrichten und Kommentare + auf **Deutsch**. Ausgenommen sind Schnittstellenbegriffe des Frameworks (`_posts`, `_data`, + `_layouts`, `title`, `date`, `excerpt`, `permalink`, `redirect_from`) — sie bleiben englisch, weil + Jekyll sie so und nur so liest. +- **Kein CMS, keine Datenbank, kein CSS- oder JS-Framework.** Genau eine CSS-Datei + (`assets/css/conspiratio.css`) und eine JS-Datei (`assets/js/einstellungen.js`). +- **Plugins abschließend:** `jekyll-feed`, `jekyll-seo-tag`, `jekyll-sitemap`, + `jekyll-redirect-from`. Keine weiteren. +- **Schriften werden selbst ausgeliefert.** Im gesamten `_site/` darf kein Verweis auf + `fonts.googleapis.com` oder `fonts.gstatic.com` stehen. +- **`OLDENGL.TTF` wird entfernt** (Microsoft-Systemschrift, nicht zur Weitergabe lizenziert) und darf + in keiner Fassung wieder auftauchen. +- **Ohne JavaScript** muss jede Seite vollständig lesbar und bedienbar bleiben; JavaScript schaltet + ausschließlich Thema und Schriftart um. +- **Kontrast** mindestens 4,5:1 in beiden Themen; jedes `` trägt `alt`, `width`, `height` und + `loading="lazy"` (Ausnahme: das Aufmacherbild der Startseite, das ohne `loading="lazy"` lädt). +- **Domain-Umschaltung findet in diesem Plan nicht statt.** Bis Aufgabe 10 liegt die neue Seite unter + `https://conspiratio.github.io`; `conspiratio.net` zeigt weiterhin auf Hostgator. Die DNS-Schritte + sind in Aufgabe 10 nur dokumentiert, nicht ausgeführt — sie kann nur der Domaineigentümer tun. +- **Jede Aufgabe endet grün:** `pwsh werkzeug/bauen.ps1` baut ohne Fehler **und** + `python werkzeug/pruefe_ausgabe.py` meldet keinen Fehler. Erst dann wird committet. + +### Werkzeugvoraussetzungen (einmalig, vor Aufgabe 1) + +Auf der Maschine vorhanden und geprüft: Docker 29.6, Python 3.11.4, Node 22, `gh` 2.96. +**Ruby ist nicht installiert und wird auch nicht installiert** — der Build läuft im Container. + +```powershell +python -m pip install --user pillow fonttools brotli +``` + +--- + +## Dateiübersicht + +Was am Ende im Repo steht und wofür jede Datei zuständig ist. Die Zuständigkeiten sind bewusst eng +geschnitten: ein Layout kennt nur seine Seitenform, ein Include nur seinen Baustein. + +| Datei | Zuständigkeit | Aufgabe | +|---|---|---| +| `Gemfile`, `Gemfile.lock` | Jekyll-Version und Plugins, exakt gepinnt | 1 | +| `_config.yml` | Titel, URL, Plugins, Permalinks, Standard-Layouts, `exclude` | 1 | +| `werkzeug/bauen.ps1` | Build und Vorschau im Docker-Container | 1 | +| `werkzeug/pruefe_ausgabe.py` | prüft `_site/` gegen feste Zusagen; wächst mit jeder Aufgabe | 1–10 | +| `.github/workflows/pages.yml` | Build bei PR, Build + Deploy auf `main` | 1, 10 | +| `_layouts/basis.html` | ``, ``, Themenattribut, Kopf, Fuß — sonst nichts | 2 | +| `_layouts/seite.html` | Inhaltsseite: Titel + Inhalt in der Textspalte | 2 | +| `_layouts/start.html` | Startseite: Aufmacher, Download-Knopf, News-Anrisse | 6 | +| `_layouts/news.html` | eine Meldung: Titel, Datum, Inhalt, Rückweg ins Archiv | 4 | +| `_includes/navigation.html` | Kopfnavigation aus `_data/navigation.yml`, aktiver Punkt markiert | 2 | +| `_includes/fuss.html` | Fußzeile inkl. Jahreszahl aus `site.time` | 2 | +| `_includes/schalter.html` | die drei Schalter (Thema, Schrift, EN) | 3 | +| `_includes/news-anriss.html` | ein Anriss; von Startseite und Archiv benutzt | 4 | +| `_data/navigation.yml` | Menüpunkte (Titel, Ziel, extern ja/nein) | 2 | +| `_data/downloads.yml` | je Release: Version, Datum, Größe, MSI-Link, Changelog-Link | 7 | +| `_data/team.yml`, `_data/links.yml` | Team- und Linkliste | 6 | +| `_data/bilder.yml` | Galerie: Datei, Alternativtext, Client, Maße | 8 | +| `assets/css/conspiratio.css` | gesamtes Aussehen; Custom Properties als einzige Schaltstelle | 3 | +| `assets/js/einstellungen.js` | Thema- und Schriftumschalter, `localStorage` | 3 | +| `assets/schriften/*.woff2` | Grenze Gotisch, EB Garamond, Atkinson Hyperlegible | 3 | +| `_posts/*.md` | je eine Newsmeldung | 4, 5 | +| `index.html`, `spiel.md`, `bilder.md`, `downloads.md`, `mitmachen.md`, `kontakt.md`, `links.md`, `impressum.md`, `en/index.md`, `news/index.html` | die Seiten | 6–8 | +| `CNAME` | `conspiratio.net` | 10 | +| `werkzeug/neue-news.ps1` | legt eine Meldungsdatei mit fertigem Kopf an | 4 | +| `werkzeug/bilder_aufbereiten.py` | Skalierung, WebP, Maße in `_data/bilder.yml` | 8 | + +--- + +## Aufgabe 1: Gerüst, Build im Container und Prüfskript + +Ohne diese Aufgabe kann keine andere abgenommen werden — sie liefert den Test-Kreislauf. + +**Files:** +- Create: `Gemfile`, `_config.yml`, `index.html`, `_layouts/basis.html` +- Create: `werkzeug/bauen.ps1`, `werkzeug/pruefe_ausgabe.py` +- Create: `.github/workflows/pages.yml`, `.gitignore` + +**Interfaces:** +- Consumes: nichts. +- Produces: + - `pwsh werkzeug/bauen.ps1` → baut nach `_site/`; `-Vorschau` startet den Server auf + `http://localhost:4000`. + - `python werkzeug/pruefe_ausgabe.py` → Exit 0 bei Erfolg, Exit 1 mit einer Fehlerliste sonst. + - `werkzeug/pruefe_ausgabe.py` stellt den folgenden Aufbau bereit, den **alle späteren Aufgaben + erweitern**: eine Funktion `pruefe(bedingung: bool, meldung: str) -> None`, eine Liste + `PRUEFUNGEN: list[Callable[[], None]]`, und `SITE: pathlib.Path` als Wurzel der gebauten Seite. + - Layout `basis` mit den Blöcken `{{ content }}`, `{{ page.title }}`. + +- [ ] **Step 1: Arbeitszweig anlegen** + +```bash +cd "D:/Projekte/C# Projekte/conspiratio.github.io" +git checkout -b feature/pages-neubau +``` + +- [ ] **Step 2: Das Prüfskript schreiben — es schlägt zuerst fehl** + +`werkzeug/pruefe_ausgabe.py`: + +```python +#!/usr/bin/env python3 +"""Prueft die gebaute Seite in _site/ gegen feste Zusagen. + +Aufruf: python werkzeug/pruefe_ausgabe.py +Exit 0 = alles in Ordnung, Exit 1 = mindestens eine Zusage verletzt. +""" +from __future__ import annotations + +import pathlib +import sys +from typing import Callable + +WURZEL = pathlib.Path(__file__).resolve().parent.parent +SITE = WURZEL / "_site" + +_fehler: list[str] = [] +PRUEFUNGEN: list[Callable[[], None]] = [] + + +def pruefe(bedingung: bool, meldung: str) -> None: + """Vermerkt einen Fehler, wenn die Bedingung nicht gilt.""" + if not bedingung: + _fehler.append(meldung) + + +def lies(pfad: str) -> str: + """Liest eine Datei aus _site/ als Text; leerer String, wenn sie fehlt.""" + datei = SITE / pfad + return datei.read_text(encoding="utf-8") if datei.is_file() else "" + + +def seiten() -> list[pathlib.Path]: + """Alle gebauten HTML-Dateien.""" + return sorted(SITE.rglob("*.html")) + + +def ist_weiterleitung(text: str) -> bool: + """Von jekyll-redirect-from erzeugte Stuempel sind keine richtigen Seiten: + sie tragen weder Navigation noch Fuss und stehen auf lang="en-US".""" + return 'http-equiv="refresh"' in text + + +def pruefung(funktion: Callable[[], None]) -> Callable[[], None]: + PRUEFUNGEN.append(funktion) + return funktion + + +@pruefung +def die_seite_wurde_gebaut() -> None: + pruefe(SITE.is_dir(), "_site/ fehlt - wurde `pwsh werkzeug/bauen.ps1` ausgefuehrt?") + pruefe((SITE / "index.html").is_file(), "_site/index.html fehlt") + + +@pruefung +def jede_seite_nennt_ihre_sprache() -> None: + for seite in seiten(): + text = seite.read_text(encoding="utf-8") + if ist_weiterleitung(text): + continue + pfad = seite.relative_to(SITE) + erwartet = 'lang="en"' if str(pfad).startswith("en") else 'lang="de"' + pruefe(erwartet in text, f"{pfad}: erwartet {erwartet} im -Tag") + + +def main() -> int: + for funktion in PRUEFUNGEN: + funktion() + if _fehler: + print(f"{len(_fehler)} Zusage(n) verletzt:\n") + for meldung in _fehler: + print(f" - {meldung}") + return 1 + print(f"{len(PRUEFUNGEN)} Pruefung(en) bestanden.") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) +``` + +- [ ] **Step 3: Prüfskript laufen lassen — es muss fehlschlagen** + +Run: `python werkzeug/pruefe_ausgabe.py` +Expected: Exit 1, „`_site/ fehlt`" und „`_site/index.html fehlt`". + +- [ ] **Step 4: Gemfile, Konfiguration und ein Minimallayout schreiben** + +`Gemfile`: + +```ruby +source "https://rubygems.org" + +gem "jekyll", "~> 4.3.4" +gem "jekyll-feed", "~> 0.17" +gem "jekyll-seo-tag", "~> 2.8" +gem "jekyll-sitemap", "~> 1.4" +gem "jekyll-redirect-from", "~> 0.16" +gem "webrick", "~> 1.8" +``` + +`_config.yml`: + +```yaml +title: Conspiratio +description: >- + Conspiratio ist eine freie Wirtschaftssimulation der frühen Neuzeit: Handel, Ämter, + Intrigen und eine Dynastie, die den eigenen Tod überdauern muss. +url: https://conspiratio.net +lang: de + +plugins: + - jekyll-feed + - jekyll-seo-tag + - jekyll-sitemap + - jekyll-redirect-from + +permalink: /news/:year/:month/:day/:title/ + +defaults: + - scope: { path: "", type: posts } + values: { layout: news } + - scope: { path: "" } + values: { layout: seite } + +feed: + path: feed.xml + posts_limit: 50 # Vorgabe waere 10; der Feed soll das ganze Archiv tragen + +exclude: + - Gemfile + - Gemfile.lock + - README.md + - LICENSE + - docs/ + - werkzeug/ + - massenmails/ + - rohbilder/ + - "*.txt" +``` + +`_layouts/basis.html` (vorläufig; Kopf und Fuß kommen in Aufgabe 2): + +```html + + + + + + {%- seo -%} + + + +
+ {{ content }} +
+ + +``` + +`index.html`: + +```html +--- +layout: basis +title: Conspiratio +--- +

Conspiratio

+``` + +`.gitignore`: + +``` +_site/ +.jekyll-cache/ +.jekyll-metadata +rohbilder/ +``` + +- [ ] **Step 5: Das Bauskript schreiben** + +`werkzeug/bauen.ps1`: + +```powershell +<# +.SYNOPSIS + Baut die Seite im Docker-Container - ohne lokale Ruby-Installation. +.DESCRIPTION + Benutzt dasselbe Gemfile.lock wie CI, weil der Container Linux ist wie der Runner. + Die Gems liegen in einem benannten Volume und ueberleben den Lauf. +.PARAMETER Vorschau + Startet statt eines einmaligen Builds den Entwicklungsserver auf http://localhost:4000. +#> +param([switch]$Vorschau) + +$ErrorActionPreference = "Stop" +$wurzel = Split-Path $PSScriptRoot -Parent + +# --force_polling: Dateiaenderungen auf einem Windows-Bind-Mount erreichen den +# Container nicht als Ereignis, nur durch Nachsehen. +$befehl = if ($Vorschau) { + "bundle install --quiet && bundle exec jekyll serve --host 0.0.0.0 --force_polling" +} else { + "bundle install --quiet && bundle exec jekyll build" +} + +docker run --rm ` + -v "${wurzel}:/srv" -w /srv ` + -v conspiratio-gems:/usr/local/bundle ` + -p 4000:4000 ` + ruby:3.3 bash -lc $befehl + +if ($LASTEXITCODE -ne 0) { throw "Build fehlgeschlagen (Exit $LASTEXITCODE)" } +``` + +- [ ] **Step 6: Bauen und prüfen — jetzt muss es grün sein** + +```powershell +pwsh werkzeug/bauen.ps1 +python werkzeug/pruefe_ausgabe.py +``` + +Expected: Build ohne Fehler, `_site/index.html` vorhanden, „2 Pruefung(en) bestanden." +Der erste Lauf dauert wegen `bundle install` mehrere Minuten; danach ist das Volume gefüllt. + +- [ ] **Step 7: Den CI-Workflow schreiben** + +`.github/workflows/pages.yml`: + +```yaml +name: Seite bauen und veröffentlichen + +on: + push: + branches: [main] + pull_request: + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: false + +jobs: + bauen: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.3" + bundler-cache: true + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Seite bauen + run: bundle exec jekyll build + env: + JEKYLL_ENV: production + - name: Ausgabe prüfen + run: python werkzeug/pruefe_ausgabe.py + - uses: actions/upload-pages-artifact@v3 + with: + path: _site + + veroeffentlichen: + needs: bauen + if: github.ref == 'refs/heads/main' + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deploy.outputs.page_url }} + steps: + - id: deploy + uses: actions/deploy-pages@v4 +``` + +- [ ] **Step 8: `Gemfile.lock` aus dem Container übernehmen und committen** + +Der Container hat die Datei beim ersten `bundle install` geschrieben. Sie **muss** eingecheckt +werden, sonst ist die Version in CI nicht gepinnt und `bundler-cache: true` greift nicht. + +```bash +git add Gemfile Gemfile.lock _config.yml index.html _layouts/basis.html .gitignore \ + werkzeug/bauen.ps1 werkzeug/pruefe_ausgabe.py .github/workflows/pages.yml +git status # Gemfile.lock muss dabei sein +git commit -F - <<'EOF' +Gerüst: Jekyll-Build im Container, Prüfskript und CI-Workflow + +Baut ohne lokale Ruby-Installation über ruby:3.3, mit demselben +Gemfile.lock wie der CI-Runner. Das Prüfskript tritt an die Stelle +einer Testsuite und wächst mit jeder weiteren Aufgabe. + +Co-Authored-By: Claude Opus 5 +EOF +``` + +--- + +## Aufgabe 2: Basislayout, Navigation und Fußzeile + +Beseitigt die Ursache des wiederkehrenden Ärgers („Jahreszahl auf jeder Seite aktualisiert"): +Navigation und Fußzeile stehen ab hier **einmal** im Repo. + +**Files:** +- Create: `_data/navigation.yml`, `_includes/navigation.html`, `_includes/fuss.html`, + `_layouts/seite.html` +- Modify: `_layouts/basis.html`, `werkzeug/pruefe_ausgabe.py` +- Create: `spiel.md` (als zweite Seite, damit die Navigation prüfbar wird) + +**Interfaces:** +- Consumes: `pruefe`, `lies`, `seiten`, `pruefung`, `SITE` aus Aufgabe 1. +- Produces: + - `_data/navigation.yml`: Liste von Einträgen mit den Schlüsseln `titel`, `ziel`, `extern` + (bool, optional). + - Layout `seite` (erwartet `title` im Frontmatter). + - Jede gebaute Seite enthält `