-
Notifications
You must be signed in to change notification settings - Fork 523
/
App.css
92 lines (80 loc) · 1.49 KB
/
App.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* General Styles */
body {
font-family: 'Arial', sans-serif;
background-image: url('expense.jpg'); /* Replace with a URL of your preferred background image */
background-size: cover;
background-position: center;
margin: 0;
padding: 0;
color: #333;
}
.App {
text-align: center;
background-color: rgba(255, 255, 255, 0.9); /* Slight transparency for content background */
border-radius: 10px;
padding: 20px;
max-width: 600px;
margin: 50px auto;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
h1 {
font-size: 2.5rem;
color: #2c3e50;
}
.form {
margin-bottom: 20px;
}
input {
padding: 10px;
margin: 10px;
width: 200px;
border-radius: 5px;
border: 1px solid #ccc;
font-size: 1rem;
}
button {
padding: 10px 20px;
margin: 10px;
background-color: #3498db;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #2980b9;
}
ul {
list-style: none;
padding: 0;
}
li {
padding: 15px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #ecf0f1;
display: flex;
justify-content: space-between;
align-items: center;
}
.summary {
margin-top: 20px;
font-size: 1.5rem;
}
.expense-list h2, .summary h2 {
color: #34495e;
}
li button {
background-color: #e74c3c;
padding: 5px 10px;
border-radius: 5px;
color: white;
border: none;
cursor: pointer;
margin-left: 10px;
}
li button:hover {
background-color: #c0392b;
}