[Docs] Add some side margins to the page and some margins to the headings.
This commit is contained in:
parent
c361229ef0
commit
375937736a
@ -62,6 +62,7 @@ img
|
|||||||
|
|
||||||
h1, h2, h3, h4, h5, h6
|
h1, h2, h3, h4, h5, h6
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
|
margin: 1em 0
|
||||||
|
|
||||||
/* @end
|
/* @end
|
||||||
|
|
||||||
|
@ -28,6 +28,14 @@ header[role="banner"]
|
|||||||
+padding-leader(2, 18px)
|
+padding-leader(2, 18px)
|
||||||
+padding-trailer(1.5, 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
|
#compass-nav
|
||||||
+omega
|
+omega
|
||||||
text-align: right
|
text-align: right
|
||||||
@ -56,7 +64,9 @@ header[role="banner"]
|
|||||||
+leading-border(1px, 0.25)
|
+leading-border(1px, 0.25)
|
||||||
+trailing-border(1px, 0.25)
|
+trailing-border(1px, 0.25)
|
||||||
position: relative
|
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
|
border-color: #cccccc
|
||||||
background-color: #eeeeee
|
background-color: #eeeeee
|
||||||
.container
|
.container
|
||||||
@ -126,7 +136,7 @@ header[role="banner"]
|
|||||||
+leader(3)
|
+leader(3)
|
||||||
|
|
||||||
|
|
||||||
$footer-height: 4em + $base-rhythm-unit
|
$footer-height: 5em + $base-rhythm-unit
|
||||||
+sticky-footer($footer-height, "#wrap", "#wrap-footer", "footer")
|
+sticky-footer($footer-height, "#wrap", "#wrap-footer", "footer")
|
||||||
|
|
||||||
footer[role="contentinfo"]
|
footer[role="contentinfo"]
|
||||||
|
Loading…
Reference in New Issue
Block a user