-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (84 loc) · 1.55 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
body {
font-family: 'Popins', sans-serif;
background-color: rgb(201, 61, 19);
}
.container {
width: 1000px;
height: 600px;
margin: 20px auto;
}
.calculator {
width: 340px;
height: 550px;
background-color: aliceblue;
margin: 0 auto;
top: 30px;
position: relative;
border-radius: 1rem;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.result {
height: 130px;
}
.history {
text-align: right;
height: 22px;
margin: 0 22px;
padding-top: 22px;
font-size: 16px;
color: rgb(5, 4, 0);
}
.output {
text-align: right;
height: 65px;
margin: 11px 22px;
font-size: 33px;
}
.keyboard {
height: 440px;
}
.operator, .number, .empty {
width: 55px;
height: 55px;
margin: 15px;
float: left;
border-radius: 50%;
border-width: 0;
font-weight: bold;
font-size: 16px;
}
.number, .empty {
background-color: rgb(230, 231, 233);
}
.operator {
background-color: rgb(222, 233, 233);
}
.number, .operator {
cursor: pointer;
}
.operator:active, .number:active {
font-size: 14px;
}
.operator:focus, .number:focus, .empty:focus {
outline: 0;
}
.operator:nth-child(4) {
font-size: 22px;
background-color: bisque;
}
.operator:nth-child(8) {
font-size: 22px;
background-color: bisque;
}
.operator:nth-child(12) {
font-size: 22px;
background-color: bisque;
}
.operator:nth-child(16) {
font-size: 22px;
background-color: bisque;
}
.operator:nth-child(20) {
font-size: 22px;
background-color: bisque;
}