Added search field in navbar
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Gregory Ballantine 2024-05-21 09:44:57 -04:00
parent c7e30c9ed1
commit 4c367c2416
2 changed files with 10 additions and 5 deletions

View File

@ -63,10 +63,6 @@ input[type="submit"].button-primary{
li{ li{
display: inline-block; display: inline-block;
} }
form, li{
display: inline-block;
}
} }
.site-logo, .site-logo,
@ -80,6 +76,15 @@ input[type="submit"].button-primary{
padding-left: 35px; padding-left: 35px;
font-weight: bold; font-weight: bold;
} }
#search-form{
display: inline-block;
padding: 10px 35px;
li{
display: inline-block;
}
}
} }
#main-content{ #main-content{

View File

@ -25,7 +25,7 @@
<div class="nav-bar-right"> <div class="nav-bar-right">
<ul> <ul>
<li><form action="/search" method="GET"> <li><form id="search-form" action="/search" method="GET">
<input type="text" name="search" placeholder="enter a search query..."> <input type="text" name="search" placeholder="enter a search query...">
<button type="submit" name="button"><i class="fa-solid fa-magnifying-glass"></i></button> <button type="submit" name="button"><i class="fa-solid fa-magnifying-glass"></i></button>