summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-11-22 14:47:43 -0500
committerJules Laplace <jules@okfoc.us>2014-11-22 14:47:43 -0500
commitb4d19e469b3de98778002ac97814c6b647cba113 (patch)
treeab4d0f8ad5d33588a8287530971880f1889da5cd /index.html
parentdd8a053f9845d4adeb8540f24d1e8d46def35ad3 (diff)
better chara input
Diffstat (limited to 'index.html')
-rw-r--r--index.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.html b/index.html
index 3a6d1a7..79740fe 100644
--- a/index.html
+++ b/index.html
@@ -11,7 +11,8 @@ body.grid div { border-top: 1px solid #444; border-left: 1px solid #444; }
body.loading { opacity: 0; }
body { transition: 0.1s linear; }
body.grid .focused { box-shadow: inset 0 0 2px white, inset 0 0 2px white, inset 0 0 2px white; }
-#shader_textarea { display: none; width: 400px; height: 400px; background: #333; color: #0f0; border: 0; font-family: 'FixedsysExcelsior301Regular'; }
+#shader_textarea { display: none; float: right; font-size:12pt; width: 45%; height: 400px; background: #333; color: #0f0; border: 0; font-family: 'FixedsysExcelsior301Regular'; outline: 0; border: 1px solid #333; background:#010;}
+#cursor_input { position: absolute; top: 0; right: 0; width:30px; }
</style>
<body class="grid loading">
@@ -35,6 +36,7 @@ body.grid .focused { box-shadow: inset 0 0 2px white, inset 0 0 2px white, inset
</div>
<textarea id="shader_textarea"></textarea>
</div>
+<input type="text" id="cursor_input">
</body>
<script type="text/javascript-shader" id="demo_shader">
lex.bg = colors[color_hue_order[Math.floor((x+y*y)/20)%16]]