diff --git a/CHANGELOG.md b/CHANGELOG.md index 0907049350..54c8c380dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,9 +42,15 @@ 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 latest release of [Mermaid] resources are fetch at build time ([#1410]) +- 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]. @@ -53,6 +59,7 @@ For the full list of changes, see the [0.9.0] release notes. [#1744]: https://github.com/google/docsy/pull/1744 [#1814]: https://github.com/google/docsy/issues/1814 [#1815]: https://github.com/google/docsy/pull/1815 +[#1818]: https://github.com/google/docsy/pull/1818 [mermaid]: https://www.docsy.dev/docs/adding-content/diagrams-and-formulae/#diagrams-with-mermaid [multi-language]: https://www.docsy.dev/docs/language/ diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 3e81ecca2d..540fdc69f7 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 1bda7e9486..c61969b488 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,13 +1,15 @@