summaryrefslogtreecommitdiff
path: root/content/_index.md
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-05-28 13:13:23 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-05-28 13:13:23 -0400
commite6727fbfe9e346ac11c1a07488423fce22f24c12 (patch)
tree4f5b77f287c6cc917b575a46cff0629aa32affa8 /content/_index.md
parent8bfaabd9df09732a28bc12de33a2c5c183c3f690 (diff)
if js disabled, hide search bar
Diffstat (limited to 'content/_index.md')
-rw-r--r--content/_index.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/_index.md b/content/_index.md
index 073f4f3..d0e1d0f 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -4,6 +4,12 @@ title: "🍲 Based Cooking 🍳"
## What do you want to cook?
+<noscript>
+<style>
+.search { display: none; }
+</style>
+</noscript>
+
<div class="search">
<input type="text" id="search" placeholder="Search...">
<button class="clear-search">