diff --git a/exampleSite/content/basics/customization/_index.en.md b/exampleSite/content/basics/customization/_index.en.md index ce28dba358..d6316cbbf8 100644 --- a/exampleSite/content/basics/customization/_index.en.md +++ b/exampleSite/content/basics/customization/_index.en.md @@ -90,7 +90,6 @@ If you need to change this default behavior, create a new file in `layouts/parti First, create a new CSS file in your local `static/css` folder prefixed by `theme` (e.g. with _mine_ theme `static/css/theme-mine.css`). Copy the following content and modify colors in CSS variables. ```css - :root{ --MAIN-TEXT-color:#323232; /* Color of text by default */ --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */ @@ -105,7 +104,7 @@ First, create a new CSS file in your local `static/css` folder prefixed by `them --MENU-SEARCH-BOX-color: #33a1ff; /* Override search field border color */ --MENU-SEARCH-BOX-ICONS-color: #a1d2fd; /* Override search field icons color */ - --MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its childs */ + --MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its children */ --MENU-SECTIONS-BG-color:#252c31; /* Background color of other sections */ --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */ --MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */ @@ -142,7 +141,7 @@ a:hover { } #sidebar ul li.visited > a .read-icon { - color: var(--MENU-VISITED-color); + color: var(--MENU-VISITED-color); } #body a.highlight:after { @@ -157,7 +156,7 @@ a:hover { background-color: var(--MAIN-LINK-HOVER-color); } #sidebar { - background-color: var(--MENU-SECTIONS-BG-color); + background-color: var(--MENU-SECTIONS-BG-color); } #sidebar #header-wrapper { background: var(--MENU-HEADER-BG-color); @@ -165,7 +164,7 @@ a:hover { border-color: var(--MENU-HEADER-BORDER-color); } #sidebar .searchbox { - border-color: var(--MENU-SEARCH-BOX-color); + border-color: var(--MENU-SEARCH-BOX-color); background: var(--MENU-SEARCH-BG-color); } #sidebar ul.topics > li.parent, #sidebar ul.topics > li.active { diff --git a/exampleSite/content/cont/tags.en.md b/exampleSite/content/cont/tags.en.md index 39b6e5d233..2b75fce175 100644 --- a/exampleSite/content/cont/tags.en.md +++ b/exampleSite/content/cont/tags.en.md @@ -22,7 +22,6 @@ tags: ["tutorial", "theme"] ## Behavior - The tags are displayed at the top of the page, in their insertion order. Each tag is a link to a *Taxonomy* page displaying all the articles with the given tag. diff --git a/exampleSite/content/shortcodes/children/children-2/_index.en.md b/exampleSite/content/shortcodes/children/children-2/_index.en.md index f777d4747e..01e1758e56 100644 --- a/exampleSite/content/shortcodes/children/children-2/_index.en.md +++ b/exampleSite/content/shortcodes/children/children-2/_index.en.md @@ -4,8 +4,8 @@ description = "" +++ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod - tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, - quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo - consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse - cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non - proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \ No newline at end of file +tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, +quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo +consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse +cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non +proident, sunt in culpa qui officia deserunt mollit anim id est laborum. \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 204123422d..4f4cbabd7c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -39,7 +39,6 @@ {{ end }} {{ end }} - {{$showPrevNext := (and (not .Params.disableNextPrev) (not .Site.Params.disableNextPrev))}} {{if $showPrevNext}} {{with ($.Scratch.Get "prevPage")}} diff --git a/static/css/hugo-theme.css b/static/css/hugo-theme.css index 65e9838d4e..edbdc11d9f 100644 --- a/static/css/hugo-theme.css +++ b/static/css/hugo-theme.css @@ -1,6 +1,5 @@ /* Insert here special css for hugo theme, on top of any other imported css */ - /* Table of contents */ @media print { diff --git a/static/css/theme-blue.css b/static/css/theme-blue.css index 1ee1423d0d..921396287e 100644 --- a/static/css/theme-blue.css +++ b/static/css/theme-blue.css @@ -1,6 +1,4 @@ - :root{ - --MAIN-TEXT-color:#323232; /* Color of text by default */ --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */ --MAIN-LINK-color:#1C90F3; /* Color of links */ @@ -17,7 +15,7 @@ --MENU-SEARCH-BOX-color: #33a1ff; /* Override search field border color */ --MENU-SEARCH-BOX-ICONS-color: #a1d2fd; /* Override search field icons color */ - --MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its childs */ + --MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its children */ --MENU-SECTIONS-BG-color:#252c31; /* Background color of other sections */ --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */ --MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */ @@ -55,7 +53,7 @@ a:hover { } #sidebar ul li.visited > a .read-icon { - color: var(--MENU-VISITED-color); + color: var(--MENU-VISITED-color); } #body a.highlight:after { @@ -70,7 +68,7 @@ a:hover { background-color: var(--MAIN-LINK-HOVER-color); } #sidebar { - background-color: var(--MENU-SECTIONS-BG-color); + background-color: var(--MENU-SECTIONS-BG-color); } #sidebar #header-wrapper { background: var(--MENU-HEADER-BG-color); @@ -78,7 +76,7 @@ a:hover { border-color: var(--MENU-HEADER-BORDER-color); } #sidebar .searchbox { - border-color: var(--MENU-SEARCH-BOX-color); + border-color: var(--MENU-SEARCH-BOX-color); background: var(--MENU-SEARCH-BG-color); } #sidebar ul.topics > li.parent, #sidebar ul.topics > li.active { @@ -125,4 +123,4 @@ a:hover { #homelinks a:hover { color: var(--MENU-HOME-LINK-HOVERED-color); -} \ No newline at end of file +} diff --git a/static/css/theme-green.css b/static/css/theme-green.css index c074679aaf..a06c81fcf2 100644 --- a/static/css/theme-green.css +++ b/static/css/theme-green.css @@ -1,6 +1,4 @@ - :root{ - --MAIN-TEXT-color:#323232; /* Color of text by default */ --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */ --MAIN-LINK-color:#599a3e; /* Color of links */ @@ -17,7 +15,7 @@ --MENU-SEARCH-BOX-color: #84c767; /* Override search field border color */ --MENU-SEARCH-BOX-ICONS-color: #c7f7c4; /* Override search field icons color */ - --MENU-SECTIONS-ACTIVE-BG-color:#1b211c; /* Background color of the active section and its childs */ + --MENU-SECTIONS-ACTIVE-BG-color:#1b211c; /* Background color of the active section and its children */ --MENU-SECTIONS-BG-color:#222723; /* Background color of other sections */ --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */ --MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */ @@ -55,7 +53,7 @@ a:hover { } #sidebar ul li.visited > a .read-icon { - color: var(--MENU-VISITED-color); + color: var(--MENU-VISITED-color); } #body a.highlight:after { @@ -70,7 +68,7 @@ a:hover { background-color: var(--MAIN-LINK-HOVER-color); } #sidebar { - background-color: var(--MENU-SECTIONS-BG-color); + background-color: var(--MENU-SECTIONS-BG-color); } #sidebar #header-wrapper { background: var(--MENU-HEADER-BG-color); @@ -78,7 +76,7 @@ a:hover { border-color: var(--MENU-HEADER-BORDER-color); } #sidebar .searchbox { - border-color: var(--MENU-SEARCH-BOX-color); + border-color: var(--MENU-SEARCH-BOX-color); background: var(--MENU-SEARCH-BG-color); } #sidebar ul.topics > li.parent, #sidebar ul.topics > li.active { @@ -125,4 +123,4 @@ a:hover { #homelinks a:hover { color: var(--MENU-HOME-LINK-HOVERED-color); -} \ No newline at end of file +} diff --git a/static/css/theme-red.css b/static/css/theme-red.css index c5f2674243..2bfd6b612c 100644 --- a/static/css/theme-red.css +++ b/static/css/theme-red.css @@ -1,6 +1,4 @@ - :root{ - --MAIN-TEXT-color:#323232; /* Color of text by default */ --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */ --MAIN-LINK-color:#f31c1c; /* Color of links */ @@ -17,7 +15,7 @@ --MENU-SEARCH-BOX-color: #ef2020; /* Override search field border color */ --MENU-SEARCH-BOX-ICONS-color: #fda1a1; /* Override search field icons color */ - --MENU-SECTIONS-ACTIVE-BG-color:#2b2020; /* Background color of the active section and its childs */ + --MENU-SECTIONS-ACTIVE-BG-color:#2b2020; /* Background color of the active section and its children */ --MENU-SECTIONS-BG-color:#312525; /* Background color of other sections */ --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */ --MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */ @@ -55,7 +53,7 @@ a:hover { } #sidebar ul li.visited > a .read-icon { - color: var(--MENU-VISITED-color); + color: var(--MENU-VISITED-color); } #body a.highlight:after { @@ -70,7 +68,7 @@ a:hover { background-color: var(--MAIN-LINK-HOVER-color); } #sidebar { - background-color: var(--MENU-SECTIONS-BG-color); + background-color: var(--MENU-SECTIONS-BG-color); } #sidebar #header-wrapper { background: var(--MENU-HEADER-BG-color); @@ -78,7 +76,7 @@ a:hover { border-color: var(--MENU-HEADER-BORDER-color); } #sidebar .searchbox { - border-color: var(--MENU-SEARCH-BOX-color); + border-color: var(--MENU-SEARCH-BOX-color); background: var(--MENU-SEARCH-BG-color); } #sidebar ul.topics > li.parent, #sidebar ul.topics > li.active { @@ -125,4 +123,4 @@ a:hover { #homelinks a:hover { color: var(--MENU-HOME-LINK-HOVERED-color); -} \ No newline at end of file +} diff --git a/static/css/theme-relearn.css b/static/css/theme-relearn.css index a687158ea7..cc5641b238 100644 --- a/static/css/theme-relearn.css +++ b/static/css/theme-relearn.css @@ -1,6 +1,4 @@ - :root{ - --MAIN-TEXT-color:#323232; /* Color of text by default */ --MAIN-TITLES-TEXT-color: #444753; /* Color of titles h2-h3-h4-h5 */ --MAIN-LINK-color:#486ac9; /* Color of links */ @@ -17,7 +15,7 @@ --MENU-SEARCH-BOX-color: #efefef; /* Override search field border color */ --MENU-SEARCH-BOX-ICONS-color: #ddd; /* Override search field icons color */ - --MENU-SECTIONS-ACTIVE-BG-color:#202028; /* Background color of the active section and its childs */ + --MENU-SECTIONS-ACTIVE-BG-color:#202028; /* Background color of the active section and its children */ --MENU-SECTIONS-BG-color:#282830; /* Background color of other sections */ --MENU-SECTIONS-LINK-color: #bababa; /* Color of links in menu */ --MENU-SECTIONS-LINK-HOVER-color: #fff; /* Color of links in menu, when hovered */ @@ -55,7 +53,7 @@ a:hover { } #sidebar ul li.visited > a .read-icon { - color: var(--MENU-VISITED-color); + color: var(--MENU-VISITED-color); } #body a.highlight:after { @@ -70,7 +68,7 @@ a:hover { background-color: var(--MAIN-LINK-HOVER-color); } #sidebar { - background-color: var(--MENU-SECTIONS-BG-color); + background-color: var(--MENU-SECTIONS-BG-color); } #sidebar #header-wrapper { background: var(--MENU-HEADER-BG-color); @@ -78,7 +76,7 @@ a:hover { border-color: var(--MENU-HEADER-BORDER-color); } #sidebar .searchbox { - border-color: var(--MENU-SEARCH-BOX-color); + border-color: var(--MENU-SEARCH-BOX-color); background: var(--MENU-SEARCH-BG-color); } #sidebar ul.topics > li.parent, #sidebar ul.topics > li.active { diff --git a/static/js/relearn.js b/static/js/relearn.js index ef436f0526..aa3003e892 100644 --- a/static/js/relearn.js +++ b/static/js/relearn.js @@ -207,7 +207,6 @@ $(window).resize(function() { })(jQuery, 'smartresize'); - jQuery(function() { restoreTabSelections(); initMermaid();