From b2f1c6e5aab9e317454ad42113f9faa41fc056f7 Mon Sep 17 00:00:00 2001 From: synth-ruiner Date: Sat, 23 Dec 2017 20:41:40 +0000 Subject: [PATCH] re-style output bit --- includes/style.css | 10 ++++++++++ includes/style.less | 11 +++++++++++ index.html | 4 ++-- index.pug | 14 ++++---------- 4 files changed, 27 insertions(+), 12 deletions(-) diff --git a/includes/style.css b/includes/style.css index ea27d6c..4a8f1be 100644 --- a/includes/style.css +++ b/includes/style.css @@ -28,6 +28,13 @@ input[type="color"] { input[type="color"][disabled] { opacity: 0.5; } +input[type="text"], +button { + width: 14em; + margin: 1em; + padding: 0.25em; + font-size: 1em; +} table { margin: 0 auto; } @@ -78,3 +85,6 @@ input { margin: 0 auto; width: 256px; } +#save { + margin-top: 0; +} diff --git a/includes/style.less b/includes/style.less index 3cff882..52aadd8 100644 --- a/includes/style.less +++ b/includes/style.less @@ -37,6 +37,13 @@ input[type="color"] { background: none; } +input[type="text"], button { + width: 14em; + margin: 1em; + padding: 0.25em; + font-size: 1em; +} + table { margin: 0 auto; @@ -97,4 +104,8 @@ textarea, input { .centre; width: 256px; +} + +#save { + margin-top: 0; } \ No newline at end of file diff --git a/index.html b/index.html index 5d225ff..b1f0449 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -

image-to-bitsy

convert any image to a bitsy room

game data

image

palette

preview

output

\ No newline at end of file +42

image

palette

preview

output

\ No newline at end of file diff --git a/index.pug b/index.pug index 85e461d..48c4338 100644 --- a/index.pug +++ b/index.pug @@ -60,6 +60,10 @@ html canvas#room-output(width=128, height=128) + input#roomName(type="text", placeholder="room name") + + button#save write to game data + //- input#threshold(type="range" min=0 max=64) br @@ -67,16 +71,6 @@ html span.left use existing tiles span.right create new tiles - br - - input#roomName(placeholder="room name") - - br - - button#save Save - - br - //-label favour broad strokes | favour details br