Changed the structure to html 5

This commit is contained in:
Fabiano Alencar 2018-05-21 13:42:43 -03:00
parent 92446cd277
commit 9f2739670e
3 changed files with 39 additions and 43 deletions

View File

@ -18,50 +18,48 @@
height: auto;
}
}
main{
&.tainacan-content {
.tainacan-content {
font-size: 1rem;
@media only screen and (min-width: 1200px){
padding: 0 8.5rem;
}
&h1, &h2{
font-size: 1rem;
@media only screen and (min-width: 1200px){
padding: 0 8.5rem;
}
img {
max-width: 100%;
}
.wp-block-cover-image{
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
}
.wp-block-embed{
iframe{
width: 100%;
}
&h1, &h2{
font-size: 1rem;
}
img {
max-width: 100%;
}
.wp-block-cover-image{
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
}
.wp-block-embed{
iframe{
width: 100%;
}
}
.wp-block-gallery{
.blocks-gallery-item{
figure{
figcaption{
padding: 10px 10px 5px;
background: #fff;
color: #000;
}
}
.wp-block-gallery{
.blocks-gallery-item{
figure{
figcaption{
padding: 10px 10px 5px;
background: #fff;
color: #000;
}
}
@media (max-width: 768px){
padding-left: 0;
}
}
.wp-block-pullquote{
border-top: 1px solid #cbcbcb;
border-bottom: 1px solid #cbcbcb;
@media (max-width: 768px){
padding-left: 0;
}
}
.wp-block-pullquote{
border-top: 1px solid #cbcbcb;
border-bottom: 1px solid #cbcbcb;
}
}
footer{
font-size: 14pt;

View File

@ -21,17 +21,15 @@
the_author_posts_link();
echo ' ';
_e('on', 'tainacan-theme');
echo ' ';
tainacan_post_date();
?>
</div>
<?php //the_post_thumbnail(); ?>
</header>
<main class="tainacan-content text-tundora">
<section class="tainacan-content text-tundora">
<?php
tainacan_the_document();
?>
</main>
</section>
</article>
<div class="row">
<!-- Container -->

View File

@ -13,12 +13,12 @@
</div>
<?php the_post_thumbnail(); ?>
</header>
<main class="tainacan-content text-tundora">
<section class="tainacan-content text-tundora">
<?php
the_content();
wp_link_pages();
?>
</main>
</section>
<footer class="mt-5 border-top pt-3">
<p>
<?php