Repository navigation
Expand file tree
/
Copy pathcalculator.css
More file actions
77 lines (76 loc) · 1.37 KB
/
Copy pathcalculator.css
File metadata and controls
77 lines (76 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
#calculator-body{
background-color: #ffffff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
box-sizing: border-box;
}
#calculator{
background-color: #202020;
display: flex;
flex-direction: column;
width: min(100%, 400px);
padding: 30px;
color: white;
border-radius: 30px;
box-sizing: border-box;
}
#textlabel{
font-size: 26px;
color: white;
}
#textinput {
height: 80px;
width: 100%;
background-color: #202020;
border: none;
color: white;
font-size: 50px;
text-align: right;
box-sizing: border-box;
}
.Operators,
.Numbers,
#equalsign {
flex: 1;
height: 80px;
border: none;
border-radius: 5px;
}
.Operators {
background-color: #323232;
color: white;
}
.Numbers {
background-color: #3b3b3b;
color: white;
}
#equalsign {
background-color: #F38064;
color: #323232;
}
.button-wrapper {
display: flex;
gap: 3px;
padding-bottom: 3px;
}
.Operators:hover {
background-color: #3b3b3b;
}
.Numbers:hover {
background-color: #323232;
}
#equalsign:hover {
background-color: #f4f4f4;
}
footer{
color: #323232;
font-size: 16px;
display: block;
text-align: center;
padding: 10px;
font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}