specialpage / styles.css
Yaswanth56's picture
Create styles.css
18c25ca verified
Raw
History Blame Contribute Delete
1.15 kB
body {
font-family: Arial, sans-serif;
background: linear-gradient(to bottom, #fffae6, #ffcc80);
margin: 0;
padding: 0;
}
.container {
width: 100%;
padding: 20px;
}
.header {
text-align: center;
margin-bottom: 30px;
}
.header h1 {
font-size: 3rem;
color: #ff6600;
}
.header p {
font-size: 1.5rem;
color: #4a4a4a;
}
.ingredients {
display: flex;
justify-content: space-around;
margin-bottom: 40px;
}
.ingredient-card {
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 30%;
cursor: pointer;
transition: transform 0.3s ease;
}
.ingredient-card:hover {
transform: scale(1.05);
}
.ingredient-card img {
width: 100%;
height: auto;
border-radius: 10px;
}
.order-section {
text-align: center;
margin-top: 50px;
}
.order-section button {
background-color: #ff6600;
color: white;
padding: 10px 20px;
border: none;
border-radius: 20px;
margin: 10px;
font-size: 1.2rem;
cursor: pointer;
transition: background-color 0.3s ease;
}
.order-section button:hover {
background-color: #ff3300;
}