82 lines
1.7 KiB
CSS
Executable file
82 lines
1.7 KiB
CSS
Executable file
html {
|
|
box-sizing: border-box;
|
|
block-size: 100%;
|
|
text-size-adjust: none;
|
|
text-size-adjust: none;
|
|
text-size-adjust: none;
|
|
tab-size: 2;
|
|
color-scheme: dark light;
|
|
interpolate-size: allow-keywords;
|
|
}
|
|
|
|
body {
|
|
block-size: 100%;
|
|
font-family: monospace, system-ui, sans-serif;
|
|
font-optical-sizing: auto;
|
|
font-kerning: normal;
|
|
font-variant-ligatures: common-ligatures no-discretionary-ligatures no-historical-ligatures
|
|
contextual;
|
|
-webkit-font-smoothing: antialiased;
|
|
line-height: var(--line-height-comfortable);
|
|
text-decoration-skip-ink: auto;
|
|
text-rendering: geometricprecision;
|
|
accent-color: var(--color-tertiary);
|
|
background: var(--color-secondary);
|
|
}
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: inherit;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0 solid transparent;
|
|
font: inherit;
|
|
font-feature-settings: inherit;
|
|
font-variation-settings: inherit;
|
|
color: inherit;
|
|
letter-spacing: inherit;
|
|
word-spacing: inherit;
|
|
background-repeat: no-repeat;
|
|
background-origin: border-box;
|
|
}
|
|
|
|
:where(.visually-hidden:not(:focus, :active, :focus-within)) {
|
|
position: absolute;
|
|
overflow: hidden;
|
|
inline-size: 1px;
|
|
block-size: 1px;
|
|
white-space: nowrap;
|
|
clip-path: inset(50%);
|
|
}
|
|
|
|
:where([hidden]), :where([aria-hidden="true"]) {
|
|
display: none;
|
|
}
|
|
|
|
:where([disabled]) {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
:where(:focus-visible) {
|
|
outline: currentcolor solid 0.2rem;
|
|
outline-offset: 0.2rem;
|
|
}
|
|
|
|
:where(:focus-visible, :target) {
|
|
scroll-margin-block: 8vh;
|
|
}
|
|
|
|
@view-transition {
|
|
navigation: auto;
|
|
}
|
|
|
|
@media (prefers-reduced-motion) {
|
|
*, *::before, *::after {
|
|
scroll-behavior: auto !important;
|
|
transition: none !important;
|
|
animation-duration: 0s !important;
|
|
}
|
|
|
|
@view-transition {
|
|
navigation: none !important;
|
|
}
|
|
}
|