-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (74 loc) · 1.36 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
body {
font-family: Arial, sans-serif;
font-size: 12px;
}
.budget-container {
min-width: 375px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
@media (max-width: 600px) {
.budget-container {
padding: 25px;
}
h1 {
font-size: 1.5rem;
}
input, #calculate {
font-size: 1.0rem;
}
}
.tile {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: rgb(223, 223, 223);
padding: 25px;
}
h1 {
font-size: 2.0rem;
text-align: center;
}
label {
font-size: 1.4rem;
margin-bottom: 10px;
}
input {
font-size: 1.25rem;
width: 100%;
border: 1px solid #000000;
margin-bottom: 20px;
padding: 5px;
}
#income {
background-color: rgba(50, 205, 71, 0.25);
}
#expenses {
background-color: rgba(205, 50, 50, 0.25);
}
#output {
margin-bottom: 20px;
font-size: 1.5rem;
text-align: center;
}
#calculate {
padding: 0.75rem 1.5rem;
cursor: pointer;
border: none;
transition: 0.2s;
}
#calculate:hover {
background-color: #8d8d8d;
}
#incomeError, #expensesError {
margin-bottom: 10px;
}
.error-note {
color: #ff5252;
font-weight: bold;
font-size: 1.0rem;
margin-top: 10px;
}