forked from laurens/fediversity_website
Eerste opmaak van zoekformulier
This commit is contained in:
parent
5801e08de0
commit
25b3df67d8
6
themes/nluug/assets/scss/styles_search.scss
Normal file
6
themes/nluug/assets/scss/styles_search.scss
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
form.search input {
|
||||||
|
border-radius: 10px;
|
||||||
|
border: 3px solid darkgray;
|
||||||
|
font-size: 1.2em;
|
||||||
|
padding: 15px 20px;
|
||||||
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
<form action="/zoeken/" method="GET">
|
<form class="search" action="/zoeken/" method="GET">
|
||||||
🔍 <input type="search" name="q" id="search-query" placeholder="Zoekterm..">
|
<input type="search" name="q" id="search-query" placeholder="Zoekterm..." autofocus minlength="2" maxlength="32" pattern="[a-zA-Z0-9._%+-]{2,}$">
|
||||||
<button type="submit">Zoek</button>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
Reference in a new issue