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

427 lines
6.6 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-09 21:42:02 +03:00
}
2022-04-11 16:42:48 +03:00
.container {
width: 100%;
max-width: 1150px;
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-11 16:57:11 +03:00
.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-11 16:42:48 +03:00
.close {
float: right;
padding-right: 5px;
font-size: 100%;
font-weight: 600;
}
2022-04-11 16:57:11 +03:00
.welcome_msg {
2022-04-11 16:42:48 +03:00
line-height: 30px;
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-11 16:42:48 +03:00
/*logo line*/
2022-04-11 16:57:11 +03:00
.logo_line {
2022-04-11 16:42:48 +03:00
height: 97px;
text-transform: uppercase;
color: #000;
display: flex;
2022-04-11 16:57:01 +03:00
justify-content: center;
2022-04-11 16:42:48 +03:00
align-items: center;
2022-04-11 16:57:01 +03:00
column-gap: 25px;
2022-04-11 16:42:48 +03:00
}
2022-04-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.cart {
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;
justify-content: space-between;
align-items: center;
2022-04-11 16:42:48 +03:00
width: 100%;
}
2022-04-11 16:57:11 +03:00
.nav_group {
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-11 16:57:11 +03:00
.nav_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-11 16:57:11 +03:00
.link_content div {
2022-04-11 16:42:48 +03:00
float: left;
}
2022-04-11 16:57:11 +03:00
.icons {
2022-04-11 16:42:48 +03:00
line-height: 28px;
}
2022-04-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.main_image {
2022-04-11 16:42:48 +03:00
height: 683px;
width: 657px;
}
2022-04-11 16:57:11 +03:00
.alt_images {
2022-04-11 16:42:48 +03:00
display: flex;
flex-direction: row;
width: 146px;
padding-top: 21px;
padding-bottom: 101px;
}
2022-04-11 16:57:11 +03:00
.alt_image {
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-11 16:57:11 +03:00
.alt_image:hover {
2022-04-11 16:42:48 +03:00
box-shadow: 1px 1px 1px #cbcdce;
}
2022-04-11 16:57:11 +03:00
.exit {
2022-04-11 16:42:48 +03:00
font-size: 14px;
}
2022-04-11 16:57:11 +03:00
.text {
2022-04-11 16:42:48 +03:00
margin-left: 29px;
}
2022-04-11 16:57:11 +03:00
.product_name h2 {
2022-04-11 16:42:48 +03:00
line-height: 36px;
font-size: 24px;
margin-bottom: 0;
}
2022-04-11 16:57:11 +03:00
.review {
2022-04-11 16:42:48 +03:00
line-height: 25px;
font-size: 14px;
color: #555555;
}
2022-04-11 16:57:11 +03:00
.review a {
2022-04-11 16:42:48 +03:00
font-size: 12px;
color: #000;
}
2022-04-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.inform {
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-11 16:57:11 +03:00
.inform p {
2022-04-11 16:57:01 +03:00
margin: 0 0;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:57:11 +03:00
.inform a {
color: #68899a;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.about ul {
padding-left: 0;
list-style-position: inside;
2022-04-11 16:42:48 +03:00
}
2022-04-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.color {
2022-04-11 16:42:48 +03:00
width: 196px;
2022-04-09 21:42:02 +03:00
}
2022-04-11 16:57:11 +03:00
.size {
2022-04-11 16:42:48 +03:00
width: 196px;
2022-04-10 19:01:28 +03:00
}
2022-04-09 21:42:02 +03:00
2022-04-11 16:57:11 +03:00
.selectors 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-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-11 16:57:11 +03:00
.qty_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-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.selectors .qty input {
2022-04-11 16:42:48 +03:00
padding: 5px;
font-size: 13px;
color: #707070;
width: 34px;
height: 33px;
padding: 0;
border-radius: 0;
border: 1px solid #e1e1e1;
}
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-11 16:57:11 +03:00
@media screen and (max-width: 1150px) {
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-11 16:57:01 +03:00
2022-04-11 16:42:48 +03:00
2022-04-11 16:57:11 +03:00
.val {
2022-04-11 16:42:48 +03:00
width: auto;
}
2022-04-11 16:57:11 +03:00
.cart {
width: 100%;
2022-04-11 16:42:48 +03:00
max-width: 124px;
min-width: 80px;
}
2022-04-11 16:57:11 +03:00
.link_content {
2022-04-11 16:42:48 +03:00
display: flex;
justify-content: space-between;
}
2022-04-11 16:57:11 +03:00
.nav_group {
2022-04-11 16:42:48 +03:00
display: none;
}
2022-04-11 16:57:11 +03:00
.photos {
2022-04-11 16:42:48 +03:00
display: flex;
flex-direction: column;
align-items: center;
}
2022-04-11 16:57:11 +03:00
.main_image {
2022-04-11 16:42:48 +03:00
width: 90%;
max-width: 657px;
height: auto;
}
2022-04-11 16:57:11 +03:00
.alt_images {
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-11 16:57:11 +03:00
.alt_image {
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-11 16:57:11 +03:00
.alt_image:last-child {
2022-04-11 16:42:48 +03:00
margin-right: 0;
}
2022-04-11 16:57:11 +03:00
.main_content {
2022-04-11 16:42:48 +03:00
display: flex;
flex-direction: column;
align-items: center;
}
2022-04-11 16:57:11 +03:00
.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-11 16:57:11 +03:00
.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
}