-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
52 lines (46 loc) · 766 Bytes
/
main.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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Roboto Mono', monospace;
font-size: 1.5rem;
}
.calculator {
display: grid;
grid-template-columns: repeat(4, 100px);
grid-template-rows: repeat(6, 100px);
gap: 0.1rem;
background-color: #000;
width: 407px;
margin: 1rem auto;
}
.screen {
grid-column: 1 / 5;
height: 2;
color: #fff;
text-align: right;
padding-right: 0.5rem;
display: flex;
justify-content: flex-end;
align-items: center;
}
.btn {
background-color: #ebebeb;
border: none;
cursor: pointer;
}
.btn:hover {
filter: brightness(105%)
}
.btn:active {
filter: brightness(95%)
}
.colored {
background-color: #fcb870;
}
.size-l {
grid-column: 1 / 3;
}
.size-xl {
grid-column: 1 / 4;
}