Brightsun10 commited on
Commit
6acce24
·
verified ·
1 Parent(s): f084708

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +87 -88
static/style.css CHANGED
@@ -1,88 +1,87 @@
1
- /* General Reset */
2
- body {
3
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
4
- margin: 0;
5
- padding: 0;
6
- background-color: #f9fafb;
7
- color: #333;
8
- }
9
-
10
- /* Container styling */
11
- .container {
12
- max-width: 900px;
13
- margin: 2rem auto;
14
- padding: 2rem;
15
- background-color: white;
16
- border-radius: 8px;
17
- box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
18
- }
19
-
20
- /* Header styling */
21
- h1 {
22
- text-align: center;
23
- color: #2c3e50;
24
- }
25
-
26
- /* Expense form */
27
- form {
28
- display: flex;
29
- flex-wrap: wrap;
30
- gap: 1rem;
31
- margin-bottom: 2rem;
32
- }
33
-
34
- form input,
35
- form select,
36
- form button {
37
- padding: 0.6rem 1rem;
38
- font-size: 1rem;
39
- border-radius: 5px;
40
- border: 1px solid #ccc;
41
- flex: 1 1 auto;
42
- }
43
-
44
- form button {
45
- background-color: #007bff;
46
- color: white;
47
- border: none;
48
- cursor: pointer;
49
- }
50
-
51
- form button:hover {
52
- background-color: #0056b3;
53
- }
54
-
55
- /* Table styling */
56
- table {
57
- width: 100%;
58
- border-collapse: collapse;
59
- margin-top: 1rem;
60
- }
61
-
62
- th,
63
- td {
64
- padding: 0.75rem;
65
- border: 1px solid #ddd;
66
- text-align: left;
67
- }
68
-
69
- th {
70
- background-color: #007bff;
71
- color: white;
72
- }
73
-
74
- tr:nth-child(even) {
75
- background-color: #f2f2f2;
76
- }
77
-
78
- /* Total and charts */
79
- .total {
80
- text-align: right;
81
- font-weight: bold;
82
- margin-top: 1rem;
83
- font-size: 1.2rem;
84
- }
85
-
86
- .chart-container {
87
- margin-top: 2rem;
88
- }
 
1
+ body {
2
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
3
+ background: #1e1e2f;
4
+ color: #eee;
5
+ margin: 0;
6
+ padding: 20px;
7
+ }
8
+
9
+ .container {
10
+ max-width: 900px;
11
+ margin: auto;
12
+ background: #2a2a40;
13
+ padding: 30px;
14
+ border-radius: 12px;
15
+ box-shadow: 0 0 20px rgba(0,0,0,0.3);
16
+ }
17
+
18
+ h1, h2 {
19
+ text-align: center;
20
+ color: #00adb5;
21
+ }
22
+
23
+ .expense-form {
24
+ display: flex;
25
+ gap: 10px;
26
+ flex-wrap: wrap;
27
+ margin-bottom: 20px;
28
+ justify-content: center;
29
+ }
30
+
31
+ .expense-form input, .expense-form button {
32
+ padding: 10px;
33
+ border: none;
34
+ border-radius: 6px;
35
+ font-size: 16px;
36
+ }
37
+
38
+ .expense-form input {
39
+ flex: 1;
40
+ background: #3a3a55;
41
+ color: #fff;
42
+ }
43
+
44
+ .expense-form button {
45
+ background: #00adb5;
46
+ color: #fff;
47
+ cursor: pointer;
48
+ transition: background 0.2s ease-in-out;
49
+ }
50
+
51
+ .expense-form button:hover {
52
+ background: #009ba8;
53
+ }
54
+
55
+ table {
56
+ width: 100%;
57
+ border-collapse: collapse;
58
+ margin-top: 30px;
59
+ }
60
+
61
+ thead {
62
+ background: #393963;
63
+ }
64
+
65
+ th, td {
66
+ padding: 12px;
67
+ text-align: center;
68
+ border-bottom: 1px solid #555;
69
+ }
70
+
71
+ .delete-btn {
72
+ background: #ff5252;
73
+ color: white;
74
+ padding: 5px 10px;
75
+ border: none;
76
+ border-radius: 6px;
77
+ cursor: pointer;
78
+ }
79
+
80
+ .delete-btn:hover {
81
+ background: #e63946;
82
+ }
83
+
84
+ .chart-section {
85
+ max-width: 400px;
86
+ margin: 20px auto;
87
+ }