]> _ Git - fluidbook-v3.git/commitdiff
Done #566 @0.5
authorstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 20 Jul 2016 09:35:35 +0000 (09:35 +0000)
committerstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 20 Jul 2016 09:35:35 +0000 (09:35 +0000)
less/240-text.less

index 8dc9ba6f4613a508f24a7606cfb0d55ecdd9cdb5..a87f7c548070d338a7a4364b69f859620b4c0682 100644 (file)
@@ -5,15 +5,25 @@ h2 {
        font-weight: 400;\r
        font-size: 30px;\r
        margin-bottom: .5em;\r
-       margin-top: .8em;\r
+       margin-top: 1.2em;\r
        line-height: 1.1;\r
 \r
+       &:first-of-type {\r
+               margin-top: 0;\r
+       }\r
+\r
        @media @m900 {\r
                font-size: 20px;\r
        }\r
 }\r
 \r
-.content-wrapper{\r
-       max-width: 800px;\r
-       margin:0 auto;\r
+.content-wrapper {\r
+       width: auto !important;\r
+       box-sizing: content-box; // Needed so we can control the content max-width without the % padding interfering\r
+       max-width: 670px;\r
+       margin: 0 auto;\r
+\r
+       @media @m900 {\r
+               max-width: 560px; // To keep the line length similar when font-size is reduced\r
+       }\r
 }
\ No newline at end of file