Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 51d7be9a authored by 65160381's avatar 65160381
Browse files

8.2

parent 902004b7
Branches
No related tags found
No related merge requests found
Pipeline #602 passed with warnings
body { * {
font-family: 'Roboto', sans-serif;
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #f4f6f9; background-color: #f4f6f9;
display: flex; display: flex;
justify-content: center; flex-direction: column;
align-items: center; align-items: center;
min-height: 100vh; min-height: 100vh;
color: #333;
} }
/* Home Container */ /* Header */
.home-container { header {
width: 100%; width: 100%;
max-width: 1200px; padding: 15px 30px;
padding: 30px; background-color: #ff7e5f;
background-color: #ffffff; display: flex;
border-radius: 12px; justify-content: space-between;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); align-items: center;
margin: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
box-sizing: border-box;
} }
/* Title */ header .logo h1 {
h1 { color: white;
font-size: 36px; font-size: 28px;
color: #333; font-weight: 700;
margin-bottom: 20px;
text-align: center;
} }
/* Section */ header .search-bar input {
.section { padding: 8px 15px;
font-size: 16px;
border-radius: 20px;
border: none;
width: 300px;
}
header .cart a,
header .logout a,
header .edit-order-btn {
color: white;
font-size: 16px;
margin-left: 20px;
text-decoration: none;
}
header .user-info {
display: flex; display: flex;
flex-wrap: wrap; align-items: center;
gap: 30px; }
justify-content: space-between;
margin-top: 20px; /* Products Section */
.products {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
margin: 40px 20px;
width: 100%;
max-width: 1200px;
} }
/* Card */ .product {
.card { background-color: white;
flex: 1;
min-width: 280px;
padding: 20px; padding: 20px;
background-color: #ffffff; border-radius: 8px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
text-align: center; text-align: center;
} }
.card:hover { .product img {
transform: translateY(-5px); width: 100%;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); height: 200px;
object-fit: cover;
border-radius: 8px;
} }
/* Card Title */ .product h3 {
.card h2 { font-size: 20px;
font-size: 24px; margin: 10px 0;
color: #ff7e5f;
margin-bottom: 15px;
} }
/* Card Description */ .product p {
.card p { font-size: 18px;
font-size: 16px; color: #333;
color: #555; margin-bottom: 15px;
line-height: 1.6;
} }
/* Button */ .product button {
.card button { padding: 10px 20px;
padding: 12px 20px;
background-color: #ff7e5f; background-color: #ff7e5f;
color: white; color: white;
font-size: 16px;
border: none; border: none;
border-radius: 8px; border-radius: 5px;
cursor: pointer; cursor: pointer;
margin-top: 15px;
transition: background-color 0.3s ease; transition: background-color 0.3s ease;
} }
.card button:hover { .product button:hover {
background-color: #feb47b; background-color: #feb47b;
} }
/* Footer */ /* Footer */
footer { footer {
margin-top: 40px; background-color: #333;
color: white;
padding: 15px 0;
text-align: center; text-align: center;
font-size: 14px; width: 100%;
color: #777;
} }
/* Responsive Design */ /* Responsive Design */
@media (max-width: 768px) { @media (max-width: 768px) {
.home-container { header {
padding: 20px; flex-direction: column;
align-items: flex-start;
} }
.section { .search-bar input {
flex-direction: column; width: 100%;
align-items: center; margin-bottom: 10px;
} }
.card { .products {
margin-bottom: 20px; grid-template-columns: 1fr 1fr;
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment