Weitere Optionen
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
||
| Zeile 1: | Zeile 1: | ||
. | /* ===== StarCitizen.tools inspirierte Hauptseite ===== */ | ||
.sc-mainpage { | |||
max-width: 1400px; | max-width: 1400px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: | padding: 1.5rem 0 3rem 0; | ||
} | } | ||
. | .sc-hero { | ||
position: relative; | |||
overflow: hidden; | |||
border: 1px solid rgba(255,255,255,0.08); | border: 1px solid rgba(255,255,255,0.08); | ||
border-radius: | border-radius: 20px; | ||
box-shadow: 0 | background: | ||
linear-gradient(135deg, rgba(10,14,22,0.96), rgba(22,29,40,0.94)), | |||
url("/images/hero-placeholder.jpg") center/cover no-repeat; | |||
min-height: 360px; | |||
display: flex; | |||
align-items: center; | |||
margin-bottom: 2rem; | |||
box-shadow: 0 16px 40px rgba(0,0,0,0.25); | |||
} | } | ||
. | .sc-hero::after { | ||
content: ""; | |||
position: absolute; | |||
inset: 0; | |||
background: | background: | ||
radial-gradient(circle at top right, rgba(100,170,255,0.18), transparent 28%), | |||
linear-gradient(to right, rgba(6,8,12,0.78), rgba(6,8,12,0.28)); | |||
pointer-events: none; | |||
} | } | ||
. | .sc-hero-content { | ||
. | position: relative; | ||
font-size: 0. | z-index: 1; | ||
font-weight: | max-width: 760px; | ||
padding: 2.5rem; | |||
} | |||
.sc-hero-kicker { | |||
font-size: 0.78rem; | |||
font-weight: 700; | |||
letter-spacing: 0.18em; | letter-spacing: 0.18em; | ||
color: # | color: #7fb8ff; | ||
margin-bottom: 0. | margin-bottom: 0.8rem; | ||
} | } | ||
. | .sc-hero h1 { | ||
margin: 0 0 0. | margin: 0 0 0.75rem 0; | ||
font-size: | font-size: clamp(2rem, 4vw, 3.4rem); | ||
line-height: 1.05; | line-height: 1.05; | ||
font-weight: 800; | font-weight: 800; | ||
} | } | ||
. | .sc-hero p { | ||
font-size: 1.05rem; | |||
font-size: 1. | |||
line-height: 1.7; | line-height: 1.7; | ||
color: rgba(255,255,255,0.88); | |||
max-width: 60ch; | max-width: 60ch; | ||
margin-bottom: 1.4rem; | |||
} | } | ||
. | .sc-hero-buttons { | ||
padding: 1. | display: flex; | ||
flex-wrap: wrap; | |||
gap: 0.75rem; | |||
} | |||
.sc-btn { | |||
display: inline-block; | |||
padding: 0.82rem 1.15rem; | |||
border-radius: 12px; | |||
font-weight: 700; | |||
text-decoration: none; | |||
} | |||
.sc-btn-primary { | |||
background: linear-gradient(135deg, #4da3ff, #6db8ff); | |||
color: #08111d; | |||
} | |||
.sc-btn-secondary { | |||
background: rgba(255,255,255,0.06); | |||
color: #fff; | |||
border: 1px solid rgba(255,255,255,0.12); | |||
} | |||
.sc-section { | |||
margin-bottom: 2rem; | |||
} | |||
.sc-section-header { | |||
margin-bottom: 1rem; | margin-bottom: 1rem; | ||
} | } | ||
. | .sc-section-header h2 { | ||
margin-bottom: 0.25rem; | |||
font-size: 1.6rem; | |||
font-weight: 750; | |||
} | |||
.sc-section-header p { | |||
margin: 0; | |||
color: rgba(255,255,255,0.72); | |||
} | |||
.sc-card-grid { | |||
display: grid; | display: grid; | ||
grid-template-columns: repeat( | grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); | ||
gap: 1rem; | gap: 1rem; | ||
} | } | ||
. | .sc-card { | ||
padding: 1. | background: linear-gradient(180deg, rgba(22,27,34,0.98), rgba(16,20,26,0.98)); | ||
border: 1px solid rgba(255,255,255,0.08); | |||
transition: transform 0.18s ease, border-color 0.18s ease; | border-radius: 18px; | ||
padding: 1.2rem; | |||
box-shadow: 0 10px 24px rgba(0,0,0,0.16); | |||
transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; | |||
} | } | ||
. | .sc-card:hover { | ||
transform: translateY(-3px); | transform: translateY(-3px); | ||
border-color: rgba( | border-color: rgba(109,184,255,0.35); | ||
box-shadow: 0 16px 30px rgba(0,0,0,0.2); | |||
} | |||
.sc-card h3 { | |||
margin-top: 0; | |||
margin-bottom: 0.5rem; | |||
font-size: 1.15rem; | |||
} | } | ||
. | .sc-card p { | ||
margin | margin: 0; | ||
color: rgba(255,255,255,0. | color: rgba(255,255,255,0.76); | ||
line-height: 1.6; | |||
} | } | ||
. | .sc-columns { | ||
display: grid; | display: grid; | ||
grid-template-columns: | grid-template-columns: 2fr 1fr; | ||
gap: 1rem; | gap: 1rem; | ||
margin-bottom: 2rem; | |||
} | |||
.sc-panel { | |||
min-width: 0; | |||
} | |||
.sc-panel h2 { | |||
margin-bottom: 0.8rem; | |||
} | } | ||
. | .sc-panel-box { | ||
background: linear-gradient(180deg, rgba(18,22,28,0.98), rgba(13,17,22,0.98)); | |||
border: 1px solid rgba(255,255,255,0.08); | |||
border-radius: 18px; | |||
padding: 1.25rem; | padding: 1.25rem; | ||
} | } | ||
. | .sc-panel-box h3 { | ||
margin-top: 0; | |||
margin-bottom: 0.5rem; | |||
} | |||
.sc-panel-box p, | |||
.sc-panel-box li { | |||
color: rgba(255,255,255,0.8); | |||
line-height: 1.6; | |||
} | |||
.sc-link-list { | |||
list-style: none; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
.sc-link-list li { | |||
padding: 0.65rem 0; | |||
border-bottom: 1px solid rgba(255,255,255,0.06); | |||
} | |||
.sc-link-list li:last-child { | |||
border-bottom: 0; | |||
} | |||
.sc-mini-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); | |||
gap: 0.9rem; | |||
} | |||
.sc-mini-card { | |||
background: rgba(255,255,255,0.04); | |||
border: 1px solid rgba(255,255,255,0.07); | |||
border-radius: 14px; | |||
padding: 1rem; | |||
text-align: center; | |||
font-weight: 700; | |||
transition: transform 0.16s ease, border-color 0.16s ease; | |||
} | |||
.sc-mini-card:hover { | |||
transform: translateY(-2px); | |||
border-color: rgba(109,184,255,0.32); | |||
} | |||
.sc-footer-note { | |||
margin-top: 2rem; | |||
padding: 1rem 1.2rem; | |||
border-left: 3px solid #59aaff; | |||
background: rgba(89,170,255,0.08); | |||
border-radius: 12px; | |||
color: rgba(255,255,255,0.82); | |||
} | |||
/* Links in Cards/Panels schöner */ | |||
.sc-mainpage a { | |||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
. | .sc-mainpage a:hover { | ||
text-decoration: | text-decoration: none; | ||
} | } | ||
@media (max-width: | /* Mobile */ | ||
. | @media (max-width: 900px) { | ||
grid-template-columns: | .sc-columns { | ||
grid-template-columns: 1fr; | |||
} | |||
.sc-hero { | |||
min-height: 300px; | |||
} | } | ||
. | .sc-hero-content { | ||
padding: 1.5rem; | |||
} | } | ||
} | } | ||
@media (max-width: 640px) { | @media (max-width: 640px) { | ||
. | .sc-hero h1 { | ||
font-size: 2rem; | |||
} | |||
.sc-hero p { | |||
font-size: 0.98rem; | |||
} | } | ||
. | .sc-card-grid, | ||
.sc-mini-grid { | |||
grid-template-columns: 1fr; | |||
} | } | ||
} | } | ||
Version vom 10. April 2026, 23:04 Uhr
/* ===== StarCitizen.tools inspirierte Hauptseite ===== */
.sc-mainpage {
max-width: 1400px;
margin: 0 auto;
padding: 1.5rem 0 3rem 0;
}
.sc-hero {
position: relative;
overflow: hidden;
border: 1px solid rgba(255,255,255,0.08);
border-radius: 20px;
background:
linear-gradient(135deg, rgba(10,14,22,0.96), rgba(22,29,40,0.94)),
url("/images/hero-placeholder.jpg") center/cover no-repeat;
min-height: 360px;
display: flex;
align-items: center;
margin-bottom: 2rem;
box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.sc-hero::after {
content: "";
position: absolute;
inset: 0;
background:
radial-gradient(circle at top right, rgba(100,170,255,0.18), transparent 28%),
linear-gradient(to right, rgba(6,8,12,0.78), rgba(6,8,12,0.28));
pointer-events: none;
}
.sc-hero-content {
position: relative;
z-index: 1;
max-width: 760px;
padding: 2.5rem;
}
.sc-hero-kicker {
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.18em;
color: #7fb8ff;
margin-bottom: 0.8rem;
}
.sc-hero h1 {
margin: 0 0 0.75rem 0;
font-size: clamp(2rem, 4vw, 3.4rem);
line-height: 1.05;
font-weight: 800;
}
.sc-hero p {
font-size: 1.05rem;
line-height: 1.7;
color: rgba(255,255,255,0.88);
max-width: 60ch;
margin-bottom: 1.4rem;
}
.sc-hero-buttons {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.sc-btn {
display: inline-block;
padding: 0.82rem 1.15rem;
border-radius: 12px;
font-weight: 700;
text-decoration: none;
}
.sc-btn-primary {
background: linear-gradient(135deg, #4da3ff, #6db8ff);
color: #08111d;
}
.sc-btn-secondary {
background: rgba(255,255,255,0.06);
color: #fff;
border: 1px solid rgba(255,255,255,0.12);
}
.sc-section {
margin-bottom: 2rem;
}
.sc-section-header {
margin-bottom: 1rem;
}
.sc-section-header h2 {
margin-bottom: 0.25rem;
font-size: 1.6rem;
font-weight: 750;
}
.sc-section-header p {
margin: 0;
color: rgba(255,255,255,0.72);
}
.sc-card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 1rem;
}
.sc-card {
background: linear-gradient(180deg, rgba(22,27,34,0.98), rgba(16,20,26,0.98));
border: 1px solid rgba(255,255,255,0.08);
border-radius: 18px;
padding: 1.2rem;
box-shadow: 0 10px 24px rgba(0,0,0,0.16);
transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.sc-card:hover {
transform: translateY(-3px);
border-color: rgba(109,184,255,0.35);
box-shadow: 0 16px 30px rgba(0,0,0,0.2);
}
.sc-card h3 {
margin-top: 0;
margin-bottom: 0.5rem;
font-size: 1.15rem;
}
.sc-card p {
margin: 0;
color: rgba(255,255,255,0.76);
line-height: 1.6;
}
.sc-columns {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 1rem;
margin-bottom: 2rem;
}
.sc-panel {
min-width: 0;
}
.sc-panel h2 {
margin-bottom: 0.8rem;
}
.sc-panel-box {
background: linear-gradient(180deg, rgba(18,22,28,0.98), rgba(13,17,22,0.98));
border: 1px solid rgba(255,255,255,0.08);
border-radius: 18px;
padding: 1.25rem;
}
.sc-panel-box h3 {
margin-top: 0;
margin-bottom: 0.5rem;
}
.sc-panel-box p,
.sc-panel-box li {
color: rgba(255,255,255,0.8);
line-height: 1.6;
}
.sc-link-list {
list-style: none;
margin: 0;
padding: 0;
}
.sc-link-list li {
padding: 0.65rem 0;
border-bottom: 1px solid rgba(255,255,255,0.06);
}
.sc-link-list li:last-child {
border-bottom: 0;
}
.sc-mini-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 0.9rem;
}
.sc-mini-card {
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.07);
border-radius: 14px;
padding: 1rem;
text-align: center;
font-weight: 700;
transition: transform 0.16s ease, border-color 0.16s ease;
}
.sc-mini-card:hover {
transform: translateY(-2px);
border-color: rgba(109,184,255,0.32);
}
.sc-footer-note {
margin-top: 2rem;
padding: 1rem 1.2rem;
border-left: 3px solid #59aaff;
background: rgba(89,170,255,0.08);
border-radius: 12px;
color: rgba(255,255,255,0.82);
}
/* Links in Cards/Panels schöner */
.sc-mainpage a {
text-decoration: none;
}
.sc-mainpage a:hover {
text-decoration: none;
}
/* Mobile */
@media (max-width: 900px) {
.sc-columns {
grid-template-columns: 1fr;
}
.sc-hero {
min-height: 300px;
}
.sc-hero-content {
padding: 1.5rem;
}
}
@media (max-width: 640px) {
.sc-hero h1 {
font-size: 2rem;
}
.sc-hero p {
font-size: 0.98rem;
}
.sc-card-grid,
.sc-mini-grid {
grid-template-columns: 1fr;
}
}