Permalink
Browse files

Add site-specific search box to the website

  • Loading branch information...
1 parent 6a82c41 commit 3a5052a803e658e2393e5c2b401913e69c7fcd8e @jeremyevans committed May 27, 2012
Showing with 11 additions and 0 deletions.
  1. +4 −0 www/layout.html.erb
  2. +7 −0 www/public/css/application.css
View
@@ -28,6 +28,10 @@
<li><a href="press.html">Press</a></li>
<li><a href="http://sequel.heroku.com">Blog</a></li>
</ul>
+ <form action="http://www.google.com/search">
+ <input type="hidden" name="sitesearch" value="sequel.rubyforge.org" />
+ <input id="searchbox" type="search" placeholder="Site Search" name="q" value="" />
+ </form>
</div>
<br style="clear: both;" />
</div>
@@ -50,6 +50,13 @@ textarea { width: 100%; }
margin-right: 1em;
}
+#searchbox {
+ border-radius: 10px;
+ font-size: 10px;
+ padding: 3px;
+ margin-left: 15px;
+}
+
#navigation ul {
list-style-type: none;
margin-top: 3px;

0 comments on commit 3a5052a

Please sign in to comment.