character-ref/src/components/head/page-head-style.webc

50 lines
876 B
Text

<style>
:root {
font-family: var(--font-family-copy);
font-size: var(--font-size);
}
* {
box-sizing: border-box;
}
body {
background-color: var(--clr-page-background);
color: var(--clr-text);
margin: 0;
min-height: 100dvh;
}
body[inert] {
overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-family-headings);
}
a:not([class]) {
color: inherit;
text-decoration: underline;
text-underline-offset: 0.1875em;
text-decoration-thickness: 0.125em;
text-decoration-skip-ink: all;
text-decoration-color: var(--clr-link-underline);
transition: color 0.2s ease;
}
a:not([class]):hover {
color: var(--clr-link);
}
:where(.sebin, .viktor, .jarek) ::selection {
color: var(--clr-selection-text);
background-color: var(--clr-selection);
}
</style>