You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
cosmopet-architecture/wp-content/themes/cosmopet/static/css/blog-style.css

1309 lines
23 KiB

main{
padding-top: 72px;
}
.block-lists_text p {
font-size: 18px!important;
}
.user a{
display: flex;
align-items: center;
gap: 5px;
}
.user a{
display:flex;
gap:5px;
}
.user img{
width:30px;
border-radius:100px;
}
.anons-best__card-body__datas .logo a{
display: flex;
align-items: center;
gap:5px;
margin-top: 10px;
}
.comment-submit-btn{
border: 1px solid #000000;
border-radius: 28px;
background: var(--main_white);
padding: 8.5px 16px 8.5px;
font-size: 20px;
font-weight: 500;
line-height: 24px;
margin-top: 15px;
transition: all .5s;
}
.comment-reply-title , .logged-in-as{
margin: 10px 0;
}
.comment-block.answer-block.active{
margin-top: 15px;
}
.comment-form-comment textarea{
padding: 28px 48px;
border-radius: 24px;
background: #f5f5f5 !important;
}
.comment-respond{
margin-top: 30px;
}
.reply-form-container textarea{
background-color: #fff !important;
margin-top: 2rem;
width: 100%;
}
.anons-article__more-link {
display: flex;
align-items: center;
justify-content: center;
}
.anons-article__more-link{
background: var(--accent-3);
color: var(--main_white);
border-radius: 20px;
border: 1px solid var(--main_white);
padding: 16px 24px;
font-size: 20px;
font-weight: 600;
line-height: 24px;
text-transform: uppercase;
margin-right: auto;
margin-left: auto;
width: max-content;
}
@media (max-width: 1200px) {
.header-navs {
gap: 12px;
}
.header-navs__link {
font-size: 14px;
}
.header-right {
gap: 4px;
}
}
@media(max-width:600px) {
.article-content h2 {
max-width: 661px;
font-size: 24px!important;
line-height: 40px;
font-weight: bold;
text-transform: uppercase;
color: var(--grey-black);
}
}
/* Author */
.author {
padding: 111px 0 105px;
overflow: hidden;
}
.author-content {
max-width: 1022px;
margin: 0 auto;
background: #CAFF81;
border-radius: 60px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 35px 42px 35px 209px;
position: relative;
box-shadow: 6px 9px 20px rgba(0, 0, 0, 15%);
}
.author-content__star-1 {
position: absolute;
width: 74px;
top: 18px;
left: -15px;
transform: translateX(-100%);
}
.author-content__star-2 {
position: absolute;
top: 28px;
right: -24px;
transform: translateX(100%);
width: 37px;
}
.author-content__img {
position: absolute;
left: 9px;
top: -43px;
width: 167px;
}
.author-content__img.mb {
display: none;
}
.author-content__title {
color: var(--main_black);
font-size: 36px;
font-weight: bold;
line-height: 40px;
}
.author-content__link {
border-radius: 20px;
background: var(--main_black);
border: 1px solid var(--main_white);
padding: 15px 24px;
font-size: 20px;
font-weight: 600;
line-height: 24px;
color: var(--main_white);
flex-shrink: 0;
}
@media only screen and (max-width: 992px) {
.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 */
.editorial {
padding-bottom: 68px;
}
.editorial-head {
position: relative;
z-index: 1;
max-width: 841px;
margin-bottom: 37px;
}
.editorial-head__title {
font-size: 82px;
line-height: 96px;
font-weight: bold;
color: var(--main_white);
text-transform: uppercase;
}
.editorial-head__img {
position: absolute;
z-index: -1;
top: -14px;
right: -20px;
width: 221px;
}
.editorial-head__star {
position: absolute;
top: 8.26px;
right: -13.5px;
transform: translateX(100%);
width: 87.5px;
}
.editorial-card__wrap {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 31px 25px;
position: relative;
z-index: 1;
}
.editorial-card {
border: 2px solid var(--creme-white);
border-radius: 30px;
display: flex;
align-items: stretch;
overflow: hidden;
background: var(--linear);
backdrop-filter: blur(28px);
}
.editorial-card .main-img {
min-height: 282px;
width: 207px;
border-radius: 29px;
overflow: hidden;
flex-shrink: 0;
}
.editorial-card:hover .main-img img{
width: 120%;
height: 120%;
}
.editorial-card .main-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: all .5s;
}
.editorial-card__content {
padding: 42px 19px 19px 35px;
}
.editorial-card__content-alerts {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 7px;
margin-bottom: 17px;
}
.editorial-card__content-alerts a {
background: var(--main_black);
border-radius: 16px;
padding: 6px 8px;
font-size: 16px;
font-weight: 500;
line-height: 20px;
color: var(--background);
}
.editorial-card__content-title {
font-size: 28px;
font-weight: bold;
line-height: 32px;
color: var(--grey-black);
text-transform: uppercase;
margin-bottom: 17px;
}
.editorial-card__content-data {
display: flex;
flex-wrap: wrap;
gap: 5px 16px;
color: var(--interface_hover);
font-size: 16px;
font-weight: 500;
line-height: 20px;
}
.editorial-card__content-data ul {
display: flex;
align-items: center;
gap: 16px;
}
.editorial-card__content-data li {
display: flex;
align-items: center;
gap: 5px;
}
.editorial-card__content-data .logo img {
width: 24px;
height: 24px;
border-radius: 50%;
object-fit: cover;
}
/* Editorial end */
@media (max-width: 1200px) {
.editorial-card__wrap {
grid-template-columns: repeat(1, minmax(0, 1fr));
}
}
@media (max-width: 992px) {
.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;
}
}
@media (max-width: 576px) {
.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;
}
}
.home-swp {
position: relative;
}
.home-swp__btn {
position: absolute;
bottom: 22px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
display: flex;
align-items: center;
gap: 24px;
}
.home-swp__btn button {
border: 1px solid var(--main_black);
background: var(--main_white);
width: 56px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 20px;
}
.home-swp .swiper-slide:not(.swiper-slide-active) {
height: 0;
overflow: hidden;
}
.home-card {
border-radius: 60px;
overflow: hidden;
display: flex;
align-items: flex-start;
gap: 24px;
position: relative;
}
.home-card.bg-yellow {
background: var(--orange_80);
}
.home-card.bg-green {
background: var(--green_90);
}
.home-card.bg-violet {
background: var(--violet_90);
}
.home-card__img {
width: 395px;
border-radius: 60px;
overflow: hidden;
height: 393px;
flex-shrink: 0;
}
.home-card__img:hover img{
width: 120%;
height: 120%;
}
.home-card__img img {
width: 100%;
height: 100%;
transition: all .5s;
object-fit: cover;
}
.home-card__content {
padding: 32px 79px 0 0;
}
.home-card__content-title {
font-size: 36px;
font-weight: bold;
line-height: 40px;
text-transform: uppercase;
max-width: 660px;
margin-bottom: 10px;
color: var(--interface_title);
}
.home-card__content-description {
color: var(--interface_title);
margin-bottom: 10px;
font-size: 20px;
font-weight: 500;
line-height: 24px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.home-card__content-body {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
}
.home-card__content-body__alerts {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
}
.home-card__content-body__alerts li {
background: var(--interface_hover);
color: var(--background);
border-radius: 16px;
padding: 6px 8px;
font-size: 16px;
font-weight: 500;
line-height: 20px;
}
.home-card__content-body__day {
color: var(--interface_hover);
font-size: 14px;
font-weight: 500;
line-height: 16px;
}
.home-card__content-body__time {
font-size: 14px;
font-weight: 500;
line-height: 16px;
color: var(--interface_hover);
}
.home-card__content-body__data {
display: flex;
align-items: center;
gap: 12px;
}
.home-card__content-body__data>div {
display: flex;
align-items: center;
gap: 4px;
font-size: 14px;
font-weight: 500;
line-height: 16px;
color: var(--interface_hover);
}
.home-card__content-body__data>div .main-img {
width: 32px;
height: 32px;
border-radius: 50%;
object-fit: cover;
}
.home-card__content-body__link {
border: 1px solid #000000;
border-radius: 28px;
background: var(--main_white);
position: absolute;
right: 37px;
bottom: 26px;
padding: 8.5px 16px 8.5px;
font-size: 20px;
font-weight: 500;
line-height: 24px;
transition: all .5s;
}
.home-card__content-body__link:hover{
background-color: #000;
color: #fff;
}
.blog-home{
padding-bottom: 4rem;
}
@media only screen and (max-width: 992px) {
.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%);
width: max-content;
}
}
.article-content p {
color: var(--grey-black);
font-size: 24px;
line-height: 32px;
font-weight: 500;
}
.article-content h2 {
max-width: 661px;
font-size: 36px;
line-height: 40px;
font-weight: bold;
text-transform: uppercase;
color: var(--grey-black);
}
.article-content h3{
font-size: 28px;
line-height: 120%;
font-weight: bold;
text-transform: uppercase;
color: var(--grey-black);
}
.article-content h4, .article-content h5, .article-content h6{
font-size: 22px;
line-height: 120%;
font-weight: bold;
text-transform: uppercase;
color: var(--grey-black);
}
.indent {
background: #E2F3FF;
border-radius: 32px;
padding: 36px 49px;
display: flex;
flex-direction: column;
gap: 32px;
margin-bottom: 48px;
}
/* Discount */
.discount {
background: radial-gradient(122% 156.56% at 100% 0%, #7E90FF 0%, #8187FF 45%, #F8A6FF 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
border-radius: 32px;
padding: 32px;
position: relative;
z-index: 1;
margin-bottom: 48px;
}
.discount-title {
font-size: 36px;
font-weight: bold;
line-height: 40px;
text-transform: uppercase;
max-width: 517px;
color: var(--main_black);
margin-bottom: 15px;
}
.discount-bg {
position: absolute;
top: 4px;
right: 8px;
width: 369px;
z-index: -1;
}
.discount-bg.mb {
display: none;
}
.discount-title span {
color: var(--main_white);
}
.discount-form {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 15px;
}
.discount-form input {
width: 280px;
height: 50px;
border: 2px solid var(--main_black);
border-radius: 48px;
background: #F5F5F5;
padding: 0 18px;
font-size: 24px;
font-weight: 500;
color: var(--main_black);
}
.discount-form button {
border: 2px solid var(--main_black);
background: transparent;
height: 50px;
padding: 0 30px;
font-size: 24px;
font-weight: 500;
color: var(--main_black);
border-radius: 50px;
}
.discount-form button:hover {
background: var(--interface_title);
color: var(--main_white);
}
p.discount-description__1 {
font-size: 14px;
font-weight: 500;
color: var(--main_black);
max-width: 621px;
margin-bottom: 15px;
}
p.discount-description__2 {
font-size: 20px;
font-weight: 500;
color: var(--main_black);
}
/* Discount end */
/* Article home */
.article-home {
padding-bottom: 36px;
}
.article-home h1 {
font-size: 64px;
font-weight: bold;
line-height: 120%;
color: var(--main_white);
margin-bottom: 17px;
text-transform: uppercase;
}
.article-home__data {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 24px;
margin-bottom: 17px;
}
.article-home__data-alerts {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.article-home__data-alerts a {
font-size: 16px;
line-height: 20px;
font-weight: 500;
color: var(--background);
padding: 6px 8px;
border-radius: 20px;
background: var(--main_black);
}
.article-home__data p {
font-size: 14px;
line-height: 16px;
font-weight: 500;
color: var(--main_white);
display: flex;
align-items: center;
gap: 4px;
}
.article-home__data .user {
display: flex;
align-items: center;
gap: 7px;
font-size: 14px;
line-height: 16px;
font-weight: 500;
color: var(--main_white);
}
.article-home__data .user img {
width: 32px;
height: 32px;
border-radius: 50px;
object-fit: cover;
}
.article-home__card {
width: 100%;
aspect-ratio: 1223/500;
}
.article-home__card img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 64px;
}
@media (min-width: 992px) {
.article-home.position-1 .container {
position: relative;
z-index: 1;
}
.article-home.position-1 .article-home__card {
width: calc(50% - 12px);
position: absolute;
top: 0;
right: 0;
height: 100%;
z-index: -1;
}
.article-home.position-1 h1 {
width: calc(50% - 12px);
}
.article-home.position-1 .article-home__data {
max-width: 406px;
}
.article-home.position-2 .container {
position: relative;
z-index: 1;
height: 695px;
padding: 45px 42px;
}
.article-home.position-2 .article-home__card {
position: absolute;
top: 0;
left: 0;
z-index: -1;
width: 100%;
height: 100%;
overflow: hidden;
}
.article-home.position-2 .article-home__card::before {
content: "";
width: 100%;
height: 100%;
background: linear-gradient(282.92deg, rgba(255, 255, 255, 0) 50.1%, #FFFFFF 77.26%);
position: absolute;
top: 0;
left: 0;
border-radius: 50px;
}
.article-home.position-2 h1 {
color: var(--main_black);
max-width: 838px;
}
.article-home.position-2 .article-home__data {
width: 304px;
}
.article-home.position-2 .article-home__data p {
color: var(--main_black);
}
.article-home.position-2 .article-home__data p img {
filter: brightness(0) invert(0)
}
.article-home.position-2 .article-home__data .user {
color: var(--main_black);
}
}
.article-content {
background: var(--main_white);
border-radius: 64px;
max-width: 1232px;
margin: 0 auto;
padding: 64px 0 116px;
}
.article-container {
max-width: 1022px;
margin: 0 auto;
@media (max-width: 1054px) {
max-width: calc(100% - 32px);
}
}
/* Article home end */
/* comment */
.comment {
border-top: 1px solid var(--placeholder);
padding-top: 48px;
margin-top: 100px;
}
.comment .comment-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
}
.comment .comment-btn button {
padding: 12px 24px;
border-radius: 20px;
display: flex;
align-items: center;
gap: 8px;
background: var(--btn-bg);
font-size: 20px;
font-weight: 600;
line-height: 24px;
font-family: var(--font-craftwork);
}
.comment .comment-btn span {
font-family: var(--font-craftwork);
font-size: 20px;
font-weight: 500;
line-height: 24px;
}
.comment .comment-title {
font-family: var(--font-craftwork);
font-size: 24px;
font-weight: 700;
line-height: 28px;
color: var(--grey-black);
margin: 48px 0 0 0;
}
.comment .comment-in {
max-width: 816px;
margin: 0 auto;
}
.comment .comment-block {
margin-top: 40px;
padding: 28px 48px;
border-radius: 24px;
background: var(--grey-f5);
}
.comment .comment-block p {
font-size: 20px;
font-weight: 500;
line-height: 24px;
color: var(--grey-black);
}
.comment .comment-block p a {
color: var(--green-dark);
text-decoration: underline;
}
.comment .comment-user {
display: flex;
align-items: center;
gap: 12px;
}
.comment .comment-user img {
width: 48px;
height: 48px;
border-radius: 50%;
flex-shrink: 0;
}
.comment .comment-user h6 {
font-size: 20px;
font-weight: 700;
line-height: 24px;
color: var(---main_black);
margin-bottom: 5px;
}
.comment .comment-user span {
font-size: 14px;
font-weight: 500;
line-height: 16px;
color: var(--interface_hover);
}
.comment .comment-block p {
margin: 15px 0;
font-size: 20px;
font-weight: 500;
line-height: 24px;
color: var(---main_black);
}
.comment .comment-btns {
display: flex;
align-items: center;
gap: 33px;
}
.comment .comment-btns button {
font-size: 14px;
font-weight: 500;
line-height: 16px;
color: var(--interface_hover);
display: flex;
align-items: center;
gap: 5px;
}
.comment .answer-btn {
margin-bottom: 10px;
font-family: var(--font-craftwork);
font-size: 16px;
font-weight: 700;
line-height: 20px;
color: var(--green-dark);
display: flex;
align-items: center;
gap: 8px;
padding: 6px 24px;
text-transform: lowercase;
}
.comment .answer-btn svg {
transition: .2s ease;
}
.comment .answer-btn svg.active {
transform: rotate(180deg);
}
.comment .answer-block {
display: none;
margin: 0 0 0 54px;
}
.comment .answer-block.active {
display: block;
}
.comment .comment-block_text {
margin: 0 !important;
}
.other-home {
padding-top: 36px !important;
}
/* comment */
@media (max-width: 992px) {
.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;
}
p.discount-description__2 {
font-size: 18px;
line-height: 24px;
font-weight: 500;
grid-area: 21px;
margin-bottom: 21px;
}
p.discount-description__1 {
margin-bottom: 0;
font-size: 12px;
line-height: 120%;
}
.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;
}
.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;
}
.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;
}
}