1
0
mirror of https://github.com/Nikotro/First.git synced 2025-01-12 07:01:19 +03:00
First/css/style.css

105 lines
1.6 KiB
CSS
Raw Normal View History

2022-04-11 16:37:54 +03:00
body {
margin: 0;
font-family: 'Montserrat', sans-serif;
background-color: rgba(0, 0, 0, 0.014);
2022-04-09 21:42:02 +03:00
line-height: 1.6;
2022-04-11 16:37:54 +03:00
font-size: 16px;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:37:54 +03:00
h1, h2,h3, h4, h5, h6{
margin:0;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:37:54 +03:00
*,
*:after,
*:before {
box-sizing: border-box;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:37:54 +03:00
/*intro*/
.intro {
height: 100vh;
width:100%;
background: url("../images/intro.jpg") center no-repeat ;
background-size: cover;
-webkit-background-size:cover;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:37:54 +03:00
.intro_title{
font-size: 150px;
font-weight:700;
text-transform: uppercase;
2022-04-09 21:42:02 +03:00
text-align: center;
2022-04-11 16:37:54 +03:00
line-height: 1;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:37:54 +03:00
/*header*/
.header{
padding-top: 30px;
width: 100%;
position:absolute;
top: 0;
left: 0;
right:0;
z-index: 1000;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:37:54 +03:00
.header_inner{
2022-04-09 21:42:02 +03:00
display: flex;
justify-content: space-between;
align-items: center;
}
2022-04-11 16:37:54 +03:00
.header_logo {
font-size: 30px;
font-weight:700;
color: #fff;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:37:54 +03:00
.nav{
2022-04-09 21:42:02 +03:00
font-size: 14px;
2022-04-10 19:01:28 +03:00
text-transform: uppercase;
2022-04-11 16:37:54 +03:00
2022-04-10 19:01:28 +03:00
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:37:54 +03:00
.nav_link{
display: inline-block;
vertical-align: top;
margin: 0 15px;
position: relative;
color: #fff;
text-decoration: none;
transition: color 0.2s linear;
2022-04-10 19:01:28 +03:00
}
2022-04-09 21:42:02 +03:00
2022-04-11 16:37:54 +03:00
.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;
2022-04-10 19:01:28 +03:00
}
2022-04-09 21:42:02 +03:00
2022-04-11 16:37:54 +03:00
.nav_link:hover
2022-04-10 19:01:28 +03:00
{
2022-04-11 16:37:54 +03:00
color: #fce38a;
2022-04-10 19:01:28 +03:00
}
2022-04-11 16:37:54 +03:00
.nav_link:hover::after{
opacity: 1;
2022-04-10 19:01:28 +03:00
}
2022-04-11 16:37:54 +03:00
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
2022-04-10 19:01:28 +03:00
}
2022-04-09 21:42:02 +03:00