diff --git a/content/css/_main.scss b/content/css/_main.scss index 5aa4b24..5a25ed1 100644 --- a/content/css/_main.scss +++ b/content/css/_main.scss @@ -9,6 +9,13 @@ body { } } +.search-box { + padding-top: 12px; + input#google-search-box { + width: 98%; + } +} + .wufoo { ul { list-style-image: none; diff --git a/content/css/_willbridge.scss b/content/css/_willbridge.scss index 05cbaf7..7794bdc 100644 --- a/content/css/_willbridge.scss +++ b/content/css/_willbridge.scss @@ -719,6 +719,32 @@ video {background-color:#000000;} .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 { width:100%; padding-bottom:20px; diff --git a/layouts/post.haml b/layouts/post.haml index eb0906c..4b09911 100644 --- a/layouts/post.haml +++ b/layouts/post.haml @@ -1,5 +1,15 @@ .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 .post %section#content