Skip to content

Commit

Permalink
Add basic styling to emulator page
Browse files Browse the repository at this point in the history
  • Loading branch information
Snarr committed Nov 7, 2023
1 parent 7f28ca9 commit 57dd791
Showing 1 changed file with 61 additions and 5 deletions.
66 changes: 61 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,69 @@
<head>
<meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1">

<style>
body {
background-color: black;
height: 100vh;
margin: 0;
color: white;
}

.flex {
display: flex;
}

.col {
flex-direction: column;
}
.vh {
height: 100%;
}
.vw {
width: 100%;
}
.center {
justify-content: center;
align-items: center;
}
.gap {
gap: 1em;
}

#canvas {
width: 640px;
height: 320px;
border-style: solid;
border-color: rgb(85, 85, 85);
}

button {
width: 50px;
height: 50px;
border-radius: 25%;
}

#start {
background-color: #27ae60;
}
#stop {
background-color: #e74c3c;
}
#next {
background-color: #f39c12;
}
</style>
</head>
<body>
<input type="file" id="fileInput">
<button id="start"> Start </button>
<button id="stop"> Stop </button>
<button id="next"> >> </button>
<canvas id="canvas"></canvas>
<div class="flex col vh vw center gap">
<canvas id="canvas"></canvas>
<div id="controls">
<input type="file" id="fileInput">
<button id="start"> Start </button>
<button id="stop"> Stop </button>
<button id="next"> >> </button>
</div>
</div>
<script type=module src=runtime.js>

</script>
Expand Down

0 comments on commit 57dd791

Please sign in to comment.