-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
50 lines (43 loc) · 827 Bytes
/
app.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
:root {
--base-width: 500px;
--base-height: 500px;
}
body {
display: grid;
grid-template-columns: 25% 25% 25% 25%;
grid-template-rows: 25% 25% 25% 25%;
}
#app {
padding-bottom: 2.5rem;
grid-column: 2 / 4;
justify-self: center;
min-height: calc(var(--base-height) + 4rem)
}
#app.is-dark,
#app.is-dark .title {
background-color: tomato;
}
.pixelgrid {
width: var(--base-width);
height: var(--base-height);
display: grid;
background-color: #fff;
}
.buttons {
grid-column: 1;
grid-row: 1 / 4;
margin-top: 4rem;
display: flex;
flex-direction: column;
gap: 2rem;
justify-content: space-around;
}
.buttons button {
align-self: center;
}
footer {
text-align: center;
grid-column: 1 / -1;
grid-row: 4 / -1;
align-self: end;
}