-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
43 lines (43 loc) · 845 Bytes
/
Copy pathstyle.css
File metadata and controls
43 lines (43 loc) · 845 Bytes
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
@import url("../../engine/game-shell.css");
*,*::before,*::after{
margin:0;
padding:0;
box-sizing:border-box
}
body{
background:#0d0d1a;
overflow:hidden;
touch-action:none;
user-select:none;
-webkit-user-select:none;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
#game-container {
width: 100vw;
height: 100dvh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
canvas {
display:block;
}
#back-btn {
position: fixed;
top: 1rem;
left: 1rem;
background: rgba(255,255,255,.1);
color: #e0e0e0;
border: 1px solid rgba(255,255,255,.2);
padding: .5rem 1rem;
border-radius: 8px;
cursor: pointer;
font-size: .9rem;
font-family: inherit;
transition: background .2s;
z-index: 10;
}
#back-btn:hover {
background: rgba(255,255,255,.2);
}