C2
/* Reset & Base */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(to right, #eef2f3, #ffffff);
color: #333;
padding: 20px;
}
/* Main Container */
.main-container {
max-width: 700px;
margin: auto;
background-color: #fff;
padding: 30px 40px;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
/* Header */
.top-row {
text-align: center;
margin-bottom: 20px;
}
.top-row h1 {
font-size: 26px;
color: #2c3e50;
letter-spacing: 1px;
}
/* Divider */
.divider {
border: none;
border-top: 2px solid #ddd;
margin: 20px 0;
}
/* Button Box */
.button-box {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
margin-bottom: 30px;
}
.menu-button {
text-decoration: none;
padding: 12px 30px;
font-size: 16px;
border-radius: 8px;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: 60%;
text-align: center;
}
.menu-button.add {
background-color: #27ae60;
color: white;
}
.menu-button.view {
background-color: #2980b9;
color: white;
}
.menu-button:hover {
opacity: 0.92;
transform: translateY(-2px);
}
/* Footer */
.footer {
text-align: center;
font-size: 14px;
color: #777;
border-top: 1px solid #ccc;
padding-top: 15px;
}
Comments
Post a Comment