Browse Source

Re-export 2026-06-11 12:10 EDT

Source: wp-content/themes/srh/static-export/ in windhamdavid/srh-edit
Files: header.html footer.html subdomain-shell.css
Asset URLs absolute against https://www.selfregional.org/.
windhamdavid 2 weeks ago
parent
commit
09578b0524
3 changed files with 92 additions and 6 deletions
  1. 1 1
      footer.html
  2. 2 4
      header.html
  3. 89 1
      subdomain-shell.css

+ 1 - 1
footer.html

@@ -1,5 +1,5 @@
 <!--
-  SRH static shell fragment — exported 2026-06-11 11:59 EDT
+  SRH static shell fragment — exported 2026-06-11 12:10 EDT
   Source: https://srh.stu/  ·  Re-export: _claude/_static-export/export.py
   Asset URLs rewritten to absolute https://www.selfregional.org
 -->

+ 2 - 4
header.html

@@ -1,5 +1,5 @@
 <!--
-  SRH static shell fragment — exported 2026-06-11 11:59 EDT
+  SRH static shell fragment — exported 2026-06-11 12:10 EDT
   Source: https://srh.stu/  ·  Re-export: _claude/_static-export/export.py
   Asset URLs rewritten to absolute https://www.selfregional.org
 -->
@@ -49,9 +49,7 @@
 
 
   
-  <div class="wp-block-group srh-breadcrumbs-row has-global-padding is-layout-constrained wp-block-group-is-layout-constrained">
-    
-  </div>
+  <div class="wp-block-group srh-breadcrumbs-row has-global-padding is-layout-constrained wp-block-group-is-layout-constrained"><nav class="srh-breadcrumbs-wrap alignwide wp-block-srh-breadcrumbs" aria-label="Breadcrumb"><ol class="srh-breadcrumbs"><li class="srh-breadcrumbs__item"><a href="https://www.selfregional.org/">Home</a></li><li class="srh-breadcrumbs__item is-current" aria-current="page">Providers</li></ol></nav><script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.selfregional.org/"},{"@type":"ListItem","position":2,"name":"Providers","item":"https://providers.selfregional.org/"}]}</script></div>
   
 </div>
 </header>

+ 89 - 1
subdomain-shell.css

@@ -1,4 +1,4 @@
-/* SRH static shell CSS — exported 2026-06-11 11:59 EDT
+/* SRH static shell CSS — exported 2026-06-11 12:10 EDT
    Source: rendered <head> inline-CSS blocks + curated subset of
    wp-content/themes/srh/style.css. Re-export via
    _claude/_static-export/export.py. Asset URLs rewritten to
@@ -710,6 +710,94 @@ nav.wp-block-navigation a.wp-block-navigation-item__content {
 }
 
 
+/* === themes/srh/blocks/breadcrumbs/style.css === */
+/* SRH Breadcrumbs — frontend
+   ──────────────────────────
+   Inserted into parts/header.html inside .srh-auto-hide-header so the
+   row scrolls + hides with the fixed header. The block bails on the
+   front page (returning empty), so the outer .srh-breadcrumbs-row
+   wrapper goes empty too — `:has()` hides the empty row entirely. */
+
+/* Override the inherited `:where(.is-layout-flow) > * { margin-block-start: 24px }`
+   so the row sits flush against the nav bar above; let our own padding
+   own the vertical rhythm. */
+.srh-breadcrumbs-row {
+  margin-block-start: 0 !important;
+  padding-block: 0.5rem 0.5rem;
+}
+
+/* Hide the row entirely when the inner block bailed (home page,
+   pages with no chain) so no empty padded band shows up. `:has()` is
+   widely supported (Chrome 105+, Safari 15.4+, Firefox 121+). */
+.srh-breadcrumbs-row:not(:has(nav.srh-breadcrumbs-wrap)) {
+  display: none;
+}
+
+.srh-breadcrumbs-wrap {
+  /* Padding now lives on the row; keep wrap padding zero. */
+  padding-block: 0;
+}
+
+.srh-breadcrumbs {
+  display: flex;
+  flex-wrap: wrap;
+  align-items: center;
+  gap: 0.25rem 0.5rem;
+  margin: 0;
+  padding: 0;
+  list-style: none;
+  font-size: var(--wp--preset--font-size--small, 0.875rem);
+  font-family: var(--wp--preset--font-family--helvetica-neue, inherit);
+  color: var(--wp--preset--color--accent-3, #1d3863);
+  line-height: 1.4;
+}
+
+.srh-breadcrumbs__item {
+  display: inline-flex;
+  align-items: center;
+  margin: 0;
+  padding: 0;
+}
+
+/* Chevron separator before every item except the first. Uses ::before
+   on the list-item (not a real character in the markup) so screen
+   readers don't announce "›" between each crumb. */
+.srh-breadcrumbs__item + .srh-breadcrumbs__item::before {
+  content: "›";
+  margin-right: 0.5rem;
+  opacity: 0.5;
+  color: var(--wp--preset--color--accent-3, #1d3863);
+  speak: none;
+}
+
+.srh-breadcrumbs__item a {
+  color: inherit;
+  text-decoration: none;
+  transition: color 0.15s ease;
+}
+
+.srh-breadcrumbs__item a:hover,
+.srh-breadcrumbs__item a:focus {
+  color: var(--wp--preset--color--accent-2, #19458c);
+  text-decoration: underline;
+}
+
+.srh-breadcrumbs__item.is-current {
+  font-weight: 600;
+  color: var(--wp--preset--color--accent-2, #19458c);
+}
+
+@media (max-width: 480px) {
+  .srh-breadcrumbs {
+    font-size: var(--wp--preset--font-size--x-small, 0.8125rem);
+    gap: 0.2rem 0.4rem;
+  }
+  .srh-breadcrumbs__item + .srh-breadcrumbs__item::before {
+    margin-right: 0.4rem;
+  }
+}
+
+
 /* === subdomain-shell overrides === */
 /* Theme paints <body> with accent-4 (dark navy) and `.wp-site-blocks`
    with #f1f1f1 (off-base), and renders the fixed header at 95% white