Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed0c5f7835 | ||
|
|
f301c39309 | ||
|
|
0904a0aaa3 | ||
|
|
4b2f1f5f27 | ||
|
|
653707ce00 | ||
|
|
17f7908c4a | ||
|
|
3bde78cb8e |
No files matched your search
-197
@@ -1,197 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="style.css">
|
|
||||||
<title>Russisch Blau – Die elegante Katze</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<header>
|
|
||||||
<div class="hero-image">
|
|
||||||
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/5/5b/RUS_%28Russian_Blue%29_%284190272898%29.jpg/640px-RUS_%28Russian_Blue%29_%284190272898%29.jpg" alt="Russisch Blau Katze" class="hero-img">
|
|
||||||
<div class="hero-text">
|
|
||||||
<h1>Russisch Blau</h1>
|
|
||||||
<p class="tagline">Elegant. Sanft. Unvergesslich.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<nav>
|
|
||||||
<a href="#ueber">Über die Rasse</a>
|
|
||||||
<a href="#aussehen">Aussehen</a>
|
|
||||||
<a href="#charakter">Charakter</a>
|
|
||||||
<a href="#haltung">Haltung & Pflege</a>
|
|
||||||
<a href="#galerie">Galerie</a>
|
|
||||||
<a href="#fakten">Steckbrief</a>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
<main>
|
|
||||||
|
|
||||||
<section id="ueber">
|
|
||||||
<div class="section-with-image">
|
|
||||||
<div class="section-text">
|
|
||||||
<h2>Über die Rasse</h2>
|
|
||||||
<p>
|
|
||||||
Die Russisch Blau ist eine der ältesten und begehrtesten Katzenrassen der Welt.
|
|
||||||
Ihren Ursprung hat sie in den Hafenstädten Nordwestrusslands, vermutlich in der
|
|
||||||
Stadt Archangelsk. Im 19. Jahrhundert wurden diese Katzen von Matrosen nach
|
|
||||||
Europa gebracht, wo sie rasch die Herzen von Katzenfans eroberten.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
Seit ihrer ersten Ausstellung in London im Jahr 1875 ist die Russisch Blau
|
|
||||||
eine anerkannte Rasse und wird weltweit von Züchtern und Liebhabern geschätzt.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="section-img-wrap">
|
|
||||||
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/Russian_blue_kitten_%28cropped%29.jpg/640px-Russian_blue_kitten_%28cropped%29.jpg" alt="Russisch Blau – Porträt">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id="aussehen">
|
|
||||||
<div class="section-with-image reverse">
|
|
||||||
<div class="section-text">
|
|
||||||
<h2>Aussehen</h2>
|
|
||||||
<p>
|
|
||||||
Das markanteste Merkmal der Russisch Blau ist ihr dichtes, plüschiges Doppelfell
|
|
||||||
in einem einzigartigen blaugrauen Farbton mit silbrigen Spitzen. Dieses Fell
|
|
||||||
fühlt sich samtweich an und steht leicht vom Körper ab.
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
<li><strong>Fell:</strong> Kurz, dicht, blaugrau mit silbernem Schimmer</li>
|
|
||||||
<li><strong>Augen:</strong> Leuchtend smaragdgrün, mandelförmig</li>
|
|
||||||
<li><strong>Körper:</strong> Schlank, muskulös, mittlegross</li>
|
|
||||||
<li><strong>Ohren:</strong> Gross, weit auseinander, spitz zulaufend</li>
|
|
||||||
<li><strong>Nase:</strong> Grau, passend zum Fell</li>
|
|
||||||
</ul>
|
|
||||||
<p>
|
|
||||||
Ein charakteristisches Merkmal ist das sogenannte „Russisch-Blau-Lächeln" –
|
|
||||||
die Mundwinkel der Katze sind leicht nach oben gezogen, was ihr einen
|
|
||||||
freundlichen, fast lächelnden Ausdruck verleiht.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="section-img-wrap">
|
|
||||||
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/7b/Cat_Janna.jpg/640px-Cat_Janna.jpg" alt="Russisch Blau – Nahaufnahme Gesicht">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id="charakter">
|
|
||||||
<h2>Charakter</h2>
|
|
||||||
<p>
|
|
||||||
Die Russisch Blau ist bekannt für ihr sanftes, ruhiges Wesen. Sie ist
|
|
||||||
intelligent, neugierig und sehr anhänglich gegenüber ihren Menschen –
|
|
||||||
jedoch oft zurückhaltend gegenüber Fremden.
|
|
||||||
</p>
|
|
||||||
<div class="charakter-grid">
|
|
||||||
<div class="eigenschaft">
|
|
||||||
<h3>Loyal</h3>
|
|
||||||
<p>Sie bildet starke Bindungen zu ihrer Familie und folgt ihren Lieblingspersonen gerne durch die Wohnung.</p>
|
|
||||||
</div>
|
|
||||||
<div class="eigenschaft">
|
|
||||||
<h3>Ruhig</h3>
|
|
||||||
<p>Im Vergleich zu anderen Rassen ist die Russisch Blau wenig laut und macht nur selten auf sich aufmerksam.</p>
|
|
||||||
</div>
|
|
||||||
<div class="eigenschaft">
|
|
||||||
<h3>Intelligent</h3>
|
|
||||||
<p>Sie lernt schnell Routinen und Tricks und liebt interaktive Spielzeuge sowie geistige Herausforderungen.</p>
|
|
||||||
</div>
|
|
||||||
<div class="eigenschaft">
|
|
||||||
<h3>Sensibel</h3>
|
|
||||||
<p>Sie reagiert empfindlich auf Stress und Veränderungen – ein ruhiges Zuhause liegt ihr sehr.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id="haltung">
|
|
||||||
<h2>Haltung & Pflege</h2>
|
|
||||||
<p>
|
|
||||||
Die Russisch Blau eignet sich hervorragend als Wohnungskatze. Sie ist
|
|
||||||
anpassungsfähig und kommt gut allein zurecht, freut sich aber über
|
|
||||||
Gesellschaft – sei es von Menschen oder einer zweiten Katze.
|
|
||||||
</p>
|
|
||||||
<h3>Fellpflege</h3>
|
|
||||||
<p>
|
|
||||||
Dank ihres kurzen Fells ist der Pflegeaufwand gering. Einmal wöchentliches
|
|
||||||
Bürsten genügt, um das Fell glänzend und gesund zu halten. In der
|
|
||||||
Fellwechselzeit empfiehlt sich häufigeres Bürsten.
|
|
||||||
</p>
|
|
||||||
<h3>Ernährung</h3>
|
|
||||||
<p>
|
|
||||||
Die Russisch Blau neigt zu Übergewicht, wenn sie überfüttert wird.
|
|
||||||
Hochwertige Katzenkost in kontrollierten Portionen ist empfehlenswert.
|
|
||||||
</p>
|
|
||||||
<h3>Beschäftigung</h3>
|
|
||||||
<p>
|
|
||||||
Regelmässiges Spielen, Klettertürme und interaktive Spielzeuge halten
|
|
||||||
diese intelligente Katze körperlich und geistig fit.
|
|
||||||
</p>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id="galerie">
|
|
||||||
<h2>Galerie</h2>
|
|
||||||
<div class="galerie-grid">
|
|
||||||
<figure>
|
|
||||||
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/85/Russiankitten4.jpg/640px-Russiankitten4.jpg" alt="Junges Russisch Blau">
|
|
||||||
<figcaption>Junges Russisch Blau</figcaption>
|
|
||||||
</figure>
|
|
||||||
<figure>
|
|
||||||
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/RB_kitten.JPG/640px-RB_kitten.JPG" alt="Junge Russisch Blau">
|
|
||||||
<figcaption>Junge Russisch Blau</figcaption>
|
|
||||||
</figure>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section id="fakten">
|
|
||||||
<h2>Steckbrief</h2>
|
|
||||||
<table>
|
|
||||||
<tr>
|
|
||||||
<th>Merkmal</th>
|
|
||||||
<th>Details</th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Ursprung</td>
|
|
||||||
<td>Russland (Archangelsk)</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Grösse</td>
|
|
||||||
<td>Mittelgross (3–5 kg)</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Lebenserwartung</td>
|
|
||||||
<td>15–20 Jahre</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Fellfarbe</td>
|
|
||||||
<td>Blaugrau mit silbernem Schimmer</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Augenfarbe</td>
|
|
||||||
<td>Smaragdgrün</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Charakter</td>
|
|
||||||
<td>Ruhig, loyal, intelligent, sensibel</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Haltung</td>
|
|
||||||
<td>Wohnungskatze, auch mit Freigang</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Allergiker</td>
|
|
||||||
<td>Bedingt geeignet (weniger Fel d 1)</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer>
|
|
||||||
<p>Eine Hommage an die schönste Katzenrasse der Welt — die Russisch Blau.</p>
|
|
||||||
<p class="footer-credit">Bilder: Wikimedia Commons, gemeinfrei</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Dies ist Laras persönliches File.
|
||||||
|
Ich schreibe mal eine zweite Zeile.
|
||||||
@@ -1,282 +0,0 @@
|
|||||||
* {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
background-color: #f0f4f8;
|
|
||||||
color: #2c3e50;
|
|
||||||
line-height: 1.7;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header / Hero */
|
|
||||||
header {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-image {
|
|
||||||
position: relative;
|
|
||||||
height: 480px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-img {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
object-fit: cover;
|
|
||||||
object-position: center 30%;
|
|
||||||
display: block;
|
|
||||||
filter: brightness(0.55);
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero-text {
|
|
||||||
position: absolute;
|
|
||||||
inset: 0;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
color: white;
|
|
||||||
text-align: center;
|
|
||||||
padding: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 {
|
|
||||||
font-size: 3.5rem;
|
|
||||||
letter-spacing: 6px;
|
|
||||||
text-transform: uppercase;
|
|
||||||
margin-bottom: 12px;
|
|
||||||
text-shadow: 0 2px 12px rgba(0,0,0,0.6);
|
|
||||||
}
|
|
||||||
|
|
||||||
.tagline {
|
|
||||||
font-size: 1.3rem;
|
|
||||||
font-style: italic;
|
|
||||||
color: #d0e8ff;
|
|
||||||
letter-spacing: 3px;
|
|
||||||
text-shadow: 0 1px 6px rgba(0,0,0,0.5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navigation */
|
|
||||||
nav {
|
|
||||||
background-color: #2c3e50;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 0;
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 100;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav a {
|
|
||||||
color: #a8c4e0;
|
|
||||||
text-decoration: none;
|
|
||||||
padding: 14px 24px;
|
|
||||||
font-size: 0.95rem;
|
|
||||||
letter-spacing: 1px;
|
|
||||||
transition: background-color 0.2s, color 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav a:hover {
|
|
||||||
background-color: #4a6fa5;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Main content */
|
|
||||||
main {
|
|
||||||
max-width: 900px;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 40px 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
section {
|
|
||||||
background: white;
|
|
||||||
border-radius: 8px;
|
|
||||||
padding: 40px;
|
|
||||||
margin-bottom: 30px;
|
|
||||||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
|
|
||||||
}
|
|
||||||
|
|
||||||
section h2 {
|
|
||||||
font-size: 1.8rem;
|
|
||||||
color: #4a6fa5;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
border-bottom: 2px solid #e0eaf5;
|
|
||||||
}
|
|
||||||
|
|
||||||
section h3 {
|
|
||||||
font-size: 1.1rem;
|
|
||||||
color: #2c3e50;
|
|
||||||
margin: 20px 0 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
section p {
|
|
||||||
margin-bottom: 14px;
|
|
||||||
color: #444;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* List styling */
|
|
||||||
ul {
|
|
||||||
padding-left: 24px;
|
|
||||||
margin-bottom: 14px;
|
|
||||||
color: #444;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul li {
|
|
||||||
margin-bottom: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Section with image layout */
|
|
||||||
.section-with-image {
|
|
||||||
display: flex;
|
|
||||||
gap: 30px;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-with-image.reverse {
|
|
||||||
flex-direction: row-reverse;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-text {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-img-wrap {
|
|
||||||
flex: 0 0 280px;
|
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 0 4px 16px rgba(0,0,0,0.15);
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-img-wrap img {
|
|
||||||
width: 100%;
|
|
||||||
height: 320px;
|
|
||||||
object-fit: cover;
|
|
||||||
object-position: center top;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 680px) {
|
|
||||||
.section-with-image,
|
|
||||||
.section-with-image.reverse {
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
.section-img-wrap {
|
|
||||||
flex: unset;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Galerie */
|
|
||||||
.galerie-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
||||||
gap: 20px;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.galerie-grid figure {
|
|
||||||
margin: 0;
|
|
||||||
border-radius: 8px;
|
|
||||||
overflow: hidden;
|
|
||||||
box-shadow: 0 2px 10px rgba(0,0,0,0.12);
|
|
||||||
background: #f0f4f8;
|
|
||||||
transition: transform 0.2s, box-shadow 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.galerie-grid figure:hover {
|
|
||||||
transform: translateY(-4px);
|
|
||||||
box-shadow: 0 8px 24px rgba(74, 111, 165, 0.25);
|
|
||||||
}
|
|
||||||
|
|
||||||
.galerie-grid img {
|
|
||||||
width: 100%;
|
|
||||||
aspect-ratio: 4 / 3;
|
|
||||||
object-fit: cover;
|
|
||||||
object-position: center top;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.galerie-grid figcaption {
|
|
||||||
padding: 10px 14px;
|
|
||||||
font-size: 0.85rem;
|
|
||||||
color: #555;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Charakter grid */
|
|
||||||
.charakter-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
||||||
gap: 20px;
|
|
||||||
margin-top: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.eigenschaft {
|
|
||||||
background: #f0f4f8;
|
|
||||||
border-left: 4px solid #4a6fa5;
|
|
||||||
border-radius: 4px;
|
|
||||||
padding: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.eigenschaft h3 {
|
|
||||||
margin-top: 0;
|
|
||||||
color: #4a6fa5;
|
|
||||||
font-size: 1rem;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.eigenschaft p {
|
|
||||||
font-size: 0.9rem;
|
|
||||||
margin-bottom: 0;
|
|
||||||
color: #555;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Table */
|
|
||||||
table {
|
|
||||||
width: 100%;
|
|
||||||
border-collapse: collapse;
|
|
||||||
margin-top: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
th, td {
|
|
||||||
text-align: left;
|
|
||||||
padding: 12px 16px;
|
|
||||||
border-bottom: 1px solid #e0eaf5;
|
|
||||||
}
|
|
||||||
|
|
||||||
th {
|
|
||||||
background-color: #4a6fa5;
|
|
||||||
color: white;
|
|
||||||
font-weight: bold;
|
|
||||||
letter-spacing: 0.5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:nth-child(even) td {
|
|
||||||
background-color: #f7fafd;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr:hover td {
|
|
||||||
background-color: #e8f0fa;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer */
|
|
||||||
footer {
|
|
||||||
background-color: #2c3e50;
|
|
||||||
color: #a8c4e0;
|
|
||||||
text-align: center;
|
|
||||||
padding: 28px 20px;
|
|
||||||
font-style: italic;
|
|
||||||
font-size: 0.95rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-credit {
|
|
||||||
margin-top: 6px;
|
|
||||||
font-size: 0.78rem;
|
|
||||||
color: #6a8aaa;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
+171
@@ -0,0 +1,171 @@
|
|||||||
|
body, html {
|
||||||
|
margin: 5;
|
||||||
|
padding: 0;
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
background: #fff;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
header {
|
||||||
|
background: #e30613; /* Thömus‑Rot */
|
||||||
|
color: #fff;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
header nav ul {
|
||||||
|
list-style: none;
|
||||||
|
margin: 10;
|
||||||
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
gap: 1rem;
|
||||||
|
}
|
||||||
|
header nav a {
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
header nav a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hero */
|
||||||
|
.hero {
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.hero img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
display: block;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
.hero .overlay {
|
||||||
|
position: absolute;
|
||||||
|
top: 0; left: 0;
|
||||||
|
width: 100%; height: 100%;
|
||||||
|
background: rgba(0,0,0,0.5);
|
||||||
|
}
|
||||||
|
.hero .content {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%; left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
padding: 1rem 2rem;
|
||||||
|
}
|
||||||
|
.hero .content h2 {
|
||||||
|
margin: 0 0 .5rem;
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
.hero .content a {
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 1rem;
|
||||||
|
padding: .75rem 1.5rem;
|
||||||
|
background: #e30613;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
border-radius: 4px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.hero .content a:hover {
|
||||||
|
background: #c00311;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tiles */
|
||||||
|
.tiles {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 2rem 1rem;
|
||||||
|
}
|
||||||
|
.tile {
|
||||||
|
background: #fafafa;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 4px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.tile img {
|
||||||
|
width: 100%;
|
||||||
|
height: 150px;
|
||||||
|
object-fit: cover;
|
||||||
|
}
|
||||||
|
.tile h3 {
|
||||||
|
margin: .5rem 0;
|
||||||
|
}
|
||||||
|
.tile p {
|
||||||
|
padding: 0 1rem 1rem;
|
||||||
|
font-size: .9rem;
|
||||||
|
color: #555;
|
||||||
|
}
|
||||||
|
.tile a {
|
||||||
|
display: block;
|
||||||
|
margin: 0 1rem 1rem;
|
||||||
|
padding: .5rem;
|
||||||
|
background: #e30613;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
.tile a:hover {
|
||||||
|
background: #c00311;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles.css (weiter unten ergänzen) */
|
||||||
|
|
||||||
|
form {
|
||||||
|
max-width: 400px;
|
||||||
|
margin: 2rem auto; /* zentriert und etwas Abstand oben/unten */
|
||||||
|
padding: 1rem 1.5rem;
|
||||||
|
background: #fafafa;
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
form label {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
form input[type="email"] {
|
||||||
|
width: 100%;
|
||||||
|
padding: 0.5rem;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-size: 1rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
form button {
|
||||||
|
background: #e30613;
|
||||||
|
color: #fff;
|
||||||
|
border: none;
|
||||||
|
padding: 0.75rem 1.5rem;
|
||||||
|
border-radius: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
form button:hover {
|
||||||
|
background: #c00311;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* styles.css – am Ende hinzufügen */
|
||||||
|
|
||||||
|
.message {
|
||||||
|
margin-top: 1rem;
|
||||||
|
padding: 0.75rem;
|
||||||
|
border-radius: 4px;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message.success {
|
||||||
|
background: #d4edda;
|
||||||
|
color: #155724;
|
||||||
|
border: 1px solid #c3e6cb;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message.error {
|
||||||
|
background: #f8d7da;
|
||||||
|
color: #721c24;
|
||||||
|
border: 1px solid #f5c6cb;
|
||||||
|
}
|
||||||
@@ -0,0 +1,110 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="de">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Cycle with me</title>
|
||||||
|
<link rel="stylesheet" href="styles.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<h1>Rennräder</h1>
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">Startseite</a></li>
|
||||||
|
<li><a href="#">Modelle</a></li>
|
||||||
|
<li><a href="#">Tipps</a></li>
|
||||||
|
<li><a href="#">Kontakt</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<!-- Hero Section -->
|
||||||
|
<section class="hero">
|
||||||
|
<img src="hero-bike.jpg" alt="Rennrad auf offener Straße">
|
||||||
|
<div class="overlay"></div>
|
||||||
|
<div class="content">
|
||||||
|
<h2>Erlebe die Freiheit auf zwei Rädern</h2>
|
||||||
|
<p>Alles rund ums Rennrad – Technik, Training und Inspiration.</p>
|
||||||
|
<a href="#">Mehr erfahren</a>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Willkommen -->
|
||||||
|
<section>
|
||||||
|
<h2>Willkommen</h2>
|
||||||
|
<p>Diese Website dreht sich um Rennräder, Technik und Training. Hier erfährst du die aktuellsten Trends und Tipps aus der Welt der Rennräder.</p>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Marken -->
|
||||||
|
<section>
|
||||||
|
<h2>Beliebte Rennrad Marken</h2>
|
||||||
|
<ul>
|
||||||
|
<li>Thömus</li>
|
||||||
|
<li>Pinarello</li>
|
||||||
|
<li>Specialized</li>
|
||||||
|
<li>Trek</li>
|
||||||
|
<li>Canyon</li>
|
||||||
|
<li>Bianchi</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<!-- Kachel‑Grid -->
|
||||||
|
<section class="tiles">
|
||||||
|
<div class="tile">
|
||||||
|
<img src="tile1.jpg" alt="Produkt 1">
|
||||||
|
<h3>Produkt 1</h3>
|
||||||
|
<p>Kurze Beschreibung des Produkts oder Blogbeitrags.</p>
|
||||||
|
<a href="#">Details</a>
|
||||||
|
</div>
|
||||||
|
<div class="tile">
|
||||||
|
<img src="tile2.jpg" alt="Produkt 2">
|
||||||
|
<h3>Produkt 2</h3>
|
||||||
|
<p>Kurze Beschreibung des Produkts oder Blogbeitrags.</p>
|
||||||
|
<a href="#">Details</a>
|
||||||
|
</div>
|
||||||
|
<div class="tile">
|
||||||
|
<img src="tile3.jpg" alt="Produkt 3">
|
||||||
|
<h3>Produkt 3</h3>
|
||||||
|
<p>Kurze Beschreibung des Produkts oder Blogbeitrags.</p>
|
||||||
|
<a href="#">Details</a>
|
||||||
|
</div>
|
||||||
|
<!-- weitere Kacheln nach Bedarf -->
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<form id="emailForm">
|
||||||
|
<label for="email">E-Mail Adresse:</label><br>
|
||||||
|
<input type="email" id="email" name="email" placeholder="deine@email.com" required>
|
||||||
|
<br><br>
|
||||||
|
<button type="submit">Absenden</button>
|
||||||
|
<div id="message"></div>
|
||||||
|
</form>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<p>© 2026 Rennrad Website</p>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.getElementById('emailForm').addEventListener('submit', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
|
||||||
|
const email = document.getElementById('email').value;
|
||||||
|
const messageDiv = document.getElementById('message');
|
||||||
|
|
||||||
|
if (email.trim() === '') {
|
||||||
|
messageDiv.textContent = '❌ Bitte gib eine gültige E-Mail Adresse ein.';
|
||||||
|
messageDiv.className = 'message error';
|
||||||
|
} else {
|
||||||
|
messageDiv.textContent = '✅ Danke! Deine E-Mail wurde erfolgreich versendet.';
|
||||||
|
messageDiv.className = 'message success';
|
||||||
|
document.getElementById('email').value = ''; // Feld leeren
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in new issue
Block a user