diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2e0226863f..cfe01c1ab7 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,11 +1,10 @@ - - + + {{- partial "custom-comments.html" . }} -
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d2972e00ce..212fd7d7b1 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -28,8 +28,8 @@ {{- partial "menu.html" . }}
-
-
+
+
{{- $showPrevNext := (and (not .Params.disableNextPrev) (not .Site.Params.disableNextPrev)) }} {{- if $showPrevNext }} {{- $parent := .Parent }} @@ -97,13 +97,14 @@ {{- if $toc }} {{- partial "toc.html" . }} {{- end }} -
-
-
+
+
+
+
{{- partial "tags.html" . }} -
+
{{- if and (not .IsHome) (not .Params.chapter) }} -

{{ if eq .Kind "term" }}{{ .Data.Singular | humanize }} {{ default "::" .Site.Params.titleSeparator }} {{ end }}{{ .Title }}

+

{{ if eq .Kind "term" }}{{ .Data.Singular | humanize }} {{ default "::" .Site.Params.titleSeparator }} {{ end }}{{ .Title }}

{{- end }} {{- define "breadcrumb" }} diff --git a/static/css/print.css b/static/css/print.css index 811457734d..b325e6664e 100644 --- a/static/css/print.css +++ b/static/css/print.css @@ -17,10 +17,6 @@ body { pre code { font-size: 8.3pt; } -#body .padding { - /* remove page padding - this can be set exactly in the print setup */ - padding: 0; -} code.copy-to-clipboard-code { border-bottom-right-radius: 2px; border-top-right-radius: 2px; diff --git a/static/css/theme.css b/static/css/theme.css index ccc9fb10bc..b68e4838fe 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -359,16 +359,10 @@ th { vertical-align: bottom; } -#body .padding { - padding: 0; -} #body-inner { padding: 0 3rem 4rem 3rem; } @media only all and (max-width: 59.938em) { - #body .padding { - position: static; - } #body-inner { padding: 0 2rem 15px 2rem; } @@ -908,7 +902,7 @@ td { top: 50%; } -.highlightable { +#sidebar .highlightable { padding: 1rem 0 1rem; position: relative; } diff --git a/static/js/theme.js b/static/js/theme.js index 769eddc424..20689370a0 100644 --- a/static/js/theme.js +++ b/static/js/theme.js @@ -281,7 +281,7 @@ function initMenuScrollbar(){ ps && ps.update(); }; - var ps = new PerfectScrollbar('#sidebar .highlightable'); + var ps = new PerfectScrollbar('#content-wrapper'); // to inform scrollbar of resizing $(window).resize(function() {