1
0
mirror of https://github.com/Nikotro/First.git synced 2024-12-24 23:14:38 +03:00
First/css/style.css

478 lines
7.9 KiB
CSS
Raw Normal View History

2022-04-11 16:57:11 +03:00
body {
2022-04-11 16:42:48 +03:00
background-color: #fff;
padding: 0;
2022-04-11 16:57:11 +03:00
margin: 0;
2022-04-11 16:42:48 +03:00
font-family: 'Lato', sans-serif;
2022-04-11 16:57:11 +03:00
font-size: 14px;
2022-04-09 21:42:02 +03:00
line-height: 1.6;
}
2022-04-11 16:57:11 +03:00
a {
2022-04-11 16:42:48 +03:00
color: #000;
text-decoration: none;
2022-04-16 16:51:02 +03:00
position: relative;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:42:48 +03:00
.container {
2022-04-16 16:51:02 +03:00
padding-top: 50px;
2022-04-11 16:42:48 +03:00
width: 100%;
max-width: 1150px;
2022-04-16 16:51:02 +03:00
display: flex;
2022-04-11 16:42:48 +03:00
margin: 0 auto;
2022-04-11 16:57:01 +03:00
box-sizing: border-box;
2022-04-09 21:42:02 +03:00
}
2022-04-16 16:51:02 +03:00
.header-welcome {
2022-04-11 16:42:48 +03:00
width: 100%;
height: 30px;
background-color: #d9e1e6;
color: #868f93;
}
2022-04-11 16:57:11 +03:00
2022-04-16 16:51:02 +03:00
.header-welcome__close {
2022-04-11 16:42:48 +03:00
float: right;
padding-right: 5px;
font-size: 100%;
font-weight: 600;
}
2022-04-11 16:57:11 +03:00
2022-04-16 16:51:02 +03:00
.header-welcome__msg {
2022-04-11 16:42:48 +03:00
line-height: 30px;
2022-04-16 16:51:02 +03:00
max-width: 1150px;
margin-left: auto;
margin-right: auto;
2022-04-09 21:42:02 +03:00
text-align: center;
2022-04-11 16:42:48 +03:00
font-size: 10px;
2022-04-11 16:57:01 +03:00
text-transform: uppercase;
2022-04-09 21:42:02 +03:00
}
2022-04-16 16:51:02 +03:00
2022-04-11 16:42:48 +03:00
/*logo line*/
2022-04-16 16:51:02 +03:00
.header-line {
2022-04-11 16:42:48 +03:00
height: 97px;
text-transform: uppercase;
color: #000;
display: flex;
2022-04-16 16:51:02 +03:00
justify-content: space-evenly;
2022-04-11 16:42:48 +03:00
align-items: center;
2022-04-16 16:51:02 +03:00
margin-left: auto;
margin-right: auto;
2022-04-11 16:57:01 +03:00
column-gap: 25px;
2022-04-16 16:51:02 +03:00
border-bottom: 2px solid #e1e1e1;
}
.header-line:last-child
{
height: 70px;
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.header-line__logo {
2022-04-11 16:42:48 +03:00
font-size: 24px;
font-family: 'Intro demo';
2022-04-09 21:42:02 +03:00
}
2022-04-16 16:51:02 +03:00
.header-line__cart {
2022-04-11 16:57:11 +03:00
line-height: 40px;
2022-04-11 16:42:48 +03:00
border: 2px solid;
font-size: 12px;
border-color: #ded3aa;
text-align: center;
2022-04-11 16:57:11 +03:00
height: 40px;
2022-04-11 16:42:48 +03:00
width: 124px;
}
/*link line*/
2022-04-11 16:57:11 +03:00
.link_line {
2022-04-11 16:42:48 +03:00
line-height: 68px;
text-transform: uppercase;
border-top: 2px solid #ded3aa;
border-bottom: 2px solid #ded3aa;
}
2022-04-11 16:57:11 +03:00
.link_content {
2022-04-09 21:42:02 +03:00
display: flex;
2022-04-16 16:51:02 +03:00
width: 100%;
max-width: 1150px;
2022-04-09 21:42:02 +03:00
justify-content: space-between;
align-items: center;
2022-04-16 16:51:02 +03:00
margin-left: auto;
margin-right: auto;
2022-04-11 16:42:48 +03:00
width: 100%;
}
2022-04-16 16:51:02 +03:00
.header-line__nav {
2022-04-11 16:42:48 +03:00
max-width: 545px;
2022-04-11 16:57:01 +03:00
display: flex;
2022-04-11 16:57:11 +03:00
justify-content: space-between;
2022-04-11 16:42:48 +03:00
align-items: center;
}
2022-04-16 16:51:02 +03:00
.header-line__link {
2022-04-11 16:42:48 +03:00
font-size: 12px;
2022-04-11 16:57:11 +03:00
margin: 0 25px;
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
a:after {
display: block;
position: absolute;
left: 0;
width: 0;
height: 1px;
background-color: #5b5b5b;
content: "";
transition: width 0.3s ease-out;
}
a:hover:after,
a:focus:after {
width: 100%;
}
.header-line__icons
{
display: flex;
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.icon {
font-size: 16px;
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.header-line__heart {
2022-04-11 16:42:48 +03:00
content: "";
border-right: 1px dashed #999999;
border-right-width: 1px;
padding: 0 14px;
2022-04-11 16:57:01 +03:00
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.header-line__search {
2022-04-11 16:42:48 +03:00
padding: 0 14px;
}
/*main content*/
2022-04-11 16:57:11 +03:00
.main_content {
2022-04-11 16:42:48 +03:00
padding-top: 48px;
display: flex;
}
2022-04-16 16:51:02 +03:00
.container__main-img {
2022-04-11 16:42:48 +03:00
height: 683px;
width: 657px;
}
2022-04-16 16:51:02 +03:00
.container-photos-alt {
2022-04-11 16:42:48 +03:00
display: flex;
flex-direction: row;
width: 146px;
padding-top: 21px;
padding-bottom: 101px;
}
2022-04-16 16:51:02 +03:00
.container__alt-img {
2022-04-11 16:42:48 +03:00
width: 146px;
height: 170px;
margin-right: 24px;
2022-04-11 16:57:01 +03:00
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.container__alt-img:hover {
2022-04-11 16:42:48 +03:00
box-shadow: 1px 1px 1px #cbcdce;
}
2022-04-16 16:51:02 +03:00
/*Container text*/
.container-text
{
2022-04-11 16:42:48 +03:00
margin-left: 29px;
2022-04-16 16:51:02 +03:00
font-size: 14px;
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.container-text__product_name h2
{
2022-04-11 16:42:48 +03:00
line-height: 36px;
font-size: 24px;
margin-bottom: 0;
}
2022-04-16 16:51:02 +03:00
.container-text__review
{
2022-04-11 16:42:48 +03:00
line-height: 25px;
font-size: 14px;
color: #555555;
}
2022-04-16 16:51:02 +03:00
.fa-star
{
color: #ded3aa;
}
.container-text__review a
{
2022-04-11 16:42:48 +03:00
font-size: 12px;
color: #000;
}
2022-04-16 16:51:02 +03:00
.container-text__price {
2022-04-11 16:42:48 +03:00
margin-top: 15px;
font-size: 24px;
2022-04-11 16:57:11 +03:00
color: #68899a;
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.container-text__inform {
2022-04-11 16:57:11 +03:00
font-size: 14px;
2022-04-11 16:42:48 +03:00
line-height: 24px;
2022-04-11 16:57:11 +03:00
margin-top: 18px;
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.container-text__inform p
{
2022-04-11 16:57:01 +03:00
margin: 0 0;
2022-04-09 21:42:02 +03:00
}
2022-04-16 16:51:02 +03:00
.container-text__inform a {
2022-04-11 16:57:11 +03:00
color: #68899a;
2022-04-09 21:42:02 +03:00
}
2022-04-16 16:51:02 +03:00
.container-text__about {
2022-04-11 16:42:48 +03:00
margin-top: 30px;
2022-04-09 21:42:02 +03:00
font-size: 14px;
2022-04-11 16:42:48 +03:00
color: #555555;
}
2022-04-16 16:51:02 +03:00
.container-text__about ul {
2022-04-11 16:57:11 +03:00
padding-left: 0;
list-style-position: inside;
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.container-text-selectors {
2022-04-11 16:42:48 +03:00
display: flex;
flex-direction: row;
justify-content: space-between;
background-color: #fff;
border-color: #e1e1e1;
2022-04-10 19:01:28 +03:00
text-transform: uppercase;
2022-04-11 16:42:48 +03:00
font-size: 14px;
2022-04-11 16:57:01 +03:00
2022-04-11 16:42:48 +03:00
}
2022-04-10 19:01:28 +03:00
2022-04-16 16:51:02 +03:00
.container-text-selectors__selector {
2022-04-11 16:42:48 +03:00
width: 196px;
2022-04-09 21:42:02 +03:00
}
2022-04-16 16:51:02 +03:00
.container-text-selectors__selector select {
2022-04-11 16:42:48 +03:00
font-size: 13px;
color: #707070;
width: 168px;
height: 35px;
border-radius: 0%;
border-color: #e1e1e1;
padding-left: 12px;
font: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
2022-04-10 19:01:28 +03:00
}
2022-04-09 21:42:02 +03:00
2022-04-16 16:51:02 +03:00
select, input
{
outline: none;
}
2022-04-11 16:57:11 +03:00
select:not([multiple]) {
2022-04-11 16:42:48 +03:00
padding-right: 1.2em;
background-repeat: no-repeat;
background-position: calc(100% - 0.25em) 0.8499999999999932em;
background-size: 1.2499999999999991em auto;
background-image: url("../images/icon.png");
2022-04-10 19:01:28 +03:00
}
2022-04-11 16:42:48 +03:00
2022-04-11 16:57:11 +03:00
input[type="number"] {
2022-04-11 16:57:01 +03:00
-webkit-appearance: textfield;
2022-04-11 16:42:48 +03:00
-moz-appearance: textfield;
2022-04-11 16:57:01 +03:00
appearance: textfield;
2022-04-10 19:01:28 +03:00
}
2022-04-11 16:57:11 +03:00
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
2022-04-11 16:57:01 +03:00
-webkit-appearance: none;
2022-04-11 16:42:48 +03:00
}
2022-04-10 19:01:28 +03:00
2022-04-11 16:57:11 +03:00
input {
2022-04-11 16:42:48 +03:00
text-align: center;
}
2022-04-16 16:51:02 +03:00
.container-text-selectors__counter {
2022-04-11 16:42:48 +03:00
display: flex;
align-items: center;
2022-04-11 16:57:01 +03:00
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.container-text-selectors__counter input {
padding: 5px;
font-size: 13px;
color: #707070;
width: 34px;
height: 33px;
padding: 0;
border-radius: 0;
border: 1px solid #e1e1e1;
}
2022-04-11 16:42:48 +03:00
2022-04-16 16:51:02 +03:00
.container-text-selectors__buttons {
2022-04-11 16:42:48 +03:00
display: flex;
flex-direction: column;
border-radius: 0;
border: 1px solid #e1e1e1;
border-left: none;
}
2022-04-16 16:51:02 +03:00
.container-text-selectors__buttons button {
2022-04-11 16:42:48 +03:00
border-radius: 0;
2022-04-11 16:57:11 +03:00
border: 0px;
2022-04-11 16:42:48 +03:00
background-color: #fff;
height: 16.5px;
}
2022-04-16 16:51:02 +03:00
.container-text-selectors__buttons button:first-child {
2022-04-11 16:57:01 +03:00
2022-04-11 16:42:48 +03:00
border-bottom: 0.5px solid #e1e1e1;
}
2022-04-16 16:51:02 +03:00
.container-text-selectors__buttons button:last-child {
2022-04-11 16:42:48 +03:00
border-top: 0.5px solid #e1e1e1;
2022-04-10 19:01:28 +03:00
}
2022-04-09 21:42:02 +03:00
2022-04-11 16:42:48 +03:00
.count_up {
2022-04-11 16:57:01 +03:00
width: 0;
height: 0;
2022-04-11 16:42:48 +03:00
border-left: 3px solid transparent;
border-right: 3px solid transparent;
2022-04-11 16:57:01 +03:00
2022-04-11 16:42:48 +03:00
border-bottom: 2px solid #cccccc;
2022-04-11 16:57:11 +03:00
}
2022-04-11 16:42:48 +03:00
.count_down {
2022-04-11 16:57:01 +03:00
width: 0;
height: 0;
2022-04-11 16:42:48 +03:00
border-left: 3px solid transparent;
border-right: 3px solid transparent;
2022-04-11 16:57:01 +03:00
2022-04-11 16:42:48 +03:00
border-top: 2px solid #cccccc;
2022-04-11 16:57:11 +03:00
}
2022-04-11 16:42:48 +03:00
2022-04-16 16:51:02 +03:00
2022-04-11 16:42:48 +03:00
2022-04-11 16:57:11 +03:00
footer {
2022-04-11 16:42:48 +03:00
border-top: 1px solid #e1e1e1;
line-height: 75px;
text-align: center;
color: #b5b5b5;
font-size: 13px;
font-family: 'Lato';
}
2022-04-16 16:51:02 +03:00
@media screen and (max-width: 1420px) {
2022-04-11 16:57:01 +03:00
2022-04-11 16:57:11 +03:00
.container {
padding-left: 5px;
2022-04-11 16:42:48 +03:00
padding-right: 5px;
display: flex;
justify-content: space-around;
2022-04-16 16:51:02 +03:00
flex-direction: column;
2022-04-11 16:42:48 +03:00
}
2022-04-11 16:57:01 +03:00
2022-04-16 16:51:02 +03:00
.icon
{
padding-left:15px ;
padding-right:15px;
}
2022-04-11 16:42:48 +03:00
2022-04-16 16:51:02 +03:00
.header-line {
display: flex;
justify-content: space-between;
}
.header-line__val {
2022-04-11 16:42:48 +03:00
width: auto;
}
2022-04-16 16:51:02 +03:00
.header-line__cart {
2022-04-11 16:57:11 +03:00
width: 100%;
2022-04-11 16:42:48 +03:00
max-width: 124px;
min-width: 80px;
}
2022-04-16 16:51:02 +03:00
.header-line__nav {
2022-04-11 16:42:48 +03:00
display: none;
}
2022-04-16 16:51:02 +03:00
.container-photos {
2022-04-11 16:42:48 +03:00
display: flex;
flex-direction: column;
align-items: center;
}
2022-04-16 16:51:02 +03:00
.container__main-img {
2022-04-11 16:42:48 +03:00
width: 90%;
max-width: 657px;
height: auto;
}
2022-04-16 16:51:02 +03:00
.container-photos-alt
{
2022-04-11 16:42:48 +03:00
width: 100%;
overflow-x: scroll;
padding-bottom: 10px;
}
2022-04-11 16:57:01 +03:00
2022-04-16 16:51:02 +03:00
.container_alt-img {
2022-04-11 16:42:48 +03:00
width: 100%;
max-width: 146px;
height: auto;
2022-04-11 16:57:01 +03:00
2022-04-11 16:42:48 +03:00
}
2022-04-16 16:51:02 +03:00
.container_alt-img:last-child {
2022-04-11 16:42:48 +03:00
margin-right: 0;
}
2022-04-16 16:51:02 +03:00
.container-text {
2022-04-11 16:42:48 +03:00
padding-top: 25px;
display: flex;
flex-direction: column;
align-items: flex-start;
2022-04-11 16:57:01 +03:00
margin-left: 7px;
2022-04-11 16:42:48 +03:00
}
2022-04-11 16:57:01 +03:00
2022-04-16 16:51:02 +03:00
.container-text-selectors {
2022-04-11 16:42:48 +03:00
display: flex;
flex-direction: column;
}
2022-04-11 16:57:11 +03:00
footer {
2022-04-11 16:42:48 +03:00
font-size: 13px;
line-height: 20px;
}
2022-04-11 16:57:01 +03:00
}