This commit is contained in:
Jerry
2020-09-22 13:01:37 +03:00
parent 8fe26de692
commit c875fe7dcb
4 changed files with 43 additions and 11 deletions

View File

@@ -3032,6 +3032,22 @@ footer {
@media (min-width: 992px) {
.blog-page-single .blog-body .cont {
padding-left: 85px; } }
.blog-page-single .blog-body img {
max-width: 100%;
height: auto; }
.blog-page-single .blog-body ol {
counter-reset: item;
margin: 0 0 15px;
padding: 0; }
.blog-page-single .blog-body ol > li {
list-style-type: none;
counter-increment: item; }
.blog-page-single .blog-body ol > li:before {
display: inline-block;
padding-right: 0.5em;
font-weight: bold;
text-align: right;
content: counter(item) "."; }
.blog-page-single .blog-page-social {
display: -webkit-box;
display: -ms-flexbox;
@@ -3135,16 +3151,32 @@ footer {
font-size: 15.62px;
line-height: 20.7px;
margin: 10px 7px; }
.read-next .rn-block .head {
font-size: 17.5777px;
line-height: 23px;
margin-bottom: 20px;
display: block; }
.read-next .rn-block .text {
overflow: hidden;
max-height: 184px; }
overflow: hidden; }
.read-next .rn-block:hover {
text-decoration: none;
background: #efefef;
color: #666;
cursor: pointer; }
.read-next .rn-block .text-overflow {
font-size: 16px;
line-height: 1.2em;
max-height: 8.4em;
padding-bottom: 2px;
overflow: hidden;
display: block;
display: -webkit-box;
-webkit-line-clamp: 7;
-webkit-box-orient: vertical; }
.read-next .rn-block .text-overflow p {
margin: 0;
padding: 0; }
.read-next .rn-block .head {
font-size: 17.5777px;
line-height: 23px;
margin-bottom: 20px;
display: block; }
.read-next .rn-block .head .text-overflow {
font-size: 18px;
max-height: 3.6em;
-webkit-line-clamp: 3; }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -50,8 +50,8 @@
setup_postdata( $post ); ?>
<a class="rn-block" href="<?php the_permalink(); ?>">
<div class="text">
<span class="head"><?php the_title(); ?></span>
<?php the_excerpt(); ?>
<span class="head"><span class="text-overflow"><?php the_title(); ?></span></span>
<span class="text-overflow"><?php the_excerpt(); ?></span>
</div>
</a>
<?php