Please enter the commit message for your changes. Lines starting

with '#' will be ignored, and an empty message aborts the commit.

On branch main

Initial commit

Changes to be committed:
	new file:   .DS_Store
	new file:   .env
	new file:   .gitignore
	new file:   ai-worker/Dockerfile
	new file:   ai-worker/requirements.txt
	new file:   ai-worker/worker.py
	new file:   background-worker/Dockerfile
	new file:   background-worker/go.mod
	new file:   background-worker/go.sum
	new file:   background-worker/main.go
	new file:   background-worker/market.go
	new file:   background-worker/rmv.go
	new file:   background-worker/rss.go
	new file:   background-worker/sql_work.go
	new file:   db/Dockerfile
	new file:   db/init.sql
	new file:   docker-compose.yml
	new file:   server-app/dockerfile
	new file:   server-app/go.mod
	new file:   server-app/go.sum
	new file:   server-app/main.go
	new file:   volumes/.DS_Store
	new file:   volumes/db-init/.DS_Store
	new file:   volumes/db-init/data/news_rss_feeds.csv
	new file:   volumes/web/.DS_Store
	new file:   volumes/web/static/css/blog.css
	new file:   volumes/web/static/css/index-lite.css
	new file:   volumes/web/static/css/index.css
	new file:   volumes/web/static/css/mandelbrot.css
	new file:   volumes/web/static/img/minecraft.png
	new file:   volumes/web/static/js/blog.js
	new file:   volumes/web/static/js/index-lite.js
	new file:   volumes/web/static/js/index.js
	new file:   volumes/web/static/js/mandelbrot.js
	new file:   volumes/web/static/media/cantina.mp3
	new file:   volumes/web/static/media/countdowns.json
	new file:   volumes/web/static/media/gong.mp4
	new file:   volumes/web/template/blog.html
	new file:   volumes/web/template/index-lite.html
	new file:   volumes/web/template/index.html
	new file:   volumes/web/template/mandelbrot.html
This commit is contained in:
hubble_dubble
2026-01-26 00:19:54 +01:00
commit 3667c678e4
41 changed files with 3556 additions and 0 deletions

View File

@@ -0,0 +1,90 @@
:root {
--tile-size: 512px;
--gap: 0px;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: #000;
color: #f5f5f5;
font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
main.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: var(--gap);
width: 100vw;
min-height: 100vh;
}
.tile {
position: relative;
width: min(var(--tile-size), 100%);
aspect-ratio: 1 / 1;
background: #111;
border-radius: 0;
overflow: hidden;
cursor: pointer;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover {
transform: translateY(-4px);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}
.tile img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: filter 0.25s ease;
}
.tile.open img {
filter: blur(2px) brightness(0.4);
}
.overlay {
position: absolute;
inset: 0;
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
background: linear-gradient(180deg, rgba(0,0,0,0.78), rgba(0,0,0,0.92));
opacity: 0;
transition: opacity 0.25s ease;
overflow: auto;
}
.tile.open .overlay {
opacity: 1;
}
.overlay h3 {
margin: 0;
font-size: 18px;
line-height: 1.3;
}
.overlay p {
margin: 0;
font-size: 14px;
line-height: 1.45;
color: #d8d8d8;
white-space: pre-line;
}
.overlay a {
margin-top: auto;
align-self: flex-start;
color: #8ad8ff;
text-decoration: none;
font-weight: 600;
letter-spacing: 0.2px;
}
.overlay a:hover {
text-decoration: underline;
}
.empty {
grid-column: 1 / -1;
text-align: center;
color: #888;
padding: 40px 0;
}

View File

@@ -0,0 +1,112 @@
:root {
color-scheme: dark;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 16px;
font-family: Arial, sans-serif;
background: #121212;
color: #e6e6e6;
}
.page-header {
position: sticky;
top: 0;
background: #121212;
padding-bottom: 12px;
z-index: 10;
}
.header-row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.title {
font-size: 1.3rem;
font-weight: 700;
}
.actions {
display: flex;
gap: 8px;
align-items: center;
}
.actions a,
.actions button {
background: #2a2a2a;
color: #e6e6e6;
border: 1px solid #3a3a3a;
border-radius: 6px;
padding: 6px 10px;
font-weight: 600;
text-decoration: none;
cursor: pointer;
}
.status {
margin-top: 8px;
font-size: 0.9rem;
color: #bdbdbd;
}
.panel {
margin-top: 16px;
padding: 12px;
border: 1px solid #2a2a2a;
border-radius: 8px;
background: #1a1a1a;
}
.panel h2 {
margin: 0 0 10px;
font-size: 1.05rem;
}
.news-item {
padding: 10px 0;
border-top: 1px solid #2a2a2a;
}
.news-item:first-child {
border-top: none;
padding-top: 0;
}
.news-title {
font-weight: 700;
margin-bottom: 4px;
}
.news-text {
color: #c9c9c9;
font-size: 0.95rem;
}
.news-link {
margin-top: 6px;
}
.news-link a {
color: #8ecbff;
text-decoration: none;
}
.market-list,
.rmv-list {
display: grid;
gap: 6px;
}
.empty {
color: #9a9a9a;
}

View File

@@ -0,0 +1,295 @@
body {
font-family: Arial, sans-serif;
background-color: #121212;
color: #e0e0e0;
padding: 1rem;
margin: 0;
}
.page-header {
position: sticky;
top: 0;
z-index: 1000;
background-color: inherit;
padding: 0.75rem 0 0.5rem;
}
/* =========================
HEADER: RESPONSIVE / HARMONISCH
========================= */
:root {
/* Höhe/Größe hängt von viewport-Breite ab:
- min: 44px (kleine Screens)
- ideal: ~6vw
- max: 60px (große Screens) */
--hdr-h: clamp(44px, 6vw, 60px);
/* Rundung skaliert leicht mit */
--hdr-r: clamp(8px, 1.2vw, 12px);
}
.header-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: clamp(8px, 1.2vw, 16px);
}
/* Links: BUNKER/Hazard so schmal wie möglich */
#hazard-symbol {
display: inline-flex;
align-items: center;
justify-content: center;
height: var(--hdr-h);
padding: 0 clamp(10px, 1.2vw, 14px);
/* wichtig: nicht breitziehen */
min-width: 0;
width: auto;
flex: 0 0 auto;
background: rgba(255, 255, 255, 0.06);
border-radius: var(--hdr-r);
font-size: clamp(1.35rem, 2.6vw, 1.65rem); /* noch größer */
line-height: 1;
white-space: nowrap;
}
/* Rechts: Button-Container */
.header-actions {
display: flex;
align-items: center;
gap: clamp(8px, 1vw, 12px);
justify-content: flex-end;
flex-wrap: nowrap;
flex: 0 0 auto;
}
/* Basis-Button */
.header-actions a,
.header-actions button {
display: inline-flex;
align-items: center;
justify-content: center;
height: var(--hdr-h);
border-radius: var(--hdr-r);
border: none;
cursor: pointer;
text-decoration: none;
font-weight: 700;
font-size: clamp(1.3rem, 2.45vw, 1.58rem); /* noch größer */
line-height: 1;
white-space: nowrap;
padding: 0; /* wird unten je nach Typ gesetzt */
}
/* Rechts: ALLE ICONS (a) quadratisch
(außer DEFCON, das ist button) */
.header-actions a {
width: var(--hdr-h);
min-width: var(--hdr-h);
padding: 0;
font-size: clamp(1.5rem, 3.1vw, 1.95rem); /* noch größer */
}
/* DEFCON: bekommt genug Platz, damit Text ohne Umbruch passt */
#defcon-button {
height: var(--hdr-h);
/* Breite: automatisch nach Inhalt, aber mit Mindestbreite */
width: auto;
min-width: clamp(130px, 18vw, 190px);
padding: 0 clamp(12px, 1.6vw, 18px);
gap: clamp(6px, 1vw, 10px);
background: rgba(255, 255, 255, 0.06);
color: #fff;
border-radius: var(--hdr-r);
/* garantiert: kein Umbruch/Spacing-Problem */
white-space: nowrap;
letter-spacing: 0.02em;
}
/* Optional, falls du im DEFCON-Button ein Emoji + Text hast:
<button id="defcon-button"><span>🚨</span><span>DEFCON 3</span></button> */
#defcon-button span {
line-height: 1;
}
/* Farben wie bei dir (minimal angepasst möglich, aber ich lasse sie) */
.header-actions a:nth-child(1) { background-color: #ff0000; }
.header-actions a:nth-child(2) { background-color: #6fff93; color: #000; }
.header-actions a:nth-child(3) { background-color: #339933; }
.header-actions a:nth-child(4),
.header-actions a:nth-child(5) { background-color: #3333cc; }
.header-actions button { background-color: #ffaa00; color: #000; }
/* =========================
TICKER
========================= */
.market-ticker {
overflow: hidden;
border-top: 1px solid #2b2b2b;
border-bottom: 1px solid #2b2b2b;
margin: 0;
padding: 6px 10px;
background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
position: relative;
flex: 1 1 auto;
display: flex;
align-items: center;
border-radius: 10px;
}
.market-ticker::before,
.market-ticker::after {
content: "";
position: absolute;
top: 0;
width: 80px;
height: 100%;
pointer-events: none;
z-index: 1;
}
.market-ticker::before {
left: 0;
background: linear-gradient(90deg, #121212, rgba(18, 18, 18, 0));
}
.market-ticker::after {
right: 0;
background: linear-gradient(270deg, #121212, rgba(18, 18, 18, 0));
}
.market-ticker-track {
display: inline-flex;
gap: 1.25rem;
white-space: nowrap;
animation: ticker-move var(--ticker-duration, 30s) linear infinite;
will-change: transform;
}
.market-ticker-track:hover {
animation-play-state: paused;
}
.ticker-item {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 4px 12px;
background: rgba(255, 255, 255, 0.06);
border-radius: 999px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
}
@keyframes ticker-move {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
/* =========================
NEWS
========================= */
.news-item {
background: #1e1e1e;
padding: 15px;
margin-bottom: 15px;
border-radius: 6px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
display: flex;
gap: 12px;
align-items: flex-start;
}
.news-title {
font-size: 1.1em;
font-weight: bold;
margin-bottom: 5px;
color: #ffffff;
}
.news-text {
font-size: 0.95em;
color: #cccccc;
}
.news-link a {
font-size: 0.9em;
color: #4da6ff;
text-decoration: none;
}
.news-thumb {
width: 160px;
height: 100px;
object-fit: cover;
border-radius: 6px;
background: #0f0f0f;
flex-shrink: 0;
}
.news-content {
flex: 1;
}
#news-container {
flex: 1;
}
/* =========================
SIDEBAR / ABFAHRT
========================= */
#abfahrt-wrapper {
flex: 0 0 300px;
position: static;
background-color: #1e1e2f;
color: white;
padding: 1rem;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
font-size: 0.9em;
margin-top: 0;
max-width: 100%;
}
#abfahrt-wrapper h2 {
margin-top: 0;
font-size: 1.1em;
}
.abfahrt-eintrag {
margin-bottom: 0.5em;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
padding-bottom: 0.5em;
}
.trip-block {
margin-bottom: 1em;
padding: 0.5em;
background-color: rgba(255, 255, 255, 0.05);
border-radius: 6px;
}
.blog-highlight {
background-color: #a00000;
color: white;
padding: 1em;
border-radius: 8px;
margin-bottom: 2rem;
}
#content-wrapper {
display: flex;
gap: 2rem;
align-items: flex-start;
}

View File

@@ -0,0 +1,216 @@
body {
background: black;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.circle-container {
position: relative;
width: 400px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 100px;
}
.circle {
width: 100%;
height: 100%;
border: 32px solid white;
border-radius: 50%;
position: relative;
box-sizing: border-box;
}
.dot {
width: 32px;
height: 32px;
background-color: red;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(0deg) translateY(-184px);
animation: rotate 60s linear infinite;
transform-origin: center;
}
@keyframes rotate {
from {
transform: translate(-50%, -50%) rotate(0deg) translateY(-184px);
}
to {
transform: translate(-50%, -50%) rotate(360deg) translateY(-184px);
}
}
.timer {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-family: monospace;
font-size: 24px;
text-align: center;
}
.small-circle-container {
display: flex;
justify-content: space-between;
gap: 20px;
margin-top: 40px;
position: absolute;
top: calc(100% - 60px);
left: 50%;
transform: translateX(-50%);
}
.small-circle {
width: 200px;
height: 200px;
border: 20px solid;
border-radius: 50%;
position: relative;
box-sizing: border-box;
cursor: pointer;
}
.small-dot {
width: 20px;
height: 20px;
background-color: white;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(0deg) translateY(-90px);
animation: rotate-small 60s linear infinite;
transform-origin: center;
}
@keyframes rotate-small {
from {
transform: translate(-50%, -50%) rotate(0deg) translateY(-90px);
}
to {
transform: translate(-50%, -50%) rotate(360deg) translateY(-90px);
}
}
#fullscreen-btn {
position: absolute;
top: 20px;
right: 20px;
padding: 8px 16px;
font-size: 14px;
background-color: rgb(0, 0, 0);
color: black;
border: none;
border-radius: 4px;
cursor: pointer;
z-index: 999;
}
.small-timer-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-family: monospace;
font-size: 16px;
text-align: center;
line-height: 1.4;
white-space: pre-line;
}
.timer-details {
position: fixed;
top: 20px;
right: 20px;
width: 320px;
max-height: 80vh;
overflow-y: auto;
padding: 16px;
background: #0d0d0d;
border: 1px solid #333;
border-radius: 12px;
box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
color: #f1f1f1;
z-index: 1000;
}
.timer-details.hidden {
display: none;
}
.timer-details h3 {
margin-top: 0;
margin-bottom: 8px;
font-size: 1.1rem;
}
.timer-details .timer-meta {
margin-bottom: 10px;
color: #bfbfbf;
font-size: 0.9rem;
}
.timer-entry {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 12px;
padding: 8px 0;
border-bottom: 1px solid #222;
}
.timer-entry:last-child {
border-bottom: none;
}
.timer-entry .label {
flex: 1;
font-weight: 600;
color: #eaeaea;
}
.timer-entry .countdown {
white-space: nowrap;
font-family: monospace;
color: #9fd3ff;
}
.timer-details .close-btn {
background: #222;
color: #f1f1f1;
border: 1px solid #444;
border-radius: 8px;
padding: 6px 10px;
cursor: pointer;
font-size: 0.85rem;
margin-bottom: 10px;
}
.timer-details .close-btn:hover {
background: #333;
}
#twitter-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.85);
z-index: 9999;
justify-content: center;
align-items: center;
flex-direction: column;
}