-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
72 lines (59 loc) · 1.3 KB
/
styles.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
body {
min-height: 620px;
display: flex;
justify-content: center;
align-content: center;
align-items: center;
height: 100px;
background-color: rgb(126, 102, 102);
overflow: hidden;
}
.container {
background-color: rgb(133, 131, 13);
border: 10px solid rgb(0, 0, 0);
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: minmax(100px, auto) repeat(5, 80px);
gap:2px;
}
#display {
background-color: azure;
grid-column: 1 / -1;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: flex-end;
font-size: 50px;
font-weight: 400px;
padding: 5px;
margin: 5px;
}
button {
margin: 1px;
border-radius: 5%;
border: none;
font-weight: initial;
font-size: 50px;
font-family: monospace;
}
#zero {
grid-column: span 2;
}
.operand {
background-color: rgb(234, 238, 12);
}
.operand:active {
background-color: rgb(251, 255, 15);
}
.operator {
background-color: rgb(49, 219, 211);
}
.operator:active {
background-color: rgb(61, 241, 232);
}
.clear, .sign, .decimal, .equals, .percent {
background-color: rgb(250, 230, 201);
}
.clear:active, .sign:active, .decimal:active, .equals:active, .percent:active {
background-color: rgb(255, 239, 218);
}