mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
31 lines
654 B
CSS
31 lines
654 B
CSS
@import "./nested/nested.postcss.css";
|
|
@custom-media --viewport-medium (width <= 50rem);
|
|
@custom-selector :--heading h1, h2, h3, h4, h5, h6;
|
|
:root {
|
|
--fontSize: 1rem;
|
|
--mainColor: #12345678;
|
|
--secondaryColor: lab(32.5 38.5 -47.6 / 90%);
|
|
}
|
|
html {
|
|
overflow: hidden auto;
|
|
}
|
|
@media (--viewport-medium) {
|
|
body {
|
|
color: var(--mainColor);
|
|
font-family: system-ui;
|
|
font-size: var(--fontSize);
|
|
line-height: calc(var(--fontSize) * 1.5);
|
|
overflow-wrap: break-word;
|
|
padding-inline: calc(var(--fontSize) / 2 + 1px);
|
|
}
|
|
}
|
|
:--heading {
|
|
margin-block: 0;
|
|
}
|
|
a {
|
|
color: rgb(0 0 100% / 90%);
|
|
&:hover {
|
|
color: rebeccapurple;
|
|
}
|
|
}
|