From e2ad7e94cdbb23c5f8871b9e3fa854feeabc6ac6 Mon Sep 17 00:00:00 2001 From: Neonnaut Date: Mon, 15 Jul 2024 16:47:10 +1000 Subject: [PATCH] improve ipa keyboard styling --- ipa-keyboard.html | 239 ++++++++++++++++++++++----------------------- style.css | 25 ++--- test.html | 244 +++++++++++++++++++++++----------------------- 3 files changed, 255 insertions(+), 253 deletions(-) diff --git a/ipa-keyboard.html b/ipa-keyboard.html index cf7944f..dd7b83b 100644 --- a/ipa-keyboard.html +++ b/ipa-keyboard.html @@ -30,19 +30,18 @@

IPA Keyboard and X-Sampa Converter

- +
- - - - - - - - - - - + + + + + + + + + + @@ -58,17 +57,18 @@

IPA Keyboard and X-Sampa Converter

- + - - - - - - - + + - + + + + + + + @@ -81,17 +81,17 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - + - - + + + + + + + + + @@ -106,16 +106,17 @@

IPA Keyboard and X-Sampa Converter

- - - + - - - - + - + + + + + + + @@ -130,15 +131,15 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - + + + + + + + + + @@ -153,6 +154,28 @@

IPA Keyboard and X-Sampa Converter

+ + + + + + + + + + + + + + + + + + + + + + @@ -167,16 +190,18 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - + + + + + + + + + + + + @@ -192,18 +217,8 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - - - + + @@ -218,22 +233,6 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - - - - - - - @@ -248,16 +247,17 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - + + + + + + + + + + + @@ -271,7 +271,7 @@

IPA Keyboard and X-Sampa Converter

- + @@ -283,7 +283,7 @@

IPA Keyboard and X-Sampa Converter

- + @@ -298,16 +298,15 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - + + + + + + + + + @@ -318,18 +317,19 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - - + + + + + + + + + + + + @@ -357,7 +357,6 @@

IPA Keyboard and X-Sampa Converter

- diff --git a/style.css b/style.css index 4c6e5d7..c4fadbe 100644 --- a/style.css +++ b/style.css @@ -510,19 +510,16 @@ div .gll { background: #fbf6f9; } -.xipa-table { +.ipa-table { overflow-x: auto; white-space: nowrap; - display: block; - padding-bottom: 3px; } - -.xipa-table tr td{ +.ipa-table tr td{ padding: 1px 1px 0 0; width: 24px; height: 26px; } -.xipa-table button { +.ipa-table button { margin: 0 auto; padding: 0; width: 24px; @@ -535,22 +532,28 @@ div .gll { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } -.xipa-table button:hover { +.ipa-table button:hover { -webkit-box-shadow: 1px 1px 3px #7d7d7d; box-shadow: 1px 1px 3px #7d7d7d; } -.xipa-table button:active { +.ipa-table button:active { -webkit-box-shadow: none; box-shadow: none; } @media only screen and (min-width: 810px) { - .xipa-table tr td{ + .ipa-table tr td{ padding: 2px 2px 0 0; width: 27px; height: 27px; } - .xipa-table button { + .ipa-table tr td:first-child { + padding-left: 1px; + } + .ipa-table tr:last-child td { + padding-bottom: 1px; + } + .ipa-table button { font-size: 19px; width: 27px; } @@ -656,7 +659,7 @@ div .gll { -#ipa-output textarea, .xipa-table button, #ipa-output #sampaBox, +#ipa-output textarea, .ipa-table button, #ipa-output #sampaBox, #ipa-output-toolbar #symbolsUsed a { font-family: "Charis SIL", "Doulos SIL", Gentium, "Arial Unicode MS","Lucida Sans Unicode", Arial, Serif; } diff --git a/test.html b/test.html index 2287e7a..1e269dd 100644 --- a/test.html +++ b/test.html @@ -725,19 +725,18 @@

Lexifer Online

IPA Keyboard and X-Sampa Converter

-
+
- - - - - - - - - - - + + + + + + + + + + @@ -753,17 +752,18 @@

IPA Keyboard and X-Sampa Converter

- + - - - - - - - + + - + + + + + + + @@ -776,17 +776,17 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - + - - + + + + + + + + + @@ -801,16 +801,17 @@

IPA Keyboard and X-Sampa Converter

- - - + - - - - + - + + + + + + + @@ -825,15 +826,15 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - + + + + + + + + + @@ -848,6 +849,28 @@

IPA Keyboard and X-Sampa Converter

+ + + + + + + + + + + + + + + + + + + + + + @@ -862,16 +885,18 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - + + + + + + + + + + + + @@ -887,18 +912,8 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - - - + + @@ -913,22 +928,6 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - - - - - - - @@ -943,16 +942,17 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - + + + + + + + + + + + @@ -966,7 +966,7 @@

IPA Keyboard and X-Sampa Converter

- + @@ -978,7 +978,7 @@

IPA Keyboard and X-Sampa Converter

- + @@ -993,16 +993,15 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - + + + + + + + + + @@ -1013,18 +1012,19 @@

IPA Keyboard and X-Sampa Converter

- - - - - - - - - - - + + + + + + + + + + + + @@ -1047,10 +1047,10 @@

IPA Keyboard and X-Sampa Converter

- - + + @@ -1071,7 +1071,7 @@

IPA Keyboard and X-Sampa Converter

-
+