Compare commits

...

2 Commits

Author SHA1 Message Date
0298124d01 Merge pull request 'add content and css' (#22) from feature-amanda-nielsen into feature-hasicicsalih
Reviewed-on: #22
2026-03-12 11:12:00 +01:00
anielsen99
f8d3855e65 add content and css 2026-03-12 11:10:02 +01:00
2 changed files with 69 additions and 0 deletions

View File

@ -4,8 +4,20 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Das ist eine Webseite</h1>
<section>
<h2>Über Graubünden</h2>
<p>Graubünden ist der größte und östlichste Kanton der Schweiz, bekannt für seine beeindruckende Alpenlandschaft, vielfältige Kultur und drei Amtssprachen: Deutsch, Rätoromanisch und Italienisch.</p>
<p>Die Region bietet zahlreiche Aktivitäten wie Wandern, Skifahren und kulturelle Veranstaltungen. Städte wie Chur, die älteste Stadt der Schweiz, sowie malerische Bergdörfer wie St. Moritz und Davos laden Besucher ein.</p>
<p>Graubünden ist auch Heimat des UNESCO-geschützten Nationalparks und vieler historischer Sehenswürdigkeiten, die die reiche Geschichte und Tradition des Kantons widerspiegeln.</p>
<figure>
<img src="graubuenden.jpg" alt="Berglandschaft in Graubünden" style="max-width:100%;height:auto;">
<figcaption>Typische Alpenlandschaft in Graubünden</figcaption>
</figure>
<button type="button" onclick="alert('Mehr erfahren über Graubünden!')">Mehr erfahren</button>
</section>
</body>
</html>

57
styles.css Normal file
View File

@ -0,0 +1,57 @@
/* Basic reset */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
background-color: #f5f5f5;
color: #333;
}
h1, h2 {
color: #2c3e50;
text-align: center;
}
section {
max-width: 800px;
margin: 2rem auto;
background: #fff;
padding: 1.5rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
border-radius: 8px;
}
figure {
margin: 1.5rem 0;
text-align: center;
}
img {
max-width: 100%;
height: auto;
border-radius: 4px;
}
figcaption {
font-size: 0.9rem;
color: #555;
margin-top: 0.5rem;
}
button {
display: block;
margin: 1rem auto;
padding: 0.75rem 1.5rem;
font-size: 1rem;
color: #fff;
background-color: #3498db;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #2980b9;
}