Add search box to headline

This commit is contained in:
Ariejan de Vroom 2013-04-06 11:19:31 +02:00
parent c3589972a6
commit 54921eee38
3 changed files with 44 additions and 1 deletions

View File

@ -9,6 +9,13 @@ body {
} }
} }
.search-box {
padding-top: 12px;
input#google-search-box {
width: 98%;
}
}
.wufoo { .wufoo {
ul { ul {
list-style-image: none; list-style-image: none;

View File

@ -719,6 +719,32 @@ video {background-color:#000000;}
.headline table td {vertical-align:middle;} .headline table td {vertical-align:middle;}
.headline .one_half,
.headline .one_half.last,
.headline .one_third,
.headline .one_third.last,
.headline .two_third,
.headline .two_third.last,
.headline .one_fourth,
.headline .one_fourth.last,
.headline .three_fourth,
.headline .one_fourth.last {
padding-bottom:0;
}
.headline .one_half+.one_half,
.headline .one_third+.two_third,
.headline .two_third+.one_third,
.headline .one_third+.one_third+.one_third,
.headline .one_fourth+.one_fourth+.one_half,
.headline .one_fourth+.one_half+.one_fourth,
.headline .one_half+.one_fourth+.one_fourth,
.headline .one_fourth+.three_fourth,
.headline .three_fourth+.one_fourth,
.headline .one_fourth+.one_fourth+.one_fourth+.one_fourth {
}
.one_first { .one_first {
width:100%; width:100%;
padding-bottom:20px; padding-bottom:20px;

View File

@ -1,5 +1,15 @@
.headline .headline
%h2= item[:title] .three_fourth
%h2= item[:title]
.one_fourth.last
.search-box
%form{action: "http://www.google.com/cse", id: "cse-search-box"}
%input{type: "hidden", name: "cx", value: "011455777682120765364:szqyrcy79dw"}
%input{type: "hidden", name: "ie", value: "UTF-8"}
%input#google-search-box{name: "q", placeholder: "Search site", type: "search"}/
.cl
.content_wrap .content_wrap
.post .post
%section#content %section#content