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:
chrnxandClaude Opus 5 committed 2026-08-13 19:41:09 -05:00
1 parent b0e44423a1
commit a3ba692669
13 files changed
+221 -92

No files matched your search

+2 -8
View File
@@ -10,11 +10,11 @@
*/
$chrnx_research_url = esc_url( 'https://arxiv.org/abs/2603.05352' );
?>
<!-- wp:group {"tagName":"section","className":"chrnx-about","layout":{"type":"constrained","contentSize":"70ch"}} -->
<!-- wp:group {"tagName":"section","className":"chrnx-about","layout":{"type":"constrained"}} -->
<section class="wp-block-group chrnx-about">
<!-- wp:group {"className":"chrnx-character-stage","layout":{"type":"constrained"}} -->
<div class="wp-block-group chrnx-character-stage">
<!-- wp:html --><div class="chrnx-character-stage__atmosphere" aria-hidden="true"></div><!-- /wp:html -->
<!-- wp:html --><div class="chrnx-character-stage__atmosphere" aria-hidden="true"><?php echo chrnx_get_atmosphere_markup( 'about-grunge', 'chrnx-character-stage__backdrop' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?></div><!-- /wp:html -->
<!-- wp:group {"className":"chrnx-character-stage__content","layout":{"type":"constrained"}} -->
<div class="wp-block-group chrnx-character-stage__content">
<!-- wp:heading {"level":2} --><h2 class="wp-block-heading"><?php echo esc_html__( 'About', 'chrnx' ); ?></h2><!-- /wp:heading -->
@@ -28,11 +28,5 @@ $chrnx_research_url = esc_url( 'https://arxiv.org/abs/2603.05352' );
<!-- wp:html --><div class="chrnx-character-stage__art"><?php echo chrnx_get_topic_portrait_markup( 'life', '', 'chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?></div><!-- /wp:html -->
</div>
<!-- /wp:group -->
<!-- wp:group {"className":"chrnx-character-facets chrnx-about__portraits","layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group chrnx-character-facets chrnx-about__portraits">
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'literature', '', 'chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
<!-- wp:html --><?php echo chrnx_get_topic_portrait_markup( 'gaming', '', 'chrnx-section-portrait' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Helper returns escaped, allowlisted markup. ?><!-- /wp:html -->
</div>
<!-- /wp:group -->
</section>
<!-- /wp:group -->