-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (86 loc) · 1.52 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
body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.calculator {
display: flex;
flex-direction: column;
width: 20vw;
height: 22vw;
border-radius: 10px;
background-color: #202020;
}
.display {
text-align: end;
height: 15%;
padding: 10px;
}
.steps {
color: grey;
font-size: 14px;
padding-right: 10px;
font-weight: 550;
}
.total {
color: white;
font-size: 48px;
font-weight: 550;
}
.buttons {
display: flex;
flex-wrap: wrap;
flex: auto;
height: 85%;
gap: 2px;
margin-bottom: 2px;
justify-content: center;
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
button {
background-color: #323232;
color: white;
display: flex;
justify-content: center;
align-items: center;
border: none;
border-radius: 5px;
width: 24%;
height: 16%;
font-size: 14px;
margin: 0;
}
button:hover {
background-color: #3B3B3B;
}
.number {
background-color: #3B3B3B;
font-size: 18px;
}
.number:hover {
background-color: #323232;
}
#equal {
background-color: #9FCAB7;
font-size: 32px;
color: #323232;
}
#equal:hover {
background-color: #92B8A8;
}
sup {
font-size: 10px;
margin-bottom: 10px;
}
sub {
margin-top: 5px;
}