Gitlab@Informatics

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

8.2

parent 902004b7
No related branches found
No related tags found
No related merge requests found
Pipeline #602 passed with warnings
body {
font-family: 'Roboto', sans-serif;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #f4f6f9;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
min-height: 100vh;
color: #333;
}
/* Home Container */
.home-container {
/* Header */
header {
width: 100%;
max-width: 1200px;
padding: 30px;
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
margin: 20px;
box-sizing: border-box;
padding: 15px 30px;
background-color: #ff7e5f;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* Title */
h1 {
font-size: 36px;
color: #333;
margin-bottom: 20px;
text-align: center;
header .logo h1 {
color: white;
font-size: 28px;
font-weight: 700;
}
/* Section */
.section {
header .search-bar input {
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;
flex-wrap: wrap;
gap: 30px;
justify-content: space-between;
margin-top: 20px;
align-items: center;
}
/* 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 */
.card {
flex: 1;
min-width: 280px;
.product {
background-color: white;
padding: 20px;
background-color: #ffffff;
border-radius: 10px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
text-align: center;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
.product img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
}
/* Card Title */
.card h2 {
font-size: 24px;
color: #ff7e5f;
margin-bottom: 15px;
.product h3 {
font-size: 20px;
margin: 10px 0;
}
/* Card Description */
.card p {
font-size: 16px;
color: #555;
line-height: 1.6;
.product p {
font-size: 18px;
color: #333;
margin-bottom: 15px;
}
/* Button */
.card button {
padding: 12px 20px;
.product button {
padding: 10px 20px;
background-color: #ff7e5f;
color: white;
font-size: 16px;
border: none;
border-radius: 8px;
border-radius: 5px;
cursor: pointer;
margin-top: 15px;
transition: background-color 0.3s ease;
}
.card button:hover {
.product button:hover {
background-color: #feb47b;
}
/* Footer */
footer {
margin-top: 40px;
background-color: #333;
color: white;
padding: 15px 0;
text-align: center;
font-size: 14px;
color: #777;
width: 100%;
}
/* Responsive Design */
@media (max-width: 768px) {
.home-container {
padding: 20px;
}
.section {
header {
flex-direction: column;
align-items: center;
align-items: flex-start;
}
.card {
margin-bottom: 20px;
.search-bar input {
width: 100%;
margin-bottom: 10px;
}
.products {
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