diff --git a/CHANGELOG.md b/CHANGELOG.md index eb5c8b3f8..54c8c380d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,10 +42,14 @@ For the full list of changes, see the [0.9.0] release notes. [render-heading.html](https://gohugo.io/templates/render-hooks/) hook. This is _potentially_ a breaking change for projects that override the hook. +- The footer layout has been factored into parts: left, right, and center, with + copyright a subpart of center. Each part has its own style tag, for example: + `td-footer__left`. Note that the style `td-footer__copyright-etc` has been + renamed to `td-footer__center`. For details concerning all foot changes, see + [#1818]. + **Other changes**: -- The footer parts can be individually customized: left, right, center, and - copyright. ([#1818]). - The latest release of [Mermaid] resources are fetched at build time ([#1410]). - Docsy follows recommended accessibility practice: page-body links are underlined. For details, see [#1814] and [#1815]. diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 3e81ecca2..540fdc69f 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -49,9 +49,17 @@ min-height: 200px; } - &__copyright-etc { + /* &__left { } */ + + &__center { @extend .small; + text-align: center; + } + + &__right { + text-align: right; } + &__about { font-size: initial; } diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1bda7e948..c61969b48 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,13 +1,15 @@