-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.css
68 lines (56 loc) · 916 Bytes
/
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
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
}
.calc {
width: 400px;
background-color: black;
color: white;
}
.screen {
font-size: 40px;
font-family: "Courier New", Courier, monospace;
text-align: right;
padding: 20px 5px;
}
.calc-button {
background-color: #d8d9db;
color: black;
height: 100px;
width: 24.5%;
border: none;
border-radius: 0;
font-size: 40px;
cursor: pointer;
}
.calc-button:hover {
background-color: #ebebeb;
}
.calc-button:active {
background-color: #bbbcbe;
}
.calc-button:last-child {
background-color: #df974c;
color: white;
}
.calc-button:last-child:hover {
background-color: #dfb07e;
}
.calc-button:last-child:active {
background-color: #dd8d37;
}
.double {
width: 49.7%;
}
.triple {
width: 74.8%;
}
.calc-row {
display: flex;
align-content: stretch;
justify-content: space-between;
margin-bottom: 0.5%;
}