revised list posts.

This commit is contained in:
Fabiano 2018-06-18 13:54:51 -03:00
parent 10f4f9dbd0
commit f0e108011f
2 changed files with 15 additions and 7 deletions

View File

@ -23,12 +23,20 @@
h3{
font-size: 18px;
}
.text-black{
font-weight: 400;
}
time{
font: {
size: 12px;
weight: 400;
}
color: #898d8f;
}
a[rel="author"]{
//color: #4f4f4f;
font-weight: 700;
&:hover{
color: inherit;
}
font-size: 12px;
font-weight: 400;
}
.readmore{
font-size: 14px;

View File

@ -8,10 +8,10 @@
<h3 class="mb-3">
<a href="<?php the_permalink(); ?>" class="font-weight-bold"><?php the_title(); ?></a>
</h3>
<?php echo '<p class="text-tundora">'.wp_trim_words( get_the_content(), 63, '...' ).'</p>'; ?>
<p><?php the_time('j M Y \\a\\t g:i'); echo ', '; _e('for'); echo ' '; the_author_posts_link(); ?></p>
<?php echo '<p class="text-black">'.wp_trim_words( get_the_content(), 63, '...' ).'</p>'; ?>
<time><?php the_time('j M Y \\a\\t g:i'); echo ', '; _e('for');?></time> <?php echo ' '; the_author_posts_link(); ?>
<a href="<?php the_permalink(); ?>" class="readmore float-right"><?php _e('Read more'); ?></a>
</div>
</div>
<hr class="mb-5">
<hr class="border-mercury">