-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
83 lines (80 loc) · 1.61 KB
/
styles.css
File metadata and controls
83 lines (80 loc) · 1.61 KB
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
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #E0FBFC;
font-family: "Ubuntu", sans-serif;
}
#box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 330px;
border: 2px #006E90 solid;
border-radius: 1%;
padding: 3px;
}
#box #result-box {
text-align: right;
padding: 15px 17px;
border-bottom: 2px #006E90 solid;
color: #006E90;
}
#box #result-box #prev-operand {
font-size: 21px;
font-weight: 400;
margin: 10px 0;
overflow: scroll;
}
#box #result-box #next-operand {
font-size: 30px;
font-weight: 700;
overflow: scroll;
}
#box #numbers-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
margin: 3px 0;
}
#box #numbers-grid .element {
border: 2px #006E90 solid;
border-radius: 3%;
padding: 11px 7px;
margin: 1px;
text-align: center;
background-color: #C2DFE3;
color: #006E90;
font-weight: 400;
font-size: 17px;
}
#box #numbers-grid .element:active {
background-color: #E0FBFC;
}
#box #numbers-grid .element:hover {
cursor: pointer;
}
#box #numbers-grid #clear {
grid-column: 2/4;
}
#box #numbers-grid #equal {
background-color: #006E90;
color: #C2DFE3;
}
#box #numbers-grid #equal:active, #box #numbers-grid #delete:active, #box #numbers-grid #clear:active {
background-color: #C2DFE3;
color: #006E90;
}
#box #numbers-grid #delete, #box #numbers-grid #clear {
background-color: #E0FBFC;
}
@media screen and (max-width: 380px) {
#box {
width: 290px;
}
#box #equal {
grid-column: 2/4;
}
}/*# sourceMappingURL=styles.css.map */