This commit is contained in:
2025-09-12 09:10:37 +02:00
parent a0095a993a
commit c27a054497
2 changed files with 35 additions and 119 deletions

View File

@@ -1,51 +1,26 @@
:root {
--bg: #0f1724; /* dunkler Hintergrund, wiki-ähnlich */
--card: #0b1530;
--accent: #ffcc33; /* Akzentfarbe */
--muted: #9aa4b2;
--text: #e6eef8;
--glass: rgba(255, 255, 255, 0.03);
}
/* Bootstrap Dark Mode aktivieren */
:root, [data-bs-theme=dark] {
--bs-body-bg: #0f1724; /* Hintergrund */
--bs-body-color: #e6eef8; /* Textfarbe */
--bs-border-color: rgba(255,255,255,0.1);
--bs-link-color: #ffcc33;
--bs-link-hover-color: #ffdb66;
* {
box-sizing: border-box
}
html, body {
height: 100%
}
body {
margin: 0;
font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
background: linear-gradient(180deg, #071022 0%, #0b1230 60%);
color: var(--text);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.45;
/* Deine Custom-Werte */
--accent: #ffcc33;
}
/* Container */
.wrap {
max-width: 1200px;
margin: 28px auto;
padding: 20px
padding: 20px;
}
/* Topbar */
header.topbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 18px;
background: var(--glass);
border-radius: 12px
}
.brand {
display: flex;
gap: 12px;
align-items: center
@extend .d-flex, .align-items-center, .justify-content-between, .rounded-3, .p-3;
background: var(--bs-dark-bg-subtle, rgba(255,255,255,0.05));
}
.logo {
@@ -57,27 +32,7 @@ header.topbar {
align-items: center;
justify-content: center;
font-weight: 800;
color: #081022
}
.brand h1 {
margin: 0;
font-size: 1.05rem
}
.search {
display: flex;
align-items: center;
gap: 8px
}
.search input {
padding: 8px 12px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.06);
background: transparent;
color: var(--text);
outline: none
color: #081022;
}
/* Layout */
@@ -85,76 +40,26 @@ header.topbar {
display: grid;
grid-template-columns: 1fr 320px;
gap: 18px;
margin-top: 18px
margin-top: 18px;
}
main.card {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
main.card, aside.sidebar {
background: var(--bs-dark-bg-subtle, rgba(255,255,255,0.05));
padding: 18px;
border-radius: 12px
}
aside.sidebar {
background: var(--card);
padding: 16px;
border-radius: 12px;
height: fit-content
}
/* Article */
h2.title {
margin-top: 0
}
.meta {
color: var(--muted);
font-size: 0.9rem;
margin-bottom: 10px
}
/* Hero */
.hero {
height: 180px;
border-radius: 8px;
background-size: cover;
background-position: center;
margin-bottom: 12px;
overflow: hidden
overflow: hidden;
}
/* Cards */
.card-row {
display: flex;
flex-wrap: wrap;
gap: 12px
}
.mini-card {
flex: 1 1 160px;
background: rgba(255, 255, 255, 0.02);
padding: 10px;
border-radius: 10px
}
/* Footer */
footer {
margin-top: 24px;
text-align: center;
color: var(--muted);
font-size: 0.9rem
}
/* Responsive */
@media (max-width: 880px) {
.grid {
grid-template-columns:1fr;
}
.search {
display: none
}
}
/* Small helpers */
/* Helpers */
a.button {
display: inline-block;
padding: 8px 12px;
@@ -162,11 +67,22 @@ a.button {
background: var(--accent);
color: #081022;
text-decoration: none;
font-weight: 600
font-weight: 600;
}
nav a {
color: var(--muted);
color: var(--bs-secondary-color);
text-decoration: none;
margin-right: 12px
margin-right: 12px;
}
/* Responsive */
@media (max-width: 880px) {
.grid {
grid-template-columns: 1fr;
}
.search {
display: none;
}
}

View File

@@ -1,5 +1,5 @@
<!doctype html>
<html lang="de">
<html lang="de" data-bs-theme=dark>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">