mirror of
https://github.com/Nikotro/First.git
synced 2024-12-24 15:04:38 +03:00
105 lines
1.6 KiB
CSS
105 lines
1.6 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: 'Montserrat', sans-serif;
|
|
background-color: rgba(0, 0, 0, 0.014);
|
|
line-height: 1.6;
|
|
font-size: 16px;
|
|
}
|
|
|
|
h1, h2,h3, h4, h5, h6{
|
|
margin:0;
|
|
}
|
|
|
|
*,
|
|
*:after,
|
|
*:before {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/*intro*/
|
|
.intro {
|
|
height: 100vh;
|
|
width:100%;
|
|
background: url("../images/intro.jpg") center no-repeat ;
|
|
background-size: cover;
|
|
-webkit-background-size:cover;
|
|
}
|
|
|
|
.intro_title{
|
|
font-size: 150px;
|
|
font-weight:700;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
/*header*/
|
|
.header{
|
|
padding-top: 30px;
|
|
width: 100%;
|
|
position:absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right:0;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.header_inner{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.header_logo {
|
|
font-size: 30px;
|
|
font-weight:700;
|
|
color: #fff;
|
|
}
|
|
|
|
.nav{
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
|
|
|
|
}
|
|
|
|
.nav_link{
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
margin: 0 15px;
|
|
position: relative;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
transition: color 0.2s linear;
|
|
}
|
|
|
|
.nav_link:after{
|
|
content:"";
|
|
display:block;
|
|
width: 100%;
|
|
height: 3px;
|
|
opacity: 0;
|
|
background-color:#fce38a;
|
|
position: absolute;
|
|
top:100%;
|
|
left:0;
|
|
z-index: 1;
|
|
transition: opacity .2s linear;
|
|
}
|
|
|
|
.nav_link:hover
|
|
{
|
|
color: #fce38a;
|
|
}
|
|
.nav_link:hover::after{
|
|
opacity: 1;
|
|
}
|
|
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|