Initial commit
This commit is contained in:
88
frontend/src/styles/components/about.css
Normal file
88
frontend/src/styles/components/about.css
Normal file
@@ -0,0 +1,88 @@
|
||||
.about {
|
||||
padding: 2rem 2.5rem 2.5rem 2.5rem;
|
||||
}
|
||||
|
||||
.about-text {
|
||||
font-weight: 500;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.about-title {
|
||||
font-weight: 700;
|
||||
font-size: 1.8rem;
|
||||
line-height: 2.2rem;
|
||||
margin-top: 4.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.about-items {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
column-gap: 1.6rem;
|
||||
row-gap: 2.5rem;
|
||||
}
|
||||
|
||||
.about-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.6rem;
|
||||
}
|
||||
|
||||
.about-item__img {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
width: 8rem;
|
||||
height: 8rem;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.about-item__img img {
|
||||
position: absolute;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.about-item__name {
|
||||
font-weight: 700;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.6rem;
|
||||
margin-bottom: 0.5rem;
|
||||
max-width: 19rem;
|
||||
}
|
||||
|
||||
.about-item__position {
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
line-height: 2rem;
|
||||
color: #2f2f2f;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.about {
|
||||
padding: 1.5rem 0.5rem;
|
||||
}
|
||||
|
||||
.about-title {
|
||||
font-size: 1.6rem;
|
||||
line-height: 2rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.about-items {
|
||||
row-gap: 1rem;
|
||||
}
|
||||
|
||||
.about-item__img {
|
||||
min-width: 8rem;
|
||||
}
|
||||
|
||||
.about-section-title {
|
||||
border-top: 1px solid var(--gray);
|
||||
}
|
||||
}
|
||||
152
frontend/src/styles/components/advert-item.css
Normal file
152
frontend/src/styles/components/advert-item.css
Normal file
@@ -0,0 +1,152 @@
|
||||
.advert-item {
|
||||
padding: 2rem 2.5rem 2.5rem;
|
||||
box-sizing: border-box;
|
||||
background: var(--bg);
|
||||
width: 100%;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
border-left: 1px solid var(--gray);
|
||||
margin-left: -1px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.advert-item {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.advert-item {
|
||||
gap: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.advert-item__heading {
|
||||
color: var(--white);
|
||||
position: absolute;
|
||||
left: 2.5rem;
|
||||
bottom: 3rem;
|
||||
}
|
||||
|
||||
.advert-item__block-title {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.advert-item__block-title_margin-lg {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.advert-item__block-title_margin-lg {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.advert-item__subtitle {
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
|
||||
.advert-item__documents-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.advert-item__documents-list {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.advert-item__document {
|
||||
padding: 7px 9px;
|
||||
flex-grow: 1;
|
||||
background-color: var(--white);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.advert-item__document:hover .advert-item__document-description {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.advert-item__icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.advert-item__icon_pdf {
|
||||
background-image: url('/images/pdf_icon.png');
|
||||
}
|
||||
|
||||
.advert-item__icon_doc {
|
||||
background-image: url('/images/doc_icon.png');
|
||||
}
|
||||
|
||||
.advert-item__document-description {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.advert-item__contacts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.advert-item__contacts {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.advert-item__contact-item {
|
||||
width: 50%;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
padding-bottom: 42px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.advert-item__contact-item {
|
||||
width: 100%;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.advert-item__avatar-container {
|
||||
flex-shrink: 0;
|
||||
width: 80px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.advert-item__contacts-avatar {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.advert-item__contact-name {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.advert-item__contact-position {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.advert-item__contact-phone {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.advert-item__contact-email {
|
||||
color: var(--secondary);
|
||||
}
|
||||
172
frontend/src/styles/components/article-item.css
Normal file
172
frontend/src/styles/components/article-item.css
Normal file
@@ -0,0 +1,172 @@
|
||||
.article-item {
|
||||
padding: 1.2rem 1.25rem 0;
|
||||
box-sizing: border-box;
|
||||
background: var(--bg);
|
||||
width: 50%;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
border-left: 1px solid var(--gray);
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.article-item {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.article-item__image-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.article-item__image-container img {
|
||||
width: 100%;
|
||||
height: 21rem;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.article-item__text {
|
||||
margin-top: 0.5rem;
|
||||
padding: 1.5rem 1.25rem;
|
||||
}
|
||||
|
||||
.article-item__link {
|
||||
user-select: none;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.article-item__link:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.article-item__tag {
|
||||
position: absolute;
|
||||
right: 1.3rem;
|
||||
bottom: 2.1rem;
|
||||
}
|
||||
|
||||
.article-item__title {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.article-item--lg {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.article-item--lg .article-item__image-container img {
|
||||
height: 41.5rem;
|
||||
}
|
||||
|
||||
.article-item--lg .article-item__text {
|
||||
margin-top: 0;
|
||||
padding: 2rem 2.5rem 2.5rem 2.5rem;
|
||||
}
|
||||
|
||||
.article-item__descr {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.article-item--no-image {
|
||||
padding: 0;
|
||||
background: #fff;
|
||||
min-height: 22.6rem;
|
||||
}
|
||||
|
||||
.article-item--no-image .article-item__text {
|
||||
padding: 1.5rem 2.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.article-item--no-image .article-item__tag {
|
||||
border-color: #7c7c7c;
|
||||
color: #000;
|
||||
position: relative;
|
||||
right: unset;
|
||||
bottom: unset;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.article-item--no-image .article-item__descr {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.article-item--horizontal {
|
||||
width: 100%;
|
||||
padding: 1.2rem;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.article-item--horizontal .article-item__image-container {
|
||||
width: 33rem;
|
||||
min-width: 33rem;
|
||||
}
|
||||
|
||||
.article-item--horizontal .article-item__text {
|
||||
margin-top: 0;
|
||||
padding: 1.5rem 2.5rem;
|
||||
}
|
||||
|
||||
.article-item--inline {
|
||||
width: 100%;
|
||||
padding: 1.2rem;
|
||||
}
|
||||
|
||||
.article-item--inline .article-item__text {
|
||||
margin-top: 0;
|
||||
padding: 1.5rem 2.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.articles-preview {
|
||||
margin: 0 -2rem;
|
||||
}
|
||||
|
||||
.article-item {
|
||||
padding: 1.2rem 2rem 2.7rem 2rem;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.article-item__text {
|
||||
padding: 1rem 0.7rem 0 0.7rem;
|
||||
}
|
||||
|
||||
.article-item--lg {
|
||||
padding: 0;
|
||||
border-top: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.article-item--lg .article-item__image-container img {
|
||||
height: 26rem;
|
||||
}
|
||||
|
||||
.article-item--lg .article-item__text {
|
||||
padding: 2.7rem;
|
||||
}
|
||||
|
||||
.article-item__descr {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.article-item--horizontal {
|
||||
padding: 1.2rem 2rem;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.article-item--horizontal .article-item__image-container {
|
||||
width: 100%;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.article-item--horizontal .article-item__text {
|
||||
margin-top: 0;
|
||||
padding: 1.5rem 0.7rem;
|
||||
}
|
||||
|
||||
.article-item--inline .article-item__text {
|
||||
margin-top: 0;
|
||||
padding: 0.3rem 0.7rem;
|
||||
}
|
||||
}
|
||||
216
frontend/src/styles/components/article-single.css
Normal file
216
frontend/src/styles/components/article-single.css
Normal file
@@ -0,0 +1,216 @@
|
||||
.article-single {
|
||||
padding: 2rem 2.5rem 0 2.5rem;
|
||||
}
|
||||
|
||||
.article-time.article-single__time {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.article-single__tag {
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6rem;
|
||||
color: #000;
|
||||
padding: 0.1rem 1.2rem;
|
||||
border: 1px solid #7c7c7c;
|
||||
border-radius: 5rem;
|
||||
display: inline-block;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.article-single__title {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.article-author {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.4rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.article-author__img {
|
||||
width: 5rem;
|
||||
height: 5rem;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.article-author__img img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.article-author__name {
|
||||
font-weight: 700;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
color: #2f2f2f;
|
||||
}
|
||||
|
||||
.article-single__content p {
|
||||
font-weight: 500;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.article-single__content a {
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.article-single-img,
|
||||
.wp-block-image {
|
||||
margin: 0 -2.5rem;
|
||||
position: relative;
|
||||
margin-bottom: 2rem;
|
||||
height: 41.5rem;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.event-single .article-single-img,
|
||||
.event-single .wp-block-image {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.article-single-img>img,
|
||||
.wp-block-image>img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.article-single-img__text,
|
||||
.wp-element-caption {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
left: 2.5rem;
|
||||
bottom: 2.5rem;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.article-single-img__video {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 2rem;
|
||||
position: absolute;
|
||||
left: 3.9rem;
|
||||
bottom: 2.3rem;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6rem;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.article-single-gal,
|
||||
.wp-block-gallery.is-layout-flex.wp-block-gallery-is-layout-flex {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.1rem;
|
||||
margin: 0 -2.5rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.event-single .article-single-gal,
|
||||
.event-single .wp-block-gallery.is-layout-flex.wp-block-gallery-is-layout-flex {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.wp-block-gallery.is-layout-flex.wp-block-gallery-is-layout-flex .wp-block-image {
|
||||
margin: 0;
|
||||
margin-bottom: 0;
|
||||
height: 20.8rem;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.article-single-gal .article-single-img,
|
||||
.wp-block-gallery .article-single-img {
|
||||
margin: 0;
|
||||
height: 20.8rem;
|
||||
}
|
||||
|
||||
.article-section__title {
|
||||
box-sizing: border-box;
|
||||
padding: 2.5rem;
|
||||
font-weight: 700;
|
||||
font-size: 1.8rem;
|
||||
line-height: 2.2rem;
|
||||
border-top: 1px solid var(--gray);
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.article-single {
|
||||
border-top: 1px solid var(--gray);
|
||||
margin: 0 -2rem;
|
||||
padding: 1.5rem 2.4rem 0.5rem 2.4rem;
|
||||
}
|
||||
|
||||
.article-time.article-single__time {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.article-single__tag {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.article-single__title {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.article-author {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.article-single__content p {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.article-single-img,
|
||||
.wp-block-image {
|
||||
margin: 0 -2.4rem;
|
||||
margin-bottom: 2rem;
|
||||
height: 26rem;
|
||||
}
|
||||
|
||||
.article-single-img__text {
|
||||
bottom: 2rem;
|
||||
}
|
||||
|
||||
.article-single-img__video {
|
||||
left: 2.1rem;
|
||||
bottom: 2.1rem;
|
||||
}
|
||||
|
||||
.article-single-gal,
|
||||
.wp-block-gallery.is-layout-flex.wp-block-gallery-is-layout-flex {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 0;
|
||||
margin: 0 -2.4rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.wp-block-gallery.is-layout-flex.wp-block-gallery-is-layout-flex .wp-block-image {
|
||||
height: 26rem;
|
||||
}
|
||||
|
||||
.article-single-gal .article-single-img {
|
||||
height: 26rem;
|
||||
}
|
||||
|
||||
.article-section__title {
|
||||
width: calc(100% + 4rem);
|
||||
margin: 0 -2rem;
|
||||
}
|
||||
|
||||
.article-item--no-image {
|
||||
padding: 0;
|
||||
min-height: unset;
|
||||
}
|
||||
}
|
||||
18
frontend/src/styles/components/banner.css
Normal file
18
frontend/src/styles/components/banner.css
Normal file
@@ -0,0 +1,18 @@
|
||||
.banner--header {
|
||||
height: 12rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.banner--header img {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.banner--header {
|
||||
height: 8rem;
|
||||
}
|
||||
}
|
||||
42
frontend/src/styles/components/breadcrumbs.css
Normal file
42
frontend/src/styles/components/breadcrumbs.css
Normal file
@@ -0,0 +1,42 @@
|
||||
.breadcrumbs {
|
||||
background: #fff;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
margin-bottom: -4px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.breadcrumbs__list {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.8rem;
|
||||
padding: 0.8rem 5rem;
|
||||
}
|
||||
|
||||
.breadcrumbs__item {
|
||||
line-height: 1.2rem;
|
||||
color: #7c7c7c;
|
||||
transition: 0.3s;
|
||||
font-size: 1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
a.breadcrumbs__item:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
a.breadcrumbs__item::after {
|
||||
content: '';
|
||||
width: 1.4rem;
|
||||
height: 1.4rem;
|
||||
background: url('/icons/breadcrumbs_arrow.svg');
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.breadcrumbs__list {
|
||||
flex-wrap: wrap;
|
||||
padding: 0.8rem 0.5rem;
|
||||
}
|
||||
}
|
||||
14
frontend/src/styles/components/button.css
Normal file
14
frontend/src/styles/components/button.css
Normal file
@@ -0,0 +1,14 @@
|
||||
.button {
|
||||
padding: 1.5rem;
|
||||
background: var(--primary);
|
||||
font-weight: 700;
|
||||
font-size: 1.6rem;
|
||||
line-height: 1.8rem;
|
||||
color: #fff;
|
||||
transition: 0.3s;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background: var(--secondary);
|
||||
}
|
||||
115
frontend/src/styles/components/calendar.css
Normal file
115
frontend/src/styles/components/calendar.css
Normal file
@@ -0,0 +1,115 @@
|
||||
.vanilla-calendar {
|
||||
min-width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.vanilla-calendar-days {
|
||||
row-gap: 0;
|
||||
}
|
||||
|
||||
.vanilla-calendar-day {
|
||||
height: 4.2rem;
|
||||
}
|
||||
|
||||
[data-calendar-theme=light] .vanilla-calendar-day__btn_today {
|
||||
background: none;
|
||||
}
|
||||
|
||||
[data-calendar-theme=light] .vanilla-calendar-day__btn_today:hover {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn {
|
||||
color: #9a9a9a;
|
||||
font-family: 'Raleway', sans-serif;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_weekend.vanilla-calendar-day__btn_prev:hover,
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_holiday.vanilla-calendar-day__btn_prev:hover,
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_weekend.vanilla-calendar-day__btn_next:hover,
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_holiday.vanilla-calendar-day__btn_next:hover,
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_weekend.vanilla-calendar-day__btn_prev.vanilla-calendar-day__btn_hover,
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_holiday.vanilla-calendar-day__btn_prev.vanilla-calendar-day__btn_hover,
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_weekend.vanilla-calendar-day__btn_next.vanilla-calendar-day__btn_hover,
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_holiday.vanilla-calendar-day__btn_next.vanilla-calendar-day__btn_hover,
|
||||
[data-calendar-theme=light] .vanilla-calendar-day__btn_weekend.vanilla-calendar-day__btn_selected,
|
||||
[data-calendar-theme=light] .vanilla-calendar-day__btn_selected.vanilla-calendar-day__btn_prev,
|
||||
[data-calendar-theme=light] .vanilla-calendar-day__btn_selected.vanilla-calendar-day__btn_next,
|
||||
[data-calendar-theme=light] .vanilla-calendar-day__btn_selected.vanilla-calendar-day__btn_prev:hover,
|
||||
[data-calendar-theme=light] .vanilla-calendar-day__btn_selected.vanilla-calendar-day__btn_next:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
[data-calendar-theme=light] .vanilla-calendar-day__btn_weekend.vanilla-calendar-day__btn_selected {
|
||||
color: #eb5757;
|
||||
}
|
||||
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_weekend,
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_holiday {
|
||||
color: #eb5757;
|
||||
}
|
||||
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_selected {
|
||||
color: #000;
|
||||
background: transparent;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_selected::before {
|
||||
content: '';
|
||||
width: 0.8rem;
|
||||
height: 0.8rem;
|
||||
top: 0.9rem;
|
||||
right: 0.3rem;
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
background: var(--primary);
|
||||
}
|
||||
|
||||
[data-calendar-theme='light'] .vanilla-calendar-day__btn_selected:hover,
|
||||
[data-calendar-theme=light] .vanilla-calendar-day__btn_selected.vanilla-calendar-day__btn_prev:hover {
|
||||
color: #000;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
.vanilla-calendar-month,
|
||||
.vanilla-calendar-year {
|
||||
font-weight: 500;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.vanilla-calendar-day__btn {
|
||||
font-size: 1.6rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.vanilla-calendar-week {
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
[data-calendar-theme='light'] .vanilla-calendar-week__day {
|
||||
color: #4f4f4f;
|
||||
}
|
||||
|
||||
[data-calendar-theme='light'] .vanilla-calendar-week__day_weekend {
|
||||
color: #eb5757;
|
||||
}
|
||||
|
||||
.vanilla-calendar-week__day {
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
line-height: 1.4rem;
|
||||
}
|
||||
|
||||
.vanilla-calendar-header {
|
||||
margin-bottom: 1.9rem;
|
||||
}
|
||||
|
||||
.vanilla-calendar-day__btn:not(.vanilla-calendar-day__btn_selected) {
|
||||
pointer-events: none;
|
||||
}
|
||||
35
frontend/src/styles/components/checkbox.css
Normal file
35
frontend/src/styles/components/checkbox.css
Normal file
@@ -0,0 +1,35 @@
|
||||
.checkbox {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.checkbox__input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.checkbox__input:checked~.checkbox__inner .checkbox__check img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.checkbox__inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
font-weight: 500;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.checkbox__check {
|
||||
width: 1.8rem;
|
||||
height: 1.8rem;
|
||||
border-radius: 0.3rem;
|
||||
border: 1px solid #CFCFCF;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.checkbox__check img {
|
||||
display: none;
|
||||
}
|
||||
104
frontend/src/styles/components/contacts.css
Normal file
104
frontend/src/styles/components/contacts.css
Normal file
@@ -0,0 +1,104 @@
|
||||
.contacts__map-container {
|
||||
width: 100%;
|
||||
max-width: 711px;
|
||||
aspect-ratio: 711 / 414;
|
||||
}
|
||||
|
||||
.contacts__map {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.contacts__container {
|
||||
padding: 20px 25px 25px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.contacts__text-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
}
|
||||
.contacts__block-email {
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.contacts__form {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.contacts__input {
|
||||
box-sizing: border-box;
|
||||
padding: 12px 13px 11px;
|
||||
border: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.contacts__input::placeholder {
|
||||
color: var(--placeholder-gray);
|
||||
font-family: 'Raleway', sans-serif;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.contacts__input_name {
|
||||
width: calc(50% - 10px);
|
||||
}
|
||||
|
||||
.contacts__input_email {
|
||||
width: calc(50% - 10px);
|
||||
}
|
||||
|
||||
.contacts__input_theme {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.contacts__input_message {
|
||||
height: 160px;
|
||||
width: 100%;
|
||||
resize: none;
|
||||
}
|
||||
.contacts__submit-button {
|
||||
padding: 12px 40px !important;
|
||||
}
|
||||
.contacts__policy {
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
@media (max-width: 1439px) {
|
||||
.contacts__map-container {
|
||||
max-width: initial;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.contacts__map-container {
|
||||
aspect-ratio: 360 / 260;
|
||||
margin: 0 -2rem;
|
||||
width: calc(100% + 4rem);
|
||||
}
|
||||
|
||||
.contacts__container {
|
||||
padding: 15px 26.5px;
|
||||
margin: 0 -2rem;
|
||||
}
|
||||
|
||||
.contacts__form {
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.contacts__input_name,
|
||||
.contacts__input_email {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.contacts__submit-button {
|
||||
padding: 15px 40px !important;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
56
frontend/src/styles/components/error-page.css
Normal file
56
frontend/src/styles/components/error-page.css
Normal file
@@ -0,0 +1,56 @@
|
||||
.error-page {
|
||||
min-height: 57.9rem;
|
||||
background: url('/images/error_bg.jpg') top no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.error-page-500 {
|
||||
background: url('/images/bg_500.jpg') top no-repeat;
|
||||
background-size: cover;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.error-page__inner {
|
||||
padding: 14.8rem 23.2rem;
|
||||
}
|
||||
|
||||
.error-page__title {
|
||||
font-weight: 700;
|
||||
font-size: 2rem;
|
||||
line-height: 2.4rem;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.error-page__subtitle {
|
||||
font-weight: 700;
|
||||
font-size: 1.6rem;
|
||||
line-height: 2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
max-width: 31rem;
|
||||
}
|
||||
|
||||
.error-page__btn {
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
width: 26.1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.error-page {
|
||||
min-height: unset;
|
||||
background-position: top 0% right 27%;
|
||||
}
|
||||
|
||||
.error-page__inner {
|
||||
padding: 23.8rem 0.8rem 11.2rem 0.8rem;
|
||||
}
|
||||
|
||||
.error-page__subtitle {
|
||||
max-width: unset;
|
||||
}
|
||||
|
||||
.error-page__btn {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
86
frontend/src/styles/components/event-item.css
Normal file
86
frontend/src/styles/components/event-item.css
Normal file
@@ -0,0 +1,86 @@
|
||||
.event-item {
|
||||
padding: 1.2rem 1.25rem 0;
|
||||
box-sizing: border-box;
|
||||
background: var(--bg);
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
border-left: 1px solid var(--gray);
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.event-item {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.event-item__image-container {
|
||||
position: relative;
|
||||
height: 30rem;
|
||||
}
|
||||
|
||||
.event-item__image-container img {
|
||||
width: 100%;
|
||||
height: 30rem;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.event-item__heading {
|
||||
color: var(--white);
|
||||
position: absolute;
|
||||
left: 2.5rem;
|
||||
bottom: 3rem;
|
||||
}
|
||||
|
||||
.event-item__title {
|
||||
font-weight: 700;
|
||||
font-size: 3.2rem;
|
||||
line-height: 1.17;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.event-item__subtitle {
|
||||
font-weight: 700;
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
|
||||
.event-item__text {
|
||||
padding: 2rem 2.5rem 2.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.event-item__description-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.event-item__heading {
|
||||
left: 2.5rem;
|
||||
bottom: 3.2rem;
|
||||
}
|
||||
|
||||
.event-item__image-container,
|
||||
.event-item__image-container img {
|
||||
height: 26rem;
|
||||
}
|
||||
|
||||
.event-item__title {
|
||||
max-width: 50%;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.event-item__subtitle {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.event-item__text {
|
||||
padding: 1.5rem 2.6rem 1.5rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
54
frontend/src/styles/components/fonts.css
Normal file
54
frontend/src/styles/components/fonts.css
Normal file
@@ -0,0 +1,54 @@
|
||||
h1,
|
||||
.h1 {
|
||||
font-weight: 700;
|
||||
font-size: 2rem;
|
||||
line-height: 2.4rem;
|
||||
}
|
||||
|
||||
h2,
|
||||
.h2 {
|
||||
font-size: 3.6rem;
|
||||
line-height: 4.6rem;
|
||||
}
|
||||
|
||||
h3,
|
||||
.h3 {
|
||||
font-size: 3.2rem;
|
||||
line-height: 4.1rem;
|
||||
}
|
||||
|
||||
.subtitle-20 {
|
||||
font-weight: 700;
|
||||
font-size: 2rem;
|
||||
line-height: 2.3rem;
|
||||
}
|
||||
|
||||
.subtitle-18 {
|
||||
font-weight: 700;
|
||||
font-size: 1.8rem;
|
||||
line-height: 2.1rem;
|
||||
}
|
||||
|
||||
.subtitle-16 {
|
||||
font-weight: 700;
|
||||
font-size: 1.6rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.subtitle-13 {
|
||||
font-weight: 700;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.6rem;
|
||||
}
|
||||
|
||||
.text-13 {
|
||||
font-weight: 500;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.9rem;
|
||||
}
|
||||
|
||||
.text-11 {
|
||||
font-weight: 400;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6rem;
|
||||
}
|
||||
112
frontend/src/styles/components/hero.css
Normal file
112
frontend/src/styles/components/hero.css
Normal file
@@ -0,0 +1,112 @@
|
||||
.hero__inner {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
}
|
||||
|
||||
.hero-banner {
|
||||
grid-column: span 3;
|
||||
min-height: 40rem;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
padding: 0 3.6rem 3rem 11.7rem;
|
||||
}
|
||||
|
||||
.hero-banner__bg {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.hero-banner__bg::before {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background: linear-gradient(19.49deg, #000000 2.74%, rgba(0, 0, 0, 0) 52.71%);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.hero-banner__bg img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.hero-banner__main {
|
||||
font-size: 2.6rem;
|
||||
font-weight: 700;
|
||||
line-height: 3.2rem;
|
||||
text-transform: uppercase;
|
||||
transform: rotate(-90deg);
|
||||
color: var(--primary);
|
||||
position: absolute;
|
||||
left: -1.5rem;
|
||||
bottom: 7.5rem;
|
||||
}
|
||||
|
||||
.hero-banner__content {
|
||||
max-width: 57rem;
|
||||
}
|
||||
|
||||
.hero-banner__title {
|
||||
color: var(--white);
|
||||
max-width: 34rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.hero-banner__text {
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.most-read.hero__most-read {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero__container {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.hero__inner {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.hero-banner {
|
||||
width: 100%;
|
||||
padding: 0 2rem 4rem 6.5rem;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: flex-end;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.hero-banner::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background: linear-gradient(19.49deg, #000000 2.74%, rgba(0, 0, 0, 0) 52.71%),
|
||||
linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
|
||||
}
|
||||
|
||||
.hero-banner__main {
|
||||
left: -3.3rem;
|
||||
bottom: 12.5rem;
|
||||
}
|
||||
|
||||
.hero-banner__content,
|
||||
.hero-banner__tag {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
12
frontend/src/styles/components/input.css
Normal file
12
frontend/src/styles/components/input.css
Normal file
@@ -0,0 +1,12 @@
|
||||
.input {
|
||||
border: 1px solid #cfcfcf;
|
||||
background: #fff;
|
||||
padding: 1.2rem 1.3rem;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.input::placeholder {
|
||||
color: #3a3a3a;
|
||||
}
|
||||
19
frontend/src/styles/components/interview-item.css
Normal file
19
frontend/src/styles/components/interview-item.css
Normal file
@@ -0,0 +1,19 @@
|
||||
.interview-item__image-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.interview-item__image-container > img {
|
||||
width: 100%;
|
||||
height: 21rem;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.interview-item-video__button {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: white;
|
||||
gap: 1.5rem;
|
||||
left: 1.5rem;
|
||||
bottom: 2rem;
|
||||
}
|
||||
81
frontend/src/styles/components/menu-vertical.css
Normal file
81
frontend/src/styles/components/menu-vertical.css
Normal file
@@ -0,0 +1,81 @@
|
||||
.menu-vertical {
|
||||
padding: 2.5rem 5.6rem;
|
||||
}
|
||||
|
||||
.menu-vertical__inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.menu-vertical__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
font-weight: 600;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.5rem;
|
||||
color: var(--secondary);
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.menu-vertical__item-icon img {
|
||||
max-width: 2rem;
|
||||
}
|
||||
|
||||
.menu-vertical__item.is-active {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.menu-vertical__item:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.menu-vertical__head {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.menu-vertical {
|
||||
padding: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.menu-vertical__head {
|
||||
padding: 1.7rem 0.5rem;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-weight: 600;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.6rem;
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.menu-vertical__head.is-active svg {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.menu-vertical__head svg {
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.menu-vertical__inner {
|
||||
position: absolute;
|
||||
left: -2rem;
|
||||
top: 100%;
|
||||
width: calc(100% + 4rem);
|
||||
z-index: 1;
|
||||
background: var(--bg);
|
||||
padding: 2rem 2.5rem 3rem 2.5rem;
|
||||
border-top: 1px solid var(--gray);
|
||||
box-shadow: 0px 4px 4px 0px #00000026;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-vertical__inner.is-active {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
119
frontend/src/styles/components/menu.css
Normal file
119
frontend/src/styles/components/menu.css
Normal file
@@ -0,0 +1,119 @@
|
||||
.menu__inner {
|
||||
padding: 0.2rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
column-gap: 0.5rem;
|
||||
row-gap: 0.2rem;
|
||||
}
|
||||
|
||||
.menu-link {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
padding: 0 3.6rem;
|
||||
box-shadow: 2px 2px 5px 0px #00000040;
|
||||
border: 1px solid;
|
||||
border-image-source: linear-gradient(0deg, #c2c2c2 0%, #ffffff 100%);
|
||||
background: #f7f8f3;
|
||||
min-height: 9.4rem;
|
||||
}
|
||||
|
||||
@media (max-width: 1023px) {
|
||||
.menu-link {
|
||||
padding: 0 2.1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-link:hover .menu-link__bg {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.menu-link__bg {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.menu-link__bg img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.menu-link__icon {
|
||||
display: flex;
|
||||
margin-bottom: 0.8rem;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.menu-link__text {
|
||||
font-weight: 600;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.4rem;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.menu {
|
||||
padding: 1.5rem 0;
|
||||
overflow: auto;
|
||||
background: #edefe4;
|
||||
}
|
||||
|
||||
.menu::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu__inner {
|
||||
display: flex;
|
||||
column-gap: 0.9rem;
|
||||
}
|
||||
|
||||
.menu-link {
|
||||
min-width: 25rem;
|
||||
flex-direction: row;
|
||||
gap: 1.5rem;
|
||||
min-height: 5.4rem;
|
||||
padding: 1.6rem 2.3rem;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.menu__inner::after {
|
||||
content: '';
|
||||
display: flex;
|
||||
width: 2rem;
|
||||
min-width: 2rem;
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
.menu-link__bg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-link__icon {
|
||||
width: 2rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.menu-link__icon img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.menu-link__text {
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.5rem;
|
||||
color: var(--secondary);
|
||||
}
|
||||
}
|
||||
70
frontend/src/styles/components/modal.css
Normal file
70
frontend/src/styles/components/modal.css
Normal file
@@ -0,0 +1,70 @@
|
||||
.modal-overlay {
|
||||
z-index: 999;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
background-color: rgba(0, 0, 0, .7);
|
||||
}
|
||||
|
||||
.modal-thank {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 57.2rem;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.modal-thank__close {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
right: 1.6rem;
|
||||
top: 1.6rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.modal-thank__title {
|
||||
padding: 2.4rem;
|
||||
font-weight: 700;
|
||||
font-size: 2rem;
|
||||
line-height: 2.4rem;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.modal-thank__text {
|
||||
font-weight: 500;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
color: #2F2F2F;
|
||||
padding: 2.1rem;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.modal-thank__footer {
|
||||
padding: 2.4rem;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
transition: 0.3s;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.modal-thank__footer:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.modal-thank {
|
||||
width: 32rem;
|
||||
}
|
||||
|
||||
.modal-thank__close {
|
||||
right: 0.8rem;
|
||||
top: 0.8rem;
|
||||
}
|
||||
}
|
||||
51
frontend/src/styles/components/most-read.css
Normal file
51
frontend/src/styles/components/most-read.css
Normal file
@@ -0,0 +1,51 @@
|
||||
.most-read {
|
||||
padding: 1.7rem 1.5rem;
|
||||
display: flex;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.most-read__inner {
|
||||
border: 1px solid var(--primary);
|
||||
padding: 4.5rem 2.4rem;
|
||||
width: calc(100% - 4.6rem);
|
||||
}
|
||||
|
||||
.most-read__title {
|
||||
color: var(--secondary);
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.most-read__link {
|
||||
padding-bottom: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.most-read__link:last-child {
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.most-read__link-inner {
|
||||
transition: 0.3s;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.most-read__link-inner:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.most-read {
|
||||
margin: 0 -2rem;
|
||||
padding: 1.3rem;
|
||||
}
|
||||
|
||||
.most-read__inner {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 2.3rem;
|
||||
/* width: calc(100% - 4.6rem); */
|
||||
}
|
||||
}
|
||||
33
frontend/src/styles/components/nav.css
Normal file
33
frontend/src/styles/components/nav.css
Normal file
@@ -0,0 +1,33 @@
|
||||
.nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4rem;
|
||||
font-weight: 700;
|
||||
font-size: 1.4rem;
|
||||
line-height: 1.6rem;
|
||||
margin: 0 12px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.nav {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
justify-content: space-between;
|
||||
gap: 2rem;
|
||||
max-width: 234px;
|
||||
margin: 2.9rem auto 3.6rem;
|
||||
}
|
||||
.nav .menu-item:nth-child(2n - 2) {
|
||||
justify-self: right;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-item a {
|
||||
color: #000;
|
||||
white-space: nowrap;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.menu-item a:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
53
frontend/src/styles/components/pagination.css
Normal file
53
frontend/src/styles/components/pagination.css
Normal file
@@ -0,0 +1,53 @@
|
||||
.pagination {
|
||||
padding: 1.7rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-top: 1px solid var(--gray);
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.pagination__list {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.pagination__item {
|
||||
font-weight: 500;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
color: #000;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
a.pagination__item:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.pagination__item.is-active {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.pagination__btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.2rem;
|
||||
font-weight: 500;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
color: #000;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.pagination__btn:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.pagination {
|
||||
border-top: 0;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
margin: 0 -2rem;
|
||||
}
|
||||
}
|
||||
56
frontend/src/styles/components/partner-item.css
Normal file
56
frontend/src/styles/components/partner-item.css
Normal file
@@ -0,0 +1,56 @@
|
||||
.partner-item {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
padding: 12px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.partner-item:not(:last-of-type) {
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.partner-item:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.partner-item p {
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.partner-item:hover p {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.partner-item__text-container {
|
||||
padding: 15px 25px 15px;
|
||||
flex-shrink: 1;
|
||||
}
|
||||
|
||||
.partner-item__image-container {
|
||||
flex-shrink: 0;
|
||||
width: 33%;
|
||||
}
|
||||
|
||||
.partner-item__image-container img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.partner-item {
|
||||
padding: 12px 20px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.partner-item__image-container {
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.partner-item__text-container {
|
||||
padding: 15px 7px 15px;
|
||||
}
|
||||
|
||||
.partner-item {
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
}
|
||||
85
frontend/src/styles/components/search-form.css
Normal file
85
frontend/src/styles/components/search-form.css
Normal file
@@ -0,0 +1,85 @@
|
||||
.search-form {
|
||||
padding: 2rem 2.5rem 2.5rem 2.5rem;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.search-form__wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.search-form__input-wrapper {
|
||||
position: relative;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.search-form__input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.search-form__clear {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
right: 1.3rem;
|
||||
display: flex;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.search-form__clear svg rect {
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.search-form__clear:hover svg rect {
|
||||
fill: var(--primary);
|
||||
}
|
||||
|
||||
.search-form__button {
|
||||
width: 13rem;
|
||||
}
|
||||
|
||||
.search-form__text {
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6rem;
|
||||
color: #2F2F2F;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.search-form__selects {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.search-form__selects {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.ss-content {
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.search-form {
|
||||
padding: 1.5rem 2.5rem;
|
||||
margin: 0 -2rem;
|
||||
}
|
||||
|
||||
.search-form__input-wrapper {
|
||||
position: relative;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.search-form__button {
|
||||
width: 100%;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.search-preview {
|
||||
margin-bottom: 2.7rem;
|
||||
}
|
||||
}
|
||||
10
frontend/src/styles/components/section-title.css
Normal file
10
frontend/src/styles/components/section-title.css
Normal file
@@ -0,0 +1,10 @@
|
||||
.section-title {
|
||||
padding: 2.5rem;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.section-title {
|
||||
margin: 0 -2rem;
|
||||
}
|
||||
}
|
||||
62
frontend/src/styles/components/select.css
Normal file
62
frontend/src/styles/components/select.css
Normal file
@@ -0,0 +1,62 @@
|
||||
.ss-main {
|
||||
color: #2F2F2F;
|
||||
min-height: 2.4rem;
|
||||
padding: 0.3rem 1.1rem;
|
||||
width: auto;
|
||||
white-space: nowrap;
|
||||
border-color: transparent;
|
||||
background-color: transparent;
|
||||
margin-left: -1.1rem;
|
||||
border-radius: 0;
|
||||
z-index: 99999;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.ss-main:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.ss-main .ss-values .ss-single {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
margin-right: 1rem;
|
||||
align-items: center;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.ss-main .ss-arrow {
|
||||
min-width: 12px;
|
||||
}
|
||||
|
||||
.ss-main.ss-open-below {
|
||||
border-color: var(--gray);
|
||||
border-bottom-color: transparent;
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
.ss-content .ss-list {
|
||||
min-width: 13.7rem;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.ss-content {
|
||||
min-width: 13.7rem;
|
||||
padding-bottom: 0.9rem;
|
||||
background: var(--bg);
|
||||
}
|
||||
|
||||
.ss-content .ss-list .ss-option {
|
||||
gap: 0.8rem;
|
||||
padding: 0 0.9rem;
|
||||
color: #2F2F2F;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.ss-content .ss-list .ss-option:hover {
|
||||
color: var(--primary);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.ss-content.ss-open-below {
|
||||
border-radius: 0;
|
||||
}
|
||||
79
frontend/src/styles/components/shared.css
Normal file
79
frontend/src/styles/components/shared.css
Normal file
@@ -0,0 +1,79 @@
|
||||
.tag {
|
||||
font-size: 1.1rem;
|
||||
border: 1px solid white;
|
||||
border-radius: 5rem;
|
||||
color: white;
|
||||
padding: 0.1rem 1.2rem;
|
||||
}
|
||||
|
||||
.article-time {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.8rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.span-2 {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.link::after {
|
||||
content: '';
|
||||
width: 1.5rem;
|
||||
height: 0.9rem;
|
||||
margin-left: 0.8rem;
|
||||
display: inline-block;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url('/icons/arrow.svg');
|
||||
}
|
||||
|
||||
.doc {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
padding-bottom: 20px;
|
||||
margin-top: 2rem;
|
||||
border-bottom: 0.1rem solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.doc::before {
|
||||
content: '';
|
||||
height: 3rem;
|
||||
flex-shrink: 0;
|
||||
width: 3.6rem;
|
||||
background-repeat: no-repeat;
|
||||
background-image: url('/icons/doc.svg');
|
||||
}
|
||||
|
||||
.doc:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.mobile {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.desktop {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.mobile {
|
||||
display: inherit !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1300px) {
|
||||
.footer__socials {
|
||||
margin: 2rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
.suggestion-container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.border-top {
|
||||
border-top: 1px solid var(--gray);
|
||||
}
|
||||
69
frontend/src/styles/components/single-partner-item.css
Normal file
69
frontend/src/styles/components/single-partner-item.css
Normal file
@@ -0,0 +1,69 @@
|
||||
.single-partner-item {
|
||||
width: 100%;
|
||||
padding: 20px 25px 25px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.subtitle_code {
|
||||
color: var(--adv-gray);
|
||||
font-size: 11px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.single-partner__text-block {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.single-partner__block-title {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.content-middle ul,
|
||||
.content-middle ol {
|
||||
margin-bottom: 10px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.content-middle ol li {
|
||||
list-style: decimal;
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
.content-middle li {
|
||||
display: flex;
|
||||
position: relative;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.content-middle ul li::before {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
flex-shrink: 0;
|
||||
left: -12px;
|
||||
top: 8px;
|
||||
flex-grow: 0;
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
max-height: 3px;
|
||||
overflow: visible;
|
||||
border-radius: 50%;
|
||||
background: var(--black);
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.single-partner-item {
|
||||
width: 100%;
|
||||
padding: 15px 26.5px;
|
||||
}
|
||||
|
||||
.single-partner__block-title {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
14
frontend/src/styles/components/socials.css
Normal file
14
frontend/src/styles/components/socials.css
Normal file
@@ -0,0 +1,14 @@
|
||||
.socials {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
.social-link {
|
||||
display: flex;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.social-link:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
24
frontend/src/styles/components/subscribe-form.css
Normal file
24
frontend/src/styles/components/subscribe-form.css
Normal file
@@ -0,0 +1,24 @@
|
||||
.subscribe-form {
|
||||
padding: 2.5rem 5.1rem 2.7rem 3.8rem;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.subscribe-form__title {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.subscribe-form__text {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.subscribe-form__input {
|
||||
margin-bottom: 2rem;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.subscribe-form__btn {
|
||||
width: 100%;
|
||||
}
|
||||
115
frontend/src/styles/components/subscription-form.css
Normal file
115
frontend/src/styles/components/subscription-form.css
Normal file
@@ -0,0 +1,115 @@
|
||||
.subscription-form {
|
||||
padding: 2rem 2.5rem 2.5rem 2.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.subscription-form__bg {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.subscription-form__bg img:last-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.subscription-form__title {
|
||||
font-weight: 500;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
color: #2f2f2f;
|
||||
}
|
||||
|
||||
.subscription-form__subtitle {
|
||||
font-weight: 700;
|
||||
font-size: 1.3rem;
|
||||
line-height: 1.6rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.subscription-form__options {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.subscription-form__input {
|
||||
width: 27.4rem;
|
||||
margin-bottom: 2rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.subscription-form__btn {
|
||||
width: 27.4rem;
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.subscription-form__policy {
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6rem;
|
||||
color: #2f2f2f;
|
||||
}
|
||||
|
||||
.subscription-form__policy a {
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.grid {
|
||||
border-top: 1px solid var(--gray);
|
||||
height: 100%;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.grid__item {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.grid__item:first-child {
|
||||
border-right: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.subscription-section-title {
|
||||
border-top: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.subscription-form {
|
||||
padding: 1.5rem 0.8rem 1.5rem 0.8rem;
|
||||
}
|
||||
|
||||
.subscription-form__input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.subscription-form__btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.subscription-form__bg {
|
||||
right: -2rem;
|
||||
}
|
||||
|
||||
.subscription-form__bg img:first-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.subscription-form__bg img:last-child {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.articles-preview__show-next.subsctiption-back {
|
||||
display: block;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
28
frontend/src/styles/components/suggestion-item.css
Normal file
28
frontend/src/styles/components/suggestion-item.css
Normal file
@@ -0,0 +1,28 @@
|
||||
.suggestion-item {
|
||||
width: 50%;
|
||||
flex-grow: 0;
|
||||
box-sizing: border-box;
|
||||
padding: 15px 25px;
|
||||
background-color: var(--white);
|
||||
}
|
||||
|
||||
.suggestion-item:nth-of-type(2n + 1) {
|
||||
border-right: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.suggestion-item:nth-of-type(-n + 2) {
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.suggestion-item {
|
||||
margin: 0 -2rem;
|
||||
padding: 15px 25px;
|
||||
width: calc(100% + 4rem);
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.suggestion-item:not(:last-of-type) {
|
||||
border-bottom: 1px solid var(--gray) !important;
|
||||
}
|
||||
}
|
||||
8
frontend/src/styles/components/tag.css
Normal file
8
frontend/src/styles/components/tag.css
Normal file
@@ -0,0 +1,8 @@
|
||||
.tag {
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.6rem;
|
||||
padding: 0.1rem 1.2rem;
|
||||
border: 1px solid var(--white);
|
||||
color: var(--white);
|
||||
border-radius: 5rem;
|
||||
}
|
||||
19
frontend/src/styles/components/to-top.css
Normal file
19
frontend/src/styles/components/to-top.css
Normal file
@@ -0,0 +1,19 @@
|
||||
.to-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.4rem;
|
||||
color: #3f3f3f;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.to-top:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.to-top {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
14
frontend/src/styles/components/upcoming-events.css
Normal file
14
frontend/src/styles/components/upcoming-events.css
Normal file
@@ -0,0 +1,14 @@
|
||||
.upcoming-event {
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
padding-bottom: 2rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.upcoming-event .link {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.upcoming-event:last-child {
|
||||
padding-bottom: 0;
|
||||
border-bottom: none;
|
||||
}
|
||||
10
frontend/src/styles/layout/container.css
Normal file
10
frontend/src/styles/layout/container.css
Normal file
@@ -0,0 +1,10 @@
|
||||
.container {
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.container {
|
||||
padding: 0 2rem;
|
||||
}
|
||||
}
|
||||
86
frontend/src/styles/layout/footer.css
Normal file
86
frontend/src/styles/layout/footer.css
Normal file
@@ -0,0 +1,86 @@
|
||||
.footer {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.footer-top {
|
||||
border-top: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.footer-top__inner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 3rem 6.9rem;
|
||||
}
|
||||
|
||||
@media (max-width: 1400px) {
|
||||
.footer-top__inner {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
||||
|
||||
.footer__nav {
|
||||
padding-right: 12.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.footer-top__inner {
|
||||
padding: 0;
|
||||
}
|
||||
.footer__nav {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-top__right {
|
||||
padding-right: 13.9rem;
|
||||
}
|
||||
|
||||
.footer-bottom {
|
||||
border-top: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.footer-bottom__inner {
|
||||
padding: 3.2rem 11.2rem 4.2rem 11.2rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
@media (max-width: 1300px) {
|
||||
.footer-bottom__inner {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-bottom__text {
|
||||
font-size: 1.2rem;
|
||||
color: #2f2f2f;
|
||||
line-height: 2.6rem;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
.footer-bottom__link {
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.footer-bottom__link:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.footer__logo {
|
||||
border-bottom: 1px solid var(--gray);
|
||||
padding: 2.8rem 7.8rem 3.2rem;
|
||||
text-align: center;
|
||||
}
|
||||
.footer__conatiner {
|
||||
padding: 0;
|
||||
}
|
||||
.footer-bottom__inner {
|
||||
padding: 0;
|
||||
padding-top: 1.8rem;
|
||||
padding-bottom: 2.4rem;
|
||||
}
|
||||
}
|
||||
140
frontend/src/styles/layout/header/header.css
Normal file
140
frontend/src/styles/layout/header/header.css
Normal file
@@ -0,0 +1,140 @@
|
||||
.header {
|
||||
border-bottom: 1px solid #cfcfcf;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.header__inner {
|
||||
padding: 1.2rem 3.6rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.header__logo {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header__logo img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.header__right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 9.6rem;
|
||||
}
|
||||
|
||||
@media (max-width: 1120px) {
|
||||
.header__right {
|
||||
gap: 4.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
.header__actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4rem;
|
||||
}
|
||||
|
||||
.header-action {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.header-action svg path {
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.header-action:hover svg path {
|
||||
fill: var(--primary);
|
||||
}
|
||||
|
||||
.header__burger {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-mobile {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 1023px) {
|
||||
.nav.header__nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.socials.header__socials {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header__burger {
|
||||
display: flex;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.header__burger img:last-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header__burger.is-active {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.header__burger.is-active img:first-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header__burger.is-active img:last-child {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.header-mobile {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
top: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #fff;
|
||||
transform: translateX(-100%);
|
||||
transition: 0.3s;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
.header-mobile.is-active {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.nav.header-mobile__nav {
|
||||
padding: 4.5rem 7.9rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
max-width: unset;
|
||||
margin: 0;
|
||||
gap: 3rem;
|
||||
border-top: 1px solid #cfcfcf;
|
||||
}
|
||||
|
||||
.socials.header-mobile__socials {
|
||||
padding: 3.6rem 0 4.8rem 0;
|
||||
justify-content: center;
|
||||
border-top: 1px solid #cfcfcf;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.header {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.header__inner {
|
||||
padding: 1.5rem 0;
|
||||
}
|
||||
|
||||
.header__logo {
|
||||
width: 15.8rem;
|
||||
}
|
||||
|
||||
.header__right {
|
||||
gap: 3.3rem;
|
||||
}
|
||||
}
|
||||
9
frontend/src/styles/layout/header/header.ts
Normal file
9
frontend/src/styles/layout/header/header.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
const headerBurger = document.querySelector('.header__burger');
|
||||
const mobileHeader = document.querySelector('.header-mobile');
|
||||
|
||||
if (headerBurger && mobileHeader) {
|
||||
headerBurger.addEventListener('click', () => {
|
||||
mobileHeader.classList.toggle('is-active');
|
||||
headerBurger.classList.toggle('is-active');
|
||||
});
|
||||
}
|
||||
316
frontend/src/styles/pages/main.css
Normal file
316
frontend/src/styles/pages/main.css
Normal file
@@ -0,0 +1,316 @@
|
||||
.content {
|
||||
display: grid;
|
||||
margin-top: 0.3rem;
|
||||
grid-template-columns: 36.4rem 1fr 36.3rem;
|
||||
grid-template-areas: 'left middle right';
|
||||
}
|
||||
|
||||
.content-left {
|
||||
grid-area: left;
|
||||
}
|
||||
|
||||
.content-middle {
|
||||
grid-area: middle;
|
||||
}
|
||||
|
||||
.content-right {
|
||||
grid-area: right;
|
||||
}
|
||||
|
||||
.content-right__link-item {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@media (max-width: 1439px) {
|
||||
.content {
|
||||
grid-template-columns: 36.4rem 1fr;
|
||||
grid-template-areas:
|
||||
'left middle'
|
||||
'right right';
|
||||
}
|
||||
|
||||
.content.content__search {
|
||||
grid-template-areas:
|
||||
'middle middle'
|
||||
'right right';
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.content {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-areas:
|
||||
'middle'
|
||||
'left'
|
||||
'right';
|
||||
}
|
||||
|
||||
.content-right {
|
||||
margin: 0 -2rem;
|
||||
padding-bottom: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.content-sidebar {
|
||||
background: white;
|
||||
}
|
||||
|
||||
.content-sidebar-top {
|
||||
padding: 2.5rem 3.3rem;
|
||||
}
|
||||
|
||||
.content-sidebar-top.no-top {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.content-sidebar__title {
|
||||
text-align: center;
|
||||
margin-bottom: 1.6rem;
|
||||
}
|
||||
|
||||
.upcoming-events {
|
||||
max-width: 28.8rem;
|
||||
}
|
||||
|
||||
.upcoming-events__title {
|
||||
margin-top: 1.6rem;
|
||||
}
|
||||
|
||||
.articles-preview {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.articles-wrapper {
|
||||
border-left: 0.1rem solid var(--gray);
|
||||
border-right: 0.1rem solid var(--gray);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.articles-preview__show-next {
|
||||
padding: 1.8rem 0 1.7rem;
|
||||
grid-column: span 2;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
border-top: 0.1rem solid var(--gray);
|
||||
margin-top: -1px;
|
||||
font-family: 'Raleway', sans-serif;
|
||||
|
||||
transition: 0.3s;
|
||||
font-size: 1.3rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.articles-preview__show-next:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.articles__spacer-container {
|
||||
position: relative;
|
||||
border-top: 1px solid var(--gray);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.articles__spacer {
|
||||
height: 100%;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.articles__spacer:first-of-type {
|
||||
border-right: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
.item-video__name {
|
||||
padding: 2.5rem 3.8rem;
|
||||
display: block;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.item-video__name:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.item-video__video-wrapper {
|
||||
position: relative;
|
||||
height: 20.8rem;
|
||||
}
|
||||
|
||||
.item-video__video-wrapper>img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.item-video__video-wrapper>img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.item-video__button {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: white;
|
||||
gap: 1.5rem;
|
||||
left: 3.9rem;
|
||||
bottom: 1.8rem;
|
||||
}
|
||||
|
||||
.banner-left {
|
||||
margin: 2.5rem auto 0;
|
||||
height: 40rem;
|
||||
width: 24rem;
|
||||
}
|
||||
|
||||
.banner-left a {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.banner-middle {
|
||||
height: 12rem;
|
||||
max-height: 12rem;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.banner-middle img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.content-right {
|
||||
border-top: 0.1rem solid var(--gray);
|
||||
}
|
||||
|
||||
.law {
|
||||
padding: 2.5rem 3.8rem;
|
||||
border-top: 0.1rem solid var(--gray);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.content-right__most-read {
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.banner-middle {
|
||||
height: 8rem;
|
||||
}
|
||||
|
||||
.articles__spacer-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.banner-left {
|
||||
width: 24rem;
|
||||
margin: 2.5rem auto 0;
|
||||
}
|
||||
|
||||
.subscribe-form__input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.content-right__most-read {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.articles-wrapper {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.content-videos {
|
||||
margin: 0 -2rem;
|
||||
}
|
||||
|
||||
.item-video__video-wrapper {
|
||||
height: 208px;
|
||||
}
|
||||
|
||||
.item-video__video-wrapper>img {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.articles-preview__show-next {
|
||||
border-bottom: 1px solid var(--gray);
|
||||
/* margin-bottom: 2.7rem; */
|
||||
width: calc(100% + 4rem);
|
||||
margin-left: -2rem;
|
||||
}
|
||||
|
||||
.content-sidebar {
|
||||
margin: 0 -2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.event-calendar-mobile {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-color: var(--white);
|
||||
border-bottom: 1px solid var(--gray);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.event-calendar-mobile {
|
||||
margin: 0 -2rem;
|
||||
width: calc(100% + 4rem);
|
||||
}
|
||||
}
|
||||
|
||||
.event-calendar__header {
|
||||
display: flex;
|
||||
padding: 15px 24px 13px;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.event-calendar__wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.event-calendar__wrapper.is-active {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.event-calendar__header.is-active svg {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.event-single {
|
||||
margin: 0 -2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.w-full {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.article-single__content * {
|
||||
font: revert;
|
||||
}
|
||||
|
||||
.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),
|
||||
.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.no-mobile-border {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user