/
style.css
101 lines (84 loc) · 1.33 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
101
@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");
* {
box-sizing: border-box;
}
body {
background-color: #ecf0f1;
font-family: "Roboto", sans-serif;
margin: 0;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.calculator {
background-color: #111;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
display: flex;
flex-wrap: wrap;
padding: 5px;
height: 390px;
width: 250px;
}
.display {
color: #fff;
font-size: 36px;
position: relative;
padding: 20px 10px;
text-align: right;
height: 70px;
width: 100%;
}
/* .display small {
color: #EE9406;
position: absolute;
top: 5px;
right: 5px;
font-size: 12px;
} */
.nums-container {
width: 75%;
}
.ops-container {
width: 25%;
}
button {
border: none;
border-radius: 50%;
cursor: pointer;
font-size: 24px;
margin: 5px;
height: 50px;
width: 50px;
}
button:hover {
opacity: 0.9;
}
button:active {
transform: scale(0.9);
}
button:focus {
outline: none;
}
button.big-v {
border-radius: 50px;
height: 110px;
}
button.big-h {
border-radius: 50px;
width: 110px;
}
button.orange {
background-color: #ee9406;
color: #fff;
}
button.dark-grey {
background-color: #323232;
color: #fff;
}
button.light-grey {
background-color: #a5a5a5;
}
button.ac {
margin-right: 50%;
}