Make some elements smaller

This commit is contained in:
Alexander Agnarson 2020-08-18 13:36:56 +02:00
parent 241a7749e2
commit bcfaf250f0
3 changed files with 18 additions and 18 deletions

View file

@ -167,19 +167,19 @@
.content { padding-left: 0; padding-right: 0; }
.single .content { padding-top: 0; }
.entry .more-link { font-size: 14px; }
.entry-meta { margin-left: 90px; }
.entry-meta { margin-left: 60px; }
.entry-meta li { padding-top: 20px; padding-bottom: 20px; }
.entry-meta li.entry-comments { display: none; background: #fff; color: rgba(0,0,0,0.5); width: 140%; box-sizing: border-box; margin-left: -90px; }
.entry-meta li.entry-comments { display: none; background: #fff; color: rgba(0,0,0,0.5); width: 140%; box-sizing: border-box; margin-left: -60px; }
.entry-meta li.entry-comments a { color: rgba(0,0,0,0.5); }
.entry-meta li.entry-author { padding-top: 6px; padding-bottom: 6px; margin-left: -90px; float: left; }
.entry-meta li.entry-author { margin-left: -60px; float: left; }
.entry-meta li.entry-date { width: 100%; box-sizing: border-box; }
.entry-meta li.entry-category { background: #fff; padding: 15px; border-top: 1px solid #eee; width: 140%; box-sizing: border-box; margin-left: -90px; }
.entry-meta li.entry-category { background: #fff; padding: 15px; border-top: 1px solid #eee; width: 140%; box-sizing: border-box; margin-left: -60px; }
.entry-meta li.entry-category a { background: #eee; color: rgba(0,0,0,0.5); }
.entry-meta li.entry-category a:hover { background: #e5e5e5; color: rgba(0,0,0,0.75); }
.blog-card-bottom { border-bottom: 1px solid #eee; }
.single .entry-header { margin-top: 30px; }
.single .entry-meta li.entry-category { padding-left: 20px; padding-right: 20px; }
.single .entry-meta li.entry-category { padding-left: 20px; padding-right: 20px; border-bottom: 1px solid #eee; }
.single .blog-card-bottom { border-bottom: none }
.entry > .alignfull { margin-left: -20px; margin-right: -20px; }

View file

@ -6,6 +6,14 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="blog-card group">
<div class="blog-card-inner">
<div class="entry-media">
<?php if( get_post_format() ) { get_template_part('inc/post-formats'); } ?>
</div>
</div>
<div class="blog-card-bottom">
<ul class="entry-meta group">
@ -19,14 +27,6 @@
<li class="entry-category"><?php the_category(' '); ?></li>
</ul>
</div>
<div class="blog-card-inner">
<div class="entry-media">
<?php if( get_post_format() ) { get_template_part('inc/post-formats'); } ?>
</div>
</div>
<header class="entry-header group">
<h1 class="entry-title"><?php the_title(); ?></h1>

View file

@ -409,7 +409,7 @@ h1, h2, h3, h4, h5, h6 { color: #333; font-weight: 300; -ms-word-wrap: break-wor
.entry .wp-block-separator { }
/* block : more */
.entry .more-link { background: #b19c5e; box-shadow: none; font-size: 18px; color: #fff; position: absolute; bottom: 0; right: 0; padding: 10px 20px; }
.entry .more-link { background: #b19c5e; box-shadow: none; font-size: 16px; color: #fff; position: absolute; bottom: 0; right: 0; padding: 6px 16px; }
.entry .more-link:hover { color: #fff; padding-right: 30px; }
/* block : button */
@ -981,15 +981,15 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
.blog-card-inner .entry-content { color: rgba(255,255,255,0.7); }
.entry-meta { }
.entry-meta li { float: left; padding: 30px; font-size: 18px; line-height: 22px; }
.entry-meta li { float: left; padding: 20px; font-size: 16px; line-height: 22px; }
.entry-meta li i { margin-right: 6px; }
.entry-meta li.entry-author { background: #fff; padding: 16px 20px; }
.entry-meta li.entry-author img { display: block; border-radius: 100%; height: 50px; width: 50px; }
.entry-meta li.entry-author { background: #fff; padding: 11px 10px; }
.entry-meta li.entry-author img { display: block; border-radius: 100%; height: 40px; width: 40px; }
.entry-meta li.entry-author a:hover img { opacity: 0.8; }
.entry-meta li.entry-date { background: #f5f5f5; border-left: 1px solid #eee; }
.entry-meta li.entry-comments { background: #222; color: rgba(255,255,255,0.7); }
.entry-meta li.entry-comments a { color: rgba(255,255,255,0.7); }
.entry-meta li.entry-category { background: #111; padding-top: 22px; padding-bottom: 22px; }
.entry-meta li.entry-category { background: #111; padding-top: 12px; padding-bottom: 12px; }
.entry-meta li.entry-category a { background: #222; color: rgba(255,255,255,0.7); padding: 8px 12px; display: inline-block; }
.entry-meta li.entry-category a:hover { background: #333; }