-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.css
74 lines (62 loc) · 1.06 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
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
}
.bree {
background-color: blueviolet;
color: white;
text-align: center;
font-size: 50px;
}
.calc {
width: 400px;
background-color: black;
color: orange;
}
.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: lightblue;
}
.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: .5%;
}