added content type image

master
Pavel Kuleshov 4 years ago
parent d990c388b8
commit 82546a5e15

@ -26,6 +26,22 @@ a:hover {
text-decoration: underline;
}
.image {
background-color: white;
border-radius: 2px;
box-shadow: 0 4px 6px 1px rgba(50, 50, 50, 0.14);
box-sizing: border-box;
color: black;
line-height: 0;
margin: 5.5em auto 0;
max-width: 640px;
width: 100%;
font-size: 75%;
}
.image img{
width: 100%;
}
.content {
background-color: white;
border-radius: 2px;

@ -0,0 +1,8 @@
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
echo '<div class="image">';
the_content();
echo '</div>';
?>
</article>
Loading…
Cancel
Save