finance_tracker / static /style.css
aryan79's picture
Upload 9 files
547e29e verified
Raw History Blame Contribute Delete
1.95 kB
/* βœ… General Styling */
body {
font-family: 'Poppins', sans-serif;
text-align: center;
padding: 20px;
background-color: #f4f4f4;
}
h1 {
color: #333;
font-size: 28px;
}
/* βœ… Dashboard Summary Cards */
.dashboard {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
margin-top: 20px;
}
.card {
background: #fff;
padding: 15px;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
text-align: center;
width: 220px;
font-weight: bold;
font-size: 16px;
}
/* βœ… Form Styling */
.form-container {
margin: 20px auto;
padding: 20px;
background: white;
width: 90%;
max-width: 400px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px;
}
/* βœ… Input Fields */
input, select {
display: block;
width: 100%;
margin: 10px auto;
padding: 12px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 14px;
}
/* βœ… Button Styling */
button {
background: #007BFF;
color: white;
padding: 12px;
border: none;
cursor: pointer;
border-radius: 5px;
font-size: 14px;
width: 100%;
transition: 0.3s;
}
button:hover {
background: #0056b3;
}
/* βœ… Table Styling */
table {
width: 100%;
margin-top: 20px;
background: white;
border-collapse: collapse;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
th, td {
padding: 12px;
border: 1px solid #ddd;
font-size: 14px;
}
th {
background: #007BFF;
color: white;
}
/* βœ… Chart Styling */
canvas {
max-width: 600px;
margin: 20px auto;
}
/* βœ… Spending Insights */
#spendingInsights {
background: #ffeeba;
color: #856404;
padding: 15px;
border-radius: 5px;
margin-top: 20px;
font-weight: bold;
display: inline-block;
}