From: stephen@cubedesigners.com Date: Wed, 20 Jul 2016 09:35:35 +0000 (+0000) Subject: Done #566 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=b192550c8014f6614528b5d842bd95072c686560;p=fluidbook-v3.git Done #566 @0.5 --- diff --git a/less/240-text.less b/less/240-text.less index 8dc9ba6..a87f7c5 100644 --- a/less/240-text.less +++ b/less/240-text.less @@ -5,15 +5,25 @@ h2 { font-weight: 400; font-size: 30px; margin-bottom: .5em; - margin-top: .8em; + margin-top: 1.2em; line-height: 1.1; + &:first-of-type { + margin-top: 0; + } + @media @m900 { font-size: 20px; } } -.content-wrapper{ - max-width: 800px; - margin:0 auto; +.content-wrapper { + width: auto !important; + box-sizing: content-box; // Needed so we can control the content max-width without the % padding interfering + max-width: 670px; + margin: 0 auto; + + @media @m900 { + max-width: 560px; // To keep the line length similar when font-size is reduced + } } \ No newline at end of file