Fix styling bugs

This commit is contained in:
Magnus Hoff 2017-09-26 09:50:59 +02:00
parent 069ea6daa7
commit 3c0186ea1a

View file

@ -32,15 +32,21 @@ h2 {
margin-bottom: 0; margin-bottom: 0;
} }
header, article, footer { header, article {
box-sizing: border-box; box-sizing: border-box;
max-width: 612px; max-width: 612px;
width: 100%; width: 100%;
padding-left: 6px;
padding-right: 6px;
}
header {
margin: 60px auto 0 auto; margin: 60px auto 0 auto;
padding: 0 6px;
} }
article { article {
margin: 0 auto 120px auto;
font-size: 18px; font-size: 18px;
line-height: 32px; line-height: 32px;
} }
@ -101,8 +107,7 @@ body {
footer { footer {
padding-top: 16px; padding: 16px 6px;
padding-bottom: 16px;
background: #f8f8f8; background: #f8f8f8;
color: #444; color: #444;