-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculator.css
77 lines (64 loc) · 1.21 KB
/
calculator.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
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
padding: 0;
margin: 0;
}
.wrapper {
width: 400px;
background-color: black;
color: white;
border: 1rem solid #333333;
border-radius: 10px;
filter: blur(0.6px);
margin: 15vh auto;
box-shadow: 20px 12px 30px 10px #666666;
}
.screen {
text-align: right;
font-family: Courier, 'Courier New', monospace;
font-size: 40px;
padding: 20px 5px;
}
.calc-button-row {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
margin-top: 0.5%;
}
.calc-button {
color: black;
background-color: #D8D9DB;
font-size: 40px;
height: 100px;
flex-basis: 24.5%;
transition: background-color 0.05s ease;
cursor: pointer;
}
.calc-button:hover {
background-color: #EBEBEB;
}
.calc-button:active {
background-color: #BBBCBE;
}
.double {
flex-basis: 49.7%;
}
.triple {
flex-basis: 74.8%;
}
.calc-button:last-child {
border-color: #EFA85F;
background-color: #DF974C;
color: white;
}
.calc-button:last-child:hover {
background-color: #DFB07E;
}
.calc-button:last-child:active {
background-color: #DD8D37;
}