feat: establish CHRNX block theme foundation
This commit is contained in:
21 files changed
+2394
-13
No files matched your search
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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;
|
||||
}
|
||||
|
||||
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 {
|
||||
outline: 3px solid var(--wp--preset--color--green);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user