fix: correct entry layout, light mode and editor parity
The single/page/404 templates set contentSize to 70ch, which resolves against each child's own font size: the display-size h1 asked for ~2660px and broke full bleed while the body stayed narrow. They now inherit the 720px from theme.json. Also drops the About facets that duplicated the portrait, adds the missing prefers-color-scheme branch for the character stage copy surface (dark text on a dark panel in System light), loads components.css in the editor, and replaces the unstyled index fallback with the journal stream. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
13 files changed
+221
-92
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","anchor":"chrnx-main","className":"chrnx-not-found","layout":{"type":"constrained","contentSize":"70ch"}} -->
|
||||
<!-- wp:group {"tagName":"main","anchor":"chrnx-main","className":"chrnx-not-found","layout":{"type":"constrained"}} -->
|
||||
<main id="chrnx-main" class="wp-block-group chrnx-not-found" tabindex="-1">
|
||||
<!-- wp:heading {"level":1} --><h1 class="wp-block-heading">Page not found</h1><!-- /wp:heading -->
|
||||
<!-- wp:paragraph --><p>This address does not lead to a published page. Search the site or return to a known starting point.</p><!-- /wp:paragraph -->
|
||||
|
||||
+4
-20
@@ -1,25 +1,9 @@
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","anchor":"chrnx-main","layout":{"type":"constrained"}} -->
|
||||
<main id="chrnx-main" class="wp-block-group" tabindex="-1">
|
||||
<!-- wp:query {"queryId":0,"query":{"inherit":true},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-query">
|
||||
<!-- wp:post-template -->
|
||||
<!-- wp:group {"tagName":"article","layout":{"type":"constrained"}} -->
|
||||
<article class="wp-block-group">
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
</article>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous /-->
|
||||
<!-- wp:query-pagination-numbers /-->
|
||||
<!-- wp:query-pagination-next /-->
|
||||
<!-- /wp:query-pagination -->
|
||||
</div>
|
||||
<!-- /wp:query -->
|
||||
<!-- wp:group {"tagName":"main","anchor":"chrnx-main","className":"chrnx-archive","layout":{"type":"constrained"}} -->
|
||||
<main id="chrnx-main" class="wp-block-group chrnx-archive" tabindex="-1">
|
||||
<!-- wp:query-title {"type":"archive","level":1,"showPrefix":false} /-->
|
||||
<!-- wp:chrnx/journal-stream /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","anchor":"chrnx-main","className":"chrnx-entry chrnx-entry--page","layout":{"type":"constrained","contentSize":"70ch"}} -->
|
||||
<!-- wp:group {"tagName":"main","anchor":"chrnx-main","className":"chrnx-entry chrnx-entry--page","layout":{"type":"constrained"}} -->
|
||||
<main id="chrnx-main" class="wp-block-group chrnx-entry chrnx-entry--page" tabindex="-1">
|
||||
<!-- wp:post-title {"level":1} /-->
|
||||
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","anchor":"chrnx-main","className":"chrnx-entry chrnx-entry--single","layout":{"type":"constrained","contentSize":"70ch"}} -->
|
||||
<!-- wp:group {"tagName":"main","anchor":"chrnx-main","className":"chrnx-entry chrnx-entry--single","layout":{"type":"constrained"}} -->
|
||||
<main id="chrnx-main" class="wp-block-group chrnx-entry chrnx-entry--single" tabindex="-1">
|
||||
<!-- wp:post-title {"level":1} /-->
|
||||
<!-- wp:group {"className":"chrnx-entry__meta","layout":{"type":"flex","flexWrap":"wrap"}} -->
|
||||
@@ -14,6 +14,7 @@
|
||||
<!-- wp:post-featured-image {"aspectRatio":"3/2"} /-->
|
||||
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
|
||||
<!-- wp:chrnx/podcast-meta /-->
|
||||
<!-- wp:chrnx/track-meta /-->
|
||||
<!-- wp:chrnx/related-posts /-->
|
||||
<!-- wp:chrnx/subscribe-cta {"className":"is-style-quiet"} /-->
|
||||
</main>
|
||||
|
||||
Reference in new issue
Block a user