71 lines
1.1 KiB
CSS
71 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);
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|