mirror of
https://github.com/aelve/guide.git
synced 2024-12-24 13:26:08 +03:00
c72815c436
* Render some elements of some pages with Mustache * Switch to Stack * Add a bit of tests * Turn the project into a library
31 lines
486 B
Plaintext
31 lines
486 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 {
|
|
font-size: 200%;
|
|
border: 1px solid #d0d0d0;
|
|
padding: 3px 10px;
|
|
width: 100%;
|
|
}
|