-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
127 lines (105 loc) · 1.69 KB
/
style.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/* Global =================== */
:root {
--dark-blue: color: #363f5f;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #f0f2f5;
font-family: 'Poppins', sans-serif
}
.container {
width: min(90vw, 800px);
margin: auto;
}
/* Titles =================== */
h2 {
margin-top: 3.2rem;
margin-bottom: 0.8rem;
color: var(--dark-blue);
font-weight: normal;
}
/* Header =================== */
header {
background: #2d4a22;
padding: 2rem 0 10rem;
text-align: center;
}
#logo {
color: #fff;
font-weight: 100;
}
/* Balance =================== */
#balance {
margin-top: -8rem;
}
#balance h2 {
color: white;
margin-top: 0;
}
/* Cards =================== */
.card {
background: white;
padding: 1.5rem 2rem;
border-radius: 0.25rem;
margin-bottom: 2rem;
color: var(--dark-blue);
}
.card h3 {
font-weight: normal;
font-size: 1rem;
}
.card p {
font-size: 2rem;
line-height: 3rem;
margin-top: 1rem;
}
.card.total {
background: #49AA26;
color: white;
}
/* Table =================== */
#data-table {
width: 100%;
border-spacing: 0 0.5rem;
color: #969cb3
}
table thead tr th:first-child,
table tbody tr td:first-child {
border-radius: 0.25rem 0 0 0.25rem;
}
table thead th {
background: white;
font-weight: normal;
padding: 1rem 2rem;
text-align: left;
}
table tbody tr {
opacity: 0.7;
}
table tbody tr:hover {
opacity: 1;
}
table tbody td {
background: white;
padding: 1rem 2rem;
}
td.description {
color: var(--dark-blue);
}
td.income {
color: #12a454;
}
td.expense {
color: #e92929;
}
/* Footer =================== */
footer {
text-align: center;
padding: 4rem 0 2rem;
color: var(--dark-blue);
opacity: 0.6;
}