forked from LiveCarta/LiveCartaWP
LAW-3617
This commit is contained in:
@@ -3032,6 +3032,22 @@ footer {
|
|||||||
@media (min-width: 992px) {
|
@media (min-width: 992px) {
|
||||||
.blog-page-single .blog-body .cont {
|
.blog-page-single .blog-body .cont {
|
||||||
padding-left: 85px; } }
|
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 {
|
.blog-page-single .blog-page-social {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -3135,16 +3151,32 @@ footer {
|
|||||||
font-size: 15.62px;
|
font-size: 15.62px;
|
||||||
line-height: 20.7px;
|
line-height: 20.7px;
|
||||||
margin: 10px 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 {
|
.read-next .rn-block .text {
|
||||||
overflow: hidden;
|
overflow: hidden; }
|
||||||
max-height: 184px; }
|
|
||||||
.read-next .rn-block:hover {
|
.read-next .rn-block:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background: #efefef;
|
background: #efefef;
|
||||||
color: #666;
|
color: #666;
|
||||||
cursor: pointer; }
|
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
@@ -50,8 +50,8 @@
|
|||||||
setup_postdata( $post ); ?>
|
setup_postdata( $post ); ?>
|
||||||
<a class="rn-block" href="<?php the_permalink(); ?>">
|
<a class="rn-block" href="<?php the_permalink(); ?>">
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<span class="head"><?php the_title(); ?></span>
|
<span class="head"><span class="text-overflow"><?php the_title(); ?></span></span>
|
||||||
<?php the_excerpt(); ?>
|
<span class="text-overflow"><?php the_excerpt(); ?></span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user