summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-04-27 00:10:34 -0400
committerJules Laplace <jules@okfoc.us>2017-04-27 00:10:34 -0400
commit0a9ef8576d7c76d61f98bd83e783fac8ed204de0 (patch)
treea439111aeb43f427c83240a5a12017620b0fd255 /index.html
parenta356074dd17029ada978381ca005684a3533102e (diff)
slide left/right
Diffstat (limited to 'index.html')
-rw-r--r--index.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/index.html b/index.html
index e99d2c6..e12cd3d 100644
--- a/index.html
+++ b/index.html
@@ -4,8 +4,6 @@
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
- color: white;
- text-shadow: 0 0 1px #000;
transition: background-color 100ms;
user-select: none;
overflow: hidden;
@@ -16,17 +14,27 @@ body {
div {
display: inline-block;
}
+.labels {
+ width: 20px;
+ line-height: 27px;
+}
</style>
</head>
<body>
<div>
+ <div class='labels'>
+ 1 2 3 4 5 6 7 1 2 3 4 5 6 7 1 2 3 4 5 6 7 1 2 3
+ </div>
<canvas nx="matrix" id="grid"></canvas>
</div>
<div>
<canvas nx="button" label="shift &uarr;" id="shiftUp"></canvas>
<canvas nx="button" label="shift &darr;" id="shiftDown"></canvas>
+ <br>
<canvas nx="button" label="slide &uarr;" id="slideUp"></canvas>
<canvas nx="button" label="slide &darr;" id="slideDown"></canvas>
+ <canvas nx="button" label="slide &larr;" id="slideLeft"></canvas>
+ <canvas nx="button" label="slide &rarr;" id="slideRight"></canvas>
<br>
<canvas nx="button" label="rotate &uarr;" id="rotateUp"></canvas>
<canvas nx="button" label="rotate &darr;" id="rotateDown"></canvas>