221 lines
No EOL
3.9 KiB
CSS
221 lines
No EOL
3.9 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
body {
|
|
--pagefind-ui-primary: theme(colors.purple.600);
|
|
--pagefind-ui-text: theme(colors.gray.800);
|
|
--pagefind-ui-background: theme(colors.white);
|
|
--pagefind-ui-border: theme(colors.gray.200);
|
|
--pagefind-ui-tag: theme(colors.gray.200);
|
|
--pagefind-ui-border-width: 2px;
|
|
--pagefind-ui-border-radius: 8px;
|
|
--pagefind-ui-image-border-radius: 8px;
|
|
--pagefind-ui-image-box-ratio: 3 / 2;
|
|
--pagefind-ui-font: sans-serif;
|
|
}
|
|
|
|
body, html {
|
|
color: theme(colors.gray.900)
|
|
}
|
|
|
|
.pagefind-ui__form mark {
|
|
color: theme(colors.white) !important;
|
|
background: theme(colors.pink.500) !important;
|
|
}
|
|
|
|
.pagefind-ui__form .pagefind-ui__result-link {
|
|
color: theme(colors.purple.600) !important;
|
|
@apply !ease-in-out;
|
|
@apply !duration-300;
|
|
}
|
|
|
|
.pagefind-ui__form .pagefind-ui__result-link:hover,
|
|
.pagefind-ui__form .pagefind-ui__result-link:focus,
|
|
.pagefind-ui__form .pagefind-ui__result-link:active {
|
|
color: theme(colors.pink.500) !important;
|
|
}
|
|
|
|
::-moz-selection {
|
|
color: theme(colors.white);
|
|
background: theme(colors.pink.500);
|
|
}
|
|
|
|
::selection {
|
|
color: theme(colors.white);
|
|
background: theme(colors.pink.500);
|
|
}
|
|
|
|
.icon-inline svg {
|
|
@apply inline;
|
|
}
|
|
|
|
.active,
|
|
.active svg {
|
|
color: theme(colors.teal.700);
|
|
}
|
|
|
|
.header-anchor {
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
h1 > a.header-anchor {
|
|
font-weight: 800;
|
|
}
|
|
|
|
h2 > a.header-anchor {
|
|
font-weight: 700;
|
|
}
|
|
|
|
a,
|
|
.prose a {
|
|
color: theme(colors.purple.600);
|
|
@apply ease-in-out;
|
|
@apply duration-300;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus,
|
|
a:active,
|
|
.prose a:hover,
|
|
.prose a:focus,
|
|
.prose a:active {
|
|
color: theme(colors.pink.500);
|
|
}
|
|
|
|
p > a,
|
|
span > a,
|
|
blockquote > a,
|
|
li > a {
|
|
text-decoration: underline !important;
|
|
}
|
|
|
|
code {
|
|
@apply text-gray-50;
|
|
padding: .25rem;
|
|
}
|
|
|
|
pre {
|
|
border: 1px solid theme(colors.gray.700);
|
|
border-radius: 0 !important;
|
|
@apply scrollbar-thin;
|
|
@apply scrollbar-thumb-pink-500;
|
|
@apply scrollbar-track-pink-100;
|
|
}
|
|
|
|
.tag--button {
|
|
@apply font-semibold;
|
|
@apply py-2;
|
|
@apply px-4;
|
|
@apply mr-4;
|
|
@apply mb-4;
|
|
@apply rounded-full;
|
|
@apply text-white;
|
|
@apply ease-in-out;
|
|
@apply duration-300;
|
|
background: theme(colors.purple.600);
|
|
}
|
|
|
|
.tag--button.tag--button__small {
|
|
@apply py-1;
|
|
@apply px-2;
|
|
@apply mr-2;
|
|
@apply mb-2;
|
|
@apply text-sm;
|
|
@apply inline-block;
|
|
}
|
|
|
|
.tag--button:hover,
|
|
.tag--button:active,
|
|
.tag--button:focus {
|
|
background: theme(colors.pink.500);
|
|
}
|
|
|
|
code[class*=language-], pre[class*=language-] {
|
|
font-family: ui-monospace, SFMono-Regular, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace !important;
|
|
font-weight: 400 !important;
|
|
}
|
|
|
|
[data-tablericon-name] {
|
|
stroke-width: 1.4;
|
|
}
|
|
|
|
.icon--20 > svg {
|
|
@apply h-5;
|
|
@apply w-5;
|
|
}
|
|
|
|
.icon--24 > svg {
|
|
@apply h-6;
|
|
@apply w-6
|
|
}
|
|
|
|
.icon--28 > svg {
|
|
@apply h-7;
|
|
@apply w-7;
|
|
}
|
|
|
|
.icon--32 > svg {
|
|
@apply h-8;
|
|
@apply w-8;
|
|
}
|
|
|
|
.icon--bold > svg {
|
|
stroke-width: 2;
|
|
}
|
|
|
|
.link--icon > svg {
|
|
color: theme(colors.gray.700);
|
|
@apply ease-in-out;
|
|
@apply duration-300;
|
|
}
|
|
|
|
.link--icon:hover > svg {
|
|
color: theme(colors.pink.500)
|
|
}
|
|
|
|
.text--blur {
|
|
color: transparent;
|
|
text-shadow: 0 0 5px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
--pagefind-ui-primary: theme(colors.purple.400);
|
|
--pagefind-ui-text: theme(colors.white);
|
|
--pagefind-ui-background: theme(colors.gray.900);
|
|
--pagefind-ui-border: theme(colors.gray.700);
|
|
--pagefind-ui-tag: theme(colors.gray.700);
|
|
}
|
|
|
|
.active,
|
|
.active svg {
|
|
color: theme(colors.teal.300);
|
|
}
|
|
|
|
.pagefind-ui__form .pagefind-ui__result-link {
|
|
color: theme(colors.purple.400) !important;
|
|
}
|
|
|
|
a,
|
|
.prose a {
|
|
color: theme(colors.purple.400);
|
|
}
|
|
|
|
.link--icon svg {
|
|
color: theme(colors.gray.200)
|
|
}
|
|
|
|
.link--icon:hover svg {
|
|
color: theme(colors.pink.500)
|
|
}
|
|
|
|
.tag--button {
|
|
color: theme(colors.gray.900);
|
|
background: theme(colors.purple.400);
|
|
}
|
|
|
|
.text--blur {
|
|
text-shadow: 0 0 5px rgba(255,255,255,0.5);
|
|
}
|
|
} |