This is an automated email from the ASF dual-hosted git repository. jin pushed a commit to branch website in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
commit 34307ccfdfdc344a199cf1c87e4f42630e2a9bb9 Author: yongyu <[email protected]> AuthorDate: Thu May 5 18:31:49 2022 +0800 site: add incubator label (#124) --- themes/docsy/assets/scss/main.scss | 15 +++++++++++++-- themes/docsy/layouts/partials/footer.html | 29 ++++++++++++++++++++--------- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/themes/docsy/assets/scss/main.scss b/themes/docsy/assets/scss/main.scss index 5a0207b..d88ae12 100644 --- a/themes/docsy/assets/scss/main.scss +++ b/themes/docsy/assets/scss/main.scss @@ -34,7 +34,6 @@ } footer { - min-height: 150px; @include media-breakpoint-down(md) { min-height: 200px; @@ -52,7 +51,19 @@ footer { margin: 0 0 10px 0; } .container-center{ - margin: 0 auto; + margin: auto; + } + .footer-link{ + list-style: none; + display: inline; + padding-left: 0; + margin: 0; + li{ + display: inline; + margin-left: 10px; + line-height: 40px; + float: left; + } } } diff --git a/themes/docsy/layouts/partials/footer.html b/themes/docsy/layouts/partials/footer.html index 0f3fab9..3ebc821 100644 --- a/themes/docsy/layouts/partials/footer.html +++ b/themes/docsy/layouts/partials/footer.html @@ -3,16 +3,27 @@ <div class="container"> <div class="row"> {{ if .Site.Params.ui.footer_logo }} - <div class="col-3"> - <a href="https://www.apache.org"> - <div class="footer-apache-logo"> - {{ with resources.Get "icons/apache_logo.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}{{ end }} - </div> - </a> + <div class="col-6"> + <div class="footer-row"> + <a href="https://www.apache.org"> + <div class="footer-apache-logo"> + {{ with resources.Get "icons/apache_logo.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}{{ end }} + </div> + </a> + <ul class="footer-link"> + <li><a class="white" href="http://www.apache.org">Foundation</a></li> + <li><a class="white" href="http://www.apache.org/licenses/">License</a></li> + <li><a class="white" href="https://www.apache.org/security/">Security</a></li> + <li><a class="white" href="http://www.apache.org/events/current-event">Events</a></li> + <li><a class="white" href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li> + <li><a class="white" href="http://www.apache.org/foundation/thanks.html">Thanks</a></li> + </ul> + </div> </div> - <div class="col-9 text-white text-center container-center"> - <p>Copyright © {{ now.Year}} The Apache Software Foundation, Licensed under the <a class="white" href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> - <p>Apache and the Apache feather logo are trademarks of The Apache Software Foundation. </p> + <div class="col-6 text-white text-center container-center"> + <p>Copyright © {{ now.Year}} The Apache Software Foundation, Licensed under</p> + <p>the <a class="white" href="https://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> .Apache and the Apache feather</p> + <p>logo are trademarks of The Apache Software Foundation. </p> </div> </div> </div>
