svn commit: r1928569 - in apr/site/branches/new-logo: docs xdocs

[email protected]
Newsgroups gmane.comp.apache.apr.cvs
Message-ID <175814501543.3196604.17430862354597623321@svn02-us-east.apache.org>
Author: brane
Date: Wed Sep 17 21:36:55 2025
New Revision: 1928569

Log:
Update the stylesheet so that it passes validation.
Change the ASF palette color names, and update references.

Modified:
   apr/site/branches/new-logo/docs/security_report.html
   apr/site/branches/new-logo/docs/style.css
   apr/site/branches/new-logo/xdocs/security_report.xml

Modified: apr/site/branches/new-logo/docs/security_report.html
==============================================================================
--- apr/site/branches/new-logo/docs/security_report.html	Wed Sep 17 21:09:58 2025	(r1928568)
+++ apr/site/branches/new-logo/docs/security_report.html	Wed Sep 17 21:36:55 2025	(r1928569)
@@ -82,7 +82,7 @@ Apache Portable Runtime.</p>
 security mailing list first, before disclosing them in a public forum.</p>
 <p><strong>We cannot accept regular bug reports or other queries at
 this address, we ask that you use our <a href="https://issues.apache.org/bugzilla/enter_bug.cgi?product=APR">bugzilla
-page</a> for those.  <span style="color: var(--apr-color-red)">All mail sent to this
+page</a> for those.  <span style="color: var(--asf-color-orange)">All mail sent to this
 address that does not relate to security problems in the APR source
 code will be ignored.</span></strong></p>
 <p>The mailing address is:

Modified: apr/site/branches/new-logo/docs/style.css
==============================================================================
--- apr/site/branches/new-logo/docs/style.css	Wed Sep 17 21:09:58 2025	(r1928568)
+++ apr/site/branches/new-logo/docs/style.css	Wed Sep 17 21:36:55 2025	(r1928569)
@@ -1,26 +1,23 @@
 :root {
-
   /* Colors from the Brand Guidelines palette */
-  --apr-color-navy: #28265E;       /* Navy */
-  --apr-color-purple: #7C297D;     /* Purple */
-  --apr-color-red: #D22128;        /* Red */
-  --apr-color-orange: #DD552C;     /* Orange */
-  --apr-color-yellow: #F79A23;     /* Yellow */
-  --apr-color-lightblue: #DCE8F2;  /* Light Blue */
-  --apr-color-white: #FFFFFF;      /* White */
-  --apr-color-black: #000000;      /* Black */
-
-
+  --asf-color-navy: #28265E;       /* Navy */
+  --asf-color-purple: #7C297D;     /* Purple */
+  --asf-color-red: #D22128;        /* Red */
+  --asf-color-orange: #DD552C;     /* Orange */
+  --asf-color-yellow: #F79A23;     /* Yellow */
+  --asf-color-lightblue: #DCE8F2;  /* Light Blue */
+  --asf-color-white: #FFFFFF;      /* White */
+  --asf-color-black: #000000;      /* Black */
 
   /* Colors */
-  --apr-bg: var(--apr-color-white);
-  --apr-fg: var(--apr-color-black);
-  --apr-fg-a: var(--apr-color-navy);
-  --apr-bg-h1: var(--apr-color-purple);;
-  --apr-fg-h1: var(--apr-color-white);
-  --apr-bg-h2: var(--apr-color-lightblue);
+  --apr-bg: var(--asf-color-white);
+  --apr-fg: var(--asf-color-black);
+  --apr-fg-a: var(--asf-color-navy);
+  --apr-bg-h1: var(--asf-color-purple);;
+  --apr-fg-h1: var(--asf-color-white);
+  --apr-bg-h2: var(--asf-color-lightblue);
   --apr-fg-h2: var(--apr-fg);
-  --apr-bg-logo: var(--apr-color-navy);
+  --apr-bg-logo: var(--asf-color-navy);
 
   /* Dimensions */
   --apr-site-nav-width: 15em;
@@ -30,21 +27,23 @@
   --apr-logo-left: calc(var(--apr-content-left) - 0.94 * var(--apr-logo-height));
   --apr-logo-bar-height: calc(0.382 * var(--apr-logo-height));
   --apr-logo-bar-shift: calc(0.618 * var(--apr-logo-height));
+  --apr-font-weight: 400;
+  --apr-h1-font-weight: 600;
+  --apr-h2-font-weight: 300;
 
   /* Global */
   background: var(--apr-bg);
   color: var(--apr-fg);
 
   font-family: "Open Sans", sans-serif;
-  font-optical-sizing: auto;
-  font-weight: 400;
-  font-style: normal;
   font-size: medium;
+  font-style: normal;
+  font-weight: var(--apr-font-weight);
   font-variation-settings: "wdth" 100;
 }
 
 b, strong {
-  font-weight: 600;
+  font-weight: var(--apr-h1-font-weight);
 }
 pre, code, tt {
   font-family: "IBM Plex Mono", monospace;
@@ -71,16 +70,16 @@ th {
   padding: 0.25em;
   padding-left: 0.5em;
   font-family: "Montserrat", sans-serif;
-  font-weight: 300;
+  font-weight: var(--apr-h2-font-weight);
   text-align: left;
 }
 td {
   padding: 0.25em;
   padding-left: 0.5em;
-  >ul {
-    margin-block-start: 0px;
-    margin-block-end: 0px;
-  }
+}
+td > ul {
+  margin-block-start: 0px;
+  margin-block-end: 0px;
 }
 td.mlh {
   width: 50%
@@ -102,18 +101,18 @@ td.mlh {
   width: 100%;
   margin-top: var(--apr-logo-space);
   margin-bottom: var(--apr-logo-space);
-  >a {
-    position: relative;
-    left: var(--apr-logo-left);
-    top: calc(-1 * var(--apr-logo-bar-height));
-  }
-  >div {
-    background: var(--apr-bg-logo);
-    position: relative;
-    top: var(--apr-logo-bar-shift);
-    height: var(--apr-logo-bar-height);
-    width: 100%;
-  }
+}
+#logo > a {
+  position: relative;
+  left: var(--apr-logo-left);
+  top: calc(-1 * var(--apr-logo-bar-height));
+}
+#logo > div {
+  background: var(--apr-bg-logo);
+  position: relative;
+  top: var(--apr-logo-bar-shift);
+  height: var(--apr-logo-bar-height);
+  width: 100%;
 }
 #page {
   overflow: auto;
@@ -132,12 +131,12 @@ td.mlh {
 h1 {
   background: var(--apr-bg-h1);
   color: var(--apr-fg-h1);
-  font-weight: 600;
+  font-weight: var(--apr-h1-font-weight);
 }
 h2 {
   background: var(--apr-bg-h2);
   color: var(--apr-fg-h2);
-  font-weight: 300;
+  font-weight: var(--apr-h2-font-weight);
 }
 h1, h2 {
   font-family: "Montserrat", sans-serif;
@@ -146,13 +145,15 @@ h1, h2 {
   padding-left: 0.5em;
 }
 
-#site-nav-menu {
+#site-nav-menu > h1,
+#site-nav-menu > h2 {
+  background: var(--apr-bg);
+  color: var(--apr-fg);
+  padding: 0px;
+}
+/* Align the first navigation heading with site contents */
+#site-nav-menu > h1:first-of-type {
   padding-top: 0.25em;
-  >h1, >h2 {
-    background: var(--apr-bg);
-    color: var(--apr-fg);
-    padding: 0px;
-  }
 }
 
 @media screen {

Modified: apr/site/branches/new-logo/xdocs/security_report.xml
==============================================================================
--- apr/site/branches/new-logo/xdocs/security_report.xml	Wed Sep 17 21:09:58 2025	(r1928568)
+++ apr/site/branches/new-logo/xdocs/security_report.xml	Wed Sep 17 21:36:55 2025	(r1928569)
@@ -18,7 +18,7 @@ security mailing list first, before disc
 <p><strong>We cannot accept regular bug reports or other queries at
 this address, we ask that you use our <a
 href="https://issues.apache.org/bugzilla/enter_bug.cgi?product=APR">bugzilla
-page</a> for those.  <span style="color: var(--apr-color-red)">All mail sent to this
+page</a> for those.  <span style="color: var(--asf-color-orange)">All mail sent to this
 address that does not relate to security problems in the APR source
 code will be ignored.</span></strong></p>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.