width of blogposts

This commit is contained in:
Eloïse Piret 2016-10-06 14:21:01 +02:00
parent e9f7b36963
commit a0bfcf3ed6
2 changed files with 6 additions and 1 deletions

View file

@ -24,3 +24,8 @@
border-left: none;
}
}
.blogwidth{
width: 75%;
margin:auto;
word-wrap: normal;
}

View file

@ -2,7 +2,7 @@
<h1 class="has-text-centered blogtitle">
<%= item[:title] %>
</h1>
<main>
<main class="blogwidth">
<%= yield %>
</main>
</div>