initialize the style of single items

This commit is contained in:
Fabiano Alencar 2018-05-22 17:08:04 -03:00
parent 0d4751e82b
commit d7333cca7a
3 changed files with 14 additions and 35 deletions

View File

@ -84,4 +84,13 @@
} }
} }
} }
&.collection-single-item{
article{
header{
.time{
float: right;
}
}
}
}
} }

View File

@ -174,7 +174,7 @@ form{
} }
@media screen { @media screen {
@media (min-width: 768px) { @media (min-width: 768px) {
padding: 0 1rem 0 2rem; padding: 0 2rem;
} }
} }
} }

View File

@ -16,19 +16,12 @@
</ul> </ul>
</div> </div>
</div> </div>
<div class="mt-3 tainacan-single-post"> <div class="mt-3 tainacan-single-post collection-single-item">
<article role="article" id="post_<?php the_ID()?>" <?php post_class()?>> <article role="article" id="post_<?php the_ID()?>" <?php post_class()?>>
<header class="mb-4"> <header class="mb-4">
<div class="header-meta text-muted mb-5"> <div class="header-meta text-muted mb-5">
<?php <?php _e('By ', 'tainacan-theme'); the_author_posts_link(); ?>
_e('By', 'tainacan-theme'); <span class="time"><strong><?php _e('Send date', 'tainacan-theme'); ?>:</strong> <time>22/05/2018</time></span>
echo ' ';
the_author_posts_link();
echo ' ';
_e('on', 'tainacan-theme');
echo ' ';
tainacan_post_date();
?>
</div> </div>
<?php //the_post_thumbnail(); ?> <?php //the_post_thumbnail(); ?>
</header> </header>
@ -70,30 +63,7 @@
<article role="article"> <article role="article">
<section class="tainacan-content single-item-collection text-tundora"> <section class="tainacan-content single-item-collection text-tundora">
<div class="single-item-collection--information"> <div class="single-item-collection--information">
<div class="row"> <?php tainacan_the_metadata(); ?>
<div class="col">
<h5>Description</h5>
<span><?php //tainacan_the_description(); ?></span>
<div class="row">
<div class="col">
<h5>Miniature</h5>
</div>
<div class="col">
<h5>Voting</h5>
<div class="col pl-0">
<h5>Sharing</h5>
</div>
</div>
</div>
</div>
<div class="col">
<p><strong><?php _e('Type'); ?>:</strong></p>
<p><strong><?php _e('Year'); ?>:</strong></p>
<p><strong><?php _e('Pickers'); ?>:</strong></p>
<p><strong><?php _e('Model'); ?>:</strong></p>
<p><strong><?php _e('Brand'); ?>:</strong></p>
</div>
</div>
</div> </div>
</section> </section>
</article> </article>