This commit is contained in:
2020-03-13 20:44:22 +03:00
commit 747d24152b
50 changed files with 1314 additions and 0 deletions

View File

@@ -0,0 +1,74 @@
/* заглушка */
.footer {
background: #131415;
font-size: 14px;
font-weight: 300;
color: #ffffff;
width: 100%;
padding: 15px;
height: 77px;
margin-top: -77px;
min-width: 1100px;
}
.footer-q {
width: 33%;
display: block;
float: left;
}
.footer-full-text:first-child {
margin-right: 50px;
}
.footer-q .logo-text {
display: block;
text-align: center;
margin: 15px;
}
.footer-full-text {
font-size: 14px;
font-weight: 300;
margin-top: -3px;
margin-bottom: 2px;
}
.footer-text_link {
font-weight: bold;
color: #ffffff;
}
.footer-text_name {
font-weight: bold;
color: #ffffff;
}
.footer-messeger_text {
font-weight: bold;
display: block;
text-align: right;
margin: 2px;
margin-right: 8px;
}
.footer-messeger__item {
list-style: none;
display: block;
float: left;
background: #ffffff;
margin: 8px;
border-radius: 50%;
width: 20px;
height: 20px;
display: block;
text-align: center;
}
.footer-messeger__item:hover {
background: #f89513;
}
.footer-messeger__icon {
width: auto;
height: auto;
}
.footer-messeger{
margin: 0px;
display: block;
float: right;
}

View File

@@ -0,0 +1,146 @@
/* шапка */
.header {
background: #131415;
height: 75px;
}
.header_left, .header_right {
float: left;
width: 50%;
}
.header_left {
padding: 10px 0;
}
.header_right {
text-align: right;
/* margin-top: 12px; */
padding-top: 20px;
}
.header_center{
text-align: center;
height: 75px;
}
.logo-text{
float: left;
width: 70%;
color: #f89513;
font-family: 'GoraFree';
font-weight: 400;
font-size: 18px;
text-decoration: none;
margin: 12px 0;
}
.logo-decor {
display: inline-block;
}
.logo_icon {
width: 50px;
height: 50px;
float: left;
}
.nav-menu {
list-style: none; /*убрать точки */
padding: 0% ;
}
.nav-menu__item {
float: left;
width: 33%;
margin-left: 0px;
}
.nav-menu__link{
text-decoration: none; /*убрать подчеркивание в ссылке */
display: inline-block;
}
.nav-menu__icon, .nav-menu__text {
float: left;
width: 50%;
}
.nav-menu__icon {
margin-top: 11px;
margin-right: 10px;
width: 23px;
height: 23px;
}
.nav-menu__link:hover .nav-menu__text {
color: #f89513;
}
.none {
display: none;
}
.nav-menu__link:hover .none {
display: inline-block;
}
.nav-menu__link:hover .not_none {
display: none;
}
.nav-menu__text {
font-size: 12px;
color: white;
text-transform: uppercase;
}
.contacts {
display: inline-block;
}
.contacts__phone {
font-size: 21px;
text-decoration: none;
color: white;
display: block;
}
.contacts__schedule {
font-size: 14px;
color: #c77814;
opacity: .7;
display: block;
}
.form__cell-header {
display: block;
float: left;
width: 190px;
margin-right: 15px;
}
.form__input-text-mod{
width: 100%;
height: 30px;
padding: 13px 10px;
font-size: 14px; /*размерр текста*/
font-weight: 300px; /*шрифт*/
border: 2px solid transparent;
border-radius: 3px;
margin-bottom: 20px;
}
.form__input-text-mod::-webkit-input-placeholder {
color:#908f8f; /*цвет текста в input*/
}
.form__input-text-mod::-moz-placeholder {
color:#908f8f;
}
.form__input-text-mod:focus { /*цвет окантовки*/
border-color: #f89513;
outline: none;
}
.header_btn {
padding: 10px 13px;
display: block;
text-align: center;
border-radius: 5px;
font-size: 12px;
color: #f1f1f1;
text-transform: uppercase;
text-decoration: none;
font-weight: bold;
transition: .3s;
-webkit-transition: .3s;
background: #f89513;
border: 0;
cursor: pointer;
margin: -2 auto;
}
.header_btn:hover {
background: #834c05;
}

View File

@@ -0,0 +1,35 @@
body, html {
height: 100%;
}
body {
line-height: 1.42;
margin: 0;
font-family: 'OpenSans';
font-weight: bold;
}
.clearfix:after {
content: "";
display: block;
clear: both;
}
* {
box-sizing: border-box;
}
.container {
width: 1060px;
margin: 0 auto;
}
.wrapper {
min-height: 100%;
min-width: 1100px;
overflow: hidden;
}
.wrapper:after {
content: "";
display: block;
height: 77px;
}

View File

@@ -0,0 +1,38 @@
@font-face {
font-family: 'GoraFree';
src: url('../../fonts/GoraFree-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'OpenSans';
src: url('../../fonts/OpenSans-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'OpenSans';
src: url('../../fonts/OpenSans-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'OpenSans';
src: url('../../fonts/OpenSansLight-Italic.woff') format('woff');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'Roboto';
src: url('../../fonts/Roboto-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('../../fonts/Roboto-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}

349
static/css/layout/normalize.css vendored Normal file
View File

@@ -0,0 +1,349 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
html {
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body {
margin: 0;
}
/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input { /* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
text-transform: none;
}
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}

385
static/css/main.css Normal file
View File

@@ -0,0 +1,385 @@
@import "layout/base.css";
@import "layout/fonts.css";
@import "layout/normolize.css";
@import "components/footer.css";
@import "components/header.css";
/* главная */
.hero_con {
padding-top: 100px;
}
.ava_logo {
float: right;
width: 350px;
height: 350px;
background : #000;
border-radius: 30px;
}
.rotateblock_orenge {
float: right;
width: 350px;
height: 350px;
background : #f89513;
border-radius: 30px;
}
.content_form {
float: left;
width: 50%;
text-align: center;
margin-left: 65px;
margin-top: 35px;
}
.ava {
width: 100%;
}
.h_content {
font-family: 'OpenSans';
font-weight: bold;
text-transform: uppercase;
font-size: 49px;
margin-top: 25px;
margin-bottom: 45px;
}
.text_content {
font-family: 'OpenSans';
font-size: 26px;
margin-top: 25px;
margin-bottom: 45px;
}
.welcome__btn {
padding: 15px 20px;
display: block;
text-align: center;
margin-top: 40px;
border-radius: 5px;
font-size: 12px;
color: #f1f1f1;
text-transform: uppercase;
text-decoration: none;
font-weight: bold;
transition: .3s;
-webkit-transition: .3s;
background: #131415;
border: 0;
cursor: pointer;
margin: 0 auto;
}
.welcome__btn:hover {
background: #f89513;
}
/* анимации */
.animate_text {
animation: bounceInDown 1.1s;
}
@keyframes bounceInDown {
from,
60%,
75%,
90%,
to {
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
0% {
opacity: 0;
transform: translate3d(0, -3000px, 0);
}
60% {
opacity: 1;
transform: translate3d(0, 25px, 0);
}
75% {
transform: translate3d(0, -10px, 0);
}
90% {
transform: translate3d(0, 5px, 0);
}
to {
transform: translate3d(0, 0, 0);
}
}
.bounceInDown {
animation-name: bounceInDown;
}
.input {
text-decoration: none;
}
.content_form-text {
animation: bounceInRight .7s;
}
@keyframes bounceInRight {
from,
60%,
75%,
90%,
to {
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
from {
opacity: 0;
transform: translate3d(3000px, 0, 0);
}
60% {
opacity: 1;
transform: translate3d(-25px, 0, 0);
}
75% {
transform: translate3d(10px, 0, 0);
}
90% {
transform: translate3d(-5px, 0, 0);
}
to {
transform: translate3d(0, 0, 0);
}
}
.bounceInRight {
animation-name: bounceInRight;
}
.input-button {
animation: bounceInLeft .7s;
}
@keyframes bounceInLeft {
from,
60%,
75%,
90%,
to {
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
0% {
opacity: 0;
transform: translate3d(-3000px, 0, 0);
}
60% {
opacity: 1;
transform: translate3d(25px, 0, 0);
}
75% {
transform: translate3d(-10px, 0, 0);
}
90% {
transform: translate3d(5px, 0, 0);
}
to {
transform: translate3d(0, 0, 0);
}
}
.bounceInLeft {
animation-name: bounceInLeft;
}
.rotateblock {
animation: rotate 10s linear;
animation-iteration-count: infinite;
}
.rotateblock_orenge {
animation: rotateor 10s linear;
animation-iteration-count: infinite;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(-360deg);
}
}
@keyframes rotateor {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(-360deg);
}
}
.ava_logo {
animation: rotatenone 10s linear;
animation-iteration-count: infinite;
}
@keyframes rotatenone {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(720deg);
}
}
/*
* Отзывы
*/
.form {
width: 700px;
background: #f5f5f5;
border-radius: 3px;
padding: 45px 70px;
margin: 0 auto;
margin-top: 35px;
margin-bottom: 35px;
}
.form__title {
color: #221f1f;
font-size: 35px;
font-weight: bold;
margin-bottom: 25px;
}
.form__cell {
display: block;
float: left;
width: 270px;
}
.form__log {
display: block;
width: 560px;
}
/* только в списках к первому элементу добавить справа 20р */
.form__cell:first-child {
margin-right: 20px;
}
.form__field-title {
color: #221f1f;
font-size: 14px;
margin-bottom: 10px;
}
.form__input-text {
width: 100%;
height: 45px;
padding: 13px 10px;
font-size: 14px; /*размерр текста*/
font-weight: 300px; /*шрифт*/
border: 1px solid transparent;
border-radius: 3px;
margin-bottom: 20px;
}
.form__input-text::-webkit-input-placeholder {
color:#908f8f; /*цвет текста в input*/
}
.form__input-text::-moz-placeholder {
color:#908f8f;
}
.form__input-text:focus, .form__texterea:focus, .form__submit:focus { /*цвет окантовки*/
border-color: #f89513;
outline: none;
}
.form__texterea {
height: 90px;
width: 100%;
border: none;
border-radius: 3px;
padding: 13px 10px;
resize: none;
font-size: 14px;
border: 1px solid transparent;
border-radius: 3px;
font-weight: 300px; /*шрифт*/
margin-bottom: 20px;
}
.form__container-left {
display: inline-block;
width: 50%;
}
.form__radio-elem{
display: inline-block;
vertical-align: middle;
display: none;
}
.form__radio-elem:checked+.form__radio-fake {
border: 1px solid #f89513;
}
.form__radio-elem:checked + .form__radio-fake:after {
display: block;
}
.form__radio-elem:checked+.form__radio-fake+.form__radio-text {
/*color: blue;*/
font-weight: bold;
}
.form__radio-fake {
width: 20px;
height: 20px;
display: inline-block;
border-radius: 50%;
border: 1px solid #cbcbcb;
position: relative;
background: -webkit-linear-gradient(top, #fdfdfd 0%, #efefef 100%);
/* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #fdfdfd 0%, #efefef 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.form__radio-fake:after {
content: "";
display: none;
width: 8px;
height: 8px;
background: #f89513;
border-radius: 50%;
position: absolute;
top: 5px;
left: 5px;
}
.form__radio-text {
display: inline-block;
vertical-align: middle;
padding-bottom: 12px;
}
.form__controls-left{
float: left;
}
.form__controls-right{
float: right;
}
.form__submit {
margin-top: 22px;
background: #1c1f1d;
border-radius: 3px;
width: 125px;
height: 45px;
color: #ffffff;
text-align: center;
font-size: 12px;
text-transform: uppercase;
text-decoration: none;
font-weight: bold;
border: 0;
cursor: pointer;
/* border: none; */
}
.form__submit:hover {
background: #f89513;
}