1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-18 02:11:33 +03:00
guide/templates/search.widget
Artyom b894850b10
Remove the subtitle
No reason to prohibit posting on Reddit, really.
2017-07-30 03:49:45 +03:00

35 lines
607 B
Plaintext

Description
============================================================
The search bar that is shown on the top of all pages.
HTML
============================================================
<form action="/haskell">
<input
type="text"
name="q"
id="search"
placeholder="search"
value="{{query}}">
</form>
CSS
============================================================
#search {
/* TODO: this should rather be in the "h1+subtitle" block */
margin-top: 1em;
font-size: 200%;
font-weight: 200;
border: 1px solid #aaa;
border-radius: 3px;
padding: 3px 10px;
width: 100%;
}