Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

html / css / style

.css
Скачиваний:
20
Добавлен:
12.02.2015
Размер:
7.74 Кб
Скачать
@charset "utf-8";
/* CSS Document */

body{
background:url(../images/bg.gif) repeat-y center;
color:#8f8f8f;

}

#page{
width:960px;
margin:0 auto;
}

a, a:link{
color:#6db0da;
text-decoration:none;
}
a:hover, a:active{
color:#6db0da;
text-decoration:underline;
}


h2, h3{
font-family: "LeagueGothicRegular", Arial, Helvetica, sans-serif;
text-transform:uppercase;
color:#575757;
margin-bottom:20px;
}
h2{
font-size:72px;
line-height:80px;
}
h3{
font-size:40px;
line-height:45px;
}
h4{
font-size:14px;
line-height:20px;
color:#575757;
margin-bottom:20px;

}
p{

line-height:20px;
margin-bottom:20px;
}

aside{
float:left;
width:248px;
position:fixed;
padding-top:10px;
}

nav{
text-align:center;
margin-bottom:20px;
}

nav .logo{
font-family: "LeagueGothicRegular", Arial, Helvetica, sans-serif;
font-size:43px;
text-transform:uppercase;
text-align:center;
color:#a08784;
text-decoration:none;
margin:20px 0;
display:block;
font-weight:normal;
color:#a08784;
text-decoration:none;
text-shadow: #fff 0px 1px 0px;
}
nav .logo span{
font-size:15px;
display:block;
background:url(../images/pic.png) no-repeat center .2em;
color:#c4bab7;
font-weight:normal;
}

nav ul{
font-family: "LeagueGothicRegular", Arial, Helvetica, sans-serif;
font-size:30px;
padding-top:30px;
background:url(../images/nav_bg.png) no-repeat top center;
text-transform:uppercase;
}
nav ul li{
position:relative;
margin-top:-7px;
}
nav ul li a, nav ul li a:link{
color:#7d6865;
text-decoration:none;
padding:10px 0 10px 0;
display:block;
text-shadow: #fff 0px 1px 0px;
}
nav ul li a:hover{
text-decoration:none;
color:#634d4a;
}
nav ul li.active{
background:url(../images/nav_active.png) no-repeat 26px .1em;
}
nav ul li.active a{
color:#fff;
text-shadow: #2b0d09 0px 1px 0px;
}
nav .bg_bottom{
background:url(../images/nav_bg.png) no-repeat bottom center;
height:30px;

}

#main-content{
float:right;
width:670px;
}

.ribbon{
background:url(../images/ribbon.png) no-repeat;
position:absolute;
width:152px;
height:132px;
z-index:999999999;
margin:-4px 0 0 -4px;
}
.ps_container{
display:none;
width:656px;
height:345px;
margin:20px auto 80px auto;
position:relative;
background:url(../images/slider_bg.png) no-repeat center;
}
.ps_image_wrapper{
width:656px;
height:345px;
overflow:hidden;
position:relative;
margin:0 auto;


}
.ps_image_wrapper img{
position:absolute;
left:10px;
top:10px;
}
.ps_prev,
.ps_next{
width:30px;
height:59px;
position:absolute;
top:50%;
margin-top:-40px;
cursor:pointer;
opacity:0.5;
}
.ps_prev{
background:transparent url(../images/prev.png) no-repeat top center;
left:20px;
}
.ps_next{
background:transparent url(../images/next.png) no-repeat top center;
right:20px;
}
.ps_prev:hover,
.ps_next:hover{
opacity:0.9;
}

ul.ps_nav{
list-style:none;
margin:0;
padding:0;
width:100px;
margin:20px auto;
position:relative;


}
ul.ps_nav li{
float:left;
}
ul.ps_nav li a{
display:block;
text-indent:-9000px;
width:13px;
height:13px;
outline:none;
padding:0px 3px;
background:transparent url(../images/dot2.png) no-repeat top center;
}
ul.ps_nav li a:hover,ul.ps_nav li.selected a{
background-position:50% -13px;
}
ul.ps_nav li.ps_preview{
display:none;
width:85px;
height:91px;
top:-95px;
left:-34.5px;
position:absolute;
}
ul.ps_nav li.ps_preview span{
background:transparent url(../images/triangle.png) no-repeat top center;
width:15px;
height:6px;
position:absolute;
top:85px;
left:35px;
}
.ps_preview_wrapper{
width:75px;
height:75px;
border:5px solid #fff;
overflow:hidden;
position:relative;
-moz-box-shadow:0px 0px 5px #999;
-webkit-box-shadow:0px 0px 5px #999;
box-shadow:0px 0px 5px #999;
}
.ps_preview_wrapper img{
position:absolute;
top:0px;
left:0px;
}


#main, #character, #history, #Training{
position:relative;
margin-bottom:500px;
float:left;
width:100%;
padding-top:15px;
}
#top{
margin-bottom:0px;
}
#character, #history, #Training, .columns, .intro-text{
padding:10px;
}


.divider {
text-align:center;
}
.divider h2{
background:url(../images/border_bg.gif) repeat-x bottom left;
margin-bottom:20px;
}
#main-content section .intro-text h2{
font-family:"LaneNarrowRegular", Arial, Helvetica, sans-serif;
font-size:40px;
line-height:44px;
padding-bottom:20px;

}
.intro-text .contact-me{
font-family:"LaneNarrowRegular", Arial, Helvetica, sans-serif;
background:url(../images/button.gif) no-repeat;
margin:-28px 0 0 200px;
position:relative;
font-size:20px;
height:42px;
width:237px;
text-align:center;
text-transform:uppercase;
}
.intro-text .contact-me a{
padding:10px 40px;
text-decoration:none;
color:#fff;
display:block;
text-shadow: #b04d35 1px -1px 0px;

}

.columns{
float:left;
width:100%;
margin-bottom:20px;
}
.two-column{
width:300px;
float:left;
margin-right:44px;
}
.three-column{
width:200px;
float:left;
margin-right:30px;
}

.last{
margin-right:0px;
}

figure{

-moz-box-shadow:0px 0px 5px #dfdfdf;
-o-box-shadow:0px 0px 5px #dfdfdf;
-webkit-box-shadow:0px 0px 5px #dfdfdf;
box-shadow:0px 0px 5px #dfdfdf;
padding:4px;
background:#fff url(../images/icon_magnify.gif) no-repeat center center;
float:left;
border:1px solid #d6d6d6;
margin-bottom:20px;
position:relative;
}
figure img{
float:left;
}
figure figcaption{
position:absolute;
bottom:0px;
margin-bottom:-5px;
width:170px;
}

figure figcaption a{
left:0;
position:absolute;
-webkit-transition: color 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: color 0.3s ease;
transition: color 0.3s ease;
}
figure figcaption a:hover{
text-decoration:none;
color:#343434;
}
figure figcaption a span{
display:none;
position:absolute;
}
figure figcaption a:hover span{
display:inline;
}

.marginLeft{
margin-left:30px;
}
.marginRight{
margin-right:30px;
}

.floatRight{
float:right;
}
.floatLeft{
float:left;
}

.testimony blockquote{
background:url(../images/quote.jpg) no-repeat left .4em;
float:right;
width:530px;
padding-left:30px;
}
.testimony figure{
float:left;
}
.testimony blockquote p{
font-size:18px;
font-style:italic;
color:#8c8c8c;
line-height:24px;
margin-top:10px;
}
.testimony blockquote cite{
display:block;
font-size:17px;
}
.says{
clear:both;
margin-bottom:20px;
}

.list{
float:left;
width:100%;
margin:0;
padding:0;
}
.list li{
display:inline;
margin-right:44px;
float:left;
margin-bottom:17px;
}
.list li.last{
margin-right:0px;
}

.skills{
padding:0;
margin:0;
position:relative;
}
.skills li{
padding:10px;
border-bottom:3px solid #d5e7f3;
list-style:none;
font-weight:normal;
color:#575757;
font-family: "LeagueGothicRegular", Arial, Helvetica, sans-serif;
font-size:27px;

text-transform:uppercase;
}
.skills li span{
position:absolute;
right:0;
font-weight:normal;
}
.bar_100, .bar_90, .bar_80, .bar_70, .bar_60, .bar_50, .bar_40, .bar_30, .bar_20, .bar_10{
background:url(../images/bar_graph.gif) repeat-x right .3em;
height:20px;
}
.bar_100{ width:300px; }
.bar_90{ width:270px; }
.bar_80{ width:240px; }
.bar_70{ width:210px; }
.bar_60{ width:180px; }
.bar_50{ width:150px; }
.bar_40{ width:120px; }
.bar_30{ width:90px; }
.bar_20{ width:60px; }
.bar_10{ width:30px; }
.skills li .standard{
position:absolute;
left:-40px;
}
Соседние файлы в папке css