22 Desember 2012

Membuat search


11.55 |


<b:if cond='data:blog.url == data:blog.homepageUrl'>
<center><div class='search'>
<form action='/search' id='searchthis' method='get'>
<input accesskey='s' class='textfield' name='q' placeholder='Cari Aktikel di Sini Coy' type='text' value=''/>
<input class='button' type='submit' value='Search'/>
</form>
</div></center>
</b:if>

<style type='text/css'>
    <b:if cond='data:blog.url != data:blog.homepageUrl'>
.post-outer{
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 5px 5px 5px 5px;
    margin: 0 -20px 20px;
    padding: 15px 20px;
}
<b:else/>

</b:if>
</style>

<style type='text/css'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
     
</b:if>
</style>

<style type='text/css'>
     <b:if cond='data:blog.pageType != &quot;item&quot;'>
     <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
     .post-body, .post-author, .post-footer-line, .databarleft, .datebarright, .feed-links, .blog-pager, .date-header, .column-right-outer{display:none;}
     </b:if>
     </b:if>
</style>

<style type='text/css'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>

.search {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.3);
    border-radius: 3px 3px 3px 3px;
    display: inline-block;
    float: none;
    margin: 75px auto 0;
    padding: 10px;
    position: relative;
    z-index: 1;
}
.button {
    background-color: #FFC61A;
    background-image: -moz-linear-gradient(center top , #FFC61A 0%, #FFB31A 100%);
    border-radius: 0 3px 3px 0;
    bottom: 11px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    font-weight: 700;
    height: auto;
    opacity: 1;
    padding: 10px;
    right: 10px;
    text-indent: 0;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
    top: 11px;
    width: 90px;
    border: 0 none;
    box-shadow: none !important;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
}
.search .button:hover {
    background: none repeat scroll 0 0 #FF9500;
}
.textfield {
    border-radius: 3px 3px 3px 3px;
    box-shadow: none;
    font-size: 16px;
    padding: 10px 100px 10px 10px;
    transition: all 0.2s linear 0s;
    width: 450px;
    border: 1px solid #AAAAAA;
    color: #484848;
    display: inline-block;
    height: 18px;
    line-height: 18px;
    vertical-align: middle;
}

.main-outer {
    background: url(&quot;//www.blogblog.com/1kt/transparent/white80.png&quot;) repeat scroll left top transparent;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
margin: 20px 0;
height: 296px;
    max-width: 40%;
    min-width: 460px;
    width: 100%;
    float: left;
}

.main-outer a:before {
    content: url(&quot;http://cdn1.iconfinder.com/data/icons/fatcow/16/bullet_orange.png&quot;);
    left: -25px;
    position: absolute;
}

.main-outer a:hover {
    background-image: -moz-linear-gradient(left center , #FFFFFF 0%, #FFEE99 9%, #FFEE99 60%, #FFFFFF 100%);
}

     </b:if>
</style>

<style type='text/css'>
<b:if cond='data:blog.url != data:blog.homepageUrl'>

      .main-inner .columns {
        padding-left: 0;
        padding-right: 280px;
      }

     </b:if>
</style>


You Might Also Like :