Files
2026-03-05 14:00:26 +01:00

110 lines
3.0 KiB
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<title>Examplary</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
text-align: center;
}
.container {
width: 80%;
margin: 20px auto;
padding: 20px;
background: white;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.nav-list {
list-style-type: none;
padding: 0;
text-align: left;
width: fit-content;
margin: 0 auto 20px 0; /* Aligns the list to the left */
}
.nav-list li {
padding: 5px 0;
font-size: 18px;
}
.card {
width: 60%;
margin: 20px auto;
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.card-body {
padding: 20px;
}
.card-title {
font-size: 24px;
font-weight: bold;
}
.bg-card-gradient {
background: linear-gradient(45deg, #6a11cb, #2575fc);
color: white;
padding: 30px;
}
.bg-holder {
height: 150px;
background: url('https://via.placeholder.com/150') no-repeat center center;
background-size: cover;
border-radius: 10px;
}
.button {
display: inline-block;
padding: 10px 20px;
background: #2575fc;
color: white;
text-decoration: none;
border-radius: 5px;
margin-top: 10px;
}
</style>
</head>
<body>
<div class="container">
<h1Examplary Website.</h1>
<p>Facharbeitswebsite</p>
<ul class="nav-list">
<li>Basic</li>
<li>Elements</li>
</ul>
<hr>
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-md-5 text-center bg-card-gradient">
<div class="position-relative p-4 pt-md-5 pb-md-7 light">
<div class="bg-holder bg-auth-card-shape"></div>
<h2 class="card-title">Special Card Section</h2>
<p>This card has a gradient background and an image holder.</p>
<a href="#" class="button">Learn More</a>
</div>
</div>
</div>
</div>
</div>
<hr>
<h2>This is a card.</h2>
<p>Here could be a card text.</p>
<footer>
<p> Schlechte Facharbeitswebsite</p>
</footer>
</div>
</body>
</html>