[Docs] Add some side margins to the page and some margins to the headings.

This commit is contained in:
Chris Eppstein 2010-05-09 23:18:28 -07:00
parent c361229ef0
commit 375937736a
2 changed files with 13 additions and 2 deletions

View File

@ -62,6 +62,7 @@ img
h1, h2, h3, h4, h5, h6
font-weight: bold
margin: 1em 0
/* @end

View File

@ -28,6 +28,14 @@ header[role="banner"]
+padding-leader(2, 18px)
+padding-trailer(1.5, 18px)
header[role="banner"],
#page,
#docs-nav,
footer[role="contentinfo"]
+pad(0.5,0.5)
+box-sizing(border-box)
+min-width(784px / $base-font-size * 1em)
#compass-nav
+omega
text-align: right
@ -56,7 +64,9 @@ header[role="banner"]
+leading-border(1px, 0.25)
+trailing-border(1px, 0.25)
position: relative
height: $base-rhythm-unit
// CE: the 1.5 here is because the padding is included
// in the height due to having box-sizing applied.
height: $base-rhythm-unit * 1.5
border-color: #cccccc
background-color: #eeeeee
.container
@ -126,7 +136,7 @@ header[role="banner"]
+leader(3)
$footer-height: 4em + $base-rhythm-unit
$footer-height: 5em + $base-rhythm-unit
+sticky-footer($footer-height, "#wrap", "#wrap-footer", "footer")
footer[role="contentinfo"]