-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
110 lines (90 loc) · 1.69 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
102
103
104
105
106
107
108
109
110
html {
text-align: center;
font-family: monospace;
}
#calc {
display: flex;
min-height: 95vh;
justify-content: center;
align-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
background-color: azure;
}
#container {
background-color: black;
border: 10px solid rgba(47,47,47,1);
border-radius: 4px;
display: grid;
grid-template-columns: repeat(4, 100px);
grid-template-rows: minmax(100px, auto) repeat(5, 80px);
gap: 2px;
}
#display {
grid-column: 1 / -1;
background-color: #b2b9b7;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: flex-end;
padding: 5px;
font-size: 5.5em;
font-weight: initial;
text-shadow: 1.3px 1.3px #383838;
margin: 5px;
}
button {
margin: 1px;
border-radius: 5%;
border: none;
font-weight: initial;
font-size: 2em;
font-family: monospace;
color: black;
}
#zero {
grid-column: span 2;
}
.operator {
background-color: #FF8F1F;
}
.operator:focus {
background-color: #ffc183;
}
.equals {
background-color: #FF8F1F;
}
.equals:active {
background-color: #ffc183;
}
.operand {
background-color: #95c1c8;
}
.operand:active {
background-color: #33b9bb;
}
.decimal {
background-color: #95c1c8;
}
.decimal:active {
background-color: #33b9bb;
}
.clear {
background-color: dodgerblue;
}
.clear:active {
background-color: rgb(123, 189, 255);
}
.sign {
background-color: dodgerblue;
}
.sign:active {
background-color: rgb(123, 189, 255);
}
.percent {
background-color: dodgerblue;
}
.percent:active {
background-color: rgb(123, 189, 255);
}