From f1ec79d71cc0ff2641a217c1f16616c574b28aec Mon Sep 17 00:00:00 2001 From: eldov Date: Sun, 30 Aug 2026 18:48:01 +0200 Subject: [PATCH] feat: initial stirling-pdf-theme repository with Cyber Noir custom.css --- README.md | 19 ++++++++++ customFiles/static/css/custom.css | 62 +++++++++++++++++++++++++++++++ deploy.sh | 33 ++++++++++++++++ 3 files changed, 114 insertions(+) create mode 100644 README.md create mode 100644 customFiles/static/css/custom.css create mode 100755 deploy.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..8d69c4b --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# Stirling-PDF Custom Theme + +Custom Cyberpunk Theme fΓΌr Stirling-PDF auf [free-warez.win](https://free-warez.win). + +--- + +## πŸ“ Struktur + +- `customFiles/`: + - `static/css/custom.css`: **W-MAKE Cyber Noir** Theme mit Cyan & Smaragd Akzenten, Glassmorphism-Karten und Dark Obsidian Background. +- `deploy.sh`: Synchronisiert die Custom-Files in das gemountete Verzeichnis `/opt/containers/stirling-pdf/customFiles/` auf dem VPS und startet den Container neu. + +--- + +## πŸš€ Deployment + +```bash +./deploy.sh +``` diff --git a/customFiles/static/css/custom.css b/customFiles/static/css/custom.css new file mode 100644 index 0000000..d32d152 --- /dev/null +++ b/customFiles/static/css/custom.css @@ -0,0 +1,62 @@ +/* ========================================================================== + STIRLING-PDF - W-MAKE CYBER NOIR THEME + Deep Obsidian #050812 | Cyber Cyan #00f2fe | Emerald #10b981 + ========================================================================== */ + +:root { + --primary-color: #00f2fe !important; + --secondary-color: #10b981 !important; + --bg-color: #050812 !important; + --surface-color: rgba(11, 17, 32, 0.9) !important; + --border-color: rgba(0, 242, 254, 0.2) !important; + --text-color: #f8fafc !important; +} + +body { + background-color: #050812 !important; + color: #f8fafc !important; + background-image: radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.07) 0%, transparent 60%), + radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 60%) !important; + background-attachment: fixed !important; +} + +/* Navbar */ +nav.navbar { + background: rgba(7, 10, 20, 0.94) !important; + backdrop-filter: blur(20px) !important; + -webkit-backdrop-filter: blur(20px) !important; + border-bottom: 1px solid var(--border-color) !important; + box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7) !important; +} + +/* Tool Cards */ +.card, .tool-card { + background: rgba(14, 23, 44, 0.75) !important; + backdrop-filter: blur(16px) !important; + -webkit-backdrop-filter: blur(16px) !important; + border: 1px solid var(--border-color) !important; + border-radius: 14px !important; + transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important; +} + +.card:hover, .tool-card:hover { + transform: translateY(-3px) !important; + border-color: #00f2fe !important; + box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 254, 0.25) !important; +} + +/* Buttons */ +.btn-primary { + background: linear-gradient(135deg, #00f2fe 0%, #10b981 100%) !important; + color: #03060c !important; + border: none !important; + font-weight: 700 !important; + border-radius: 10px !important; + box-shadow: 0 4px 16px rgba(0, 242, 254, 0.35) !important; + transition: all 0.2s ease !important; +} + +.btn-primary:hover { + filter: brightness(1.15) !important; + box-shadow: 0 6px 24px rgba(0, 242, 254, 0.6) !important; +} diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..c618304 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +# deploy.sh - Deploy Stirling-PDF Custom Theme & Files +# Domain: stirling-pdf / free-warez.win +# Target Host: free-warez.win -> /opt/containers/stirling-pdf/customFiles/ + +set -euo pipefail + +TARGET_HOST="free-warez.win" +LOCAL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +CUSTOM_DIR="$LOCAL_DIR/customFiles" +REMOTE_DIR="/opt/containers/stirling-pdf/customFiles" + +echo "πŸš€ Deploying Stirling-PDF Custom Theme" +echo " Target Host: $TARGET_HOST:$REMOTE_DIR" +echo "=========================================================" + +# 1. Check SSH connection +echo "πŸ“‘ Checking SSH connection to $TARGET_HOST..." +if ! ssh -q -o BatchMode=yes -o ConnectTimeout=5 "$TARGET_HOST" exit; then + echo "❌ Cannot connect to $TARGET_HOST via SSH." + exit 1 +fi + +# 2. Sync files +echo "πŸ”„ Transferring custom files to $TARGET_HOST..." +rsync -avz "$CUSTOM_DIR/" "$TARGET_HOST:$REMOTE_DIR/" + +# 3. Reload Stirling-PDF container +echo "πŸ”„ Reloading Stirling-PDF container..." +ssh "$TARGET_HOST" "docker restart stirling-pdf" + +echo "βœ… Stirling-PDF theme deployed successfully!" +echo "✨ Deployment complete!"