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
+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 -->
|
||||
|
||||
|
||||
Reference in new issue
Block a user