Brightsun10's picture
Update static/style.css
6acce24 verified
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #1e1e2f;
color: #eee;
margin: 0;
padding: 20px;
}
.container {
max-width: 900px;
margin: auto;
background: #2a2a40;
padding: 30px;
border-radius: 12px;
box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
h1, h2 {
text-align: center;
color: #00adb5;
}
.expense-form {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 20px;
justify-content: center;
}
.expense-form input, .expense-form button {
padding: 10px;
border: none;
border-radius: 6px;
font-size: 16px;
}
.expense-form input {
flex: 1;
background: #3a3a55;
color: #fff;
}
.expense-form button {
background: #00adb5;
color: #fff;
cursor: pointer;
transition: background 0.2s ease-in-out;
}
.expense-form button:hover {
background: #009ba8;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 30px;
}
thead {
background: #393963;
}
th, td {
padding: 12px;
text-align: center;
border-bottom: 1px solid #555;
}
.delete-btn {
background: #ff5252;
color: white;
padding: 5px 10px;
border: none;
border-radius: 6px;
cursor: pointer;
}
.delete-btn:hover {
background: #e63946;
}
.chart-section {
max-width: 400px;
margin: 20px auto;
}