Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 1f4e3844 authored by 65160381's avatar 65160381
Browse files

8.5

parent 9b9f1fee
Branches
No related tags found
No related merge requests found
Pipeline #606 passed with warnings
/* General Styles */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
color: #333;
}
header {
background-color: #007bff;
color: white;
padding: 20px;
text-align: center;
}
header h1 {
margin: 0;
}
footer {
background-color: #007bff;
color: white;
padding: 10px;
text-align: center;
position: fixed;
width: 100%;
bottom: 0;
}
footer .checkout {
background-color: #28a745;
color: white;
padding: 10px 20px;
text-align: center;
cursor: pointer;
border-radius: 5px;
margin-top: 10px;
}
footer .checkout:hover {
background-color: #218838;
}
/* Cart Styles */
.cart-items {
display: flex;
flex-direction: column;
align-items: center;
margin: 20px;
}
.cart-item {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: space-between;
padding: 20px;
margin: 10px 0;
width: 80%;
max-width: 800px;
transition: transform 0.3s ease;
}
.cart-item:hover {
transform: translateY(-5px);
}
.cart-item img {
max-width: 100px;
border-radius: 8px;
}
.cart-item div {
flex-grow: 1;
margin-left: 20px;
}
.cart-item h3 {
font-size: 18px;
color: #007bff;
margin-bottom: 10px;
}
.cart-item p {
font-size: 14px;
color: #555;
margin-bottom: 5px;
}
.cart-item input[type="number"] {
width: 50px;
padding: 5px;
margin-right: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}
.cart-item button {
background-color: #dc3545;
color: white;
padding: 8px 12px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.cart-item button:hover {
background-color: #c82333;
}
/* Empty Cart Message */
.cart-items p {
font-size: 18px;
color: #777;
text-align: center;
}
/* Responsive Design */
@media (max-width: 768px) {
.cart-item {
flex-direction: column;
align-items: center;
text-align: center;
}
.cart-item img {
max-width: 80px;
}
.cart-item div {
margin-left: 0;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment