113 lines
1.8 KiB
CSS
113 lines
1.8 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f9f9f9;
|
|
margin: 0;
|
|
padding: 0;
|
|
color: #333;
|
|
}
|
|
|
|
.app {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.header {
|
|
background-color: #0077b6;
|
|
color: white;
|
|
padding: 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.header .logo {
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.nav-links {
|
|
list-style: none;
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.nav-links li a {
|
|
color: white;
|
|
text-decoration: none;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.nav-links li a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.product-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
padding: 2rem;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.product-card {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
width: 200px;
|
|
text-align: center;
|
|
padding: 1rem;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.product-card:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.product-card img {
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.product-card button {
|
|
background-color: #0077b6;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.product-card button:hover {
|
|
background-color: #005f80;
|
|
}
|
|
|
|
.footer {
|
|
background-color: #0077b6;
|
|
color: white;
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-links {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.footer-links li {
|
|
display: inline;
|
|
margin: 0 1rem;
|
|
}
|
|
|
|
.footer-links li a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer-links li a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|