Files
Pattern-Wars/static/css/style.css
2025-09-12 09:10:37 +02:00

89 lines
1.7 KiB
CSS

/* 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;
/* Deine Custom-Werte */
--accent: #ffcc33;
}
/* Container */
.wrap {
max-width: 1200px;
margin: 28px auto;
padding: 20px;
}
/* Topbar */
header.topbar {
@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 {
width: 48px;
height: 48px;
border-radius: 8px;
background: linear-gradient(135deg, var(--accent), #ff9a3c);
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
color: #081022;
}
/* Layout */
.grid {
display: grid;
grid-template-columns: 1fr 320px;
gap: 18px;
margin-top: 18px;
}
main.card, aside.sidebar {
background: var(--bs-dark-bg-subtle, rgba(255,255,255,0.05));
padding: 18px;
border-radius: 12px;
}
/* Hero */
.hero {
height: 180px;
border-radius: 8px;
background-size: cover;
background-position: center;
margin-bottom: 12px;
overflow: hidden;
}
/* Helpers */
a.button {
display: inline-block;
padding: 8px 12px;
border-radius: 999px;
background: var(--accent);
color: #081022;
text-decoration: none;
font-weight: 600;
}
nav a {
color: var(--bs-secondary-color);
text-decoration: none;
margin-right: 12px;
}
/* Responsive */
@media (max-width: 880px) {
.grid {
grid-template-columns: 1fr;
}
.search {
display: none;
}
}