aboutsummaryrefslogtreecommitdiffstats
path: root/style/style.css
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-10-30 18:37:05 -0400
committerSquibid <me@zacharyscheiman.com>2023-10-30 18:37:05 -0400
commitc75861db6ad9427c4ebf68d347e968e5f7b8caca (patch)
tree170420ac5b4f35873a047aa5e81e8891196a38c7 /style/style.css
parent662df0d550fc94e77e101fe1bbea567ee5096e32 (diff)
downloadwallheaven-c75861db6ad9427c4ebf68d347e968e5f7b8caca.tar.gz
wallheaven-c75861db6ad9427c4ebf68d347e968e5f7b8caca.tar.bz2
wallheaven-c75861db6ad9427c4ebf68d347e968e5f7b8caca.zip
add search button
Diffstat (limited to 'style/style.css')
-rw-r--r--style/style.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/style/style.css b/style/style.css
index d1e1e72..0b0ef38 100644
--- a/style/style.css
+++ b/style/style.css
@@ -29,10 +29,34 @@ h1, #header {
text-align: center;
}
+@media only screen and (max-width: 75em) {
+ #searchbox input[type=text] { width: 45vw !important; }
+}
+
#searchbox {
text-align: center;
font-size: 1em;
}
+#searchbox input[type=text] {
+ width: 50em;
+ height: 2.5em;
+ box-sizing: border-box;
+ border: 3px solid #ccc;
+ border-right: none;
+ outline: none;
+}
+#searchbox input[type=text]:focus { background: #aaa; }
+#searchbox input[type=submit]:hover { background: #aaa; }
+#searchbox input[type=submit] {
+ width: 2.5em;
+ height: 2.5em;
+ font-weight: bold;
+ cursor: pointer;
+ margin: 0 1em 0 0;
+ background: #ccc;
+ border: 3px solid #ccc;
+ border-left: none;
+}
#options { display: inline-block; }