Sebastiankay
commited on
Commit
•
e55593d
1
Parent(s):
11ec5ee
Update index.html
Browse files- index.html +23 -11
index.html
CHANGED
@@ -24,7 +24,14 @@
|
|
24 |
min-height: 100vh;
|
25 |
color: #fff;
|
26 |
}
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
@media (max-width:500px) {
|
29 |
body {
|
30 |
font-size: 12px;
|
@@ -34,24 +41,29 @@
|
|
34 |
width: 100vw;
|
35 |
height: 100vh;
|
36 |
}
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
inset:0;
|
39 |
position: absolute;
|
40 |
top: 50%;
|
41 |
left: 50%;
|
42 |
transform: translate(-50%, -50%);
|
43 |
transform: scale(0.8);
|
44 |
-
}
|
45 |
}
|
46 |
|
47 |
-
|
48 |
-
position: relative;
|
49 |
-
margin: auto 0;
|
50 |
-
background: #2d2d2d;
|
51 |
-
padding: 20px;
|
52 |
-
border-radius: 10px;
|
53 |
-
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
|
54 |
-
}
|
55 |
|
56 |
.info-panel {
|
57 |
display: flex;
|
|
|
24 |
min-height: 100vh;
|
25 |
color: #fff;
|
26 |
}
|
27 |
+
.game-container {
|
28 |
+
position: relative;
|
29 |
+
margin: auto 0;
|
30 |
+
background: #2d2d2d;
|
31 |
+
padding: 20px;
|
32 |
+
border-radius: 10px;
|
33 |
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
|
34 |
+
}
|
35 |
@media (max-width:500px) {
|
36 |
body {
|
37 |
font-size: 12px;
|
|
|
41 |
width: 100vw;
|
42 |
height: 100vh;
|
43 |
}
|
44 |
+
.game-container {
|
45 |
+
position: fixed;
|
46 |
+
margin: auto 0;
|
47 |
+
position: absolute;
|
48 |
+
top: 50%;
|
49 |
+
left: 50%;
|
50 |
+
background: #2d2d2d;
|
51 |
+
padding: 20px;
|
52 |
+
border-radius: 10px;
|
53 |
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
|
54 |
+
}
|
55 |
+
|
56 |
+
/*canvas {
|
57 |
inset:0;
|
58 |
position: absolute;
|
59 |
top: 50%;
|
60 |
left: 50%;
|
61 |
transform: translate(-50%, -50%);
|
62 |
transform: scale(0.8);
|
63 |
+
}*/
|
64 |
}
|
65 |
|
66 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
.info-panel {
|
69 |
display: flex;
|