forked from giyasht/Algorithms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.css
60 lines (50 loc) · 805 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
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 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;
}
.cal-button {
background-color: #cfd4dd;
color: black;
height: 100px;
width: 24.5%;
border: none;
border-radius: 0;
font-size: 40px;
cursor: pointer;
}
.cal-button:hover {
background-color: #ffffffec;
}
.cal-button:last-child {
background-color: rgb(236, 159, 15);
color: white;
}
.cal-button:last-child:hover {
background-color: rgb(247, 196, 101);
color: black;
}
.double {
width: 49.7%;
}
.triple {
width: 74.8%;
}
.cal-row {
display: flex;
justify-content: space-between;
margin-bottom: 0.5%;
}