1 Commits
Author SHA1 Message Date
endergebnis 023df0203f Initial commit 2026-07-27 15:06:28 +02:00
2 changed files with 3 additions and 173 deletions
+3
View File
@@ -0,0 +1,3 @@
# python-webstore
A simple web store with product cards
-173
View File
@@ -1,173 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Finir Webstore</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #1a1a2e;
color: #ffffff;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
min-height: 100vh;
}
header {
text-align: center;
padding: 40px 20px;
background: linear-gradient(135deg, #16213e, #0f3460);
}
header h1 {
font-size: 2.5rem;
letter-spacing: 2px;
}
header p {
margin-top: 8px;
font-size: 1.1rem;
opacity: 0.8;
}
.container {
max-width: 1200px;
margin: 40px auto;
padding: 0 20px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 24px;
}
.card {
border-radius: 12px;
padding: 32px 24px;
text-align: center;
transition: transform 0.2s ease, box-shadow 0.2s ease;
cursor: pointer;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.card h2 {
font-size: 1.6rem;
margin-bottom: 8px;
}
.card .price {
font-size: 1.8rem;
font-weight: bold;
margin-bottom: 20px;
}
.card .buy-btn {
display: inline-block;
padding: 12px 36px;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
color: #ffffff;
cursor: pointer;
transition: opacity 0.2s ease;
}
.card .buy-btn:hover {
opacity: 0.85;
}
.card-red {
background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.card-blue {
background: linear-gradient(135deg, #3498db, #2980b9);
}
.card-green {
background: linear-gradient(135deg, #2ecc71, #27ae60);
}
.card-yellow {
background: linear-gradient(135deg, #f1c40f, #d4ac0d);
color: #1a1a2e;
}
.card-purple {
background: linear-gradient(135deg, #9b59b6, #8e44ad);
}
.card-orange {
background: linear-gradient(135deg, #e67e22, #d35400);
}
footer {
text-align: center;
padding: 32px;
opacity: 0.6;
font-size: 0.9rem;
}
</style>
</head>
<body>
<header>
<h1>🛒 Finir Webstore</h1>
<p>The best gadgets and gizmos, straight from the internet</p>
</header>
<div class="container">
<div class="grid">
<div class="card card-red">
<h2>Widget</h2>
<p class="price">$19.99</p>
<button class="buy-btn">Buy Now</button>
</div>
<div class="card card-blue">
<h2>Gadget</h2>
<p class="price">$29.99</p>
<button class="buy-btn">Buy Now</button>
</div>
<div class="card card-green">
<h2>Doohickey</h2>
<p class="price">$14.99</p>
<button class="buy-btn">Buy Now</button>
</div>
<div class="card card-yellow">
<h2>Thingamajig</h2>
<p class="price">$24.99</p>
<button class="buy-btn">Buy Now</button>
</div>
<div class="card card-purple">
<h2>Whatchamacallit</h2>
<p class="price">$34.99</p>
<button class="buy-btn">Buy Now</button>
</div>
<div class="card card-orange">
<h2>Doodad</h2>
<p class="price">$9.99</p>
<button class="buy-btn">Buy Now</button>
</div>
</div>
</div>
<footer>
<p>&copy; 2025 Finir Webstore. All rights reserved.</p>
</footer>
</body>
</html>