You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ossie.apache.org by jb...@apache.org on 2026/07/08 05:13:52 UTC

(ossie-website) branch main updated: Center footer and use Apache Incubator SVG logo

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ossie-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 4e24787  Center footer and use Apache Incubator SVG logo
4e24787 is described below

commit 4e247872c51b6f42acb6dc7c83c030e7ba4679b9
Author: JB Onofré <jb...@apache.org>
AuthorDate: Wed Jul 8 07:13:43 2026 +0200

    Center footer and use Apache Incubator SVG logo
    
    - Replace apache-incubator-logo.png with the official SVG from the
      Apache Incubator podling image
    - Center footer content via flex column layout on .md-footer-meta__inner
      and .md-copyright
    - Remove white background chip from logo (SVG carries its own colors)
---
 docs/assets/images/apache-incubator.svg |  1 +
 docs/assets/stylesheets/global.css      | 22 +++++++++++++++-------
 overrides/partials/copyright.html       |  5 ++---
 3 files changed, 18 insertions(+), 10 deletions(-)

diff --git a/docs/assets/images/apache-incubator.svg b/docs/assets/images/apache-incubator.svg
new file mode 100644
index 0000000..1b4c364
--- /dev/null
+++ b/docs/assets/images/apache-incubator.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 473.26 110.22"><defs><style>.cls-1,.cls-2{fill:#fff;}.cls-1{fill-rule:evenodd;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><polygon class="cls-1" points="445.81 13.29 467.03 13.29 467.03 15.29 448.03 15.29 448.03 27.09 465.11 27.09 465.11 29.09 448.03 29.09 448.03 41.1 467.24 41.1 467.24 43.11 445.81 43.11 445.81 13.29"/><polygon class="cls-1" points="377.65 13.29 379.86 13.29 379.86 27.13 3 [...]
\ No newline at end of file
diff --git a/docs/assets/stylesheets/global.css b/docs/assets/stylesheets/global.css
index b53cced..2649c98 100644
--- a/docs/assets/stylesheets/global.css
+++ b/docs/assets/stylesheets/global.css
@@ -661,28 +661,36 @@ h6, .h6, .md-typeset h6 {
    the "Made with Material for MkDocs" line.
    ========================================================================== */
 
+/* Center all footer content */
+.md-footer-meta__inner {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  text-align: center;
+}
+
 /* 0.75em = 75% of the footer's inherited font size; applies to copyright,
    disclaimer, and "Made with" equally */
 .md-copyright {
   font-size: 0.75em;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  text-align: center;
+  width: 100%;
 }
 
-/* Apache Incubator logo above the disclaimer. The logo artwork is dark on a
-   transparent background, so it sits on a light chip to stay legible against
-   the dark footer while keeping the feather's brand colors intact. */
+/* Apache Incubator SVG logo — renders its own colors so no white chip needed */
 .osi-incubator-logo {
   display: inline-block;
   margin: 0.6em 0 0.4em;
-  padding: 0.4em 0.6em;
-  background: #fff;
-  border-radius: 4px;
   line-height: 0;
 }
 
 .osi-incubator-logo img {
   display: block;
   width: auto;
-  height: 2.4em;
+  height: 3em;
 }
 
 .osi-disclaimer {
diff --git a/overrides/partials/copyright.html b/overrides/partials/copyright.html
index d890e28..467409d 100644
--- a/overrides/partials/copyright.html
+++ b/overrides/partials/copyright.html
@@ -13,9 +13,8 @@
   {% if config.extra.disclaimer %}
     <a class="osi-incubator-logo" href="https://incubator.apache.org/" target="_blank" rel="noopener">
       <img
-        src="{{ 'assets/images/apache-incubator-logo.png' | url }}"
-        alt="Apache Incubator"
-        width="500" height="126">
+        src="{{ 'assets/images/apache-incubator.svg' | url }}"
+        alt="Apache Incubator">
     </a>
     <div class="osi-disclaimer">
       {{ config.extra.disclaimer }}