Spaces:
Sleeping
Sleeping
Update index.html
Browse files- index.html +10 -14
index.html
CHANGED
|
@@ -21,22 +21,18 @@
|
|
| 21 |
font-family: 'RetroArcade', monospace;
|
| 22 |
}
|
| 23 |
#tv-frame {
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
}
|
| 30 |
#game-container {
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
height: 556.25px;
|
| 37 |
-
/* Move 6px left from center: (1000 - 741) / 2 = 129.5, then 129.5 - 6 = 123.5 */
|
| 38 |
-
left: 118px;
|
| 39 |
-
top: 73.75px;
|
| 40 |
}
|
| 41 |
#game-container canvas {
|
| 42 |
image-rendering: -moz-crisp-edges;
|
|
|
|
| 21 |
font-family: 'RetroArcade', monospace;
|
| 22 |
}
|
| 23 |
#tv-frame {
|
| 24 |
+
position: relative;
|
| 25 |
+
width: 100%;
|
| 26 |
+
height: 500px;
|
| 27 |
+
background: url(assets/tv.png) no-repeat center;
|
| 28 |
+
background-size: contain;
|
| 29 |
}
|
| 30 |
#game-container {
|
| 31 |
+
position: absolute;
|
| 32 |
+
width: 512px;
|
| 33 |
+
height: 390.25px;
|
| 34 |
+
left: 200px;
|
| 35 |
+
top: 46.75px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
}
|
| 37 |
#game-container canvas {
|
| 38 |
image-rendering: -moz-crisp-edges;
|