Add content styling

This commit is contained in:
Oliver Davies 2019-03-18 00:08:10 +00:00
parent 960015e26b
commit f014c06343
2 changed files with 24 additions and 2 deletions

View file

@ -13,8 +13,10 @@ if ( have_posts() ) : ?>
</a>
</h2>
<div class="max-w-xl font-serif text-xl leading-loose">
<?php the_content(); ?>
<div class="max-w-xl">
<div class="content">
<?php the_content(); ?>
</div>
</div>
<footer class="text-grey-darker my-10">

View file

@ -11,4 +11,24 @@ a:focus {
@tailwind components;
.content {
@apply font-serif text-xl leading-loose;
h2 {
@apply text-2xl font-bold mt-8 -mb-5
}
a {
@apply text-black font-bold
}
* + * {
@apply mt-6
}
li + li {
@apply mt-0
}
}
@tailwind utilities;