diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 0f6727b..3da6b28 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -51,6 +51,18 @@ jobs: ssh-keyscan -H "$DEPLOY_HOST" >> ~/.ssh/known_hosts 2>/dev/null chmod 600 ~/.ssh/known_hosts + - name: Inject deploy info + run: | + set -euo pipefail + SHA_SHORT=$(echo "${GITHUB_SHA}" | cut -c1-7) + DEPLOY_TS=$(date -u +"%Y-%m-%d %H:%M UTC") + DEPLOY_INFO="${SHA_SHORT} · ${DEPLOY_TS}" + # In-place substitute the placeholder in all HTML files. + # Pipe `|` is used as the sed delimiter to avoid clashing with `/` in the timestamp. + # GNU sed on the Ubuntu runner accepts `-i` without a backup arg. + find site -name "*.html" -exec sed -i "s||${DEPLOY_INFO}|g" {} + + echo "Injected deploy info: ${DEPLOY_INFO}" + - name: Rsync site/ to IONOS DocumentRoot run: | set -euo pipefail diff --git a/site/assets/style.css b/site/assets/style.css new file mode 100644 index 0000000..14d79ba --- /dev/null +++ b/site/assets/style.css @@ -0,0 +1,132 @@ +:root { + --bg: #0c0f17; + --bg-soft: #131826; + --card: #161c2d; + --card-hover: #1d2438; + --border: #232b40; + --text: #e6eaf3; + --text-dim: #9aa4bd; + --accent: #4f8cff; + --accent-soft: #6ea0ff; + --green: #36d399; + --amber: #fbbd23; + --radius: 16px; + --maxw: 1080px; +} +* { margin: 0; padding: 0; box-sizing: border-box; } +html { scroll-behavior: smooth; } +body { + background: radial-gradient(1200px 600px at 70% -10%, #1a2238 0%, var(--bg) 55%) no-repeat, var(--bg); + color: var(--text); + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; + line-height: 1.6; + -webkit-font-smoothing: antialiased; + min-height: 100vh; +} +a { color: inherit; text-decoration: none; } +.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; } + +/* Top bar */ +header { + position: sticky; top: 0; z-index: 50; + backdrop-filter: blur(12px); + background: rgba(12,15,23,0.72); + border-bottom: 1px solid var(--border); +} +.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; } +.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.2px; } +.brand .mark { color: var(--accent); font-size: 1.4rem; line-height: 1; } +.lang-toggle { display: flex; gap: 4px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 4px; } +.lang-toggle button { + cursor: pointer; border: none; background: transparent; color: var(--text-dim); + font-size: 0.85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; transition: all .18s; +} +.lang-toggle button.active { background: var(--accent); color: #fff; } + +/* Primary nav links (multi-page) */ +.nav-links { display: flex; gap: 22px; align-items: center; } +.nav-links a { color: var(--text-dim); font-size: 0.92rem; font-weight: 600; transition: color .18s; } +.nav-links a:hover, .nav-links a.active { color: var(--text); } + +/* Back link */ +.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 0.9rem; font-weight: 600; margin-bottom: 24px; transition: color .18s; } +.back-link:hover { color: var(--accent-soft); } + +/* Hero */ +.hero { padding: 84px 0 56px; } +.pill { + display: inline-flex; align-items: center; gap: 8px; + background: var(--bg-soft); border: 1px solid var(--border); + color: var(--text-dim); font-size: 0.8rem; font-weight: 600; + padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; +} +.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); } +.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 20px; } +.hero h1 .grad { background: linear-gradient(90deg, var(--accent-soft), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; } +.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--text-dim); max-width: 640px; margin-bottom: 32px; } +.cta-row { display: flex; flex-wrap: wrap; gap: 14px; } +.btn { + display: inline-flex; align-items: center; gap: 8px; + padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; + border: 1px solid var(--border); transition: all .18s; +} +.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; } +.btn-primary:hover { background: var(--accent-soft); transform: translateY(-1px); } +.btn-ghost:hover { background: var(--card-hover); transform: translateY(-1px); } + +/* Sections */ +section { padding: 56px 0; } +.section-head { margin-bottom: 36px; } +.section-head .eyebrow { color: var(--accent); font-weight: 700; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; } +.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; letter-spacing: -0.3px; margin-top: 8px; } +.section-head p { color: var(--text-dim); max-width: 620px; margin-top: 10px; } + +/* Product grid */ +.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; } +.card { + background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); + padding: 26px; transition: all .2s; display: flex; flex-direction: column; +} +.card:hover { background: var(--card-hover); border-color: #2e3954; transform: translateY(-3px); } +.card .icon { font-size: 1.9rem; margin-bottom: 14px; } +.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } +.badge { font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: 0.5px; text-transform: uppercase; } +.badge.live { background: rgba(54,211,153,0.15); color: var(--green); border: 1px solid rgba(54,211,153,0.35); } +.badge.alpha { background: rgba(251,189,35,0.13); color: var(--amber); border: 1px solid rgba(251,189,35,0.32); } +.badge.tool { background: rgba(79,140,255,0.13); color: var(--accent-soft); border: 1px solid rgba(79,140,255,0.32); } +.card .sub { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 14px; } +.card p { color: var(--text-dim); font-size: 0.95rem; flex-grow: 1; } +.card .link { margin-top: 18px; color: var(--accent-soft); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; } +.card .link.disabled { color: var(--text-dim); opacity: 0.7; } + +/* Stack / about */ +.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; } +@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 28px; } } +.about p { color: var(--text-dim); margin-bottom: 16px; } +.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; } +.chip { background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-dim); font-size: 0.82rem; font-weight: 600; padding: 7px 13px; border-radius: 8px; } +.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; } +.panel h4 { font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; } +.stat { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 0.92rem; } +.stat:last-child { border-bottom: none; } +.stat .k { color: var(--text-dim); } +.stat .v { font-weight: 700; } + +/* Prose (article body for /apps and /homelab) */ +.prose { max-width: 720px; } +.prose p { color: var(--text-dim); margin-bottom: 18px; font-size: 1.02rem; } +.prose h3 { color: var(--text); font-size: 1.35rem; font-weight: 700; margin-top: 36px; margin-bottom: 12px; letter-spacing: -0.2px; } +.prose strong { color: var(--text); font-weight: 700; } +.prose a { color: var(--accent-soft); border-bottom: 1px dashed var(--accent-soft); } +.prose a:hover { color: var(--accent); } + +/* Footer */ +footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--text-dim); font-size: 0.88rem; } +.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; } +.foot-links { display: flex; flex-wrap: wrap; gap: 18px; } +.foot-links a:hover { color: var(--text); } +.deploy-badge { font-size: 0.75rem; opacity: 0.5; margin-top: 1rem; } + +[data-lang-en] { display: none; } +html[lang="en"] [data-lang-de] { display: none; } +html[lang="en"] [data-lang-en] { display: revert; } diff --git a/site/index.html b/site/index.html index 09d7fe5..4e84089 100644 --- a/site/index.html +++ b/site/index.html @@ -13,122 +13,7 @@ - +
@@ -280,6 +165,9 @@ Git +
+

+