diff --git a/_includes/header.html b/_includes/header.html index 25944bb..97e8aa2 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -17,8 +17,9 @@ - + + + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index cdd2fe4..c9f3314 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,8 +4,8 @@ {% include header.html %} - - {% include nav.html %} + {{ content }} diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index f164f7f..9196a68 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -83,10 +83,27 @@ h1, h2, h3, h4, h5, h6 { position: relative; } +.component-example .bar-header-secondary { + top: 0; +} + .bar-nav ~ .content { padding: 0; } +.highlight pre { + margin-top: 10px; + padding: 10px; + font-size: 13px; + overflow-x: auto; + color: #777; + background-color: #fafafa; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + white-space: pre; + word-wrap: normal; +} + .container { margin-left: auto; margin-right: auto; diff --git a/lib/sass/docs.scss b/lib/sass/docs.scss index a1f9b26..9d11c0f 100644 --- a/lib/sass/docs.scss +++ b/lib/sass/docs.scss @@ -89,10 +89,24 @@ h1, h2, h3, h4, h5, h6 { .component-example .content { position: relative; } - +.component-example .bar-header-secondary { + top: 0; +} .bar-nav ~ .content { padding: 0; } +.highlight pre { + margin-top: 10px; + padding: 10px; + font-size: 13px; + overflow-x: auto; + color: #777; + background-color: #fafafa; + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + white-space: pre; + word-wrap: normal; +} // The Chassis grid @@ -101,8 +115,6 @@ h1, h2, h3, h4, h5, h6 { .container { margin-left: auto; margin-right: auto; - // padding-left: 2%; - // padding-right: 2%; } .column-group { width: auto;