diff --git a/_layouts/docs.html b/_layouts/docs.html index feecf38759..2e0e1e85df 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -17,18 +17,19 @@
{% include docs-sidebar.html %}
-
-

{{ page.title }}

-

{{ page.description }}

- {% include ads.html %} - {{ content }} -
{% if page.toc %}
{{ content | toc_only }}
{% endif %} + +
+

{{ page.title }}

+

{{ page.description }}

+ {% include ads.html %} + {{ content }} +
diff --git a/assets/scss/_content.scss b/assets/scss/_content.scss index e617b8b5b2..70b4969bac 100644 --- a/assets/scss/_content.scss +++ b/assets/scss/_content.scss @@ -5,6 +5,8 @@ // .bd-content { + order: 1; + // Hack the sticky header > h2[id], > h3[id], diff --git a/assets/scss/_sidebar.scss b/assets/scss/_sidebar.scss index ea78daa8f7..b8f311f209 100644 --- a/assets/scss/_sidebar.scss +++ b/assets/scss/_sidebar.scss @@ -10,6 +10,7 @@ top: 4rem; max-height: calc(100vh - 4rem); } + order: 2; padding-top: 1.5rem; padding-bottom: 1.5rem; overflow-x: visible; @@ -49,6 +50,7 @@ // .bd-sidebar { + order: 0; background-color: #f5f2f9; border-bottom: 1px solid rgba(0,0,0,.1);