Skip to content

Instantly share code, notes, and snippets.

Created December 1, 2013 10:38
Show Gist options
  • Save anonymous/7731496 to your computer and use it in GitHub Desktop.
Save anonymous/7731496 to your computer and use it in GitHub Desktop.
body {
background-color: #fff ;
}
header {
background-color: #e3e3e1;
z-index:5;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a#logo:hover {
text-decoration: none;
}
a.info {
color:#fff;
background-color:#f26822;
padding:3px;
font-size: 18px;
font-family: 'PT sans', sans-serif;
text-shadow:-1px -1px 1px rgba(255,255,255,0.1), /* наверх и влево */
1px 1px 1px rgba(255,255,255,0.1), /* вниз и вправо */
1px 1px 1px rgba(0,0,0,0.2);
}
a.white {
color:#000;
}
.menu {
width: 940px;
height: 70px;
background-color: #e3e3e1;
}
.button {
float: right;
bottom: -38px;
position: relative;
height: 18px;
padding-right: 26px;
color: #fff;
font-size: 18px;
font-family: 'PT sans', sans-serif;
}
#logo {
bottom: -33px;
font-size: 24px;
font-family: 'Lobster', cursive;
color:#000;
text-shadow:-1px -1px 1px rgba(0,0,0,0.1), /* наверх и влево */
1px 1px 1px rgba(0,0,0,0.1), /* вниз и вправо */
1px 1px 1px rgba(255,255,255,0.2);
z-index:4;
}
#bkpromo {
background-color:#e3e3e1;
width: 100%px;
height: 430px;
}
#promo {
background-color:#e3e3e1;
width: 940px;
height: 430px;
}
#baner1 {
bottom: 70px;
position: relative;
float: left;
}
#line {
background-color:#949494;
width: 100%;
height: 1px;
}
p#a {
color: #221008;
top: 60px;
right:150px;
position: relative;
float: right;
padding:1px;
width: 260px;
height: 85px;
background-color:#e3e3e1;
font-size: 60px;
font-family: 'Lobster', cursive;
text-shadow:-1px -1px 1px rgba(0,0,0,0.1), /* наверх и влево */
1px 1px 1px rgba(0,0,0,0.1), /* вниз и вправо */
1px 1px 1px rgba(255,255,255,0.2);
}
p#b {
color: #221008;
top: -79px;
right:95px;
position: relative;
float: right;
padding:1px;
width: 350px;
height: 70px;
font-size: 48px;
font-family: 'lobster', cursive;
text-shadow:-1px -1px 1px rgba(0,0,0,0.2),
1px 1px 1px rgba(0,0,0,0.2),
1px 1px 1px rgba(255,255,255,0.2);
}
p#c {
color: #221008;
top: -175px;
right:100px;
position: relative;
float: right;
padding:1px;
width: 260px;
height: 35px;
font-size: 24px;
font-family: 'Lobster', cursive;
text-shadow:-1px -1px 1px rgba(0,0,0,0.2), /* наверх и влево */
1px 1px 1px rgba(0,0,0,0.2), /* вниз и вправо */
1px 1px 1px rgba(255,255,255,0.5);
}
#con {
position: relative;
top: 265px;
left:195px;
}
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>AnnaStar</title>
<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=PT+Sans&subset=latin,cyrillic-ext,cyrillic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=PT+Serif:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
</head>
<body>
<header>
<center>
<div class="Header">
<div class="menu">
<div class="button">
<a class="white" href="homepage">О нас</a>
</div>
<div class="button">
<a class="white" href="homepage">Статьи</a>
</div>
<div class="button">
<a class="white" href="homepage">Наши работы</a>
</div>
<div class="button">
<a class="white" href="homepage">Прайс</a>
</div>
<div class="button">
<a class="white" href="homepage">Услуги</a>
</div>
<div id="logo" class="button">
<a id="logo" href="homepage">AnnaStar</a>
</div>
</div>
</div>
</center>
</header>
<content>
<center>
<div id="bkpromo">
<div id="promo">
<div id="baner1">
<img src="http://cdn.shopify.com/s/files/1/0066/0052/t/12/assets/homepage_banner.jpg?12285"
width="500" height="500" alt="lorem">
</div>
<div id="text1">
<p id="a">Красивые,</p>
<p id="b">длинные волосы</p>
<p id="c">что может быть проще!</p>
</div>
<div id="con">
<a class="info" href="homepage">Подробнее >></a>
</div>
</div>
<div id="line">
</div>
<div id="post">
</div>
<div id="before">
</div>
</center>
</content>
<footer>
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment