From 3c58d08ceaf6ae2699456591053f9254c4272978 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Wed, 3 Feb 2010 13:42:15 +1100 Subject: [PATCH] Fix layout of content pages --- layouts/home.html | 2 +- output/css/style.css | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/layouts/home.html b/layouts/home.html index f199615..27f37af 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -12,7 +12,7 @@ - + <%= render 'header' %>
diff --git a/output/css/style.css b/output/css/style.css index b1bef49..80ab0d1 100644 --- a/output/css/style.css +++ b/output/css/style.css @@ -35,6 +35,12 @@ h1,h2,h3,h4,h5,h6 { /* 6,7,8,9,10,11,12,14,16,18,21,24,36,48,60,72 */ h1 { font-size: 36px; + padding-left: 20px; + padding-right: 20px; +} +body.home h1 { + padding-left: 0; + padding-right: 0; } h2 { font-size: 24px; @@ -113,19 +119,21 @@ ul#menu li { font-size: inherit; } -body.article h1 { +/*body.article h1 { padding-left: 20px; padding-right: 20px; -} +}*/ #content { padding: 0 20px; clear: both; -} -body.article #content { min-width: 600px; margin-right: 40%; } +body.articles #content { + min-width: auto; + margin-right: 0; +} #footer { color: gray;