From 6ec4be1aabafa523e625f9a37ac2dfaebbdba2f0 Mon Sep 17 00:00:00 2001 From: Valessio Brito Date: Fri, 27 Sep 2013 09:27:33 -0300 Subject: [PATCH] Add search input on header --- header.rhtml | 5 +++++ style.css | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 0 deletions(-) diff --git a/header.rhtml b/header.rhtml index 245f291..f5e06ad 100644 --- a/header.rhtml +++ b/header.rhtml @@ -20,3 +20,8 @@ }); + +
+ <%= render :partial => 'shared/profile_search_form' %> +
+ diff --git a/style.css b/style.css index 3b9e378..a5ae87f 100644 --- a/style.css +++ b/style.css @@ -46,6 +46,10 @@ body { ); } +#profile-header { + min-height: 150px; +} + #site-title { top: -40px; } #user { top: -30px; } @@ -65,6 +69,33 @@ body { border: 1px solid #E8E8E8; } +#search-header { + position: relative; + width: 960px; + margin: auto; +} +#search-header .search-field { + width: 200px; + position: absolute; + top: 100px; + right: 20px; + z-index: 999; +} +#search-header input.button.with-text { + width: 22px; + text-indent: -1000px; + float: right; + height: 30px; + max-height: 30px; + border: none; + background-color: transparent; +} +#search-header #q { + width: 170px; + height: 25px; + border-radius: 5px; +} + /* Title Header */ #content .main-block h1, @@ -200,6 +231,14 @@ div#article-parent { clear: both; } +#content .box-1 .article-block { + background: none; +} + +#content .blog-post .title { + text-align: left; +} + /* Editorial Area */ #content .box-1 .news-area { @@ -240,6 +279,11 @@ div#article-parent { background-image: none; } +.blog-post { + background: none !important; + margin: 0px; +} + /* Block My Network style */ #content .my-network-block { -- libgit2 0.21.2