Commit eb20097c authored by Constantin Berhard's avatar Constantin Berhard

kleinere Post-Bilder auf der Hauptseite; rechts-links alternierend

parent 5af5de8d
Pipeline #199 skipped
......@@ -50,7 +50,7 @@
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'thebox' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark">
<?php the_post_thumbnail('large'); ?>
<?php the_post_thumbnail('thumbnail'); ?>
</a>
</div>
<?php endif; ?>
......
......@@ -2507,4 +2507,13 @@ textarea {
left: 0px;
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAA2ElEQVRIie2VsQ3CMBBFHzEFQzABE1BBFqCmQ6KmyAaWwhYZgxmyCAWhYYDQJFDEhbHOTjCky5esXP6d71ly7MDImg2s0x7//C/AK3Z+MhAQrQkwASZAGFDQnWDfKcbKFzHwBVBaTXyjNLVRWgJVoHllan7SGqiF5rXJBaXMMwUOwJbuhrxaNTfgAeycuSfg4ngpcAQ2bh9trSwXFpLwuekF8geSu33mQlEjeC2QASvznhmvVxJACR7AE9hbsaTGjSVASPeevHJjCaDx/4O/1phXRTM2QAG8Ab21OlQJC+ozAAAAAElFTkSuQmCC") no-repeat left center transparent;
background-size: 100% 100%;
}
\ No newline at end of file
}
.post-thumbnail img {
margin-right: 0.5em;
}
article:nth-child(even) .post-thumbnail img {
float: left;
}
article:nth-child(odd) .post-thumbnail img {
float: right;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment