diff options
Diffstat (limited to '')
-rw-r--r-- | prog/sear.php/css.css | 10 | ||||
-rw-r--r-- | prog/sear.php/index.php | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/prog/sear.php/css.css b/prog/sear.php/css.css index dc78c9f..8b3bf6d 100644 --- a/prog/sear.php/css.css +++ b/prog/sear.php/css.css @@ -38,7 +38,7 @@ } } -input, textarea, button { +input, textarea { background: var(--bgc2); color: var(--fgc1); } @@ -79,7 +79,7 @@ code { color: var(--fgcodec); background-color: var(--bgcodec); } -input[type=text], button { +input[type=text], input[type=submit] { height: 1cm; font-size: large; } @@ -97,7 +97,7 @@ input[name=q] { flex-grow: 4; width: 100%; } -button { +input[type=submit] { flex-basis: 12.5%; } .SC_LOG_ERROR { @@ -128,9 +128,9 @@ button { .result img { height: 10em; } -button::after { +input[type=submit]::after { content: attr(value); } -button span { /* rationale: links browser does not support CSS and emojis, therefore it'll show */ +input[type=submit] span { /* rationale: links browser does not support CSS and emojis, therefore it'll show */ display: none; /* basic default text instead of emojis. */ } /* if browser does not support ::after, content or attr, but supports other CSS, button is blank */ diff --git a/prog/sear.php/index.php b/prog/sear.php/index.php index 2e695c5..9b9cbd4 100644 --- a/prog/sear.php/index.php +++ b/prog/sear.php/index.php @@ -122,15 +122,15 @@ function template ($title, $queryinfo, $body, $query = "", $additionalform = "", $query = htmlspecialchars($query); $title = htmlspecialchars($title); $buttons = " - <button type=submit value=๐ ><span>=></span></button> - <button accesskey=f type=submit name=f value=ฦฑ ><span>1.</span></button> - <button accesskey=i type=submit name=i value=๐ผ><span>[^]</span></button> + <input type=submit value=๐ ><span>=></span></button> + <input type=submit accesskey=f type=submit name=f value=ฦฑ ><span>1.</span></button> + <input type=submit accesskey=i type=submit name=i value=๐ผ><span>[^]</span></button> "; if ($imgfirst) { $buttons = " - <button type=submit name=i value=๐ผ><span>[^]</span></button> - <button accesskey=i type=submit value=๐ ><span>=></span></button> - <button accesskey=f type=submit name=f value=ฦฑ ><span>1.</span></button> + <input type=submit name=i value=๐ผ><span>[^]</span></button> + <input type=submit accesskey=i type=submit value=๐ ><span>=></span></button> + <input type=submit accesskey=f type=submit name=f value=ฦฑ ><span>1.</span></button> "; } return " |