-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
64 lines (55 loc) · 1.32 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
* {
box-sizing: border-box;
font-family: "Roboto", sans-serif;
font-weight: bold;
margin: 0;
padding: 0;
}
body {
background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}
.grid-container {
display: grid;
justify-content: center;
align-content: center;
min-height: 100vh;
grid-template-columns: repeat(4, 100px);
grid-template-rows: minmax(120px, auto) repeat(5, 100px);
}
.grid-container > button {
cursor: pointer;
font-size: 2rem;
border: none;
outline: none;
background-color: #111;
color: #eee;
}
.grid-container > button:hover {
background-color: #eee;
color: #111;
}
.grid-container > .operator {
background: #41b88375;
}
.span-two {
grid-column: span 2;
}
.grid-container > .output {
grid-column: 1 / -1;
background: #222;
display: flex;
flex-direction: column;
align-items: flex-end;
justify-content: space-around;
padding: 10px;
word-wrap: break-word;
word-break: break-all;
}
.grid-container > .output > .previous-operand {
color: rgba(255, 255, 255, 0.75);
font-size: 1.5rem;
}
.grid-container > .output > .current-operand {
color: white;
font-size: 2.5rem;
}