add column to single post
This commit is contained in:
parent
eec4aed15d
commit
a7e1b7db66
|
@ -1,8 +1,25 @@
|
|||
article{
|
||||
main{
|
||||
header{
|
||||
img{
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
main{
|
||||
&.tainacan-content {
|
||||
font-size: 1.1666666666666667rem;
|
||||
-moz-column-count: 2;
|
||||
-moz-column-gap: 50px;
|
||||
-moz-column-rule: none;
|
||||
-webkit-column-count: 2;
|
||||
-webkit-column-gap: 50px;
|
||||
-webkit-column-rule: none;
|
||||
column-count: 2;
|
||||
column-gap: 50px;
|
||||
column-rule: none;
|
||||
&h1, &h2{
|
||||
font-size: 1.6666666666666667rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -14,10 +14,10 @@
|
|||
tainacan_post_date();
|
||||
?>
|
||||
</div>
|
||||
<?php the_post_thumbnail(); ?>
|
||||
</header>
|
||||
<main>
|
||||
<main class="tainacan-content">
|
||||
<?php
|
||||
the_post_thumbnail();
|
||||
the_content();
|
||||
wp_link_pages();
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue