Skip to content

Instantly share code, notes, and snippets.

@faruk09
Created May 26, 2014 08:06
Show Gist options
  • Save faruk09/4e8bbcd60d34bbbd90fb to your computer and use it in GitHub Desktop.
Save faruk09/4e8bbcd60d34bbbd90fb to your computer and use it in GitHub Desktop.
css
body{
font-family: Georgia;
}
p{
color: #999999;
}
li a{
text-decoration: none;
display: block;
}
li{
list-style: none;
}
.fl{
float: left;
}
.fr{
float: right;
/*display: none;*/
}
#wrapper{
width: 100%;
margin: 0 auto;
}
.container{
width: 960px;
margin: 0 auto;
}
/*top bar*/
#top-bar{
width: 100%;
border-bottom: 2px solid #97455f;
margin-top:15px;
padding-bottom: 15px;
overflow: hidden;
position: relative;
}
.social{
width: 40%;
}
.social ul{
}
.social ul li a{
float: left;
display: block;
background:#d2d2d2;
width: 32px;
height: 32px;
border-radius: 50%;
margin-right: 5px;
line-height: 32px;
text-align: center;
color: #fff;
}
.social-hover:hover{
width: 32px;
height: 32px;
border-radius: 50%;
line-height: 32px;
}
.fa-linkedin:hover{
background: #017db7;
}
.fa-twitter:hover{
background: #00abf0;
}
.fa-pinterest:hover{
background: #d3242a;
}
.fa-google-plus:hover{
background: #dd4c39;
}
.fa-rss:hover{
background: #ee802f;
}
/*top menu*/
.top-menu{
width: 60%;
}
nav#top-menu ul{
float: right;
}
nav#top-menu ul li{
float: left;
}
nav#top-menu ul li a{
padding:0 10px;
line-height: 32px;
text-align: center;
color: #97455f;
font-size: 14px;
position: relative;
}
nav#top-menu ul li a:after{
content: "|";
color: #97455f;
font-size: 12px;
text-align: center;
position: absolute;
right: -2px;
}
nav#top-menu ul li:last-child a:after{
display: none;
}
.toggle{
background: none no-repeat scroll 0 0 #97485F;
border-radius: 0 0 10px 10px;
color: #FFFFFF;
font-size: 21px;
height: 22px;
position: absolute;
right: 205px;
text-align: center;
text-decoration: none;
top: 64px;
width: 30px;
}
/*-------------- logo section ----------------*/
.logo{
overflow: hidden;
background: #ebebeb;
padding: 38px 0 55px 0;
}
.logo img {
float: left;
margin-top: 40px;
}
.logo form{
float: right;
margin-right: 10px;
margin-top: 30px;
}
.logo form input{
border:none;
outline: none;
}
.search{
border-radius: 3px 0 0 3px;
background: #fff;
color: #999999;
width: 217px;
height: 37px;
padding-left: 9px;
}
.submit{
border-radius:0 3px 3px 0;
background: #97485f;
color: #fff;
width: 65px;
height: 37px;
margin-left: -4px;
cursor: pointer;
}
#main-menu{
overflow: hidden;
background: #ebebeb;
}
#main-menu ul{
float: left;
}
#main-menu ul li{
float: left;
}
#main-menu ul li a{
padding: 21px;
background: #97485f;
color: #fff;
/*overflow: hidden;*/
text-transform: uppercase;
font-size: 16px;
}
#main-menu ul li a:hover, a.active{
background: #6a3447 !important;
color: #fff;
}
.background{
width: 100%;
height: 150px;
background: #ebebeb;
}
/*Slider sectin*/
.slider{
position: relative;;
}
.slider-image img{
margin-top: -149px;
border-top: 30px solid #fff;
border-left: 30px solid #fff;
border-right: 19px solid #fff;
}
.slider-content{
background: #adadad;
width: 455px;
height: 120px;
color: #383838;
position: absolute;
right: 262px;
bottom: 74px;
box-sizing:border-box;
-webkit-box-sizing:border-box;
padding: 25px;
}
.slider-content h1{
font-size: 30px;
padding-bottom: 12px;
}
.slider-content p{
font-size: 16px;
color: #383838;
}
.slider-button{
height: 30px;
margin: 11px 0 26px 0;
}
.slider-button ul{
float: left;
margin-left: 421px;
}
.slider-button ul li{
float: left;
}
.slider-button ul li a{
background: #363636;
border-radius: 50%;
margin-right: 4px;
width: 12px;
height: 13px;
}
.slider-button ul li a.active{
background: #fff !important;
border-radius: 50%;
border:3px solid #363636;
width: 8px;
height: 8px;
}
/*Main contaner section*/
.main-content{
width: 960px;
overflow: hidden;
height: auto;
clear: both;
}
.main-content h3{
text-align: center;
width: 168px;
background: #fff;
height: 14px;
color: #333333;
margin: -12px 0 25px 379px;
}
.divider{
border:2px solid #ebebeb;
}
.content-1,.content-2{
margin-right: 30px;
}
.content-1,.content-2, .content-3{
float: left;
width: 300px;
overflow: hidden;
}
.post{
margin-bottom: 59px;
}
.post img{
float: left;
margin: 0 10px 10px 0;
}
.post h4{
color: #97455f;
font-size: 18px;
margin-bottom: 13px;
}
.post p{
font-size: 16px;
line-height: 22px;
}
/*Main Content-2*/
.main-content-2{
clear: both;
height: auto;
margin-top: 15px;
}
.blog-post{
width: 465px;
float: left;
margin: 0 30px 30px 0;
}
.testimonial{
width: 465px;
float: left;
margin-bottom: 60px;
}
.divider2{
border:2px solid #ebebeb;
}
.blog-post h4.divider2, .testimonial h4{
text-align: center;
background: #fff;
width: 175px;
border: none;
color: #333333;
margin:-13px 0 0 148px;
}
.blog-post img{
float: left;
margin: 20px 14px 0 0;
}
.blog-post h3{
font-size: 18px;
color: #97455f;
padding: 24px 0 0 3px;
font-weight: normal;
}
.blog-post p{
line-height: 20px;
padding-top: 15px;
}
.blog-post a{
color: #97455f;
text-decoration: none;
}
.testimonial img{
float: left;
padding: 22px 15px 15px 0;
}
.testimonial h3{
color: #333;
font-size: 19px;
padding: 18px 0 10px 0;
font-weight: normal;
}
.testimonial a{
color: #97455f;
text-decoration: none;
}
.testimonial p{
float: left;
clear: both;
}
.contact{
background: #97455f;
clear: both;
margin-top: 30px;
position: relative;
border-radius: 15px;
}
.contact h1, .contact h3{
color: #e5e5e5;
font-family: Georgia;
}
.contact h1{
font-weight: bold;
font-size: 32px;
padding: 39px 0 0 40px;
}
.contact h3{
font-weight: normal;
font-size: 18px;
padding: 16px 0 35px 40px;
}
.contact a{
position: absolute;
top: 41px;
color: #97455f;
background: #fff;
padding: 20px;
border-radius: 10px;
right: 30px;
text-decoration: none;
font-weight: normal;
font-size: 26px;
}
footer{
width: 100%;
background: #ebebeb;
border-top:3px solid #d2d2d2;
margin-top: 50px;
}
.footer-top{
overflow: hidden;
height: auto;
}
.footer-wrapper{
width: 1000px;
margin:0 auto;
}
.footer-left{
width: 439px;
float: left;
margin-right: 40px;
}
.footer-left img{
border:5px solid #fff;
}
.footer-middle{
width : 231px;
float : left;
margin-right: 40px;
}
.footer-middle p{
line-height: 19px;
}
.footer-right{
float: left;
width: 227px;
}
.title{
color : #999999;
font-size: 17px;
margin : 34px 0 24px 0;
}
.footer-right form input{
background : #fff;
color : #989898;
font-weight : normal;
font-size : 15px;
border-radius: 5px;
border :none;
outline : none;
width : 237px;
}
.name{
height : 30px;
margin-bottom: 14px;
padding : 5px 0 5px 9px;
}
.mail{
width : 225px;
height : 30px;
margin-bottom: 14px;
padding : 5px 0 5px 9px;
}
textarea{
border : medium none;
border-radius: 5px;
outline : medium none;
padding : 17px 0 0 15px;
color : #989898;
font-size : 16px;
}
.submit2{
width : 100px;
background : #97485f;
color : #fff;
font-weight : bold;
font-size : 15px;
border : none;
outline : none;
border-radius: 5px;
cursor : pointer;
margin : 5px;
padding : 9px;`
}
.mailto{
color: #97455F;
font-size: 15px;
}
.footer-divider{
border-top:3px solid #d2d2d2;
}
.footer-bottom{
clear : both;
height: 50px;
}
.footer-bottom p.right{
float : right;
padding: 30px;
padding:22px 0 22px 0;
}
.footer-bottom p.left{
float : left;
padding: 22px 0 22px 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment