Fix rendering on webkit
This commit is contained in:
parent
38763aff09
commit
69dbd9fa7b
12
shell.nix
12
shell.nix
|
@ -1,16 +1,20 @@
|
||||||
{
|
{
|
||||||
pkgs ? import <nixpkgs> {},
|
pkgs ? import <nixpkgs> {},
|
||||||
quickshell-web ? pkgs.callPackage ./default.nix {},
|
quickshell-web ? pkgs.callPackage ./default.nix {},
|
||||||
}: pkgs.mkShell {
|
}:
|
||||||
inputsFrom = [ quickshell-web ];
|
pkgs.mkShell {
|
||||||
|
inputsFrom = [quickshell-web];
|
||||||
|
|
||||||
nativeBuildInputs = [ (pkgs.writeShellScriptBin "yarn-install-hack" ''
|
nativeBuildInputs = [
|
||||||
|
(pkgs.writeShellScriptBin "yarn-install-hack" ''
|
||||||
set -x
|
set -x
|
||||||
yarn install || true
|
yarn install || true
|
||||||
mkdir -p node_modules/node/bin
|
mkdir -p node_modules/node/bin
|
||||||
ln -sf ${pkgs.nodejs_22}/bin/node node_modules/node/bin/node
|
ln -sf ${pkgs.nodejs_22}/bin/node node_modules/node/bin/node
|
||||||
yarn install
|
yarn install
|
||||||
'') ];
|
'')
|
||||||
|
pkgs.nodejs_22
|
||||||
|
];
|
||||||
|
|
||||||
YARN_NODE_LINKER = "node-modules";
|
YARN_NODE_LINKER = "node-modules";
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,15 +17,15 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-block: 0.618rem;
|
margin-block: 0.618rem;
|
||||||
border-radius: 9px;
|
border-radius: 9px;
|
||||||
background-color: hsl(var(--blue) 60 98);
|
background-color: hsl(var(--blue) 60% 98%);
|
||||||
padding: 0.618rem;
|
padding: 0.618rem;
|
||||||
border: 1px solid hsl(var(--blue) 9 75);
|
border: 1px solid hsl(var(--blue) 9% 75%);
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0.618rem;
|
inset: 0.618rem;
|
||||||
background-image: radial-gradient(
|
background-image: radial-gradient(
|
||||||
hsl(var(--blue) 9 75) 1px,
|
hsl(var(--blue) 9% 75%) 1px,
|
||||||
transparent 1px
|
transparent 1px
|
||||||
);
|
);
|
||||||
background-position: 50% 50%;
|
background-position: 50% 50%;
|
||||||
|
@ -34,12 +34,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark .featurelist-item {
|
html.dark .featurelist-item {
|
||||||
background-color: hsla(var(--blue) 100 81 / 0.05);
|
background-color: hsl(var(--blue) 100% 81% / 0.05);
|
||||||
border-color: hsla(0 0 100 / 0.05);
|
border-color: hsl(0deg 0% 100% / 0.05);
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background-image: radial-gradient(
|
background-image: radial-gradient(
|
||||||
hsla(0 0 100 / 0.1) 1px,
|
hsl(0deg 0% 100% / 0.1) 1px,
|
||||||
transparent 1px
|
transparent 1px
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
left: 2px;
|
left: 2px;
|
||||||
right: 2px;
|
right: 2px;
|
||||||
height: 3px;
|
height: 3px;
|
||||||
background-color: hsla(var(--accent-400) / 0.3);
|
background-color: hsl(var(--accent-400) / 0.3);
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,9 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
transition: background-color 0.3s, opacity 0.3s;
|
transition:
|
||||||
|
background-color 0.3s,
|
||||||
|
opacity 0.3s;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
@ -93,7 +95,9 @@
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
& > div { opacity: 0.9 }
|
& > div {
|
||||||
|
opacity: 0.9;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,18 +18,18 @@
|
||||||
|
|
||||||
@keyframes pulseGreen {
|
@keyframes pulseGreen {
|
||||||
0% {
|
0% {
|
||||||
background-color: hsl(var(--blue) 85 35 / 0.1);
|
background-color: hsl(var(--blue) 85% 35% / 0.1);
|
||||||
color: hsl(var(--blue) 100 69 / 1.0);
|
color: hsl(var(--blue) 100% 69% / 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
50% {
|
50% {
|
||||||
background-color: hsl(var(--green) 85 35 / 0.5);
|
background-color: hsl(var(--green) 85% 35% / 0.5);
|
||||||
color: hsl(var(--green) 100 69 / 1.0);
|
color: hsl(var(--green) 100% 69% / 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
100% {
|
100% {
|
||||||
background-color: hsl(var(--blue) 85 35 / 0.1);
|
background-color: hsl(var(--blue) 85% 35% / 0.1);
|
||||||
color: hsl(var(--blue) 100 69 / 1.0);
|
color: hsl(var(--blue) 100% 69% / 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
html {
|
html {
|
||||||
font-family: "Rubik Variable", Inter, system-ui, Avenir,
|
font-family: "Rubik Variable", Inter, system-ui, Avenir, Helvetica, Arial,
|
||||||
Helvetica, Arial, sans-serif;
|
sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 1.272;
|
line-height: 1.272;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
@ -14,116 +14,116 @@ html {
|
||||||
|
|
||||||
color-scheme: light dark;
|
color-scheme: light dark;
|
||||||
/* accent */
|
/* accent */
|
||||||
--green: 141;
|
--green: 141deg;
|
||||||
--accent-400: var(--green) 90 57;
|
--accent-400: var(--green) 90% 57%;
|
||||||
--accent-500: var(--green) 90 47;
|
--accent-500: var(--green) 90% 47%;
|
||||||
--accent-600: var(--green) 88 40;
|
--accent-600: var(--green) 88% 40%;
|
||||||
--accent-700: var(--green) 70 40;
|
--accent-700: var(--green) 70% 40%;
|
||||||
|
|
||||||
/* secondary */
|
/* secondary */
|
||||||
--blue: 224;
|
--blue: 224deg;
|
||||||
--secondary-400: var(--blue) 100 68;
|
--secondary-400: var(--blue) 100% 68%;
|
||||||
--secondary-500: var(--blue) 100 58;
|
--secondary-500: var(--blue) 100% 58%;
|
||||||
--secondary-600: var(--blue) 53 41;
|
--secondary-600: var(--blue) 53% 41%;
|
||||||
--secondary-700: var(--blue) 43 31;
|
--secondary-700: var(--blue) 43% 31%;
|
||||||
--secondary-800: var(--blue) 23 21;
|
--secondary-800: var(--blue) 23% 21%;
|
||||||
--secondary-900: var(--blue) 44 7;
|
--secondary-900: var(--blue) 44% 7%;
|
||||||
|
|
||||||
/* primary */
|
/* primary */
|
||||||
--white: 194;
|
--white: 194deg;
|
||||||
--bg-400: var(--white) 10 95;
|
--bg-400: var(--white) 10% 95%;
|
||||||
--bg-500: var(--white) 5 90;
|
--bg-500: var(--white) 5% 90%;
|
||||||
--bg-600: var(--white) 5 76;
|
--bg-600: var(--white) 5% 76%;
|
||||||
--bg-700: var(--white) 5 56;
|
--bg-700: var(--white) 5% 56%;
|
||||||
--bg-800: var(--white) 5 36;
|
--bg-800: var(--white) 5% 36%;
|
||||||
--bg-900: var(--white) 5 16;
|
--bg-900: var(--white) 5% 16%;
|
||||||
|
|
||||||
/* docs */
|
/* docs */
|
||||||
--background: var(--bg-500);
|
--background: var(--bg-500);
|
||||||
--text: var(--white) 0 0;
|
--text: var(--white) 0% 0%;
|
||||||
--text-dark: var(--white) 0 18;
|
--text-dark: var(--white) 0% 18%;
|
||||||
--text-darker: var(--white) 0 30;
|
--text-darker: var(--white) 0% 30%;
|
||||||
--link: var(--green) 48 40;
|
--link: var(--green) 48% 40%;
|
||||||
--toc-link: var(--green) 74 30;
|
--toc-link: var(--green) 74% 30%;
|
||||||
--toc-link-active: var(--green) 80 38;
|
--toc-link-active: var(--green) 80% 38%;
|
||||||
--prop-color: 350 78 70;
|
--prop-color: 350deg 78% 70%;
|
||||||
--prop-link-color: 350 78 60;
|
--prop-link-color: 350deg 78% 60%;
|
||||||
--func-color: 50 68 50;
|
--func-color: 50deg 68% 50%;
|
||||||
--func-link-color: 50 58 55;
|
--func-link-color: 50deg 58% 55%;
|
||||||
--signal-color: 270 78 70;
|
--signal-color: 270deg 78% 70%;
|
||||||
--signal-link-color: 270 85 60;
|
--signal-link-color: 270deg 85% 60%;
|
||||||
--var-color: 190 78 70;
|
--var-color: 190deg 78% 70%;
|
||||||
--var-link-color: 190 85 60;
|
--var-link-color: 190deg 85% 60%;
|
||||||
--inner-param-color: 215 80 27;
|
--inner-param-color: 215deg 80% 27%;
|
||||||
--inner-param-border-color: 215 50 50;
|
--inner-param-border-color: 215deg 50% 50%;
|
||||||
--nav-hovered-bkg: var(--blue) 100 87;
|
--nav-hovered-bkg: var(--blue) 100% 87%;
|
||||||
--nav-hovered-weak-bkg: var(--blue) 100 91;
|
--nav-hovered-weak-bkg: var(--blue) 100% 91%;
|
||||||
--nav-selected-bkg: var(--blue) 100 90;
|
--nav-selected-bkg: var(--blue) 100% 90%;
|
||||||
--nav-selected-hovered-bkg: var(--blue) 100 85;
|
--nav-selected-hovered-bkg: var(--blue) 100% 85%;
|
||||||
--nav-selected-text: var(--blue) 60 60;
|
--nav-selected-text: var(--blue) 60% 60%;
|
||||||
--nav-indicator-bkg: var(--blue) 45 80;
|
--nav-indicator-bkg: var(--blue) 45% 80%;
|
||||||
--toc-hovered-bkg: 0 0 0 / 0.1;
|
--toc-hovered-bkg: 0deg 0% 0% / 0.1;
|
||||||
--overlay-bkg: var(--blue) 25 93;
|
--overlay-bkg: var(--blue) 25% 93%;
|
||||||
--overlay-bkg-border: var(--blue) 10 75;
|
--overlay-bkg-border: var(--blue) 10% 75%;
|
||||||
--footer-bkg: var(--blue) 8 87;
|
--footer-bkg: var(--blue) 8% 87%;
|
||||||
--footer-bkg-border: var(--blue) 32 84;
|
--footer-bkg-border: var(--blue) 32% 84%;
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark {
|
html.dark {
|
||||||
/* accent */
|
/* accent */
|
||||||
--green: 141;
|
--green: 141deg;
|
||||||
--accent-400: var(--green) 100 67;
|
--accent-400: var(--green) 100% 67%;
|
||||||
--accent-500: var(--green) 95 55;
|
--accent-500: var(--green) 95% 55%;
|
||||||
--accent-600: var(--green) 90 40;
|
--accent-600: var(--green) 90% 40%;
|
||||||
--accent-700: var(--green) 80 30;
|
--accent-700: var(--green) 80% 30%;
|
||||||
|
|
||||||
/* secondary */
|
/* secondary */
|
||||||
--white: 194;
|
--white: 194deg;
|
||||||
--secondary-400: var(--white) 33 100;
|
--secondary-400: var(--white) 33% 100%;
|
||||||
--secondary-500: var(--white) 33 96;
|
--secondary-500: var(--white) 33% 96%;
|
||||||
--secondary-600: var(--white) 33 76;
|
--secondary-600: var(--white) 33% 76%;
|
||||||
--secondary-700: var(--white) 33 56;
|
--secondary-700: var(--white) 33% 56%;
|
||||||
--secondary-800: var(--white) 35 36;
|
--secondary-800: var(--white) 35% 36%;
|
||||||
--secondary-900: var(--white) 44 7;
|
--secondary-900: var(--white) 44% 7%;
|
||||||
|
|
||||||
/* primary */
|
/* primary */
|
||||||
--blue: 224;
|
--blue: 224deg;
|
||||||
--bg-400: var(--blue) 90 65;
|
--bg-400: var(--blue) 90% 65%;
|
||||||
--bg-500: var(--blue) 83 45;
|
--bg-500: var(--blue) 83% 45%;
|
||||||
--bg-700: var(--blue) 82 25;
|
--bg-700: var(--blue) 82% 25%;
|
||||||
--bg-800: var(--blue) 82 15;
|
--bg-800: var(--blue) 82% 15%;
|
||||||
--bg-900: var(--blue) 82 3;
|
--bg-900: var(--blue) 82% 3%;
|
||||||
|
|
||||||
/* docs */
|
/* docs */
|
||||||
--background: var(--bg-900);
|
--background: var(--bg-900);
|
||||||
--text: var(--white) 0 100;
|
--text: var(--white) 0% 100%;
|
||||||
--text-dark: var(--white) 0 70;
|
--text-dark: var(--white) 0% 70%;
|
||||||
--text-darker: var(--white) 0 40;
|
--text-darker: var(--white) 0% 40%;
|
||||||
--link: var(--green) 60 44;
|
--link: var(--green) 60% 44%;
|
||||||
--toc-link: var(--green) 74 40;
|
--toc-link: var(--green) 74% 40%;
|
||||||
--toc-link-active: var(--green) 80 60;
|
--toc-link-active: var(--green) 80% 60%;
|
||||||
--prop-color: 350 78 70;
|
--prop-color: 350deg 78% 70%;
|
||||||
--prop-link-color: 350 78 60;
|
--prop-link-color: 350deg 78% 60%;
|
||||||
--func-color: 50 78 70;
|
--func-color: 50deg 78% 70%;
|
||||||
--func-link-color: 50 78 60;
|
--func-link-color: 50deg 78% 60%;
|
||||||
--signal-color: 270 78 70;
|
--signal-color: 270deg 78% 70%;
|
||||||
--signal-link-color: 270 85 60;
|
--signal-link-color: 270deg 85% 60%;
|
||||||
--var-color: 190 78 70;
|
--var-color: 190deg 78% 70%;
|
||||||
--var-link-color: 190 85 60;
|
--var-link-color: 190deg 85% 60%;
|
||||||
--inner-param-color: 215 60 70;
|
--inner-param-color: 215deg 60% 70%;
|
||||||
--inner-param-border-color: 215 26 46;
|
--inner-param-border-color: 215deg 26% 46%;
|
||||||
--inner-param-color: 215 60 70;
|
--inner-param-color: 215deg 60% 70%;
|
||||||
--nav-hovered-bkg: var(--blue) 40 10;
|
--nav-hovered-bkg: var(--blue) 40% 10%;
|
||||||
--nav-hovered-weak-bkg: var(--blue) 35 8;
|
--nav-hovered-weak-bkg: var(--blue) 35% 8%;
|
||||||
--nav-selected-bkg: var(--blue) 40 13;
|
--nav-selected-bkg: var(--blue) 40% 13%;
|
||||||
--nav-selected-hovered-bkg: var(--blue) 40 17;
|
--nav-selected-hovered-bkg: var(--blue) 40% 17%;
|
||||||
--nav-selected-text: var(--blue) 100 70;
|
--nav-selected-text: var(--blue) 100% 70%;
|
||||||
--nav-indicator-bkg: var(--blue) 30 30;
|
--nav-indicator-bkg: var(--blue) 30% 30%;
|
||||||
--toc-hovered-bkg: 0 0 100 / 0.07;
|
--toc-hovered-bkg: 0deg 0% 100% / 0.07;
|
||||||
--overlay-bkg: var(--blue) 75 5;
|
--overlay-bkg: var(--blue) 75% 5%;
|
||||||
--overlay-bkg-border: var(--blue) 45 15;
|
--overlay-bkg-border: var(--blue) 45% 15%;
|
||||||
--footer-bkg: var(--blue) 66 5;
|
--footer-bkg: var(--blue) 66% 5%;
|
||||||
--footer-bkg-border: var(--blue) 75 21;
|
--footer-bkg-border: var(--blue) 75% 21%;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
|
|
|
@ -5,8 +5,8 @@ pre.shiki {
|
||||||
:where(p, li):has(> code) code {
|
:where(p, li):has(> code) code {
|
||||||
padding-inline: 0.272rem;
|
padding-inline: 0.272rem;
|
||||||
border-radius: 0.272rem;
|
border-radius: 0.272rem;
|
||||||
color: hsl(var(--blue) 100 69);
|
color: hsl(var(--blue) 100% 69%);
|
||||||
background-color: hsl(var(--blue) 85 35 / 0.1);
|
background-color: hsl(var(--blue) 85% 35% / 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.shiki,
|
.shiki,
|
||||||
|
@ -37,17 +37,17 @@ pre {
|
||||||
font-size: 1.618rem;
|
font-size: 1.618rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border-radius: 0.272rem;
|
border-radius: 0.272rem;
|
||||||
padding: 0.10rem;
|
padding: 0.1rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
color: hsl(var(--blue) 100 69);
|
color: hsl(var(--blue) 100% 69%);
|
||||||
background-color: hsl(var(--blue) 85 35 / 0.1);
|
background-color: hsl(var(--blue) 85% 35% / 0.1);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: color 0.25s;
|
transition: color 0.25s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: hsl(var(--blue) 100 75);
|
color: hsl(var(--blue) 100% 75%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.copied {
|
&.copied {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[data-scope="collapsible"][data-part="root"] {
|
[data-scope="collapsible"][data-part="root"] {
|
||||||
padding: 0.673rem;
|
padding: 0.673rem;
|
||||||
background-color: hsl(var(--white) 40 50 / 0.1);
|
background-color: hsl(var(--white) 40% 50% / 0.1);
|
||||||
border-radius: 0.618rem;
|
border-radius: 0.618rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: hsl(var(--white) 40 50 / 0.1);
|
background-color: hsl(var(--white) 40% 50% / 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
&[data-state="open"] {
|
&[data-state="open"] {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
border: 1px solid hsla(var(--blue) 10 15 / 0.6);
|
border: 1px solid hsl(var(--blue) 10% 15% / 0.6);
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
|
|
||||||
& .root-nav-entry {
|
& .root-nav-entry {
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 1rem;
|
||||||
|
|
||||||
&:not(:last-child) {
|
&:not(:last-child) {
|
||||||
border-bottom: 1px solid hsla(var(--blue) 10 15 / 0.6);
|
border-bottom: 1px solid hsl(var(--blue) 10% 15% / 0.6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.type-module {
|
.type-module {
|
||||||
color: hsl(var(--blue) 75 60);
|
color: hsl(var(--blue) 75% 60%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.typedocs-subheading > span > p {
|
.typedocs-subheading > span > p {
|
||||||
|
@ -147,7 +147,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.typedata-param {
|
.typedata-param {
|
||||||
color: hsla(var(--prop-link-color) / 1);
|
color: hsl(var(--prop-link-color) / 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.type-datatype {
|
.type-datatype {
|
||||||
|
@ -162,10 +162,10 @@
|
||||||
|
|
||||||
.typeprops {
|
.typeprops {
|
||||||
& .typeprop-root {
|
& .typeprop-root {
|
||||||
border: 1px solid hsla(var(--prop-color) / 0.6);
|
border: 1px solid hsl(var(--prop-color) / 0.6);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border: 1px solid hsla(var(--prop-color));
|
border: 1px solid hsl(var(--prop-color));
|
||||||
|
|
||||||
& .type-datatype {
|
& .type-datatype {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -180,21 +180,21 @@
|
||||||
|
|
||||||
html.dark .typeprops {
|
html.dark .typeprops {
|
||||||
& .typeprop-root {
|
& .typeprop-root {
|
||||||
border: 1px solid hsla(var(--prop-color) / 0.3);
|
border: 1px solid hsl(var(--prop-color) / 0.3);
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:target {
|
&:target {
|
||||||
border: 1px solid hsla(var(--prop-color) / 0.6);
|
border: 1px solid hsl(var(--prop-color) / 0.6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.typefuncs {
|
.typefuncs {
|
||||||
& .typefunc-root {
|
& .typefunc-root {
|
||||||
border: 1px solid hsla(var(--func-color) / 0.6);
|
border: 1px solid hsl(var(--func-color) / 0.6);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border: 1px solid hsla(var(--func-color));
|
border: 1px solid hsl(var(--func-color));
|
||||||
|
|
||||||
& .type-datatype {
|
& .type-datatype {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -223,21 +223,21 @@ html.dark .typeprops {
|
||||||
|
|
||||||
html.dark .typefuncs {
|
html.dark .typefuncs {
|
||||||
& .typefunc-root {
|
& .typefunc-root {
|
||||||
border: 1px solid hsla(var(--func-color) / 0.3);
|
border: 1px solid hsl(var(--func-color) / 0.3);
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:target {
|
&:target {
|
||||||
border: 1px solid hsla(var(--func-color) / 0.6);
|
border: 1px solid hsl(var(--func-color) / 0.6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.typesignals {
|
.typesignals {
|
||||||
& .typesignal-root {
|
& .typesignal-root {
|
||||||
border: 1px solid hsla(var(--signal-color) / 0.6);
|
border: 1px solid hsl(var(--signal-color) / 0.6);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border: 1px solid hsla(var(--signal-color));
|
border: 1px solid hsl(var(--signal-color));
|
||||||
|
|
||||||
& .typesignal-doclink {
|
& .typesignal-doclink {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -275,21 +275,21 @@ html.dark .typefuncs {
|
||||||
|
|
||||||
html.dark .typesignals {
|
html.dark .typesignals {
|
||||||
& .typesignal-root {
|
& .typesignal-root {
|
||||||
border: 1px solid hsla(var(--signal-color) / 0.3);
|
border: 1px solid hsl(var(--signal-color) / 0.3);
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:target {
|
&:target {
|
||||||
border: 1px solid hsla(var(--signal-color) / 0.6);
|
border: 1px solid hsl(var(--signal-color) / 0.6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.typevariants {
|
.typevariants {
|
||||||
& .typevariant-root {
|
& .typevariant-root {
|
||||||
border: 1px solid hsla(var(--var-color) / 0.6);
|
border: 1px solid hsl(var(--var-color) / 0.6);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border: 1px solid hsla(var(--var-color));
|
border: 1px solid hsl(var(--var-color));
|
||||||
|
|
||||||
& .typevariant-doclink {
|
& .typevariant-doclink {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
@ -314,11 +314,11 @@ html.dark .typesignals {
|
||||||
|
|
||||||
html.dark .typevariants {
|
html.dark .typevariants {
|
||||||
& .typevariant-root {
|
& .typevariant-root {
|
||||||
border: 1px solid hsla(var(--var-color) / 0.3);
|
border: 1px solid hsl(var(--var-color) / 0.3);
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:target {
|
&:target {
|
||||||
border: 1px solid hsla(var(--var-color) / 0.6);
|
border: 1px solid hsl(var(--var-color) / 0.6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -335,11 +335,11 @@ html.dark .typevariants {
|
||||||
.root-nav {
|
.root-nav {
|
||||||
& .root-nav-entry {
|
& .root-nav-entry {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 0.60fr 1.40fr;
|
grid-template-columns: 0.6fr 1.4fr;
|
||||||
|
|
||||||
& .root-nav-desc {
|
& .root-nav-desc {
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
border-left: 1px solid hsl(var(--blue) 10 15 / 0.6);
|
border-left: 1px solid hsl(var(--blue) 10% 15% / 0.6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& p, h1, h2, h3, h4, h5 {
|
& p,
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5 {
|
||||||
margin-block: 0.618rem;
|
margin-block: 0.618rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,17 +149,17 @@ ul {
|
||||||
}
|
}
|
||||||
|
|
||||||
.docs-collapsible {
|
.docs-collapsible {
|
||||||
background-color: hsl(var(--white) 40 50 / 0.1);
|
background-color: hsl(var(--white) 40% 50% / 0.1);
|
||||||
border-radius: 0.618rem;
|
border-radius: 0.618rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
& summary {
|
& summary {
|
||||||
padding: 1.2rem;
|
padding: 1.2rem;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
box-shadow: 0 0 0.5rem 0px rgba(0 0 0 / 0.25);
|
box-shadow: 0 0 0.5rem 0px rgba(0deg 0% 0% / 0.25);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: hsla(250 11 100 / 0.06);
|
background-color: hsl(250deg 11% 100% / 0.06);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -180,9 +185,9 @@ ul {
|
||||||
|
|
||||||
.docs-collapsible[open]:not(.closing) {
|
.docs-collapsible[open]:not(.closing) {
|
||||||
& summary {
|
& summary {
|
||||||
background-color: hsla(250 11 100 / 0.03);
|
background-color: hsl(250deg 11% 100% / 0.03);
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: hsla(250 11 100 / 0.06);
|
background-color: hsl(250deg 11% 100% / 0.06);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,65 +4,32 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search {
|
#qs_search {
|
||||||
--search-result-spacing: calc(
|
--search-result-spacing: calc(1.25rem * var(--pagefind-ui-scale));
|
||||||
1.25rem *
|
--search-result-pad-inline-start: calc(3.75rem * var(--pagefind-ui-scale));
|
||||||
var(--pagefind-ui-scale)
|
--search-result-pad-inline-end: calc(1.25rem * var(--pagefind-ui-scale));
|
||||||
);
|
--search-result-pad-block: calc(0.9375rem * var(--pagefind-ui-scale));
|
||||||
--search-result-pad-inline-start: calc(
|
--search-result-nested-pad-block: calc(0.625rem * var(--pagefind-ui-scale));
|
||||||
3.75rem *
|
|
||||||
var(--pagefind-ui-scale)
|
|
||||||
);
|
|
||||||
--search-result-pad-inline-end: calc(
|
|
||||||
1.25rem *
|
|
||||||
var(--pagefind-ui-scale)
|
|
||||||
);
|
|
||||||
--search-result-pad-block: calc(
|
|
||||||
0.9375rem *
|
|
||||||
var(--pagefind-ui-scale)
|
|
||||||
);
|
|
||||||
--search-result-nested-pad-block: calc(
|
|
||||||
0.625rem *
|
|
||||||
var(--pagefind-ui-scale)
|
|
||||||
);
|
|
||||||
--search-corners: calc(0.3125rem * var(--pagefind-ui-scale));
|
--search-corners: calc(0.3125rem * var(--pagefind-ui-scale));
|
||||||
--search-page-icon-size: calc(
|
--search-page-icon-size: calc(1.875rem * var(--pagefind-ui-scale));
|
||||||
1.875rem *
|
|
||||||
var(--pagefind-ui-scale)
|
|
||||||
);
|
|
||||||
--search-page-icon-inline-start: calc(
|
--search-page-icon-inline-start: calc(
|
||||||
(
|
(var(--search-result-pad-inline-start) - var(--search-page-icon-size)) / 2
|
||||||
var(--search-result-pad-inline-start) -
|
|
||||||
var(--search-page-icon-size)
|
|
||||||
) /
|
|
||||||
2
|
|
||||||
);
|
|
||||||
--search-tree-diagram-size: calc(
|
|
||||||
2.5rem *
|
|
||||||
var(--pagefind-ui-scale)
|
|
||||||
);
|
);
|
||||||
|
--search-tree-diagram-size: calc(2.5rem * var(--pagefind-ui-scale));
|
||||||
--search-tree-diagram-inline-start: calc(
|
--search-tree-diagram-inline-start: calc(
|
||||||
(
|
(var(--search-result-pad-inline-start) - var(--search-tree-diagram-size)) /
|
||||||
var(--search-result-pad-inline-start) -
|
|
||||||
var(--search-tree-diagram-size)
|
|
||||||
) /
|
|
||||||
2
|
2
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search .pagefind-ui__form::before {
|
#qs_search .pagefind-ui__form::before {
|
||||||
--pagefind-ui-text: hsl(0 0 65);
|
--pagefind-ui-text: hsl(0deg 0% 65%);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
outline: unset;
|
outline: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search
|
#qs_search
|
||||||
.pagefind-ui--reset
|
.pagefind-ui--reset
|
||||||
*:where(
|
*:where(:not(html, iframe, canvas, img, svg, video):not(svg *, symbol *)) {
|
||||||
:not(html, iframe, canvas, img, svg, video):not(
|
|
||||||
svg *,
|
|
||||||
symbol *
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
outline: unset;
|
outline: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,7 +40,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search input:focus {
|
#qs_search input:focus {
|
||||||
--pagefind-ui-border: hsla(var(--accent-500));
|
--pagefind-ui-border: hsl(var(--accent-500));
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search .pagefind-ui__search-clear {
|
#qs_search .pagefind-ui__search-clear {
|
||||||
|
@ -85,7 +52,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search .pagefind-ui__search-clear:focus {
|
#qs_search .pagefind-ui__search-clear:focus {
|
||||||
outline: 1px solid hsla(var(--accent-600));
|
outline: 1px solid hsl(var(--accent-600));
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search .pagefind-ui__search-clear::before {
|
#qs_search .pagefind-ui__search-clear::before {
|
||||||
|
@ -94,7 +61,7 @@
|
||||||
center / 50% no-repeat;
|
center / 50% no-repeat;
|
||||||
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m13.41 12 6.3-6.29a1 1 0 1 0-1.42-1.42L12 10.59l-6.29-6.3a1 1 0 0 0-1.42 1.42l6.3 6.29-6.3 6.29a1 1 0 0 0 .33 1.64 1 1 0 0 0 1.09-.22l6.29-6.3 6.29 6.3a1 1 0 0 0 1.64-.33 1 1 0 0 0-.22-1.09L13.41 12Z'/%3E%3C/svg%3E")
|
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m13.41 12 6.3-6.29a1 1 0 1 0-1.42-1.42L12 10.59l-6.29-6.3a1 1 0 0 0-1.42 1.42l6.3 6.29-6.3 6.29a1 1 0 0 0 .33 1.64 1 1 0 0 0 1.09-.22l6.29-6.3 6.29 6.3a1 1 0 0 0 1.64-.33 1 1 0 0 0-.22-1.09L13.41 12Z'/%3E%3C/svg%3E")
|
||||||
center / 50% no-repeat;
|
center / 50% no-repeat;
|
||||||
background-color: hsl(0 25 45);
|
background-color: hsl(0deg 25% 45%);
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -117,18 +84,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search
|
#qs_search
|
||||||
.pagefind-ui__result-title:not(
|
.pagefind-ui__result-title:not(:where(.pagefind-ui__result-nested *)),
|
||||||
:where(.pagefind-ui__result-nested *)
|
|
||||||
),
|
|
||||||
#qs_search .pagefind-ui__result-nested {
|
#qs_search .pagefind-ui__result-nested {
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: hsl(0 0 10);
|
background-color: hsl(0deg 0% 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search
|
#qs_search
|
||||||
.pagefind-ui__result-title:not(
|
.pagefind-ui__result-title:not(:where(.pagefind-ui__result-nested *)):hover,
|
||||||
:where(.pagefind-ui__result-nested *)
|
|
||||||
):hover,
|
|
||||||
#qs_search
|
#qs_search
|
||||||
.pagefind-ui__result-title:not(
|
.pagefind-ui__result-title:not(
|
||||||
:where(.pagefind-ui__result-nested *)
|
:where(.pagefind-ui__result-nested *)
|
||||||
|
@ -159,23 +122,18 @@
|
||||||
border-radius: 0 0 var(--search-corners) var(--search-corners);
|
border-radius: 0 0 var(--search-corners) var(--search-corners);
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search
|
#qs_search .pagefind-ui__result-inner > .pagefind-ui__result-title {
|
||||||
.pagefind-ui__result-inner
|
padding: var(--search-result-pad-block) var(--search-result-pad-inline-end);
|
||||||
> .pagefind-ui__result-title {
|
|
||||||
padding: var(--search-result-pad-block)
|
|
||||||
var(--search-result-pad-inline-end);
|
|
||||||
padding-inline-start: var(--search-result-pad-inline-start);
|
padding-inline-start: var(--search-result-pad-inline-start);
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search
|
#qs_search .pagefind-ui__result-inner > .pagefind-ui__result-title::before {
|
||||||
.pagefind-ui__result-inner
|
|
||||||
> .pagefind-ui__result-title::before {
|
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset-block: 0;
|
inset-block: 0;
|
||||||
inset-inline-start: var(--search-page-icon-inline-start);
|
inset-inline-start: var(--search-page-icon-inline-start);
|
||||||
width: var(--search-page-icon-size);
|
width: var(--search-page-icon-size);
|
||||||
background: hsl(var(--blue) 15 33);
|
background: hsl(var(--blue) 15% 33%);
|
||||||
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24'%3E%3Cpath d='M9 10h1a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm0 2a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9Zm11-3V8l-6-6a1 1 0 0 0-1 0H7a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V9Zm-6-4 3 3h-2a1 1 0 0 1-1-1V5Zm4 14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5v3a3 3 0 0 0 3 3h3v9Zm-3-3H9a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E")
|
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24'%3E%3Cpath d='M9 10h1a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm0 2a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9Zm11-3V8l-6-6a1 1 0 0 0-1 0H7a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V9Zm-6-4 3 3h-2a1 1 0 0 1-1-1V5Zm4 14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5v3a3 3 0 0 0 3 3h3v9Zm-3-3H9a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E")
|
||||||
center no-repeat;
|
center no-repeat;
|
||||||
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24'%3E%3Cpath d='M9 10h1a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm0 2a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9Zm11-3V8l-6-6a1 1 0 0 0-1 0H7a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V9Zm-6-4 3 3h-2a1 1 0 0 1-1-1V5Zm4 14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5v3a3 3 0 0 0 3 3h3v9Zm-3-3H9a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E")
|
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24'%3E%3Cpath d='M9 10h1a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm0 2a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9Zm11-3V8l-6-6a1 1 0 0 0-1 0H7a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V9Zm-6-4 3 3h-2a1 1 0 0 1-1-1V5Zm4 14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h5v3a3 3 0 0 0 3 3h3v9Zm-3-3H9a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2Z'/%3E%3C/svg%3E")
|
||||||
|
@ -189,7 +147,7 @@
|
||||||
|
|
||||||
#qs_search .pagefind-ui__result-link {
|
#qs_search .pagefind-ui__result-link {
|
||||||
position: unset;
|
position: unset;
|
||||||
--pagefind-ui-text: hsl(0 0 85);
|
--pagefind-ui-text: hsl(0deg 0% 85%);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -197,9 +155,7 @@
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search
|
#qs_search .pagefind-ui__result-nested .pagefind-ui__result-link::before {
|
||||||
.pagefind-ui__result-nested
|
|
||||||
.pagefind-ui__result-link::before {
|
|
||||||
content: unset;
|
content: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -209,7 +165,7 @@
|
||||||
inset-block: 0;
|
inset-block: 0;
|
||||||
inset-inline-start: var(--search-tree-diagram-inline-start);
|
inset-inline-start: var(--search-tree-diagram-inline-start);
|
||||||
width: var(--search-tree-diagram-size);
|
width: var(--search-tree-diagram-size);
|
||||||
background: hsl(var(--blue) 10 30);
|
background: hsl(var(--blue) 10% 30%);
|
||||||
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' viewBox='0 0 16 1000' preserveAspectRatio='xMinYMin slice'%3E%3Cpath d='M8 0v1000m6-988H8'/%3E%3C/svg%3E")
|
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' viewBox='0 0 16 1000' preserveAspectRatio='xMinYMin slice'%3E%3Cpath d='M8 0v1000m6-988H8'/%3E%3C/svg%3E")
|
||||||
0% 0% / 100% no-repeat;
|
0% 0% / 100% no-repeat;
|
||||||
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' viewBox='0 0 16 1000' preserveAspectRatio='xMinYMin slice'%3E%3Cpath d='M8 0v1000m6-988H8'/%3E%3C/svg%3E")
|
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' viewBox='0 0 16 1000' preserveAspectRatio='xMinYMin slice'%3E%3Cpath d='M8 0v1000m6-988H8'/%3E%3C/svg%3E")
|
||||||
|
@ -232,12 +188,10 @@
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search
|
#qs_search .pagefind-ui__result-inner > .pagefind-ui__result-excerpt {
|
||||||
.pagefind-ui__result-inner
|
|
||||||
> .pagefind-ui__result-excerpt {
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: hsl(0 0 10);
|
background: hsl(0deg 0% 10%);
|
||||||
padding: var(--search-result-nested-pad-block)
|
padding: var(--search-result-nested-pad-block)
|
||||||
var(--search-result-pad-inline-end);
|
var(--search-result-pad-inline-end);
|
||||||
padding-inline-start: var(--search-result-pad-inline-start);
|
padding-inline-start: var(--search-result-pad-inline-start);
|
||||||
|
@ -249,7 +203,7 @@
|
||||||
inset-block: 0;
|
inset-block: 0;
|
||||||
inset-inline-start: var(--search-tree-diagram-inline-start);
|
inset-inline-start: var(--search-tree-diagram-inline-start);
|
||||||
width: var(--search-tree-diagram-size);
|
width: var(--search-tree-diagram-size);
|
||||||
background: hsl(var(--blue) 10 30);
|
background: hsl(var(--blue) 10% 30%);
|
||||||
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' viewBox='0 0 16 1000' preserveAspectRatio='xMinYMin slice'%3E%3Cpath d='M8 0v1000m'/%3E%3C/svg%3E")
|
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' viewBox='0 0 16 1000' preserveAspectRatio='xMinYMin slice'%3E%3Cpath d='M8 0v1000m'/%3E%3C/svg%3E")
|
||||||
0% 0% / 100% no-repeat;
|
0% 0% / 100% no-repeat;
|
||||||
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' viewBox='0 0 16 1000' preserveAspectRatio='xMinYMin slice'%3E%3Cpath d='M8 0v1000m'/%3E%3C/svg%3E")
|
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' viewBox='0 0 16 1000' preserveAspectRatio='xMinYMin slice'%3E%3Cpath d='M8 0v1000m'/%3E%3C/svg%3E")
|
||||||
|
@ -258,17 +212,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#qs_search mark {
|
#qs_search mark {
|
||||||
color: hsl(var(--blue) 15 60);
|
color: hsl(var(--blue) 15% 60%);
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* default styles */
|
/* default styles */
|
||||||
site-search {
|
site-search {
|
||||||
--shadow-lg: 0px 25px 7px hsla(0, 0%, 0%, 0.03), 0px 16px 6px
|
--shadow-lg: 0px 25px 7px hsl(0deg, 0%, 0%, 0.03),
|
||||||
hsla(0, 0%, 0%, 0.1), 0px 9px 5px hsla(223, 13%, 10%, 0.33),
|
0px 16px 6px hsl(0deg, 0%, 0%, 0.1), 0px 9px 5px hsl(223deg, 13%, 10%, 0.33),
|
||||||
0px 4px 4px hsla(0, 0%, 0%, 0.75), 0px 4px 2px
|
0px 4px 4px hsl(0deg, 0%, 0%, 0.75), 0px 4px 2px hsl(0deg, 0%, 0%, 0.25);
|
||||||
hsla(0, 0%, 0%, 0.25);
|
|
||||||
display: contents;
|
display: contents;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -303,10 +256,10 @@ button[data-open-modal] {
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
border: 0;
|
border: 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: hsl(var(--blue) 40 65);
|
color: hsl(var(--blue) 40% 65%);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
font-size: 1.10rem;
|
font-size: 1.1rem;
|
||||||
|
|
||||||
& svg {
|
& svg {
|
||||||
width: 21px;
|
width: 21px;
|
||||||
|
@ -319,17 +272,17 @@ button > kbd {
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
gap: 0.25em;
|
gap: 0.25em;
|
||||||
padding-inline: 0.375rem;
|
padding-inline: 0.375rem;
|
||||||
background-color: hsla(var(--blue) 15 80);
|
background-color: hsl(var(--blue) 15% 80%);
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark button > kbd {
|
html.dark button > kbd {
|
||||||
background-color: hsla(var(--blue) 5 20 / 0.5);
|
background-color: hsl(var(--blue) 5% 20% / 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
dialog {
|
dialog {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: hsl(var(--blue) 10 15);
|
background-color: hsl(var(--blue) 10% 15%);
|
||||||
border: 1px solid hsl(var(--blue) 15 25);
|
border: 1px solid hsl(var(--blue) 15% 25%);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -342,7 +295,7 @@ dialog[open] {
|
||||||
}
|
}
|
||||||
|
|
||||||
dialog::backdrop {
|
dialog::backdrop {
|
||||||
background-color: hsla(var(--blue) 15 6 / 0.66);
|
background-color: hsl(var(--blue) 15% 6% / 0.66);
|
||||||
-webkit-backdrop-filter: blur(0.25rem);
|
-webkit-backdrop-filter: blur(0.25rem);
|
||||||
backdrop-filter: blur(0.25rem);
|
backdrop-filter: blur(0.25rem);
|
||||||
}
|
}
|
||||||
|
@ -369,15 +322,15 @@ button[data-close-modal] {
|
||||||
|
|
||||||
#qs_search {
|
#qs_search {
|
||||||
--pagefind-ui-primary: hsla(var(--accent-400));
|
--pagefind-ui-primary: hsla(var(--accent-400));
|
||||||
--pagefind-ui-text: hsla(0 0 60);
|
--pagefind-ui-text: hsl(0deg 0% 60%);
|
||||||
--pagefind-ui-background: hsl(var(--blue) 10 15);
|
--pagefind-ui-background: hsl(var(--blue) 10% 15%);
|
||||||
--pagefind-ui-border: hsl(var(--blue) 30 25);
|
--pagefind-ui-border: hsl(var(--blue) 30% 25%);
|
||||||
--pagefind-ui-border-width: 1px;
|
--pagefind-ui-border-width: 1px;
|
||||||
--search-cancel-space: 5rem;
|
--search-cancel-space: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 40rem) {
|
@media (min-width: 40rem) {
|
||||||
/* difault styles */
|
/* default styles */
|
||||||
.search-label {
|
.search-label {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
@ -397,15 +350,17 @@ button[data-close-modal] {
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding-inline-start: 0.75rem;
|
padding-inline-start: 0.75rem;
|
||||||
padding-inline-end: 0.5rem;
|
padding-inline-end: 0.5rem;
|
||||||
background-color: hsla(var(--blue) 15 90);
|
background-color: hsl(var(--blue) 15% 90%);
|
||||||
color: hsl(var(--blue) 40 45);
|
color: hsl(var(--blue) 40% 45%);
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 15rem;
|
max-width: 15rem;
|
||||||
transition: color 0.23s, border-color 0.23s;
|
transition:
|
||||||
|
color 0.23s,
|
||||||
|
border-color 0.23s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: hsl(var(--blue) 50 30);
|
color: hsl(var(--blue) 50% 30%);
|
||||||
}
|
}
|
||||||
|
|
||||||
& > :last-child {
|
& > :last-child {
|
||||||
|
@ -414,11 +369,11 @@ button[data-close-modal] {
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark button[data-open-modal] {
|
html.dark button[data-open-modal] {
|
||||||
background-color: hsla(var(--blue) 15 15 / 0.5);
|
background-color: hsla(var(--blue) 15% 15% / 0.5);
|
||||||
color: hsl(var(--blue) 40 65);
|
color: hsl(var(--blue) 40% 65%);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: hsl(var(--blue) 60 85);
|
color: hsl(var(--blue) 60% 85%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.toc-wrapper-mobile .toc-content {
|
.toc-wrapper-mobile .toc-content {
|
||||||
& .toc_a {
|
& .toc_a {
|
||||||
transition: color 0.33s;
|
transition: color 0.33s;
|
||||||
color: hsl(var(--green) 72 40);
|
color: hsl(var(--green) 72% 40%);
|
||||||
}
|
}
|
||||||
|
|
||||||
& ul {
|
& ul {
|
||||||
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
& > .toc_a {
|
& > .toc_a {
|
||||||
color: hsl(var(--green) 72 60);
|
color: hsl(var(--green) 72% 60%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,7 @@ html.dark {
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
to right,
|
to right,
|
||||||
transparent,
|
transparent,
|
||||||
hsl(var(--blue) 100 59),
|
hsl(var(--blue) 100% 59%),
|
||||||
transparent
|
transparent
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -129,7 +129,7 @@ body.overflow-toc {
|
||||||
.header-spacer {
|
.header-spacer {
|
||||||
height: 1.5rem;
|
height: 1.5rem;
|
||||||
width: 2px;
|
width: 2px;
|
||||||
background-color: hsla(var(--white) 40 50 / 0.3);
|
background-color: hsla(var(--white) 40% 50% / 0.3);
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -177,22 +177,22 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(2) .hint {
|
&:nth-child(2) .hint {
|
||||||
color: hsl(var(--green) 30 45);
|
color: hsl(var(--green) 30% 45%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(3) .hint {
|
&:nth-child(3) .hint {
|
||||||
color: hsl(var(--blue) 30 45);
|
color: hsl(var(--blue) 30% 45%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: hsl(var(--text));
|
color: hsl(var(--text));
|
||||||
|
|
||||||
&:nth-child(2) .hint {
|
&:nth-child(2) .hint {
|
||||||
color: hsl(var(--green) 60 60);
|
color: hsl(var(--green) 60% 60%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(3) .hint {
|
&:nth-child(3) .hint {
|
||||||
color: hsl(var(--blue) 60 66);
|
color: hsl(var(--blue) 60% 66%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -206,7 +206,7 @@ footer {
|
||||||
|
|
||||||
& > p {
|
& > p {
|
||||||
margin-bottom: 0.2rem;
|
margin-bottom: 0.2rem;
|
||||||
color: hsl(0 0 40);
|
color: hsl(0deg 0% 40%);
|
||||||
}
|
}
|
||||||
|
|
||||||
& > a {
|
& > a {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
& .navy {
|
& .navy {
|
||||||
color: hsl(var(--blue) 66 60);
|
color: hsl(var(--blue) 66% 60%);
|
||||||
}
|
}
|
||||||
|
|
||||||
& .green {
|
& .green {
|
||||||
|
@ -24,8 +24,8 @@
|
||||||
h1.gradient-text {
|
h1.gradient-text {
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
30deg,
|
30deg,
|
||||||
hsl(var(--green) 80 42),
|
hsl(var(--green) 80% 42%),
|
||||||
hsl(var(--blue) 80 49)
|
hsl(var(--blue) 80% 49%)
|
||||||
);
|
);
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
-webkit-text-fill-color: transparent;
|
-webkit-text-fill-color: transparent;
|
||||||
|
@ -34,8 +34,8 @@ h1.gradient-text {
|
||||||
html.dark h1.gradient-text {
|
html.dark h1.gradient-text {
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
30deg,
|
30deg,
|
||||||
hsl(var(--green) 100 62),
|
hsl(var(--green) 100% 62%),
|
||||||
hsl(var(--blue) 100 59)
|
hsl(var(--blue) 100% 59%)
|
||||||
);
|
);
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
-webkit-text-fill-color: transparent;
|
-webkit-text-fill-color: transparent;
|
||||||
|
@ -54,13 +54,13 @@ html.dark h1.gradient-text {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
letter-spacing: 0.018rem;
|
letter-spacing: 0.018rem;
|
||||||
margin-bottom: 0.117rem;
|
margin-bottom: 0.117rem;
|
||||||
color: hsl(var(--blue) 40 33);
|
color: hsl(var(--blue) 40% 33%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark .main-page_hero-text {
|
html.dark .main-page_hero-text {
|
||||||
& h2 {
|
& h2 {
|
||||||
color: hsl(var(--blue) 100 83);
|
color: hsl(var(--blue) 100% 83%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,26 +93,28 @@ html.dark .main-page_hero-text {
|
||||||
height: 3.67rem;
|
height: 3.67rem;
|
||||||
border-radius: 9px;
|
border-radius: 9px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 1px solid hsl(var(--green) 10 10);
|
border: 1px solid hsl(var(--green) 10% 10%);
|
||||||
transition: background-color 0.3s, border-color 0.3s;
|
transition:
|
||||||
|
background-color 0.3s,
|
||||||
|
border-color 0.3s;
|
||||||
|
|
||||||
background-color: hsl(var(--green) 38 30);
|
background-color: hsl(var(--green) 38% 30%);
|
||||||
color: hsl(194 0 100);
|
color: hsl(194deg 0% 100%);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-color: hsl(var(--green) 20 20);
|
border-color: hsl(var(--green) 20% 20%);
|
||||||
background-color: hsl(var(--green) 48 40);
|
background-color: hsl(var(--green) 48% 40%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.main-page_bluecard {
|
&.main-page_bluecard {
|
||||||
border-color: hsl(var(--blue) 10 10);
|
border-color: hsl(var(--blue) 10% 10%);
|
||||||
background-color: hsl(var(--blue) 38 30);
|
background-color: hsl(var(--blue) 38% 30%);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border-color: hsl(var(--blue) 20 20);
|
border-color: hsl(var(--blue) 20% 20%);
|
||||||
background-color: hsl(var(--blue) 48 40);
|
background-color: hsl(var(--blue) 48% 40%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -171,18 +173,18 @@ html.dark .main-page_hero-text {
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
html.dark .main-page_link-card {
|
html.dark .main-page_link-card {
|
||||||
background-color: hsl(var(--green) 38 25);
|
background-color: hsl(var(--green) 38% 25%);
|
||||||
color: hsl(194 0 100);
|
color: hsl(194deg 0% 100%);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: hsl(var(--green) 48 35);
|
background-color: hsl(var(--green) 48% 35%);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.main-page_bluecard {
|
&.main-page_bluecard {
|
||||||
background-color: hsl(var(--blue) 38 25);
|
background-color: hsl(var(--blue) 38% 25%);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: hsl(var(--blue) 48 35);
|
background-color: hsl(var(--blue) 48% 35%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue