mirror of
https://github.com/aelve/guide.git
synced 2024-12-23 04:42:24 +03:00
b894850b10
No reason to prohibit posting on Reddit, really.
35 lines
607 B
Plaintext
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%;
|
|
}
|