Public Page
This commit is contained in:
parent
57459dc0d2
commit
e044e1a088
BIN
website/dist/assets/cli-befehle.png
vendored
Normal file
BIN
website/dist/assets/cli-befehle.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 94 KiB |
BIN
website/dist/assets/cli-start.png
vendored
Normal file
BIN
website/dist/assets/cli-start.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
1
website/dist/assets/logo.svg
vendored
Normal file
1
website/dist/assets/logo.svg
vendored
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 44"><path fill="#cefb70" d="M20 1 38 11.5 20 22 2 11.5z"/><path fill="#b4e55b" d="m2 15 15.8 9.2v8L2 23z"/><path fill="#82ab40" d="m38 15-15.8 9.2v8L38 23z"/><path fill="#b4e55b" d="m2 26 15.8 9.2v7.5L2 33.5z"/><path fill="#82ab40" d="m38 26-15.8 9.2v7.5L38 33.5z"/></svg>
|
||||
|
After Width: | Height: | Size: 329 B |
BIN
website/dist/assets/web-dashboard.png
vendored
Normal file
BIN
website/dist/assets/web-dashboard.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 394 KiB |
BIN
website/dist/assets/web-moderation.png
vendored
Normal file
BIN
website/dist/assets/web-moderation.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
BIN
website/dist/assets/web-server.png
vendored
Normal file
BIN
website/dist/assets/web-server.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
170
website/dist/handbuch.html
vendored
Normal file
170
website/dist/handbuch.html
vendored
Normal file
@ -0,0 +1,170 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="theme-color" content="#141812">
|
||||
<meta name="description" content="wCloud-Handbuch zu Installation, Servergruppen, Vorlagen, Minecraft-Verbindungen, Modulen und Betrieb.">
|
||||
<title>Handbuch · wCloud</title>
|
||||
<link rel="icon" href="assets/logo.svg" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<script defer src="site.js"></script>
|
||||
</head>
|
||||
<body data-page="guide">
|
||||
<a class="skip" href="#inhalt">Zum Inhalt</a>
|
||||
<header class="site-header">
|
||||
<div class="shell header-inner">
|
||||
<a class="brand" href="index.html" aria-label="wCloud Startseite"><img src="assets/logo.svg" alt="" width="31" height="34">wCloud</a>
|
||||
<nav aria-label="Hauptnavigation">
|
||||
<a href="index.html#einblick">Einblick</a>
|
||||
<a href="index.html#aufbau">Systemaufbau</a>
|
||||
<a href="handbuch.html" aria-current="page">Handbuch</a>
|
||||
</nav>
|
||||
<a class="top-action" href="#installation">Installation</a>
|
||||
</div>
|
||||
</header>
|
||||
<main id="inhalt" class="shell">
|
||||
<header class="guide-header">
|
||||
<h1>Handbuch</h1>
|
||||
<p>Richte deinen Host ein, starte das erste Minecraft-Netzwerk und verwalte es im Alltag.</p>
|
||||
</header>
|
||||
<div class="guide-grid">
|
||||
<nav class="guide-nav" aria-label="Kapitel">
|
||||
<a href="#installation">Installation</a>
|
||||
<a href="#aufbau">Systemaufbau</a>
|
||||
<a href="#gruppen">Servergruppen</a>
|
||||
<a href="#spieler">Spieler und Team</a>
|
||||
<a href="#module">Module</a>
|
||||
<a href="#betrieb">Betrieb und Befehle</a>
|
||||
<a href="#daten">Daten und Updates</a>
|
||||
<a href="#paket-bauen">Paket bauen</a>
|
||||
</nav>
|
||||
<article class="guide-content">
|
||||
<section id="installation">
|
||||
<h2>Installation</h2>
|
||||
<p>Du brauchst <strong>Java 25 oder neuer</strong> und ein Verzeichnis, in dem wCloud Dateien anlegen kann. Plane Arbeitsspeicher für die Cloud und alle gleichzeitig laufenden Minecraft-Instanzen ein.</p>
|
||||
<ol>
|
||||
<li>Entpacke <code>wcloud-web.zip</code> vollständig in ein eigenes Verzeichnis.</li>
|
||||
<li>Öffne dort ein Terminal und starte wCloud.</li>
|
||||
</ol>
|
||||
<div class="command-line"><code id="guide-start">java -jar wcloud-launcher.jar</code><button class="copy" type="button" data-copy="guide-start">Kopieren</button></div>
|
||||
<p>Die Startkonsole nennt die Webadresse. Standardmäßig erreichst du das Dashboard auf dem Host unter <code>http://127.0.0.1:1337</code>. Rufe in einem zweiten Terminal im selben Verzeichnis deinen Dashboard-Schlüssel ab.</p>
|
||||
<div class="command-line"><code id="guide-key">java -jar wcloud-launcher.jar --dashboard-key</code><button class="copy" type="button" data-copy="guide-key">Kopieren</button></div>
|
||||
<p>Melde dich an und lege internen Netzwerkport, RAM-Limit und Konsolensprache fest. Start und Einrichtung können einige Sekunden dauern. Beim ersten Start einer neuen Minecraft-Version lädt wCloud die Serverdateien herunter.</p>
|
||||
</section>
|
||||
|
||||
<section id="aufbau">
|
||||
<h2>Wie wCloud aufgebaut ist</h2>
|
||||
<dl class="definition-list">
|
||||
<div><dt>Launcher und WebUI</dt><dd>Der Launcher startet den Master und stellt die lokale Browseroberfläche bereit. Du richtest dort Gruppen und Module ein, sendest Befehle und liest Logs.</dd></div>
|
||||
<div><dt>Master</dt><dd>Er verwaltet Gruppen, verteilt Vorlagen, startet Minecraft-Prozesse und erfasst ihren Zustand. Master, Proxy und Gameserver laufen auf demselben Host.</dd></div>
|
||||
<div><dt>Velocity-Proxy</dt><dd>Spieler verbinden sich mit dem Proxy. Er ist der Einstieg zum Netzwerk und leitet sie zu den Minecraft-Servern weiter.</dd></div>
|
||||
<div><dt>Lobby und Gameserver</dt><dd>Eine Lobby ist der erste Server im Netzwerk. Paper bietet übliche Server-Plugins, Forge unterstützt Mod-Setups. Wähle im Assistenten die passende Softwareversion.</dd></div>
|
||||
</dl>
|
||||
<div class="table-scroll">
|
||||
<table>
|
||||
<thead><tr><th>Verbindung</th><th>Adresse und Port</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>Admin zum WebUI</td><td>Standardmäßig <code>127.0.0.1:1337</code> auf dem Host.</td></tr>
|
||||
<tr><td>Minecraft-Spieler zum Proxy</td><td>Netzwerkadresse des Hosts und Proxy-Port, standardmäßig <code>25565</code>.</td></tr>
|
||||
<tr><td>Instanzen zum Master</td><td>Intern über <code>127.0.0.1</code> und den beim Setup gewählten Netzwerkport.</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p>Du kannst die Web-Bind-Adresse und den Port über <strong>Einstellungen → Weboberfläche</strong> anpassen. Für die Bedienung aus einem privaten Netz gib die passende Host-Adresse an. Alternativ kannst du die Loopback-Adresse über einen SSH-Tunnel verwenden.</p>
|
||||
</section>
|
||||
|
||||
<section id="gruppen">
|
||||
<h2>Proxy, Lobby und Gameserver anlegen</h2>
|
||||
<ol>
|
||||
<li>Erstelle über die Übersicht zuerst eine <strong>Proxy-Gruppe</strong> mit Velocity. Lege Softwareversion, RAM, Spielerlimit und den ersten Proxy-Port fest.</li>
|
||||
<li>Erstelle eine <strong>Lobby-Gruppe</strong> mit Paper. Setze die Mindestanzahl auf eins, damit die Instanz automatisch startet.</li>
|
||||
<li>Lege bei Bedarf eine Gameserver-Gruppe an. Der Assistent führt durch Grundlagen, Software, Ressourcen, Erweiterungen und Prüfung.</li>
|
||||
<li>Öffne unter <strong>Server</strong> den Gruppennamen für die Gruppenansicht und den Instanznamen für Dateien, Konsole und Auslastung.</li>
|
||||
</ol>
|
||||
<p><strong>Dynamische Gruppen</strong> starten Instanzen aus einer Vorlage. Verwende sie für Lobbys oder wiederholbare Spielrunden. <strong>Persistente Gruppen</strong> behalten ihre Dateien zwischen Starts. Sie eignen sich für eine Welt, die weitergespielt werden soll.</p>
|
||||
<p>Unter <strong>Vorlagendateien</strong> bearbeitest du die Basis für neue Instanzen. Lade JARs für Paper oder Velocity in <code>plugins/</code> und Forge-Mods in <code>mods/</code>. In der Instanzansicht bearbeitest du die Dateien einer konkreten persistenten Instanz.</p>
|
||||
<p>Unter <strong>Plugins</strong> sucht wCloud auf Modrinth. Prüfe die Plattform, Minecraft-Version und Pflichtabhängigkeiten vor der Installation in eine Vorlage.</p>
|
||||
</section>
|
||||
|
||||
<section id="spieler">
|
||||
<h2>In Minecraft spielen und das Team verwalten</h2>
|
||||
<h3>Verbinden</h3>
|
||||
<p>Warte im WebUI, bis Proxy und Lobby online sind. Öffne in Minecraft <strong>Mehrspieler → Server hinzufügen</strong> und verwende die erreichbare Adresse des Hosts mit dem Proxy-Port. Die Serverliste kann über SyncProxy mit Logo und MOTD gestaltet werden. Im Spiel kann das Modul außerdem eine netzwerkweite Tabliste anzeigen.</p>
|
||||
<h3>Ränge und Moderation</h3>
|
||||
<p>Unter <strong>Spieler</strong> findest du Online- und Offline-Spieler. Bei aktivem Permissions-Modul kannst du dort Ränge und Einzelrechte vergeben. Lege gemeinsame Rollen unter <strong>Module → Permissions</strong> an und nutze Rangvererbung für gemeinsame Rechte.</p>
|
||||
<p>Installiere das optionale Modul <strong>Moderation</strong> und starte Velocity und die betroffenen Paper-Instanzen neu. Öffne eine Spielerakte über <strong>Spieler → Moderation</strong>. Den Katalog, Reports, Vanish und die Nachrichten bearbeitest du unter <strong>Module → Moderation → Öffnen</strong>.</p>
|
||||
<p>Verwarnungen können Punkte vergeben und ab einer Katalogschwelle einen Bann auslösen. Setze <code>wcloud.moderation.immune</code> für Ränge oder Spieler mit Moderationsschutz. Deutsch und Englisch stehen als Nachrichten-Vorlagen zur Verfügung.</p>
|
||||
<h3>Teamchat und Reports</h3>
|
||||
<p>Teammitglieder können mit den eingerichteten Präfixen schreiben, etwa <code># Hallo Team</code> oder <code>@admin Kannst du den Fall übernehmen?</code>. In Minecraft gelten getrennte Lese- und Schreibrechte pro Kanal. Mit dem Dashboard-Schlüssel lassen sich die Kanäle unter <strong>Teamchat</strong> für bis zu 24 Stunden nachlesen.</p>
|
||||
<p>Spieler melden einen Vorfall mit <code>/report <Spieler> <Grund-ID> [Details]</code>. Teammitglieder können offene Reports im WebUI übernehmen, zuweisen oder abschließen.</p>
|
||||
</section>
|
||||
|
||||
<section id="module">
|
||||
<h2>Module einsetzen</h2>
|
||||
<p>Unter <strong>Module</strong> siehst du die enthaltenen und optionalen Erweiterungen. Öffne ein Modul für seine Einstellungen oder verwende <strong>Installieren</strong> für ein optionales Modul aus dem Paket. Starte die betroffenen Minecraft-Instanzen anschließend neu, wenn ein Server-Plugin hinzukommt.</p>
|
||||
<dl class="definition-list">
|
||||
<div><dt>Permissions</dt><dd>Ränge, Einzelrechte, Vererbung und Darstellung von Rangpräfixen.</dd></div>
|
||||
<div><dt>SyncProxy</dt><dd>Proxy-Design mit MOTD, Tabliste und Netzwerkchat.</dd></div>
|
||||
<div><dt>Scoreboard</dt><dd>Paper-Sidebar mit Titel, bis zu 15 Zeilen und Platzhaltern für Spieler, Server und eigene Plugins.</dd></div>
|
||||
<div><dt>Signs und NPC</dt><dd>Serverauswahl mit Schildern und NPCs für das Spiel. Ein Schild verbindest du mit <code>/wcloudsign set <Gruppe></code>.</dd></div>
|
||||
<div><dt>Moderation</dt><dd>Spielerakten, Katalog für Sanktionen, Reports, Vanish und Teamchat.</dd></div>
|
||||
</dl>
|
||||
</section>
|
||||
|
||||
<section id="betrieb">
|
||||
<h2>Betrieb, Logs und Befehle</h2>
|
||||
<p><strong>Monitoring</strong> zeigt Spielerzahlen, aktive Instanzen, Speicher und CPU über Zeit. Die Instanzansicht hat eine Live-Auslastung und die letzte Ausgabe des Serverprozesses.</p>
|
||||
<p><strong>Konsole</strong> zeigt den Master und die Logquellen der Instanzen. Mit <strong>Serverkonsole</strong> in der Instanzansicht sendest du einen Befehl an den ausgewählten Minecraft-Prozess. JARs und Welten verwaltest du unter <strong>Dateien</strong>.</p>
|
||||
<div class="table-scroll">
|
||||
<table>
|
||||
<thead><tr><th>Befehl in der Master-Konsole</th><th>Funktion</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td><code>help</code></td><td>Verfügbare Master-Befehle anzeigen.</td></tr>
|
||||
<tr><td><code>service list</code></td><td>Instanzen mit Status, Port und Spielerzahl auflisten.</td></tr>
|
||||
<tr><td><code>service stop Lobby-1</code></td><td>Die Instanz <code>Lobby-1</code> stoppen. Die Mindestanzahl der Gruppe bestimmt, ob wCloud anschließend Ersatz startet.</td></tr>
|
||||
<tr><td><code>stop</code></td><td>Master und verwaltete Instanzen beenden. Bestätige den Befehl wie in der Konsole angezeigt.</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<p>Wenn das Dashboard erreichbar ist, findest du mit <kbd>Strg</kbd> + <kbd>K</kbd> schnell Gruppen, Instanzen und Seiten.</p>
|
||||
</section>
|
||||
|
||||
<section id="daten">
|
||||
<h2>Daten, Variablen und Updates</h2>
|
||||
<p><code>local/storage/wcloud.db</code> enthält Cloud-Einstellungen, Gruppen, Modulkonfigurationen und verwaltete Vorlagenwerte. Spieler-Cache, Monitoring und Logarchiv liegen in weiteren lokalen Datenbanken unter <code>local/storage/</code>. Welten, Plugins und andere Minecraft-Dateien liegen in den Vorlagen- und Instanzverzeichnissen.</p>
|
||||
<p>Unter <strong>Einstellungen → Variablen & Secrets</strong> legst du Werte zentral ab. Referenzen in Vorlagen werden beim Start der Zielinstanz aufgelöst.</p>
|
||||
<pre class="example-code"><code>host: "{{ env.DB_HOST }}"
|
||||
password: "{{ secret.DB_PASSWORD }}"</code></pre>
|
||||
<p>Für ein Update stoppst und sicherst du die Installation und ersetzt Launcher, Master, API und Plugins aus demselben Paket. Bereits installierte optionale Module aktualisierst du in <code>modules/</code> mit den entsprechenden JARs aus <code>optional-modules/</code>. Vorhandene Datenbanken und Vorlagen bleiben bei diesem Ablauf im Installationsverzeichnis.</p>
|
||||
<details>
|
||||
<summary>Das Dashboard ist nicht erreichbar</summary>
|
||||
<p>Prüfe die Adresse in der Startkonsole. <code>127.0.0.1</code> ist auf dem Gerät erreichbar, auf dem wCloud läuft. Starte den Launcher aus dem Ordner, in dem auch <code>dependency/</code> liegt.</p>
|
||||
</details>
|
||||
<details>
|
||||
<summary>Eine Instanz startet nicht</summary>
|
||||
<p>Öffne ihre Serverkonsole und prüfe die erste Fehlermeldung. Typische Punkte sind Java-Version, belegte Ports, fehlende Plugin-Abhängigkeiten oder eine noch ausstehende EULA-Bestätigung.</p>
|
||||
</details>
|
||||
</section>
|
||||
|
||||
<section id="paket-bauen">
|
||||
<h2>Installationspaket aus dem Quellcode bauen</h2>
|
||||
<p>Wenn du mit dem wCloud-Quellcode arbeitest, führe im Projektordner den Gradle-Wrapper aus.</p>
|
||||
<div class="command-line"><code id="build-linux">./gradlew webDistribution</code><button class="copy" type="button" data-copy="build-linux" aria-label="Gradle-Befehl für Linux und macOS kopieren">Kopieren</button></div>
|
||||
<div class="command-line"><code id="build-windows">gradlew.bat webDistribution</code><button class="copy" type="button" data-copy="build-windows" aria-label="Gradle-Befehl für Windows kopieren">Kopieren</button></div>
|
||||
<p>Das fertige Paket liegt unter <code>build/distributions/wcloud-web.zip</code>. Entpacke es in ein eigenes Installationsverzeichnis und folge der Einrichtung oben.</p>
|
||||
<a class="text-link" href="#installation">Zur Installation</a>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="site-footer">
|
||||
<div class="shell footer-inner">
|
||||
<a class="brand" href="index.html"><img src="assets/logo.svg" alt="" width="26" height="28">wCloud</a>
|
||||
<span>Projektseite und Handbuch</span>
|
||||
<a class="text-link" href="index.html#einblick">Screenshots ansehen</a>
|
||||
</div>
|
||||
</footer>
|
||||
<p class="sr-only" id="copy-status" role="status"></p>
|
||||
</body>
|
||||
</html>
|
||||
163
website/dist/index.html
vendored
Normal file
163
website/dist/index.html
vendored
Normal file
@ -0,0 +1,163 @@
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="theme-color" content="#141812">
|
||||
<meta name="description" content="wCloud verwaltet dein Minecraft-Netzwerk auf einem eigenen Host. Lerne das WebUI kennen und richte Proxy, Lobby und Gameserver ein.">
|
||||
<meta property="og:title" content="wCloud · Dein Minecraft-Netzwerk auf deinem Server">
|
||||
<meta property="og:description" content="Projektseite, Screenshots und Handbuch für die selbst gehostete Minecraft-Verwaltung.">
|
||||
<title>wCloud · Minecraft-Netzwerke selbst betreiben</title>
|
||||
<link rel="icon" href="assets/logo.svg" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
<script defer src="site.js"></script>
|
||||
</head>
|
||||
<body data-page="home">
|
||||
<a class="skip" href="#inhalt">Zum Inhalt</a>
|
||||
<header class="site-header">
|
||||
<div class="shell header-inner">
|
||||
<a class="brand" href="index.html" aria-label="wCloud Startseite"><img src="assets/logo.svg" alt="" width="31" height="34">wCloud</a>
|
||||
<nav aria-label="Hauptnavigation">
|
||||
<a href="#einblick">Einblick</a>
|
||||
<a href="#aufbau">Systemaufbau</a>
|
||||
<a href="handbuch.html">Handbuch</a>
|
||||
</nav>
|
||||
<a class="top-action" href="#installation">Installation</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main id="inhalt">
|
||||
<section class="hero shell" aria-labelledby="hero-title">
|
||||
<div class="hero-copy">
|
||||
<p class="release"><span>Projektstand</span> <strong>1.0.0-RC2</strong></p>
|
||||
<h1 id="hero-title">Dein Minecraft-Netzwerk.<br><em>Auf deinem Server.</em></h1>
|
||||
<p class="hero-intro">Starte Proxy, Lobby und Gameserver auf einem eigenen Host. Mit wCloud verwaltest du Gruppen, Dateien, Module und Spieler von einem WebUI aus.</p>
|
||||
<div class="actions">
|
||||
<a class="button primary" href="#installation">Installation starten</a>
|
||||
<a class="button secondary" href="#einblick">WebUI ansehen</a>
|
||||
</div>
|
||||
</div>
|
||||
<figure class="hero-shot">
|
||||
<div class="hero-shot-top"><span>wCloud</span><span>Netzwerkübersicht</span></div>
|
||||
<img src="assets/web-dashboard.png" width="1480" height="930" alt="wCloud-Dashboard mit Proxy und Lobby im Testbetrieb">
|
||||
<figcaption>Das WebUI einer laufenden Testinstallation</figcaption>
|
||||
</figure>
|
||||
</section>
|
||||
|
||||
<section class="overview-band" aria-label="Funktionsübersicht">
|
||||
<div class="shell overview-grid">
|
||||
<article><h2>Ein Master</h2><p>Betreibt und überwacht die Minecraft-Instanzen auf deinem Host.</p></article>
|
||||
<article><h2>Gruppen & Vorlagen</h2><p>Wiederverwendbare Lobby- und Gameserver-Setups mit eigenen Dateien und Plugins.</p></article>
|
||||
<article><h2>Rechte & Moderation</h2><p>Ränge, Spielerakten, konfigurierbare Nachrichten und Teamchat im WebUI.</p></article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="einblick" class="shell section gallery-section">
|
||||
<div class="section-header">
|
||||
<h2>Ein Blick in wCloud</h2>
|
||||
<p>Von der Netzwerkübersicht bis zur einzelnen Moderationsnachricht.</p>
|
||||
</div>
|
||||
<div class="gallery" data-gallery>
|
||||
<div class="gallery-bar">
|
||||
<div class="gallery-tabs" role="tablist" aria-label="Screenshots">
|
||||
<button type="button" id="tab-dashboard" role="tab" aria-selected="true" aria-controls="gallery-panel" data-shot="dashboard">Übersicht</button>
|
||||
<button type="button" id="tab-server" role="tab" aria-selected="false" aria-controls="gallery-panel" tabindex="-1" data-shot="server">Server</button>
|
||||
<button type="button" id="tab-moderation" role="tab" aria-selected="false" aria-controls="gallery-panel" tabindex="-1" data-shot="moderation">Moderation</button>
|
||||
<button type="button" id="tab-start" role="tab" aria-selected="false" aria-controls="gallery-panel" tabindex="-1" data-shot="start">Startprotokoll</button>
|
||||
<button type="button" id="tab-befehle" role="tab" aria-selected="false" aria-controls="gallery-panel" tabindex="-1" data-shot="befehle">Befehle</button>
|
||||
</div>
|
||||
</div>
|
||||
<figure id="gallery-panel" role="tabpanel" aria-labelledby="tab-dashboard" tabindex="0">
|
||||
<a class="gallery-image-link" href="assets/web-dashboard.png" data-zoom aria-label="Screenshot in voller Größe ansehen">
|
||||
<img src="assets/web-dashboard.png" width="1480" height="930" alt="Übersicht mit Status, Ressourcen und laufenden Instanzen" data-gallery-image loading="lazy">
|
||||
</a>
|
||||
<figcaption class="gallery-caption">
|
||||
<div><strong data-gallery-title>Übersicht</strong><p data-gallery-caption>Master, Spieler und laufende Instanzen auf einer Seite.</p></div>
|
||||
<a class="text-link" href="assets/web-dashboard.png" data-open-image>Original öffnen</a>
|
||||
</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="game-grid">
|
||||
<figure class="game-shot">
|
||||
<div class="game-image"><img src="assets/minecraft-serverliste.png" alt="wCloud-Demo in der Minecraft-Serverliste mit Logo und Serverbeschreibung" loading="lazy"></div>
|
||||
<figcaption><strong>Serverliste</strong><span>Logo und MOTD in Minecraft</span></figcaption>
|
||||
</figure>
|
||||
<figure class="game-shot">
|
||||
<div class="game-image tablist"><img src="assets/minecraft-tabliste.png" alt="Minecraft-Tabliste der wCloud-Demo mit Spielerzahl und aktueller Lobby" loading="lazy"></div>
|
||||
<figcaption><strong>Tabliste</strong><span>Netzwerkstatus und aktueller Server im Spiel</span></figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="aufbau" class="architecture-section">
|
||||
<div class="shell section architecture-layout">
|
||||
<div class="section-header">
|
||||
<h2>Ein Host. Klare Aufgaben.</h2>
|
||||
<p>Der Master verwaltet Gruppen, verteilt Vorlagen und startet die Instanzen. Velocity ist der gemeinsame Einstieg für Minecraft-Spieler.</p>
|
||||
<a class="text-link" href="handbuch.html#aufbau">Aufbau und Ports im Handbuch</a>
|
||||
</div>
|
||||
<div class="architecture" aria-label="Systemaufbau von wCloud">
|
||||
<div class="architecture-row">
|
||||
<div class="node"><strong>Admin im Browser</strong><span>Lokales WebUI · Standardport 1337</span></div>
|
||||
<div class="node master"><strong>wCloud Master</strong><span>Gruppen, Vorlagen und Prozesse</span></div>
|
||||
<div class="node"><strong>SQLite</strong><span>Einstellungen, Cache und Logs</span></div>
|
||||
</div>
|
||||
<div class="architecture-row player-path">
|
||||
<div class="node"><strong>Minecraft-Spieler</strong><span>Serveradresse im Spiel</span></div>
|
||||
<div class="node"><strong>Velocity-Proxy</strong><span>Standardport 25565</span></div>
|
||||
<div class="node"><strong>Lobby & Gameserver</strong><span>Paper oder Forge</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="installation" class="shell section setup-section">
|
||||
<div class="section-header">
|
||||
<h2>Vom Paket zum ersten Join</h2>
|
||||
<p>Du brauchst Java 25 oder neuer, das wCloud-Paket und einen Internetzugang für den ersten Download der Serversoftware.</p>
|
||||
</div>
|
||||
<ol class="setup-steps">
|
||||
<li>
|
||||
<h3>wCloud starten</h3>
|
||||
<p>Entpacke <code>wcloud-web.zip</code> in ein eigenes Verzeichnis und öffne dort die Befehlszeile.</p>
|
||||
<div class="command-line"><code id="home-start">java -jar wcloud-launcher.jar</code><button class="copy" type="button" data-copy="home-start" aria-label="Startbefehl kopieren">Kopieren</button></div>
|
||||
</li>
|
||||
<li>
|
||||
<h3>WebUI öffnen</h3>
|
||||
<p>Öffne die Adresse aus der Konsole. Lies den Dashboard-Schlüssel in einem zweiten Terminal im gleichen Verzeichnis aus.</p>
|
||||
<div class="command-line"><code id="home-key">java -jar wcloud-launcher.jar --dashboard-key</code><button class="copy" type="button" data-copy="home-key" aria-label="Befehl zum Abrufen des Dashboard-Schlüssels kopieren">Kopieren</button></div>
|
||||
</li>
|
||||
<li>
|
||||
<h3>Proxy und Lobby anlegen</h3>
|
||||
<p>Schließe das Setup im Browser ab. Lege zuerst einen Velocity-Proxy an und anschließend eine Lobby mit Paper. Setze die Mindestanzahl jeweils auf eins.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h3>In Minecraft verbinden</h3>
|
||||
<p>Warte, bis beide Instanzen online sind. Füge im Minecraft-Client die IP deines Hosts mit dem Port des Proxys zur Serverliste hinzu.</p>
|
||||
</li>
|
||||
</ol>
|
||||
<div class="actions setup-actions">
|
||||
<a class="button primary" href="handbuch.html#installation">Vollständige Anleitung</a>
|
||||
<a class="button secondary" href="handbuch.html#paket-bauen">Paket aus dem Quellcode bauen</a>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer class="site-footer">
|
||||
<div class="shell footer-inner">
|
||||
<a class="brand" href="index.html"><img src="assets/logo.svg" alt="" width="26" height="28">wCloud</a>
|
||||
<span>Projektseite und Handbuch</span>
|
||||
<a class="text-link" href="handbuch.html#betrieb">Betrieb und Pflege</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<dialog class="lightbox" aria-labelledby="lightbox-title" data-lightbox>
|
||||
<div class="lightbox-bar">
|
||||
<h2 id="lightbox-title">Screenshot</h2>
|
||||
<form method="dialog"><button class="button secondary small" type="submit">Schließen</button></form>
|
||||
</div>
|
||||
<img alt="" data-lightbox-image>
|
||||
</dialog>
|
||||
<p class="sr-only" id="copy-status" role="status"></p>
|
||||
</body>
|
||||
</html>
|
||||
124
website/dist/site.js
vendored
Normal file
124
website/dist/site.js
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
const gallery = document.querySelector('[data-gallery]');
|
||||
|
||||
if (gallery) {
|
||||
const shots = {
|
||||
dashboard: {
|
||||
file: 'web-dashboard.png',
|
||||
title: 'Übersicht',
|
||||
alt: 'wCloud-Dashboard mit Status, Ressourcen und laufenden Instanzen',
|
||||
caption: 'Master, Spieler und laufende Instanzen auf einer Seite.'
|
||||
},
|
||||
server: {
|
||||
file: 'web-server.png',
|
||||
title: 'Server',
|
||||
alt: 'Serveransicht mit den Gruppen Proxy, Lobby und Survival',
|
||||
caption: 'Gruppen, Vorlagen und aktive Instanzen in der Serveransicht.'
|
||||
},
|
||||
moderation: {
|
||||
file: 'web-moderation.png',
|
||||
title: 'Moderation',
|
||||
alt: 'Editor für einen zeitlich begrenzten Bann mit MiniMessage-Vorschau',
|
||||
caption: 'Moderationsmeldungen übersetzen, formatieren und vorab prüfen.'
|
||||
},
|
||||
start: {
|
||||
file: 'cli-start.png',
|
||||
title: 'Startprotokoll',
|
||||
alt: 'Ausgabe eines wCloud-Teststarts mit Webadresse und verbundenen Minecraft-Instanzen',
|
||||
caption: 'Die Ausgabe eines Teststarts zeigt die Dashboard-Adresse und die verbundenen Instanzen.'
|
||||
},
|
||||
befehle: {
|
||||
file: 'cli-befehle.png',
|
||||
title: 'Befehle',
|
||||
alt: 'Ausgabe der wCloud-Masterbefehle service list und help',
|
||||
caption: 'Die Master-Konsole zeigt Status und Ports mit service list. help listet die Befehle auf.'
|
||||
}
|
||||
};
|
||||
const tabs = [...gallery.querySelectorAll('[role="tab"]')];
|
||||
const panel = gallery.querySelector('[role="tabpanel"]');
|
||||
const image = gallery.querySelector('[data-gallery-image]');
|
||||
const zoom = gallery.querySelector('[data-zoom]');
|
||||
const original = gallery.querySelector('[data-open-image]');
|
||||
const dialog = document.querySelector('[data-lightbox]');
|
||||
const dialogImage = dialog.querySelector('[data-lightbox-image]');
|
||||
const title = gallery.querySelector('[data-gallery-title]');
|
||||
const caption = gallery.querySelector('[data-gallery-caption]');
|
||||
let current = shots.dashboard;
|
||||
|
||||
function selectTab(selected) {
|
||||
current = shots[selected.dataset.shot];
|
||||
for (const tab of tabs) {
|
||||
tab.setAttribute('aria-selected', String(tab === selected));
|
||||
tab.tabIndex = tab === selected ? 0 : -1;
|
||||
}
|
||||
panel.setAttribute('aria-labelledby', selected.id);
|
||||
const source = 'assets/' + current.file;
|
||||
image.src = source;
|
||||
image.alt = current.alt;
|
||||
zoom.href = source;
|
||||
original.href = source;
|
||||
title.textContent = current.title;
|
||||
caption.textContent = current.caption;
|
||||
}
|
||||
|
||||
tabs.forEach((tab, index) => {
|
||||
tab.addEventListener('click', () => selectTab(tab));
|
||||
tab.addEventListener('keydown', event => {
|
||||
const position = {
|
||||
ArrowLeft: (index - 1 + tabs.length) % tabs.length,
|
||||
ArrowRight: (index + 1) % tabs.length,
|
||||
Home: 0,
|
||||
End: tabs.length - 1
|
||||
}[event.key];
|
||||
if (position == null) return;
|
||||
event.preventDefault();
|
||||
selectTab(tabs[position]);
|
||||
tabs[position].focus();
|
||||
});
|
||||
});
|
||||
|
||||
zoom.addEventListener('click', event => {
|
||||
if (typeof dialog.showModal !== 'function' || event.ctrlKey || event.metaKey || event.shiftKey) return;
|
||||
event.preventDefault();
|
||||
dialog.querySelector('h2').textContent = current.title;
|
||||
dialogImage.src = zoom.href;
|
||||
dialogImage.alt = current.alt;
|
||||
dialog.showModal();
|
||||
});
|
||||
}
|
||||
|
||||
const copyStatus = document.querySelector('#copy-status');
|
||||
for (const button of document.querySelectorAll('[data-copy]')) {
|
||||
let reset;
|
||||
button.addEventListener('click', async () => {
|
||||
const code = document.getElementById(button.dataset.copy);
|
||||
if (!code) return;
|
||||
try {
|
||||
await navigator.clipboard.writeText(code.textContent);
|
||||
button.textContent = 'Kopiert';
|
||||
copyStatus.textContent = 'Befehl kopiert.';
|
||||
} catch {
|
||||
const range = document.createRange();
|
||||
range.selectNodeContents(code);
|
||||
const selection = window.getSelection();
|
||||
selection.removeAllRanges();
|
||||
selection.addRange(range);
|
||||
button.textContent = 'Markiert';
|
||||
copyStatus.textContent = 'Befehl markiert. Kopiere ihn mit deiner Tastenkombination.';
|
||||
}
|
||||
clearTimeout(reset);
|
||||
reset = setTimeout(() => { button.textContent = 'Kopieren'; }, 2200);
|
||||
});
|
||||
}
|
||||
|
||||
const chapters = document.querySelector('.guide-nav');
|
||||
if (chapters) {
|
||||
function markChapter() {
|
||||
const active = location.hash || '#installation';
|
||||
for (const link of chapters.querySelectorAll('a')) {
|
||||
if (link.hash === active) link.setAttribute('aria-current', 'location');
|
||||
else link.removeAttribute('aria-current');
|
||||
}
|
||||
}
|
||||
addEventListener('hashchange', markChapter);
|
||||
markChapter();
|
||||
}
|
||||
300
website/dist/styles.css
vendored
Normal file
300
website/dist/styles.css
vendored
Normal file
@ -0,0 +1,300 @@
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--background: #141812;
|
||||
--surface: #1b2119;
|
||||
--surface-raised: #232a20;
|
||||
--line: #374033;
|
||||
--ink: #f4f3e8;
|
||||
--muted: #b9c1b2;
|
||||
--lime: #cef871;
|
||||
--lime-dark: #171f0d;
|
||||
--mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
|
||||
font-family: Inter, "Segoe UI", system-ui, sans-serif;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
|
||||
body { margin: 0; background: var(--background); color: var(--ink); line-height: 1.6; }
|
||||
img { display: block; max-width: 100%; }
|
||||
a { color: inherit; }
|
||||
button { font: inherit; }
|
||||
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
|
||||
outline: 2px solid var(--lime);
|
||||
outline-offset: 4px;
|
||||
}
|
||||
.shell { width: min(100% - 5rem, 82rem); margin-inline: auto; }
|
||||
.skip, .sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.skip:focus {
|
||||
z-index: 5;
|
||||
top: .5rem;
|
||||
left: .5rem;
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: .65rem 1rem;
|
||||
clip-path: none;
|
||||
background: var(--lime);
|
||||
color: var(--lime-dark);
|
||||
}
|
||||
|
||||
.site-header {
|
||||
position: sticky;
|
||||
z-index: 4;
|
||||
top: 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: var(--background);
|
||||
}
|
||||
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 4.8rem; gap: 1.5rem; }
|
||||
.brand { display: inline-flex; align-items: center; gap: .65rem; width: max-content; font-size: 1.35rem; font-weight: 760; letter-spacing: -.05em; text-decoration: none; }
|
||||
.brand img { flex: none; }
|
||||
.site-header nav { display: flex; align-items: center; justify-content: center; gap: 1.55rem; }
|
||||
.site-header nav a { color: var(--muted); font-size: .94rem; font-weight: 550; text-decoration: none; white-space: nowrap; }
|
||||
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--lime); }
|
||||
.top-action {
|
||||
justify-self: end;
|
||||
padding: .5rem .9rem;
|
||||
border: 1px solid #53643d;
|
||||
border-radius: .4rem;
|
||||
color: var(--lime);
|
||||
font-size: .95rem;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
.top-action:hover { background: var(--surface-raised); }
|
||||
|
||||
h1, h2, h3, p, figure { margin: 0; }
|
||||
h1, h2, h3 { line-height: 1.12; }
|
||||
h1, h2 { letter-spacing: -.045em; }
|
||||
.hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, .95fr) minmax(0, 1.45fr);
|
||||
align-items: center;
|
||||
gap: clamp(2rem, 4.2vw, 4rem);
|
||||
padding-block: clamp(3.2rem, 7vw, 7.4rem) clamp(3.2rem, 6.2vw, 6.2rem);
|
||||
}
|
||||
.release { display: flex; align-items: center; gap: .78rem; margin-bottom: 1.15rem; color: var(--muted); font: .87rem var(--mono); }
|
||||
.release strong { color: var(--lime); font-weight: 560; }
|
||||
.release strong::before { content: "/"; color: #778171; padding-right: .75rem; }
|
||||
.hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.6rem); font-weight: 760; }
|
||||
.hero h1 em { color: var(--lime); font-style: normal; }
|
||||
.hero-intro { max-width: 29rem; margin-top: 1.4rem; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.18rem); }
|
||||
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
|
||||
.hero .actions { margin-top: 1.65rem; }
|
||||
.button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 2.9rem;
|
||||
padding: .68rem 1rem;
|
||||
border: 1px solid transparent;
|
||||
border-radius: .42rem;
|
||||
font-size: .95rem;
|
||||
font-weight: 700;
|
||||
line-height: 1.24;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.primary { background: var(--lime); color: var(--lime-dark); }
|
||||
.primary:hover { background: #d9ff95; }
|
||||
.secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
|
||||
.secondary:hover { background: var(--surface-raised); border-color: #657258; }
|
||||
.small { min-height: 2.25rem; padding: .42rem .68rem; font-size: .875rem; }
|
||||
.text-link { color: var(--lime); text-underline-offset: .22em; }
|
||||
.text-link:hover { text-decoration-thickness: 2px; }
|
||||
|
||||
.hero-shot {
|
||||
overflow: hidden;
|
||||
aspect-ratio: auto;
|
||||
border: 1px solid #4d5a42;
|
||||
border-radius: .8rem;
|
||||
background: var(--surface);
|
||||
box-shadow: 0 22px 68px #0007;
|
||||
}
|
||||
.hero-shot-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .55rem .9rem; color: var(--muted); font: .83rem var(--mono); }
|
||||
.hero-shot-top span:first-child { color: var(--lime); }
|
||||
.hero-shot img { width: 100%; height: auto; background: #101510; border-block: 1px solid var(--line); }
|
||||
.hero-shot figcaption { padding: .52rem .85rem; color: var(--muted); font-size: .875rem; }
|
||||
|
||||
.overview-band { background: var(--surface); border-block: 1px solid var(--line); }
|
||||
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
|
||||
.overview-grid article { padding: 1.5rem 1.7rem; border-right: 1px solid var(--line); }
|
||||
.overview-grid article:first-child { border-left: 1px solid var(--line); }
|
||||
.overview-grid h2 { margin-bottom: .45rem; color: var(--lime); font-size: 1.12rem; letter-spacing: -.02em; }
|
||||
.overview-grid p { max-width: 33ch; color: var(--muted); }
|
||||
.section { padding-block: clamp(3.2rem, 7vw, 6.6rem); }
|
||||
.section-header { margin-bottom: 2rem; }
|
||||
.section-header h2, .guide-header h1 { font-size: clamp(2.2rem, 4.35vw, 3.65rem); font-weight: 750; }
|
||||
.section-header p, .guide-header p { max-width: 63ch; margin-top: .9rem; color: var(--muted); font-size: 1.08rem; }
|
||||
|
||||
.gallery { border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); overflow: hidden; }
|
||||
.gallery-bar { display: flex; justify-content: center; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
|
||||
.gallery-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .36rem; }
|
||||
.gallery-tabs button {
|
||||
padding: .45rem .78rem;
|
||||
border: 1px solid transparent;
|
||||
border-radius: .36rem;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: .93rem;
|
||||
font-weight: 650;
|
||||
cursor: pointer;
|
||||
}
|
||||
.gallery-tabs button[aria-selected="true"] { border-color: #5e7046; background: #2d3b21; color: var(--lime); }
|
||||
.gallery-tabs button:hover { color: var(--ink); }
|
||||
.gallery-tabs button[aria-selected="true"]:hover { color: var(--lime); }
|
||||
.gallery-image-link { display: grid; place-items: center; padding: clamp(.55rem, 2vw, 1.4rem); background: #101510; cursor: zoom-in; }
|
||||
.gallery-image-link img { width: 100%; height: auto; max-height: 43rem; object-fit: contain; }
|
||||
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: .7rem 1rem; border-top: 1px solid var(--line); padding: .9rem 1.25rem; }
|
||||
.gallery-caption p { color: var(--muted); }
|
||||
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
|
||||
.game-shot { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); overflow: hidden; }
|
||||
.game-image { flex: 1; display: grid; place-items: center; min-height: 11.5rem; padding: 1rem; background: #101510; }
|
||||
.game-image.tablist { background: #263247; }
|
||||
.game-image img { max-height: 12.5rem; width: auto; height: auto; }
|
||||
.game-shot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem 1rem; padding: .75rem 1rem; border-top: 1px solid var(--line); }
|
||||
.game-shot figcaption span { color: var(--muted); }
|
||||
|
||||
.architecture-section { border-block: 1px solid var(--line); background: var(--surface); }
|
||||
.architecture-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
|
||||
.architecture-layout .section-header { margin: 0; }
|
||||
.architecture-layout .text-link { display: inline-block; margin-top: 1.1rem; }
|
||||
.architecture { display: grid; gap: .85rem; }
|
||||
.architecture-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
|
||||
.node { position: relative; display: flex; flex-direction: column; gap: .4rem; justify-content: center; min-height: 6.1rem; padding: .82rem .65rem; border: 1px solid #4c5944; border-radius: .4rem; background: var(--background); }
|
||||
.node:not(:last-child)::after { position: absolute; content: ""; left: 100%; top: 50%; width: 1.15rem; border-top: 1px solid #829075; }
|
||||
.node strong { color: var(--ink); font-size: 1rem; line-height: 1.2; }
|
||||
.node span { color: var(--muted); font-size: .87rem; line-height: 1.42; }
|
||||
.node.master { background: #29351d; border-color: #839f56; }
|
||||
.node.master strong { color: var(--lime); }
|
||||
|
||||
.setup-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.35rem; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
|
||||
.setup-steps li { position: relative; counter-increment: steps; min-width: 0; padding: 1.1rem 0 1.4rem 2.65rem; border-top: 1px solid var(--line); }
|
||||
.setup-steps li::before {
|
||||
position: absolute;
|
||||
inset: 1.02rem auto auto 0;
|
||||
content: counter(steps);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 1.7rem;
|
||||
height: 1.7rem;
|
||||
border: 1px solid #596d42;
|
||||
border-radius: .33rem;
|
||||
color: var(--lime);
|
||||
font: .91rem var(--mono);
|
||||
}
|
||||
.setup-steps h3 { font-size: 1.25rem; }
|
||||
.setup-steps p { margin-top: .54rem; color: var(--muted); }
|
||||
.setup-actions { margin-top: 1.2rem; }
|
||||
.command-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: .7rem;
|
||||
min-width: 0;
|
||||
margin-block: .85rem;
|
||||
padding: .55rem .65rem .55rem .9rem;
|
||||
border: 1px solid #42503a;
|
||||
border-radius: .42rem;
|
||||
background: #101510;
|
||||
color: #e8efdd;
|
||||
}
|
||||
code, kbd { font-family: var(--mono); font-size: .88em; overflow-wrap: anywhere; }
|
||||
p code, li code, dd code, td code, kbd { padding: .12em .25em; border-radius: .22rem; background: #2a3225; color: #e9f4dc; }
|
||||
.command-line code { font-size: .91rem; }
|
||||
.copy { flex: none; min-height: 2rem; padding: .25rem .55rem; border: 1px solid #5b6c49; border-radius: .28rem; background: var(--surface); color: var(--lime); font-size: .87rem; font-weight: 650; cursor: pointer; }
|
||||
.copy:hover { background: var(--surface-raised); }
|
||||
|
||||
.site-footer { border-top: 1px solid var(--line); background: #10150f; }
|
||||
.footer-inner { min-height: 5.4rem; display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.4rem; padding-block: 1rem; }
|
||||
.footer-inner > span { color: var(--muted); }
|
||||
.footer-inner > .text-link { margin-left: auto; }
|
||||
|
||||
.lightbox { width: min(95vw, 92rem); max-height: 93vh; margin: auto; padding: 0; border: 1px solid #59694f; border-radius: .65rem; background: var(--surface); color: var(--ink); }
|
||||
.lightbox::backdrop { background: #050805e5; }
|
||||
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
|
||||
.lightbox-bar h2 { font-size: 1.12rem; }
|
||||
.lightbox > img { display: block; width: 100%; height: auto; max-height: 81vh; object-fit: contain; background: #101510; }
|
||||
|
||||
.guide-header { padding-block: 3.8rem 2.1rem; border-bottom: 1px solid var(--line); }
|
||||
.guide-grid { display: grid; grid-template-columns: minmax(12rem, .3fr) minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 4.6rem); padding-block: 2rem 4.3rem; }
|
||||
.guide-nav { position: sticky; top: 6.25rem; align-self: start; display: grid; gap: .25rem; }
|
||||
.guide-nav a { width: max-content; max-width: 100%; padding: .32rem .55rem; border-radius: .26rem; color: var(--muted); text-decoration: none; }
|
||||
.guide-nav a:hover, .guide-nav a[aria-current] { background: var(--surface-raised); color: var(--lime); }
|
||||
.guide-content { width: min(100%, 53rem); }
|
||||
.guide-content section { min-width: 0; padding-bottom: 2rem; }
|
||||
.guide-content section + section { padding-top: 2rem; border-top: 1px solid var(--line); }
|
||||
.guide-content h2 { margin-bottom: .85rem; font-size: clamp(1.68rem, 3vw, 2.4rem); }
|
||||
.guide-content h3 { margin-block: 1.5rem .5rem; font-size: 1.2rem; }
|
||||
.guide-content p { margin-block: .72rem; color: var(--muted); }
|
||||
.guide-content strong { color: var(--ink); }
|
||||
.guide-content ol { margin-block: .65rem; padding-inline-start: 1.55rem; color: var(--muted); }
|
||||
.guide-content li + li { margin-top: .5rem; }
|
||||
.definition-list { margin-block: 1rem; padding: 0; }
|
||||
.definition-list div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
|
||||
.definition-list dt { font-weight: 700; }
|
||||
.definition-list dd { margin: 0; color: var(--muted); }
|
||||
.table-scroll { overflow-x: auto; margin-block: 1rem; border: 1px solid var(--line); border-radius: .45rem; }
|
||||
table { width: 100%; border-collapse: collapse; text-align: left; }
|
||||
th, td { padding: .65rem .8rem; vertical-align: top; }
|
||||
th { background: var(--surface-raised); }
|
||||
td { border-top: 1px solid var(--line); color: var(--muted); }
|
||||
td:first-child { color: var(--ink); }
|
||||
.example-code { padding: .75rem .95rem; border: 1px solid var(--line); border-radius: .4rem; background: #101510; }
|
||||
.example-code code { white-space: pre-wrap; }
|
||||
details { margin: .75rem 0 0; padding: .6rem .82rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--surface); }
|
||||
summary { font-weight: 650; cursor: pointer; }
|
||||
|
||||
@media (max-width: 62rem) {
|
||||
.shell { width: min(100% - 3rem, 82rem); }
|
||||
.hero { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 1.45rem; }
|
||||
.hero h1 { font-size: clamp(2.4rem, 5.55vw, 3.8rem); }
|
||||
.architecture-layout { grid-template-columns: 1fr; }
|
||||
.command-line { align-items: flex-start; }
|
||||
}
|
||||
|
||||
@media (max-width: 46rem) {
|
||||
html { scroll-padding-top: 7.5rem; }
|
||||
.shell { width: min(100% - 2rem, 82rem); }
|
||||
.header-inner { grid-template-columns: 1fr 1fr; gap: .4rem 1rem; padding-block: .58rem; }
|
||||
.site-header nav { grid-row: 2; grid-column: 1/-1; justify-content: start; gap: 1.15rem; overflow-x: auto; padding-block: .24rem .14rem; }
|
||||
.hero { grid-template-columns: 1fr; gap: 2.25rem; }
|
||||
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.2rem); }
|
||||
.hero-intro { max-width: 42rem; }
|
||||
.overview-grid, .game-grid, .setup-steps { grid-template-columns: 1fr; }
|
||||
.overview-grid article { border: 0; padding: 1.08rem 0; }
|
||||
.overview-grid article:first-child { border-left: 0; }
|
||||
.overview-grid article + article { border-top: 1px solid var(--line); }
|
||||
.overview-grid p { max-width: none; }
|
||||
.gallery-caption { align-items: flex-start; flex-direction: column; }
|
||||
.game-image { min-height: 8.2rem; }
|
||||
.architecture-row { gap: .54rem; }
|
||||
.node { padding: .6rem .48rem; min-height: 5.9rem; }
|
||||
.node:not(:last-child)::after { width: .56rem; }
|
||||
.node strong { font-size: .93rem; overflow-wrap: anywhere; }
|
||||
.node span { font-size: .81rem; }
|
||||
.footer-inner > .text-link { margin-left: 0; }
|
||||
.guide-header { padding-block: 2.65rem 1.35rem; }
|
||||
.guide-grid { grid-template-columns: 1fr; gap: 1.4rem; }
|
||||
.guide-nav { position: static; display: flex; flex-wrap: wrap; gap: .3rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
|
||||
.guide-nav a { border: 1px solid var(--line); font-size: .875rem; }
|
||||
.definition-list div { grid-template-columns: 1fr; gap: .25rem; }
|
||||
}
|
||||
|
||||
@media (max-width: 27rem) {
|
||||
.setup-steps li { padding-left: 2.1rem; }
|
||||
.command-line { gap: .4rem; padding-inline: .55rem; }
|
||||
.command-line code { font-size: .84rem; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html { scroll-behavior: auto; }
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user