Skip to content

Commit

Permalink
Merge pull request #31 from luketevl/master
Browse files Browse the repository at this point in the history
Search Result cards
  • Loading branch information
diegoeis committed Jul 8, 2016
2 parents 32db357 + 22fb6fd commit 2ad1f06
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
1 change: 1 addition & 0 deletions wp-content/themes/tableless/assets/css/_search.sass
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
margin: 0 20px 40px
padding: 20px
max-width: 440px
min-width: 300px

.tb-search-page
padding-top: 100px
13 changes: 12 additions & 1 deletion wp-content/themes/tableless/assets/css/single.sass
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,22 @@
float: left
width: 60px
height: 60px
margin-bottom: 16px

@include break(desk)
width: auto
height: auto

.tb-post-author-social
display: inline-flex
float: left
flex-direction: column

.tb-post-author-social
display: inline-flex
align-self: center


.tb-related-posts
padding: 70px 0
text-align: center
Expand All @@ -312,7 +323,7 @@
flex-wrap: wrap
padding: 0

.tb-box
.tb-box
flex: 1 0 30.2%
max-width: 30.2%

Expand Down
17 changes: 12 additions & 5 deletions wp-content/themes/tableless/single.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,18 @@
</div>

<div class="tb-post-author">
<?php echo get_avatar( get_the_author_meta('ID') , 120 ); ?>
<h3><?php the_author(); ?></h3>
<p><?php the_author_meta('description'); ?></p>
<p><a href="<?php bloginfo('url'); ?>/?author=<?php the_author_meta('ID'); ?>">Veja mais artigos deste autor</a></p>
</div>
<div class="tb-post-author-media">
<?php echo get_avatar( get_the_author_meta('ID') , 120 ); ?>
<div class="tb-post-author-social">

</div>
</div>
<div class="tb-post-author-details">
<h3><?php the_author(); ?></h3>
<p><?php the_author_meta('description'); ?></p>
<p><a href="<?php bloginfo('url'); ?>/?author=<?php the_author_meta('ID'); ?>">Veja mais artigos deste autor</a></p>
</div>
</div>

<section class="tb-related-posts">
<h2 class="tb-title-section">Leia também</h2>
Expand Down

0 comments on commit 2ad1f06

Please sign in to comment.