-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
100 lines (88 loc) · 1.51 KB
/
styles.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
body {
background-color: black;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: 'Public Pixel', sans-serif;
position: relative;
overflow: auto;
}
button {
font-family: 'Public Pixel', sans-serif;
padding: 1em;
background-color: inherit;
border: none;
cursor: pointer;
}
button:hover {
opacity: 0.75;
}
.container {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 100%;
aspect-ratio: 1 / 1;
min-width: 400px;
min-height: 400px;
max-width: 40vw;
}
canvas {
width: 100%;
border: 4px solid white;
}
.top-bar {
position: absolute;
top: -60px;
max-height: 10vh;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
/* background-color: white; */
}
.top-bar > span {
font-size: 1rem;
color: white;
}
.top-bar > button {
color: white;
}
#menu {
position: absolute;
border: 4px solid white;
width: 80%;
height: 80%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
align-items: flex-start;
flex-direction: column;
}
.menu-row {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.menu-row > li {
color: white;
list-style-type: none;
padding: 12px;
}
.footer {
display: flex;
position: absolute;
bottom: -60px;
max-height: 12vh;
width: 100%;
justify-content: space-around;
align-items: center;
}
.footer > button {
font-size: 1rem;
color: white;
}