@import url(http://fonts.googleapis.com/css?family=Roboto:100,400&subset=latin,cyrillic);
html, body, .container {
height: 100%;
}
html, body, h1, p, a, div, section {
padding: 0;
margin: 0;
font-size: 100%;
font: inherit;
}
/* Основные стили */
body {
font: 18px/23px "Roboto", sans-serif;
color: #ffffff;
width: 100%;
overflow-x: hidden;
}
h1 {
color: #efecec;
text-transform: uppercase;
font-size: 40px;
line-height: 50px;
font-weight: 100;
margin-top: 20px;
-moz-user-select: -moz-none;
-o-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
}
.container {
display: table;
padding-top: 80px;
width: 100%;
}
.header {
display: table-cell;
vertical-align: middle;
text-align: center;
}
#content {
background: #fff;
padding: 20px 0;
white-space: nowrap;
display: block;
width: 100%;
overflow-x: hidden;
overflow-y: visible;
position: absolute;
}
#mask {
display: block;
}
.content {
display: inline-table;
width: 100%;
color: black;
white-space: pre-wrap;
position: relative;
}
#content p {
margin: 10px 2.5%;
width: 95%;
text-align: left;
display: table;
white-space: normal;
color: #4B4B4B;
size: 2rem;
font-family: roboto;
font-style: normal;
font-weight: 400;
}
h3 {
margin: 10px 2.5%;
width: 95%;
}
img {
max-width: 95%;
height: auto;
margin: 10px 2.5%;
}
/*фиксированное плавающее меню*/
#top_nav {
bottom: 0;
position: fixed;
z-index: 1000;
width: 100%;
height: 50px;
background-color: #000000;
color: #ffffff;
display: table;
opacity: 0.5;
}
.nav_but {
margin-left: 1%;
display: block;
height: 100%;
width: 100%;
text-align: center;
border-width: 1px;
border-style: solid;
-webkit-border-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(rgba(0, 0, 0, 0))) 1 100%;
-webkit-border-image: -webkit-linear-gradient(white, rgba(0, 0, 0, 0)) 1 100%;
-moz-border-image: -moz-linear-gradient(white, rgba(0, 0, 0, 0)) 1 100%;
-o-border-image: -o-linear-gradient(white, rgba(0, 0, 0, 0)) 1 100%;
border-image: linear-gradient(to bottom, white, rgba(0, 0, 0, 0)) 1 100%;
border-collapse: collapse;
border-left: hidden;
font-family: roboto;
font-style: normal;
font-weight: 100;
-moz-user-select: -moz-none;
-o-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
}
.go_to {
height: 100%;
display: table-cell;
}
A:link {
text-decoration: none;
color: #ffffff;
}
A:visited {
color: #ffffff;
}
A:hover {
color: aqua;
}
/*Header - Background*/
.firstScreen {
height: 100%;
width: 100%;
background-repeat: no-repeat;
background-position: 50% 0;
background-image: url(../images/background.jpg);
background-attachment: fixed;
background-size: cover;
padding-top: 80px;
display: table;
vertical-align: middle;
text-align: center;
}
@media only screen and (max-width: 2159px) {
.firstScreen {
background-image: url(../images/background-2160.jpg);
}
}
@media only screen and (max-width: 1079px) {
.firstScreen {
background-image: url(../images/background-1080.jpg);
}
}
@media only screen and (max-width: 767px) {
.firstScreen {
background-image: url(../images/background-768.jpg);
}
} |