From c84f51d7e932cf5a589d73f85e19a825199c8c93 Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 3 Jan 2021 15:53:28 +0100 Subject: [PATCH] Improved layout slightly --- index.html | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index cdf2045f..a56973c9 100644 --- a/index.html +++ b/index.html @@ -12,12 +12,12 @@ } .on { - stroke: green; + stroke: rgb(61, 202, 61); cursor: pointer; } .off { - stroke: orange; + stroke: rgb(255, 88, 88); } span { @@ -25,22 +25,37 @@ width: 50vh; height: 50vh; background-size: cover; + border-style: solid; + margin-top: 10px; + } + + input { + font-size: 1em; } svg { width: 100%; height: 100%; } + + h1, h2 { + font-family: Helvetica, Arial, sans-serif; + } + -

search for kanji

+

Enter a Kanji

- - + + + + + +
Loading @@ -90,7 +105,7 @@ { const kanji = decodeURIComponent(kanji_raw); - $("form > input[name=kanji]").val(kanji); + $("form input[name=kanji]").val(kanji); var hex = kanji.charCodeAt(0).toString(16); $.loadSVG(hex).then( response => {