Commit eb20097c authored by Constantin Berhard's avatar Constantin Berhard
Browse files

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

parent 5af5de8d
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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; ?>
+10 −1
Original line number Diff line number Diff line
@@ -2508,3 +2508,12 @@ textarea {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAA2ElEQVRIie2VsQ3CMBBFHzEFQzABE1BBFqCmQ6KmyAaWwhYZgxmyCAWhYYDQJFDEhbHOTjCky5esXP6d71ly7MDImg2s0x7//C/AK3Z+MhAQrQkwASZAGFDQnWDfKcbKFzHwBVBaTXyjNLVRWgJVoHllan7SGqiF5rXJBaXMMwUOwJbuhrxaNTfgAeycuSfg4ngpcAQ2bh9trSwXFpLwuekF8geSu33mQlEjeC2QASvznhmvVxJACR7AE9hbsaTGjSVASPeevHJjCaDx/4O/1phXRTM2QAG8Ab21OlQJC+ozAAAAAElFTkSuQmCC") no-repeat left center transparent;
    background-size: 100% 100%;
}
.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;
}