-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle 1.css
More file actions
85 lines (82 loc) · 1.37 KB
/
Copy pathstyle 1.css
File metadata and controls
85 lines (82 loc) · 1.37 KB
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
font-family: "Segoe UI", sans-serif;
background: #575657;
color: #333;
padding: 20px;
}
.h2{
text-align: center;
display: flex;
padding: 20px;
margin-bottom: 20px;
}
.container {
max-width: 600px;
margin: auto;
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(71, 70, 70, 0.1);
}
form {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
form input, form select, form button {
flex: 1 1 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
form button {
background-color: #007bff;
color: white;
border: none;
cursor: pointer;
transition: background 0.3s;
}
form button:hover {
background-color: #0056b3;
}
.total {
margin-top: 20px;
font-size: 1.2rem;
text-align: center;
}
#expense-list {
list-style: none;
margin-top: 20px;
padding: 0;
}
#expense-list li {
background: #e9ecef;
margin: 10px 0;
padding: 10px;
border-left: 5px solid #007bff;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 5px;
}
#expense-list button {
background: red;
color: white;
border: none;
padding: 5px 8px;
border-radius: 5px;
cursor: pointer;
}
@media (min-width: 600px) {
form input, form select {
flex: 1 1 calc(50% - 10px);
}
form button {
flex: 1 1 100%;
}
}