diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2022-04-24 13:24:41 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2022-04-24 13:24:41 +0200 |
commit | fc50a7f6c9e45b0c4e2bb03fbfc42b70e23b9aa6 (patch) | |
tree | 06b2206059672a98ce7797e3e7359f5801e2f0b7 /src/css.css | |
parent | separated css and html, removed php-cli dependency (diff) | |
download | sear.c-fc50a7f6c9e45b0c4e2bb03fbfc42b70e23b9aa6.tar sear.c-fc50a7f6c9e45b0c4e2bb03fbfc42b70e23b9aa6.tar.gz sear.c-fc50a7f6c9e45b0c4e2bb03fbfc42b70e23b9aa6.tar.bz2 sear.c-fc50a7f6c9e45b0c4e2bb03fbfc42b70e23b9aa6.tar.lz sear.c-fc50a7f6c9e45b0c4e2bb03fbfc42b70e23b9aa6.tar.xz sear.c-fc50a7f6c9e45b0c4e2bb03fbfc42b70e23b9aa6.tar.zst sear.c-fc50a7f6c9e45b0c4e2bb03fbfc42b70e23b9aa6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/css.css | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/css.css b/src/css.css index 0293e79..dc78c9f 100644 --- a/src/css.css +++ b/src/css.css @@ -38,7 +38,7 @@ } } -input, textarea { +input, textarea, button { background: var(--bgc2); color: var(--fgc1); } @@ -79,7 +79,7 @@ code { color: var(--fgcodec); background-color: var(--bgcodec); } -input[type=password], input[type=text], input[type=submit], input[type=button] { +input[type=text], button { height: 1cm; font-size: large; } @@ -95,8 +95,9 @@ input[type=password], input[type=text], input[type=submit], input[type=button] { } input[name=q] { flex-grow: 4; + width: 100%; } -input[type=submit] { +button { flex-basis: 12.5%; } .SC_LOG_ERROR { @@ -127,3 +128,9 @@ input[type=submit] { .result img { height: 10em; } +button::after { + content: attr(value); +} +button 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 */ |