Permalink
Browse files

Fix #58; Display author images

  • Loading branch information...
lacymorrow committed Oct 16, 2014
1 parent dabba69 commit 9f423d0981f16204c5b7b4f919104baffb7d7874
Showing with 31 additions and 5 deletions.
  1. +4 −0 changelog.txt
  2. +1 −0 content-page.php
  3. +3 −0 content-single.php
  4. +12 −2 css/style.css
  5. +10 −2 src/less/style.less
  6. +1 −1 style.css
View
@@ -14,6 +14,8 @@
* Clear DOM after posts - https://github.com/lacymorrow/casper/issues/52
* Make tags, categories, dates optional - https://github.com/lacymorrow/casper-wp/issues/55
* Fix captioned images extra padding - https://github.com/lacymorrow/casper-wp/issues/57
* Create child theme - copy casper-child to themes directory and activate - https://github.com/lacymorrow/casper-wp/issues/59
@@ -22,6 +24,8 @@
* Rename casper-wp to casper
* Add `grunt i18n` for theme internationalization
= 1.1.0 =
View
@@ -62,6 +62,7 @@
</header><!-- .entry-header -->
<div class="post-content">
<?php the_content(); ?>
<div class="clear">&nbsp;</div>
</div><!-- .entry-content -->
<?php edit_post_link( __( 'Edit', 'casper' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer>' ); ?>
</article><!-- #post-## -->
View
@@ -72,14 +72,17 @@
'after' => '</div>',
) );
?>
<div class="clear">&nbsp;</div>
</section>
<?php endif; ?>
<footer class="post-footer">
<section class="author">
<?php echo get_avatar( get_the_author_meta( 'ID' ) , 100 ); ?>
<h4><?php the_author_link(); ?></h4>
<p><?php the_author_meta('description'); ?></p>
<div class="clear">&nbsp;</div>
</section>
</footer>
</article><!-- #post-## -->
View
@@ -4533,8 +4533,7 @@ body.home .site-head:after
/* Create some space to the right for the share links */
.post-footer .author
{
margin-right: 180px;
margin-bottom: 3rem;
margin: 0 1rem 3rem 1rem;
}
.post-footer .author a
{
@@ -4568,6 +4567,17 @@ body.home .site-head:after
{
color: #50585d;
}
.avatar
{
display: block;
float: left;
margin-right: 1em;
padding: 5px;
border-radius: 50%;
box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
/* ==========================================================================
6. Third Party Elements - Embeds from other services
========================================================================== */
View
@@ -1119,8 +1119,7 @@ body.home .site-head:after {
/* Create some space to the right for the share links */
.post-footer .author {
margin-right: 180px;
margin-bottom: 3rem;
margin: 0 1rem 3rem 1rem;
}
.post-footer .author a{
@@ -1151,6 +1150,15 @@ body.home .site-head:after {
color: #50585D;
}
.avatar {
float: left;
border-radius: 50%;
padding: 5px;
box-shadow: 0 1px 1px rgba(0,0,0,0.3);
margin-right: 1em;
display: block;
}
/* ==========================================================================
6. Third Party Elements - Embeds from other services
View

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 9f423d0

Please sign in to comment.