-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
47 lines (40 loc) · 772 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
.main {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.game-container {
max-width: 700px;
width: 100%;
max-height: 700px;
height:100%;
}
.mobile-controllers {
height: 12.5rem;
width: 12.5rem;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
grid-column-gap: 0px;
grid-row-gap: 0px;
grid-template-areas:
". up ."
"left empty right"
". down .";
}
.mobile-controllers--hidden {
display: none;
}
.mobile-controllers__left {
grid-area: left;
}
.mobile-controllers__up {
grid-area: up;
}
.mobile-controllers__down {
grid-area: down;
}
.mobile-controllers__right {
grid-area: right;
}