Files
chrnx-dev-wp/assets/css/base.css
T
chrnxandClaude Opus 5 a3ba692669 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>
2026-08-13 19:41:09 -05:00

72 lines
1.1 KiB
CSS

/*
* Local Zen Maru Gothic sources are registered once in theme.json with
* font-display: swap.
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
color-scheme: dark;
--chrnx-focus-ring: var(--wp--preset--color--green);
}
body {
margin: 0;
background: var(--wp--preset--color--night);
color: var(--wp--preset--color--text);
overflow-wrap: break-word;
}
img,
svg,
video {
display: block;
max-width: 100%;
height: auto;
}
button,
input,
select,
textarea {
font: inherit;
}
a:hover {
color: var(--wp--preset--color--green);
}
:focus-visible {
border-radius: 0.4rem;
outline: 2px solid transparent;
outline-offset: 3px;
box-shadow: 0 0 0 3px var(--chrnx-focus-ring);
}
html[data-theme="light"] {
--chrnx-focus-ring: var(--wp--preset--color--light-green);
}
@media (prefers-color-scheme: light) {
:root:not([data-theme]) {
--chrnx-focus-ring: var(--wp--preset--color--light-green);
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}
}