You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Kernel0/Categories.html

224 lines
5.5 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>E-Waste Marketplace</title>
<style>
/* General Styling */
body {
font-family: Arial, sans-serif;
background-color: #0ced0c;
color: #04e64c;
background-image: url('./images/alok.png'); /* Add background image */
background-size: cover; /* Ensures the image covers the entire background */
background-position: center; /* Center the background image */
background-attachment: fixed; /* Keeps the background fixed during scroll */
margin: 0;
padding: 0;
box-sizing: border-box;
display: flex;
flex-direction: column;
min-height: 100vh;
}
header {
background-color: #333;
color: #fff;
padding: 20px 0;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
margin-top: auto;
width: 100%;
}
/* Navigation Container */
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
/* Logo */
#logo {
width: 150px;
}
/* Nav Items (Search Bar, Buttons, etc.) */
.nav-right {
display: flex;
align-items: center;
}
/* Back Button in Footer */
.back-btn {
padding: 5px 15px; /* Smaller padding */
font-size: 0.9rem; /* Smaller font size */
background-color: #ccc;
border: none;
border-radius: 5px;
cursor: pointer;
color: #333;
text-decoration: none;
position: center;
}
.back-btn:hover {
background-color: #bbb;
position-area: center;
}
/* Product List */
#product-list {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin-top: 30px;
padding: 0 20px;
}
/* Individual Product */
.product {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 10px;
padding: 20px;
width: 250px;
text-align: center;
transition: transform 0.3s;
}
.product:hover {
transform: scale(1.05);
}
/* Product Image */
.product-image {
width: 100%;
height: auto;
border-radius: 5px;
}
/* Product Title and Price */
.product h3 {
font-size: 1.2rem;
color: #333;
margin: 10px 0;
}
.price {
font-size: 1.1rem;
color: #4CAF50;
margin: 10px 0;
}
/* View More Button */
.view-more-btn {
padding: 10px 15px;
background-color: #2196F3;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
}
.view-more-btn:hover {
background-color: #1976D2;
}
/* Responsive Styling */
@media (max-width: 768px) {
.nav-container {
flex-direction: column;
align-items: center;
}
.nav-right {
margin-top: 15px;
flex-direction: column;
align-items: center;
}
#search-bar {
width: 100%;
margin-bottom: 10px;
}
.product {
width: 100%;
max-width: 300px;
margin: 10px 0;
}
}
@media (max-width: 480px) {
.product {
width: 100%;
max-width: 250px;
}
.auth-buttons button, #notification-btn, #cart-btn {
width: 100%;
margin: 5px 0;
}
}
</style>
</head>
<body>
<header>
<div class="nav-container">
<img src="logo.png" alt="E-Waste Marketplace" id="logo">
<div class="nav-right">
<!-- Add any additional navigation items here -->
</div>
</div>
</header>
<main>
<section id="product-list">
<div class="product">
<h3>Large Home Appliances</h3>
<a href="large.html" class="view-more-btn">Click More</a>
</div>
<div class="product">
<h3>Small Home Appliances</h3>
<a href="small.html" class="view-more-btn">Click More</a>
</div>
<div class="product">
<h3>Automobiles Appliances</h3>
<a href="auto.html" class="view-more-btn">Click More</a>
</div>
<div class="product">
<h3>Electric Shop Appliances</h3>
<a href="electric.html" class="view-more-btn">Click More</a>
</div>
<!-- Add more products as needed -->
</section>
</main>
<a href="index.html" class="back-btn">Back</a>
<!-- Footer with Back Button -->
<footer>
<p>&copy; 2025 GREENTECH. All rights reserved.</p>
</footer>
</body>
</html>