blog fixes from marketing

This commit is contained in:
Jerry
2020-08-20 11:06:33 +03:00
parent ad09c967c2
commit 2f33d42ffa
3 changed files with 39 additions and 42 deletions

View File

@@ -2661,7 +2661,7 @@ footer {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-weight: bold; font-weight: bold;
font-size: 46px; font-size: 39px;
line-height: 1; line-height: 1;
padding: 0 0 15px; } padding: 0 0 15px; }
@media (min-width: 480px) { @media (min-width: 480px) {
@@ -2672,7 +2672,7 @@ footer {
font-size: 96px; font-size: 96px;
padding: 0 0 25px; } } padding: 0 0 25px; } }
.blog-page .bp-list-header p { .blog-page .bp-list-header p {
font-size: 20px; font-size: 18px;
line-height: 26px; line-height: 26px;
font-weight: 100; } font-weight: 100; }
@media (min-width: 768px) { @media (min-width: 768px) {
@@ -2704,17 +2704,9 @@ footer {
.blog-page .bp-list-tabs ul li { .blog-page .bp-list-tabs ul li {
display: block; display: block;
float: left; float: left;
margin: 0 10px 10px 0; }
.blog-page .bp-list-tabs ul li:nth-child(2) {
clear: both; }
@media (min-width: 480px) {
.blog-page .bp-list-tabs ul li {
width: 48%; width: 48%;
margin: 0 1% 10px; margin: 0 1% 10px; }
clear: none; } @media (min-width: 540px) {
.blog-page .bp-list-tabs ul li:nth-child(2) {
clear: none; } }
@media (min-width: 768px) {
.blog-page .bp-list-tabs ul li { .blog-page .bp-list-tabs ul li {
width: 25%; width: 25%;
margin: 0; } } margin: 0; } }
@@ -2731,7 +2723,8 @@ footer {
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25); box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
font-weight: 600; font-weight: 600;
position: relative; position: relative;
padding: 0 10px; } padding: 0 10px;
white-space: nowrap; }
.blog-page .bp-list-tabs ul li a:hover { .blog-page .bp-list-tabs ul li a:hover {
text-decoration: none; text-decoration: none;
z-index: 5; z-index: 5;
@@ -2759,6 +2752,9 @@ footer {
.blog-page .bp-list-tabs ul li a { .blog-page .bp-list-tabs ul li a {
height: 60px; height: 60px;
line-height: 60px; line-height: 60px;
font-size: 16px; } }
@media (min-width: 768px) {
.blog-page .bp-list-tabs ul li a {
font-size: 20px; } } font-size: 20px; } }
@media (min-width: 992px) { @media (min-width: 992px) {
.blog-page .bp-list-tabs ul li a { .blog-page .bp-list-tabs ul li a {
@@ -2782,7 +2778,8 @@ footer {
margin: 0 auto 20px; margin: 0 auto 20px;
max-width: 100%; max-width: 100%;
position: relative; position: relative;
padding-bottom: 70px; } padding-bottom: 70px;
height: 260px; }
@media (min-width: 540px) { @media (min-width: 540px) {
.blog-page .bp-block { .blog-page .bp-block {
width: 46%; width: 46%;
@@ -2804,7 +2801,8 @@ footer {
height: 100%; height: 100%;
z-index: 1; z-index: 1;
background-position: center center; background-position: center center;
background-size: 0, 0; } background-repeat: no-repeat;
background-size: cover; }
.blog-page .bp-block .bp-img:after { .blog-page .bp-block .bp-img:after {
content: ""; content: "";
display: block; display: block;
@@ -2814,40 +2812,39 @@ footer {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: rgba(24, 102, 198, 0.7); } background: rgba(24, 102, 198, 0.7); }
@media (min-width: 540px) {
.blog-page .bp-block .bp-img {
background-size: cover; } }
.blog-page .bp-block .bp-title { .blog-page .bp-block .bp-title {
display: block; display: block;
z-index: 3; z-index: 3;
font-weight: bold; font-weight: bold;
font-size: 26px; font-size: 24px;
line-height: 28px; line-height: 28px;
width: 100%;
padding: 10px 15px; padding: 10px 15px;
color: #FFFFFF; color: #FFFFFF;
position: relative; }
@media (min-width: 540px) {
.blog-page .bp-block .bp-title {
font-size: 32px;
line-height: 32px;
position: absolute; position: absolute;
left: 10px; left: 10px;
top: 10px; top: 10px;
right: 10px; right: 10px;
bottom: 80px; bottom: 80px;
text-align: center; text-align: center; }
width: auto; }
.blog-page .bp-block .bp-title .cont-overflow { .blog-page .bp-block .bp-title .cont-overflow {
position: absolute; position: absolute;
left: 0; left: 0;
top: 50%; top: 50%;
-webkit-transform: translateY(-50%); -webkit-transform: translateY(-50%);
transform: translateY(-50%); transform: translateY(-50%);
max-height: 228px; max-height: 145px;
padding: 5px 0;
overflow: hidden; overflow: hidden;
width: 100%; } } width: 100%;
padding: 2px 0; }
@media (min-width: 540px) {
.blog-page .bp-block .bp-title {
font-size: 28px;
line-height: 32px; }
.blog-page .bp-block .bp-title .cont-overflow {
max-height: 262px; } }
@media (min-width: 992px) {
.blog-page .bp-block .bp-title {
font-size: 32px; } }
.blog-page .bp-block .bp-description { .blog-page .bp-block .bp-description {
display: block; display: block;
position: absolute; position: absolute;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long