-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
48 lines (41 loc) · 872 Bytes
/
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
@import url(../../helpers/core.css);
.calculator {
display: inline-grid;
grid-template-columns: repeat(4, 3rem);
grid-template-rows: repeat(6, 3rem);
gap: 0.5rem;
}
.calculator .display {
border: 1px solid black;
width: 100%;
grid-column-start: 1;
grid-column-end: 5;
text-align: right;
font-size: 1.75rem;
line-height: 2rem;
padding: 0.1em 0.15em 0.5em;
overflow-x: auto;
overflow-y: hidden;
}
.calculator .clear {
background-color: red;
color: white;
}
.calculator .equals {
grid-column-start: 1;
grid-column-end: 4;
}
.calculator .zero {
grid-column-start: 2;
grid-column-end: 4;
}
.calculator button {
cursor: pointer;
font-size: 1rem;
border: none;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.calculator button:active {
background-color: black;
color: white;
}