project is ready

This commit is contained in:
Mavlon4658
2025-01-28 16:07:21 +05:00
parent e67ea16299
commit 064e8ef037
90 changed files with 4929 additions and 66 deletions

View File

@@ -1,16 +1,119 @@
/* Переменные, шрифты, UI kit */
@font-face {
font-family: "Craftwork Grotest";
src: url('../fonts/Craftwork_Grotesk_Trial/CraftworkGrotesk-Regular.ttf');
font-weight: 400;
}
@font-face {
font-family: "Craftwork Grotest";
src: url('../fonts/Craftwork_Grotesk_Trial/CraftworkGrotesk-Medium.ttf');
font-weight: 500;
}
@font-face {
font-family: "Craftwork Grotest";
src: url('../fonts/Craftwork_Grotesk_Trial/CraftworkGrotesk-SemiBold.ttf');
font-weight: 600;
}
@font-face {
font-family: "Craftwork Grotest";
src: url('../fonts/Craftwork_Grotesk_Trial/CraftworkGrotesk-Bold.ttf');
font-weight: 700;
}
/*
ШАБЛОН использования глобальных переменных:
@font-face {
font-family: "Abel";
src: url('../fonts/Abel/Abel-Regular.ttf');
font-weight: 400;
}
:root {
--main-text: #e1667c;
--main-color: #8da6cb;
--font-family: "Craftwork Grotesk", sans-serif;
}
/* Colors */
--radial: radial-gradient(261.43% 263.03% at 124% -28.000000000000004%,rgb(15, 88, 129),rgb(30, 164, 156) 36.979%,rgb(118, 206, 117) 66.667%,rgb(236, 243, 159) 91.146%);
--accent-1: radial-gradient(142.43% 141.42% at 100% 0%, #188892 0%, #1EA49C 45%, #76CE75 90%, #BBE38D 100%);
--accent-2: radial-gradient(2700.48% 141.42% at 100% 0%,rgb(122, 217, 231),rgb(126, 231, 225) 25%,rgb(181, 228, 180) 80%,rgb(215, 238, 170) 100%);
--accent-3: linear-gradient(6deg, rgb(244, 66, 66) 7.584%,rgb(86, 158, 240) 72.371%);
--linear: linear-gradient(-7.39deg, rgb(244, 241, 240) 23.643%,rgba(244, 241, 240, 0.3) 59.827%);
--btn-bg: radial-gradient(100% 174.56% at 100% 0%, #7AD9E7 0%, #7EE7E1 25%, #B5E4B4 80%, #D7EEAA 100%);
*/
--main_white: #FFFFFF;
--creme-white: #F4F1F0;
--grey-f5: #F5F5F5;
--main_black: #121212;
--grey-black: #121212;
--bg-light-grey: #F5F5F5;
--interface_title: #333333;
--interface_hover: #666666;
--orange_80: #FFDF99;
--green_90: #D9FFCC;
--green-dark: #76CE75;
--violet_90: #E7CAFF;
--blue_90: #CCE2FF;
--background: #F4F1F0;
--placeholder: #999999;
/* Fonts */
--font-craftwork: 'Craftwork Grotest', sans-serif;
--font-abel: 'Abel', serif;
}
body {
background: var(--radial);
font-family: var(--font-craftwork);
font-weight: 500;
}
.container {
max-width: 1232px;
margin: 0 auto;
@media (max-width: 1264px) {
max-width: calc(100% - 32px);
}
}
.form-inp {
height: 48px;
width: 100%;
border: 1px solid var(--placeholder);
border-radius: 20px;
background: var(--main_white);
padding: 0 16px;
color: var(--main_black);
font-size: 20px;
font-weight: 400;
line-height: 24px;
}
.form-inp::placeholder {
color: var(--placeholder);
}
.form-inp:hover,
.form-inp:focus {
border-color: var(--main_black);
}
.form-textarea {
height: 96px;
width: 100%;
resize: none;
background: var(--main_white);
border: 1px solid var(--placeholder);
padding: 12px 16px;
border-radius: 20px;
color: var(--main_black);
font-size: 20px;
font-weight: 400;
line-height: 24px;
}
.form-textarea::placeholder {
color: var(--placeholder);
}
.form-textarea:hover,
.form-textarea:focus {
border-color: var(--main_black);
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,133 @@
/* Стили для мобильных устройств */
@media only screen and (max-width: 576px) {
.anons-best__title {
font-size: 26px;
line-height: 32px;
margin-bottom: 12px;
}
.anons-best__card {
padding-top: 205px;
}
.anons-best__card .main-img {
height: 300px;
}
.anons-best__card-body {
padding: 20px 17px;
}
.anons-best__card-body__title {
font-size: 20px;
line-height: 24px;
margin-bottom: 16px;
}
.anons-best__card.light .main-img {
height: 197px;
}
.anons-best__card.light .anons-best__card-body__title {
font-size: 20px;
line-height: 24px;
}
.editorial-card {
flex-direction: column;
border-radius: 30px;
position: relative;
}
.editorial-card .main-img {
width: 100%;
height: 203px;
}
.editorial-card__content {
padding: 17px 13px 24px;
}
.editorial-card__content-alerts {
position: absolute;
top: 13px;
left: 8px;
width: calc(100% - 16px);
}
.editorial-card__content-title {
font-size: 20px;
line-height: 24px;
margin-bottom: 17px;
}
.editorial-card__content-data {
gap: 5px 16px;
}
.footer {
padding: 24px 0 58px;
}
.footer-top {
align-items: flex-start;
text-align: left;
gap: 24px;
}
.footer-content__wrap {
align-items: flex-start;
gap: 24px;
}
.footer-content {
align-items: flex-start;
}
.footer-content .logo {
font-size: 20px;
margin-bottom: 24px;
}
.footer-content__address {
font-size: 18px;
line-height: 24px;
margin-bottom: 32px;
}
.footer-content ul {
gap: 24px;
}
.footer-content ul p {
font-size: 16px;
line-height: 20px;
}
.footer-content ul a {
font-size: 24px;
line-height: 32px;
}
.footer-top__link .link-white {
display: none;
}
.footer-contact {
width: 100%;
padding: 16px;
border-radius: 24px;
}
.footer-contact__title {
color: var(--main_white);
}
.footer-bottom {
margin-top: 0;
padding-top: 24px;
border: 0;
align-items: flex-start;
gap: 17px;
}
}

View File

@@ -0,0 +1,78 @@
* {
padding: 0;
margin: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent !important;
}
a {
text-decoration: none;
color: inherit;
display: inline-block;
cursor: pointer;
}
img {
max-width: 100%;
}
span,
label {
display: inline-block;
}
html {
scroll-behavior: smooth;
}
input,
textarea {
outline: none;
border: 0;
background: transparent;
}
button,
select {
border: none;
cursor: pointer;
background: transparent;
outline: 0;
}
address {
font-style: normal;
}
.wrapper {
width: 100%;
overflow: hidden;
min-height: 100svh;
}
ul,
ol,
dl {
list-style: none;
padding: 0;
margin: 0;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
padding: 0;
margin: 0;
font-weight: 500;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
-moz-appearance: none;
margin: 0;
}

View File

@@ -1,5 +1,666 @@
/* Стили для планшетов */
@media only screen and (max-width: 992px) {
.header-navs {
display: none;
}
.header-container {
height: 56px;
padding: 0;
}
.header-bars {
display: flex;
align-items: center;
justify-content: center;
}
.header-logo {
font-size: 16px;
line-height: 20px;
gap: 8px;
}
.header-logo img {
width: 31px;
flex-shrink: 0;
}
.header-lang {
display: none;
}
.home {
padding: 92px 0 36px;
}
.home-title {
font-size: 32px;
line-height: 38px;
margin-bottom: 36px;
}
.home-description {
font-size: 20px;
line-height: 24px;
margin-bottom: 36px;
}
.home-swp__btn {
bottom: auto;
top: 93px;
left: -10px;
width: calc(100% + 20px);
justify-content: space-between;
transform: translateX(0);
}
.home-swp__btn button {
width: 48px;
height: 48px;
border-radius: 20px;
}
.home-card {
flex-direction: column;
border-radius: 24px;
gap: 17px;
}
.home-card__img {
height: 234px;
width: 100%;
border-radius: 24px;
}
.home-card__content {
padding: 0 16px 89px;
}
.home-card__content-title {
font-size: 20px;
line-height: 24px;
margin-bottom: 15px;
}
.home-card__content-description {
font-size: 16px;
line-height: 20px;
margin-bottom: 15px;
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.home-card__content-body {
gap: 7px;
}
.home-card__content-body__alerts {
gap: 7px;
}
.home-card__content-body__alerts li {
font-size: 14px;
line-height: 16px;
padding: 8px;
}
.home-card__content-body__day {
font-size: 14px;
line-height: 16px;
}
.home-card__content-body__time {
font-size: 14px;
line-height: 16px;
}
.home-card__content-body__data {
gap: 7px;
}
.home-card__content-body__data>div {
gap: 4px;
font-size: 14px;
line-height: 16px;
}
.home-card__content-body__data .main-img {
width: 32px;
height: 32px;
}
.home-card__content-body__link {
right: 50%;
bottom: 27px;
transform: translateX(50%);
}
.anons {
border-radius: 24px;
}
.anons-article__title {
font-size: 26px;
line-height: 32px;
}
.anons-theme {
margin-bottom: 60px;
}
.anons-theme__title {
margin-bottom: 20px;
font-size: 20px;
line-height: 24px;
}
.anons-theme ul {
gap: 12px;
}
.anons-theme ul a {
font-size: 16px;
line-height: 20px;
padding: 6px 24px;
}
.anons-best__card-wrap {
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: 24px;
}
.anons-article__card-wrap {
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: 20px;
}
.author {
padding: 188px 0 36px;
}
.author-content {
padding: 109px 42px 35px;
flex-direction: column;
align-items: flex-start;
}
.author-content__start-1,
.author-content__start-2 {
display: none;
}
.author-content__img {
display: none;
left: 50%;
transform: translateX(-50%);
top: -180px;
width: 235px;
}
.author-content__img.mb {
display: block;
}
.author-content__title {
width: 100%;
font-size: 26px;
line-height: 32px;
margin-bottom: 16px;
}
.author-content__title br {
display: none;
}
.author-content__link {
width: 100%;
text-align: center;
padding: 11px;
}
.editorial {
padding-bottom: 36px;
}
.editorial-head {
margin-bottom: 36px;
max-width: 313px;
}
.editorial-head__title {
font-size: 32px;
line-height: 38px;
}
.editorial-head__img {
width: 100px;
top: -14px;
right: -22.5px;
}
.editorial-head__star {
display: none;
}
.editorial-card__wrap {
gap: 31px;
}
.breadcrumb {
padding: 92px 0 15px;
}
.article-home {
padding-bottom: 36px;
}
.article-home .container {
display: flex;
flex-direction: column;
}
.article-home h1 {
order: 1;
font-size: 32px;
line-height: 38px;
margin-bottom: 15px;
}
.article-home__card {
order: 2;
height: 199px;
}
.article-home__card img {
border-radius: 32px;
}
.article-home__data {
gap: 8px 16px;
order: 3;
margin: 15px 0 0;
}
.article-home__data-alerts {
gap: 16px;
}
.article-home__data-alerts a {
padding: 6px 8px;
}
.article-content {
padding: 48px 0;
border-radius: 64px;
}
.discount {
padding: 32px 24px;
border-radius: 32px;
margin-bottom: 48px;
}
.discount-title {
font-size: 26px;
line-height: 32px;
margin-bottom: 21px;
}
.discount-bg {
display: none;
}
.discount-bg.mb {
display: inline-block;
position: static;
margin-bottom: 21px;
}
.discount-form {
flex-direction: column;
gap: 21px;
margin-bottom: 21px;
}
.discount-form img {
display: none;
}
.discount-form input {
width: 100%;
text-align: center;
}
.discount-form button {
width: 100%;
text-align: center;
}
.discount-descriptions {
display: flex;
flex-direction: column-reverse;
}
.discount-description__2 {
font-size: 18px;
line-height: 24px;
font-weight: 500;
grid-area: 21px;
margin-bottom: 21px;
}
}
.discount-description__1 {
margin-bottom: 0;
font-size: 12px;
}
.diet {
padding: 36px 24px;
border-radius: 32px;
flex-direction: column;
margin-bottom: 48px;
}
.diet p {
width: 100%;
font-size: 18px;
line-height: 24px;
}
.diet a {
width: 100%;
}
.texts h2 {
font-size: 28px;
line-height: 32px;
}
.texts h3 {
font-size: 20px;
line-height: 24px;
}
.texts-description p {
font-size: 18px;
line-height: 24px;
}
.texts ol {
gap: 12px;
}
.texts ol li {
font-size: 18px;
line-height: 24px;
}
.texts ol li h4 {
font-size: 18px;
line-height: 24px;
}
.texts ul {
gap: 12px;
}
.texts ul li {
font-size: 18px;
line-height: 24px;
}
.alerts-grey {
padding: 32px 48px;
}
.alerts-grey .icon-1 {
width: 24px;
top: 32px;
left: 16px;
}
.alerts-grey .icon-2 {
width: 24px;
right: 16px;
bottom: 32px;
}
.alerts-grey p {
font-size: 18px;
line-height: 24px;
}
.alerts-violet,
.alerts-yellow,
.alerts-green {
padding: 32px 24px;
flex-direction: column;
}
.alerts-violet p,
.alerts-yellow p,
.alerts-green p {
font-size: 18px;
line-height: 24px;
}
.article-table {
flex-direction: column;
gap: 0px;
}
.article-table__item {
width: 100%;
}
.article-table__item:not(:first-child) li:first-child {
display: none;
}
.article-table__item:not(:first-child) {
border-top: 0;
}
.article-table__item ul li {
font-size: 16px;
line-height: 20px;
font-weight: 500;
}
.article-block__head {
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: 32px;
}
.article-block__head-left {
order: 2;
}
.article-block__head-left h3 {
font-size: 20px;
line-height: 24px;
}
.article-block__head-left p {
font-size: 18px;
line-height: 24px;
}
.article-block__head-right {
order: 1;
height: 319px;
}
.article-block__item-wrap {
gap: 48px;
}
.article-block__item {
flex-direction: column;
gap: 32px;
}
.article-block__item-img {
order: 1;
width: 100%;
height: 450px;
border-radius: 50px;
}
.article-block__item-content {
order: 2;
}
.article-block__item-content h3 {
font-size: 20px;
line-height: 24px;
}
.article-block__item-content p {
font-size: 18px;
line-height: 24px;
}
.article-block__item-content ul {
flex-direction: column;
padding: 20px 14px 20px 20px;
gap: 28px;
border-radius: 24px;
}
.article-block__item-content ul li {
gap: 19px;
}
.article-block__item-content ul li p {
font-size: 16px;
line-height: 20px;
}
.block-accent__card {
padding: 36px 24px;
gap: 32px;
flex-direction: column !important;
}
.block-accent__card-content {
gap: 27px;
}
.block-accent__card-content h3 {
font-size: 20px;
line-height: 24px;
text-align: center;
}
.block-accent__card-content p {
font-size: 18px;
line-height: 24px;
}
.indent {
padding: 36px 24px;
gap: 24px;
}
.indent-title {
font-size: 26px;
line-height: 32px;
}
.indent p {
font-size: 18px;
line-height: 24px;
}
.indent ul {
gap: 24px;
}
.indent ul li {
gap: 16px;
}
.indent ul li img {
width: 37px;
}
.indent ul li h3 {
font-size: 20px;
line-height: 24px;
gap: 16px;
}
.product-card {
padding: 11px;
gap: 40px;
}
.product-card img {
max-width: 242px;
max-height: 167px;
}
/* Alohida */
.block-list_block img {
flex-shrink: 0;
width: 66px;
height: 45px;
}
.block-list_block h3 {
font-size: 20px;
line-height: 24px;
}
.block-list_block p {
font-size: 18px;
line-height: 24px;
}
.comment .comment-block {
padding: 20px 24px;
margin-top: 28px;
}
.comment .comment-title {
padding-bottom: 20px;
}
.comment .answer-block {
margin: 10px 0 0 42px;
}
.comment .comment-user h6 {
font-size: 16px;
line-height: 24px;
}
.comment .comment-block p {
font-size: 16px;
line-height: 24px;
}
.comment .comment-btns {
gap: 14px;
}
.comment .comment-btns button {
font-size: 12px;
line-height: 16px;
}
.comment .comment-user span {
font-size: 12px;
line-height: 16px;
}
.video_block iframe {
width: 100%;
height: 587px;
}
}

View File

@@ -0,0 +1,44 @@
@media (max-width: 1200px) {
.header-navs {
gap: 12px;
}
.header-navs__link {
font-size: 14px;
}
.header-right {
gap: 4px;
}
.anons-article__card-wrap {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.editorial-card__wrap {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.footer-top {
flex-direction: column;
align-items: center;
text-align: center;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: center;
}
.footer-content__wrap {
flex-direction: column;
align-items: center;
gap: 48px;
}
.footer-bottom {
flex-direction: column;
gap: 24px;
}
}

View File

@@ -1,2 +0,0 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
/*# sourceMappingURL=normalize.min.css.map */

View File

@@ -1 +0,0 @@
*{padding:0;margin:0;border:none}*,::after,::before{box-sizing:border-box}a,a:hover,a:link,a:visited{text-decoration:none}aside,footer,header,legend,main,nav,section{display:block}h1,h2,h3,h4,h5,h6,p{font-size:inherit;font-weight:inherit}ul,ul li{list-style:none}img{vertical-align:top}img,svg{max-width:100%;height:auto}address{font-style:normal}button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit;background-color:transparent}input::-ms-clear{display:none}button,input[type=submit]{display:inline-block;box-shadow:none;background:0 0;cursor:pointer}button:active,button:focus,input:active,input:focus{outline:0}button::-moz-focus-inner{padding:0;border:0}label{cursor:pointer}