feat: initial eier-homepage with nginx static site
This commit is contained in:
commit
c1a88b2e04
10
README.md
Normal file
10
README.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# 🥚 Eier-Homepage
|
||||||
|
|
||||||
|
Statische Website mit allem Wissenswerten rund um Eier — Aufbau, Nährwerte und Zubereitungsarten.
|
||||||
|
|
||||||
|
## Stack
|
||||||
|
- HTML5 + CSS3 (statisch, keine Buildchain)
|
||||||
|
- Hosting: nginx auf Debian 13 LXC
|
||||||
|
|
||||||
|
## Deployment
|
||||||
|
Die Seite wird via `git clone` nach `/var/www/html` auf dem Zielserver deployed.
|
||||||
76
index.html
Normal file
76
index.html
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="de">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Alles über Eier</title>
|
||||||
|
<link rel="stylesheet" href="style.css">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
<h1>🥚 Alles über Eier</h1>
|
||||||
|
<p class="tagline">Die kleine Wunderkapsel der Natur</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<section>
|
||||||
|
<h2>Was ist ein Ei?</h2>
|
||||||
|
<p>
|
||||||
|
Ein Ei ist eine von einer Schale umgebene Zelle, in der sich der
|
||||||
|
Embryo eines Tieres entwickelt. Das bekannteste Ei in der Küche
|
||||||
|
ist das Hühnerei – aber auch Wachteln, Enten, Gänse und Strauße
|
||||||
|
legen verzehrbare Eier.
|
||||||
|
</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h2>Aufbau eines Hühnereis</h2>
|
||||||
|
<ul>
|
||||||
|
<li><strong>Schale:</strong> Calciumcarbonat, schützt das Innere</li>
|
||||||
|
<li><strong>Eiklar:</strong> ca. 60% des Gewichts, eiweißreich</li>
|
||||||
|
<li><strong>Eigelb:</strong> reich an Fett, Vitaminen und Mineralien</li>
|
||||||
|
<li><strong>Hagelschnüre:</strong> halten das Eigelb in Position</li>
|
||||||
|
<li><strong>Luftkammer:</strong> wächst mit dem Alter des Eis</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h2>Nährwerte (pro 100 g Hühnerei)</h2>
|
||||||
|
<table>
|
||||||
|
<tr><th>Nährstoff</th><th>Menge</th></tr>
|
||||||
|
<tr><td>Kalorien</td><td>155 kcal</td></tr>
|
||||||
|
<tr><td>Eiweiß</td><td>13 g</td></tr>
|
||||||
|
<tr><td>Fett</td><td>11 g</td></tr>
|
||||||
|
<tr><td>Kohlenhydrate</td><td>1 g</td></tr>
|
||||||
|
<tr><td>Cholesterin</td><td>373 mg</td></tr>
|
||||||
|
</table>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h2>Zubereitungsarten</h2>
|
||||||
|
<div class="cards">
|
||||||
|
<div class="card"><h3>Weichgekocht</h3><p>4–5 Minuten in kochendem Wasser</p></div>
|
||||||
|
<div class="card"><h3>Hartgekocht</h3><p>9–10 Minuten in kochendem Wasser</p></div>
|
||||||
|
<div class="card"><h3>Spiegelei</h3><p>In heißer Pfanne mit Butter braten</p></div>
|
||||||
|
<div class="card"><h3>Rührei</h3><p>Verquirlt langsam stocken lassen</p></div>
|
||||||
|
<div class="card"><h3>Pochiert</h3><p>In Essigwasser gleiten lassen</p></div>
|
||||||
|
<div class="card"><h3>Omelett</h3><p>Dünn ausgebacken, gefüllt</p></div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<h2>Schon gewusst?</h2>
|
||||||
|
<ul>
|
||||||
|
<li>Ein Strauß-Ei wiegt etwa so viel wie 24 Hühnereier.</li>
|
||||||
|
<li>Die Schalenfarbe hängt von der Hühnerrasse ab – nicht von der Qualität.</li>
|
||||||
|
<li>Frische Eier sinken in Wasser, alte schwimmen oben.</li>
|
||||||
|
<li>Eier sind eine der besten natürlichen Proteinquellen mit hoher biologischer Wertigkeit.</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<p>🥚 Eier-Homepage · gehostet auf nginx · deployed via Claude Code</p>
|
||||||
|
</footer>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
86
style.css
Normal file
86
style.css
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
:root {
|
||||||
|
--yolk: #f9c846;
|
||||||
|
--white: #fffaf0;
|
||||||
|
--shell: #f5e9d0;
|
||||||
|
--text: #3a2e1a;
|
||||||
|
--accent: #d97706;
|
||||||
|
}
|
||||||
|
|
||||||
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||||
|
background: linear-gradient(135deg, var(--shell) 0%, var(--white) 100%);
|
||||||
|
color: var(--text);
|
||||||
|
line-height: 1.6;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
background: var(--yolk);
|
||||||
|
text-align: center;
|
||||||
|
padding: 3rem 1rem;
|
||||||
|
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
|
||||||
|
}
|
||||||
|
|
||||||
|
header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
|
||||||
|
.tagline { font-style: italic; color: var(--text); opacity: 0.8; }
|
||||||
|
|
||||||
|
main {
|
||||||
|
max-width: 800px;
|
||||||
|
margin: 2rem auto;
|
||||||
|
padding: 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
background: white;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
padding: 1.5rem;
|
||||||
|
border-radius: 12px;
|
||||||
|
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: var(--accent);
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
border-bottom: 2px solid var(--yolk);
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul { padding-left: 1.5rem; margin: 0.5rem 0; }
|
||||||
|
li { margin: 0.3rem 0; }
|
||||||
|
|
||||||
|
table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
|
||||||
|
th, td { text-align: left; padding: 0.6rem; border-bottom: 1px solid var(--shell); }
|
||||||
|
th { background: var(--yolk); }
|
||||||
|
|
||||||
|
.cards {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
||||||
|
gap: 1rem;
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
background: var(--shell);
|
||||||
|
padding: 1rem;
|
||||||
|
border-radius: 8px;
|
||||||
|
text-align: center;
|
||||||
|
transition: transform 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card:hover { transform: translateY(-3px); }
|
||||||
|
.card h3 { color: var(--accent); margin-bottom: 0.3rem; }
|
||||||
|
|
||||||
|
footer {
|
||||||
|
text-align: center;
|
||||||
|
padding: 2rem 1rem;
|
||||||
|
color: var(--text);
|
||||||
|
opacity: 0.7;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
header h1 { font-size: 1.8rem; }
|
||||||
|
main { padding: 0 0.5rem; }
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user