Initial commit: MischLabs landing page
Static landing page with tile-based overview of all 8 self-hosted services. Dark theme with responsive grid layout, SVG icons, and hover animations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
*~
|
||||||
|
.vscode/
|
||||||
47
Brain.md
Normal file
47
Brain.md
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
# Brain.md - Projekt mischlabs.de Landing Page
|
||||||
|
|
||||||
|
## Projektziel
|
||||||
|
Eine ansprechende Landing Page fuer mischlabs.de, die alle Dienste als Kacheln mit direkten Verlinkungen anzeigt.
|
||||||
|
|
||||||
|
## Status
|
||||||
|
- [x] Git-Repo initialisiert und Remote verbunden (https://git.mischlabs.de/MrDiderot/mischlabs.git)
|
||||||
|
- [x] Dienste-Liste vom Screenshot erfasst
|
||||||
|
- [x] Landing Page Design und Implementierung (index.html + style.css)
|
||||||
|
- [ ] Erster Commit + Push
|
||||||
|
|
||||||
|
## Dienste-Uebersicht (8 Stueck)
|
||||||
|
| # | Subdomain | Beschreibung | Farbe/Accent |
|
||||||
|
|---|-----------|-------------|--------------|
|
||||||
|
| 1 | audiobook.mischlabs.de | Hoerbuecher | #22c55e (Gruen) |
|
||||||
|
| 2 | foodlabs.mischlabs.de | Rezepte | #f97316 (Orange) |
|
||||||
|
| 3 | movies.mischlabs.de | Filme & Serien | #a855f7 (Lila) |
|
||||||
|
| 4 | drive.mischlabs.de | Cloud-Speicher | #4285f4 (Blau) |
|
||||||
|
| 5 | password.mischlabs.de | Passwort-Manager | #eab308 (Gelb) |
|
||||||
|
| 6 | tom.mischlabs.de | Persoenliche Seite | #ec4899 (Pink) |
|
||||||
|
| 7 | git.mischlabs.de | Code-Repositories | #f05033 (Rot) |
|
||||||
|
| 8 | docs.mischlabs.de | Dokumentation | #06b6d4 (Cyan) |
|
||||||
|
|
||||||
|
## Technische Entscheidungen
|
||||||
|
- **Reines HTML + CSS** (kein Framework, kein JS noetig) - maximale Performance
|
||||||
|
- **Google Fonts (Inter)** fuer moderne Typografie
|
||||||
|
- **Inline SVG Icons** - keine externen Icon-Libraries noetig, kein zusaetzlicher HTTP-Request
|
||||||
|
- **CSS Grid** mit `auto-fill` + `minmax(240px, 1fr)` fuer responsives Layout
|
||||||
|
- **Dark Theme** mit subtilen Glow-Effekten im Hintergrund
|
||||||
|
- **Card-Hover-Effekte**: translateY, Box-Shadow, radial-gradient Spotlight
|
||||||
|
- **Staggered Animations**: Kacheln faden nacheinander ein (fadeInUp)
|
||||||
|
- **Responsive Breakpoints**: 768px (2 Spalten), 480px (1 Spalte)
|
||||||
|
|
||||||
|
## Dateistruktur
|
||||||
|
```
|
||||||
|
mischlabs/
|
||||||
|
index.html - Haupt-HTML mit allen 8 Service-Kacheln
|
||||||
|
style.css - Komplettes Styling (Dark Theme, Grid, Animationen)
|
||||||
|
Brain.md - Dieses Dokument
|
||||||
|
```
|
||||||
|
|
||||||
|
## Erkenntnisse & Notizen
|
||||||
|
- Daten stammen aus Caddy/Reverse-Proxy-Konfiguration (Screenshot)
|
||||||
|
- Alle Dienste laufen auf 192.168.178.88 mit verschiedenen Ports
|
||||||
|
- Oeffentlich erreichbar ueber *.mischlabs.de Subdomains
|
||||||
|
- Kein JavaScript noetig - pure CSS reicht fuer alle Effekte
|
||||||
|
- `color-mix()` CSS-Funktion fuer dynamische Icon-Hintergruende basierend auf Accent-Farbe
|
||||||
155
index.html
Normal file
155
index.html
Normal file
@@ -0,0 +1,155 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="de">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>MischLabs - Services</title>
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="bg-glow bg-glow-1"></div>
|
||||||
|
<div class="bg-glow bg-glow-2"></div>
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<div class="logo">
|
||||||
|
<span class="logo-icon">⚙</span>
|
||||||
|
<h1>Misch<span>Labs</span></h1>
|
||||||
|
</div>
|
||||||
|
<p class="subtitle">Self-Hosted Services</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<div class="grid">
|
||||||
|
|
||||||
|
<a href="https://drive.mischlabs.de" class="card" target="_blank" rel="noopener">
|
||||||
|
<div class="card-icon" style="--accent: #4285f4;">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="card-content">
|
||||||
|
<h2>Drive</h2>
|
||||||
|
<p>Cloud-Speicher</p>
|
||||||
|
</div>
|
||||||
|
<span class="card-domain">drive.mischlabs.de</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://git.mischlabs.de" class="card" target="_blank" rel="noopener">
|
||||||
|
<div class="card-icon" style="--accent: #f05033;">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<circle cx="12" cy="12" r="4"/><line x1="1.05" y1="12" x2="7" y2="12"/><line x1="17.01" y1="12" x2="22.96" y2="12"/>
|
||||||
|
<path d="M12 1.05V7"/><path d="M12 17.01v5.95"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="card-content">
|
||||||
|
<h2>Git</h2>
|
||||||
|
<p>Code-Repositories</p>
|
||||||
|
</div>
|
||||||
|
<span class="card-domain">git.mischlabs.de</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://movies.mischlabs.de" class="card" target="_blank" rel="noopener">
|
||||||
|
<div class="card-icon" style="--accent: #a855f7;">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<rect x="2" y="2" width="20" height="20" rx="2.18" ry="2.18"/>
|
||||||
|
<line x1="7" y1="2" x2="7" y2="22"/><line x1="17" y1="2" x2="17" y2="22"/>
|
||||||
|
<line x1="2" y1="12" x2="22" y2="12"/><line x1="2" y1="7" x2="7" y2="7"/>
|
||||||
|
<line x1="2" y1="17" x2="7" y2="17"/><line x1="17" y1="17" x2="22" y2="17"/>
|
||||||
|
<line x1="17" y1="7" x2="22" y2="7"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="card-content">
|
||||||
|
<h2>Movies</h2>
|
||||||
|
<p>Filme & Serien</p>
|
||||||
|
</div>
|
||||||
|
<span class="card-domain">movies.mischlabs.de</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://audiobook.mischlabs.de" class="card" target="_blank" rel="noopener">
|
||||||
|
<div class="card-icon" style="--accent: #22c55e;">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M3 18v-6a9 9 0 0 1 18 0v6"/>
|
||||||
|
<path d="M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="card-content">
|
||||||
|
<h2>Audiobooks</h2>
|
||||||
|
<p>Hoerbuecher</p>
|
||||||
|
</div>
|
||||||
|
<span class="card-domain">audiobook.mischlabs.de</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://foodlabs.mischlabs.de" class="card" target="_blank" rel="noopener">
|
||||||
|
<div class="card-icon" style="--accent: #f97316;">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M18 8h1a4 4 0 0 1 0 8h-1"/>
|
||||||
|
<path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"/>
|
||||||
|
<line x1="6" y1="1" x2="6" y2="4"/>
|
||||||
|
<line x1="10" y1="1" x2="10" y2="4"/>
|
||||||
|
<line x1="14" y1="1" x2="14" y2="4"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="card-content">
|
||||||
|
<h2>FoodLabs</h2>
|
||||||
|
<p>Rezepte</p>
|
||||||
|
</div>
|
||||||
|
<span class="card-domain">foodlabs.mischlabs.de</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://password.mischlabs.de" class="card" target="_blank" rel="noopener">
|
||||||
|
<div class="card-icon" style="--accent: #eab308;">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"/>
|
||||||
|
<path d="M7 11V7a5 5 0 0 1 10 0v4"/>
|
||||||
|
<circle cx="12" cy="16" r="1"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="card-content">
|
||||||
|
<h2>Passwords</h2>
|
||||||
|
<p>Passwort-Manager</p>
|
||||||
|
</div>
|
||||||
|
<span class="card-domain">password.mischlabs.de</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://docs.mischlabs.de" class="card" target="_blank" rel="noopener">
|
||||||
|
<div class="card-icon" style="--accent: #06b6d4;">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
|
||||||
|
<polyline points="14 2 14 8 20 8"/>
|
||||||
|
<line x1="16" y1="13" x2="8" y2="13"/>
|
||||||
|
<line x1="16" y1="17" x2="8" y2="17"/>
|
||||||
|
<polyline points="10 9 9 9 8 9"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="card-content">
|
||||||
|
<h2>Docs</h2>
|
||||||
|
<p>Dokumentation</p>
|
||||||
|
</div>
|
||||||
|
<span class="card-domain">docs.mischlabs.de</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<a href="https://tom.mischlabs.de" class="card" target="_blank" rel="noopener">
|
||||||
|
<div class="card-icon" style="--accent: #ec4899;">
|
||||||
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/>
|
||||||
|
<circle cx="12" cy="7" r="4"/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
<div class="card-content">
|
||||||
|
<h2>Tom</h2>
|
||||||
|
<p>Persoenliche Seite</p>
|
||||||
|
</div>
|
||||||
|
<span class="card-domain">tom.mischlabs.de</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<p>© 2026 MischLabs — Self-Hosted with care</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
303
style.css
Normal file
303
style.css
Normal file
@@ -0,0 +1,303 @@
|
|||||||
|
/* ===== Reset & Base ===== */
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--bg: #0a0a0f;
|
||||||
|
--surface: #13131a;
|
||||||
|
--surface-hover: #1a1a24;
|
||||||
|
--border: rgba(255, 255, 255, 0.06);
|
||||||
|
--border-hover: rgba(255, 255, 255, 0.12);
|
||||||
|
--text: #e4e4e7;
|
||||||
|
--text-muted: #71717a;
|
||||||
|
--text-dim: #52525b;
|
||||||
|
--radius: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-size: 16px;
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||||
|
background: var(--bg);
|
||||||
|
color: var(--text);
|
||||||
|
min-height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
overflow-x: hidden;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Background Glows ===== */
|
||||||
|
.bg-glow {
|
||||||
|
position: fixed;
|
||||||
|
border-radius: 50%;
|
||||||
|
filter: blur(120px);
|
||||||
|
opacity: 0.15;
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-glow-1 {
|
||||||
|
width: 600px;
|
||||||
|
height: 600px;
|
||||||
|
background: #4285f4;
|
||||||
|
top: -200px;
|
||||||
|
left: -100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bg-glow-2 {
|
||||||
|
width: 500px;
|
||||||
|
height: 500px;
|
||||||
|
background: #a855f7;
|
||||||
|
bottom: -150px;
|
||||||
|
right: -100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Header ===== */
|
||||||
|
header {
|
||||||
|
text-align: center;
|
||||||
|
padding: 4rem 2rem 2rem;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 0.75rem;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-icon {
|
||||||
|
font-size: 2rem;
|
||||||
|
opacity: 0.6;
|
||||||
|
animation: spin 20s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes spin {
|
||||||
|
from { transform: rotate(0deg); }
|
||||||
|
to { transform: rotate(360deg); }
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
font-weight: 700;
|
||||||
|
letter-spacing: -0.03em;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 span {
|
||||||
|
background: linear-gradient(135deg, #4285f4, #a855f7);
|
||||||
|
-webkit-background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
background-clip: text;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtitle {
|
||||||
|
color: var(--text-muted);
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: 400;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Main Grid ===== */
|
||||||
|
main {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 1100px;
|
||||||
|
padding: 2rem;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
||||||
|
gap: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Card ===== */
|
||||||
|
.card {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 1.5rem;
|
||||||
|
background: var(--surface);
|
||||||
|
border: 1px solid var(--border);
|
||||||
|
border-radius: var(--radius);
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--text);
|
||||||
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: radial-gradient(
|
||||||
|
600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
|
||||||
|
rgba(255, 255, 255, 0.03),
|
||||||
|
transparent 40%
|
||||||
|
);
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card:hover::before {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card:hover {
|
||||||
|
border-color: var(--border-hover);
|
||||||
|
transform: translateY(-4px);
|
||||||
|
box-shadow:
|
||||||
|
0 8px 32px rgba(0, 0, 0, 0.3),
|
||||||
|
0 0 0 1px rgba(255, 255, 255, 0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Card Icon ===== */
|
||||||
|
.card-icon {
|
||||||
|
width: 48px;
|
||||||
|
height: 48px;
|
||||||
|
border-radius: 12px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background: color-mix(in srgb, var(--accent) 15%, transparent);
|
||||||
|
color: var(--accent);
|
||||||
|
transition: all 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card:hover .card-icon {
|
||||||
|
background: color-mix(in srgb, var(--accent) 25%, transparent);
|
||||||
|
transform: scale(1.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-icon svg {
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Card Content ===== */
|
||||||
|
.card-content h2 {
|
||||||
|
font-size: 1.15rem;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #fff;
|
||||||
|
letter-spacing: -0.01em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-content p {
|
||||||
|
font-size: 0.85rem;
|
||||||
|
color: var(--text-muted);
|
||||||
|
margin-top: 0.15rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Card Domain ===== */
|
||||||
|
.card-domain {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
color: var(--text-dim);
|
||||||
|
font-family: 'SF Mono', 'Fira Code', monospace;
|
||||||
|
padding-top: 0.5rem;
|
||||||
|
border-top: 1px solid var(--border);
|
||||||
|
transition: color 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card:hover .card-domain {
|
||||||
|
color: var(--text-muted);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Footer ===== */
|
||||||
|
footer {
|
||||||
|
margin-top: auto;
|
||||||
|
padding: 3rem 2rem 2rem;
|
||||||
|
text-align: center;
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
footer p {
|
||||||
|
color: var(--text-dim);
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Responsive ===== */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
header {
|
||||||
|
padding: 3rem 1.5rem 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
main {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
gap: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
padding: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-icon {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-icon svg {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 1.75rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ===== Animations ===== */
|
||||||
|
@keyframes fadeInUp {
|
||||||
|
from {
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(20px);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
animation: fadeInUp 0.5s ease backwards;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card:nth-child(1) { animation-delay: 0.05s; }
|
||||||
|
.card:nth-child(2) { animation-delay: 0.1s; }
|
||||||
|
.card:nth-child(3) { animation-delay: 0.15s; }
|
||||||
|
.card:nth-child(4) { animation-delay: 0.2s; }
|
||||||
|
.card:nth-child(5) { animation-delay: 0.25s; }
|
||||||
|
.card:nth-child(6) { animation-delay: 0.3s; }
|
||||||
|
.card:nth-child(7) { animation-delay: 0.35s; }
|
||||||
|
.card:nth-child(8) { animation-delay: 0.4s; }
|
||||||
Reference in New Issue
Block a user