Files
blog.html/assets/css/styles.min.css
2026-03-28 17:35:17 +00:00

1373 lines
34 KiB
CSS

/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
@import url("https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap");
@import url("https://unpkg.com/@catppuccin/palette/css/catppuccin.css");
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
:root, :host {
--font-sans: "Fira Mono", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
--font-mono: "Fira Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
"Liberation Mono", "Courier New", monospace;
--color-blue-400: oklch(70.7% 0.165 254.624);
--spacing: 0.25rem;
--text-xs: 0.75rem;
--text-xs--line-height: calc(1 / 0.75);
--text-sm: 0.875rem;
--text-sm--line-height: calc(1.25 / 0.875);
--text-lg: 1.125rem;
--text-lg--line-height: calc(1.75 / 1.125);
--text-xl: 1.25rem;
--text-xl--line-height: calc(1.75 / 1.25);
--text-2xl: 1.5rem;
--text-2xl--line-height: calc(2 / 1.5);
--text-3xl: 1.875rem;
--text-3xl--line-height: calc(2.25 / 1.875);
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
--leading-relaxed: 1.625;
--radius-sm: 0.25rem;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
--radius-xl: 0.75rem;
--ease-in: cubic-bezier(0.4, 0, 1, 1);
--ease-out: cubic-bezier(0, 0, 0.2, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--default-transition-duration: 150ms;
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
--default-font-family: var(--font-sans);
--default-mono-font-family: var(--font-mono);
--color-base: var(--base);
--color-base-alt: var(--base-alt);
--color-surface: var(--surface);
--color-text: var(--text);
--color-text-alt: var(--text-alt);
--color-grey: var(--grey);
--color-dark-grey: var(--dark-grey);
--color-red: var(--red);
--color-orange: var(--orange);
--color-green: var(--green);
--color-teal: var(--teal);
--color-yellow: var(--yellow);
--color-blue: var(--blue);
--color-magenta: var(--magenta);
--color-violet: var(--violet);
--color-cyan: var(--cyan);
}
}
@layer base {
*, ::after, ::before, ::backdrop, ::file-selector-button {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0 solid;
}
html, :host {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
tab-size: 4;
font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji');
font-feature-settings: var(--default-font-feature-settings, normal);
font-variation-settings: var(--default-font-variation-settings, normal);
-webkit-tap-highlight-color: transparent;
}
hr {
height: 0;
color: inherit;
border-top-width: 1px;
}
abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
h1, h2, h3, h4, h5, h6 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
-webkit-text-decoration: inherit;
text-decoration: inherit;
}
b, strong {
font-weight: bolder;
}
code, kbd, samp, pre {
font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace);
font-feature-settings: var(--default-mono-font-feature-settings, normal);
font-variation-settings: var(--default-mono-font-variation-settings, normal);
font-size: 1em;
}
small {
font-size: 80%;
}
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
table {
text-indent: 0;
border-color: inherit;
border-collapse: collapse;
}
:-moz-focusring {
outline: auto;
}
progress {
vertical-align: baseline;
}
summary {
display: list-item;
}
ol, ul, menu {
list-style: none;
}
img, svg, video, canvas, audio, iframe, embed, object {
display: block;
vertical-align: middle;
}
img, video {
max-width: 100%;
height: auto;
}
button, input, select, optgroup, textarea, ::file-selector-button {
font: inherit;
font-feature-settings: inherit;
font-variation-settings: inherit;
letter-spacing: inherit;
color: inherit;
border-radius: 0;
background-color: transparent;
opacity: 1;
}
:where(select:is([multiple], [size])) optgroup {
font-weight: bolder;
}
:where(select:is([multiple], [size])) optgroup option {
padding-inline-start: 20px;
}
::file-selector-button {
margin-inline-end: 4px;
}
::placeholder {
opacity: 1;
}
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
::placeholder {
color: currentcolor;
@supports (color: color-mix(in lab, red, red)) {
color: color-mix(in oklab, currentcolor 50%, transparent);
}
}
}
textarea {
resize: vertical;
}
::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-date-and-time-value {
min-height: 1lh;
text-align: inherit;
}
::-webkit-datetime-edit {
display: inline-flex;
}
::-webkit-datetime-edit-fields-wrapper {
padding: 0;
}
::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
padding-block: 0;
}
::-webkit-calendar-picker-indicator {
line-height: 1;
}
:-moz-ui-invalid {
box-shadow: none;
}
button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button {
appearance: button;
}
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
height: auto;
}
[hidden]:where(:not([hidden='until-found'])) {
display: none !important;
}
}
@layer utilities {
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
border-width: 0;
}
.relative {
position: relative;
}
.static {
position: static;
}
.container {
width: 100%;
@media (width >= 40rem) {
max-width: 40rem;
}
@media (width >= 48rem) {
max-width: 48rem;
}
@media (width >= 64rem) {
max-width: 64rem;
}
@media (width >= 80rem) {
max-width: 80rem;
}
@media (width >= 96rem) {
max-width: 96rem;
}
}
.mx-auto {
margin-inline: auto;
}
.mt-0\! {
margin-top: calc(var(--spacing) * 0) !important;
}
.mt-4 {
margin-top: calc(var(--spacing) * 4);
}
.mt-6 {
margin-top: calc(var(--spacing) * 6);
}
.mt-8 {
margin-top: calc(var(--spacing) * 8);
}
.mt-12 {
margin-top: calc(var(--spacing) * 12);
}
.mr-1 {
margin-right: calc(var(--spacing) * 1);
}
.mr-2 {
margin-right: calc(var(--spacing) * 2);
}
.mr-4 {
margin-right: calc(var(--spacing) * 4);
}
.mr-px {
margin-right: 1px;
}
.block {
display: block;
}
.flex {
display: flex;
}
.hidden {
display: none;
}
.inline-flex {
display: inline-flex;
}
.h-5 {
height: calc(var(--spacing) * 5);
}
.h-8 {
height: calc(var(--spacing) * 8);
}
.h-16 {
height: calc(var(--spacing) * 16);
}
.min-h-screen {
min-height: 100vh;
}
.w-5 {
width: calc(var(--spacing) * 5);
}
.w-8 {
width: calc(var(--spacing) * 8);
}
.w-fit {
width: fit-content;
}
.w-full {
width: 100%;
}
.max-w-\[50\%\] {
max-width: 50%;
}
.flex-1 {
flex: 1;
}
.shrink-0 {
flex-shrink: 0;
}
.rotate-90 {
rotate: 90deg;
}
.flex-col {
flex-direction: column;
}
.flex-row {
flex-direction: row;
}
.flex-wrap {
flex-wrap: wrap;
}
.items-center {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.justify-center {
justify-content: center;
}
.space-y-2 {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
}
}
.space-y-4 {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
}
}
.space-x-1 {
:where(& > :not(:last-child)) {
--tw-space-x-reverse: 0;
margin-inline-start: calc(calc(var(--spacing) * 1) * var(--tw-space-x-reverse));
margin-inline-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-x-reverse)));
}
}
.space-x-2 {
:where(& > :not(:last-child)) {
--tw-space-x-reverse: 0;
margin-inline-start: calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));
margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
}
}
.space-x-4 {
:where(& > :not(:last-child)) {
--tw-space-x-reverse: 0;
margin-inline-start: calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));
margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)));
}
}
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.rounded-lg {
border-radius: var(--radius-lg);
}
.rounded-md {
border-radius: var(--radius-md);
}
.rounded-sm {
border-radius: var(--radius-sm);
}
.rounded-xl {
border-radius: var(--radius-xl);
}
.border-2 {
border-style: var(--tw-border-style);
border-width: 2px;
}
.border-t {
border-top-style: var(--tw-border-style);
border-top-width: 1px;
}
.border-base-alt {
border-color: var(--color-base-alt);
}
.border-t-base-alt {
border-top-color: var(--color-base-alt);
}
.bg-\[\#303040\] {
background-color: #303040;
}
.bg-grey {
background-color: var(--color-grey);
}
.bg-surface {
background-color: var(--color-surface);
}
.p-2 {
padding: calc(var(--spacing) * 2);
}
.p-4 {
padding: calc(var(--spacing) * 4);
}
.px-1 {
padding-inline: calc(var(--spacing) * 1);
}
.px-3 {
padding-inline: calc(var(--spacing) * 3);
}
.px-4 {
padding-inline: calc(var(--spacing) * 4);
}
.px-6 {
padding-inline: calc(var(--spacing) * 6);
}
.py-2 {
padding-block: calc(var(--spacing) * 2);
}
.py-4 {
padding-block: calc(var(--spacing) * 4);
}
.pt-2 {
padding-top: calc(var(--spacing) * 2);
}
.pt-6 {
padding-top: calc(var(--spacing) * 6);
}
.pt-8 {
padding-top: calc(var(--spacing) * 8);
}
.pt-10 {
padding-top: calc(var(--spacing) * 10);
}
.pb-4 {
padding-bottom: calc(var(--spacing) * 4);
}
.text-center {
text-align: center;
}
.font-mono {
font-family: var(--font-mono);
}
.text-2xl {
font-size: var(--text-2xl);
line-height: var(--tw-leading, var(--text-2xl--line-height));
}
.text-lg {
font-size: var(--text-lg);
line-height: var(--tw-leading, var(--text-lg--line-height));
}
.text-sm {
font-size: var(--text-sm);
line-height: var(--tw-leading, var(--text-sm--line-height));
}
.text-xl {
font-size: var(--text-xl);
line-height: var(--tw-leading, var(--text-xl--line-height));
}
.text-xs {
font-size: var(--text-xs);
line-height: var(--tw-leading, var(--text-xs--line-height));
}
.font-bold {
--tw-font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-bold);
}
.font-medium {
--tw-font-weight: var(--font-weight-medium);
font-weight: var(--font-weight-medium);
}
.font-semibold {
--tw-font-weight: var(--font-weight-semibold);
font-weight: var(--font-weight-semibold);
}
.break-keep {
word-break: keep-all;
}
.text-base {
color: var(--color-base);
}
.text-blue {
color: var(--color-blue);
}
.text-blue\! {
color: var(--color-blue) !important;
}
.text-blue-400 {
color: var(--color-blue-400);
}
.text-dark-grey {
color: var(--color-dark-grey);
}
.text-grey {
color: var(--color-grey);
}
.text-magenta {
color: var(--color-magenta);
}
.text-magenta\! {
color: var(--color-magenta) !important;
}
.text-red {
color: var(--color-red);
}
.text-text {
color: var(--color-text);
}
.text-text-alt {
color: var(--color-text-alt);
}
.text-text\/70 {
color: var(--color-text);
@supports (color: color-mix(in lab, red, red)) {
color: color-mix(in oklab, var(--color-text) 70%, transparent);
}
}
.capitalize {
text-transform: capitalize;
}
.italic {
font-style: italic;
}
.tabular-nums {
--tw-numeric-spacing: tabular-nums;
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
}
.no-underline\! {
text-decoration-line: none !important;
}
.opacity-0 {
opacity: 0%;
}
.opacity-100 {
opacity: 100%;
}
.shadow-lg {
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.shadow-sm {
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
.transition {
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.transition-all {
transition-property: all;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.transition-colors {
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.duration-150 {
--tw-duration: 150ms;
transition-duration: 150ms;
}
.duration-200 {
--tw-duration: 200ms;
transition-duration: 200ms;
}
.duration-300 {
--tw-duration: 300ms;
transition-duration: 300ms;
}
.ease-in {
--tw-ease: var(--ease-in);
transition-timing-function: var(--ease-in);
}
.ease-in-out {
--tw-ease: var(--ease-in-out);
transition-timing-function: var(--ease-in-out);
}
.ease-linear {
--tw-ease: linear;
transition-timing-function: linear;
}
.ease-out {
--tw-ease: var(--ease-out);
transition-timing-function: var(--ease-out);
}
.last\:mr-0 {
&:last-child {
margin-right: calc(var(--spacing) * 0);
}
}
.hover\:bg-magenta {
&:hover {
@media (hover: hover) {
background-color: var(--color-magenta);
}
}
}
.hover\:text-base\! {
&:hover {
@media (hover: hover) {
color: var(--color-base) !important;
}
}
}
.hover\:text-blue {
&:hover {
@media (hover: hover) {
color: var(--color-blue);
}
}
}
.hover\:text-blue-400 {
&:hover {
@media (hover: hover) {
color: var(--color-blue-400);
}
}
}
.hover\:text-text-alt {
&:hover {
@media (hover: hover) {
color: var(--color-text-alt);
}
}
}
.hover\:text-yellow {
&:hover {
@media (hover: hover) {
color: var(--color-yellow);
}
}
}
.hover\:no-underline\! {
&:hover {
@media (hover: hover) {
text-decoration-line: none !important;
}
}
}
.hover\:underline {
&:hover {
@media (hover: hover) {
text-decoration-line: underline;
}
}
}
.hover\:underline\! {
&:hover {
@media (hover: hover) {
text-decoration-line: underline !important;
}
}
}
.hover\:decoration-dashed {
&:hover {
@media (hover: hover) {
text-decoration-style: dashed;
}
}
}
.focus\:outline-none {
&:focus {
--tw-outline-style: none;
outline-style: none;
}
}
.md\:mr-6 {
@media (width >= 48rem) {
margin-right: calc(var(--spacing) * 6);
}
}
.md\:flex {
@media (width >= 48rem) {
display: flex;
}
}
.md\:hidden {
@media (width >= 48rem) {
display: none;
}
}
.md\:flex-row {
@media (width >= 48rem) {
flex-direction: row;
}
}
.md\:items-center {
@media (width >= 48rem) {
align-items: center;
}
}
.md\:space-y-0 {
@media (width >= 48rem) {
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)));
}
}
}
.md\:space-x-8 {
@media (width >= 48rem) {
:where(& > :not(:last-child)) {
--tw-space-x-reverse: 0;
margin-inline-start: calc(calc(var(--spacing) * 8) * var(--tw-space-x-reverse));
margin-inline-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-x-reverse)));
}
}
}
.md\:px-0 {
@media (width >= 48rem) {
padding-inline: calc(var(--spacing) * 0);
}
}
.md\:text-2xl {
@media (width >= 48rem) {
font-size: var(--text-2xl);
line-height: var(--tw-leading, var(--text-2xl--line-height));
}
}
.md\:text-sm {
@media (width >= 48rem) {
font-size: var(--text-sm);
line-height: var(--tw-leading, var(--text-sm--line-height));
}
}
.md\:text-xl {
@media (width >= 48rem) {
font-size: var(--text-xl);
line-height: var(--tw-leading, var(--text-xl--line-height));
}
}
.lg\:mr-8 {
@media (width >= 64rem) {
margin-right: calc(var(--spacing) * 8);
}
}
.dark\:border-t-\[\#39394b\] {
&:where(.dark, .dark *) {
border-top-color: #39394b;
}
}
.dark\:text-grey {
&:where(.dark, .dark *) {
color: var(--color-grey);
}
}
}
@layer base {
button:not(:disabled), [role="button"]:not(:disabled) {
cursor: pointer;
}
}
@layer utilities {
.table {
display: initial;
}
}
:root {
--base: var(--ctp-latte-base);
--base-alt: var(--ctp-latte-mantle);
--surface: var(--ctp-latte-surface0);
--text: var(--ctp-latte-text);
--text-alt: var(--ctp-latte-subtext1);
--grey: var(--ctp-latte-overlay1);
--dark-grey: var(--ctp-latte-overlay0);
--magenta: var(--ctp-latte-mauve);
--red: var(--ctp-latte-red);
--orange: var(--ctp-latte-peach);
--yellow: var(--ctp-latte-yellow);
--green: var(--ctp-latte-green);
--teal: var(--ctp-latte-teal);
--cyan: var(--ctp-latte-sky);
--blue: var(--ctp-latte-blue);
--violet: var(--ctp-latte-lavender);
}
:root.dark {
--base: var(--ctp-mocha-base);
--base-alt: var(--ctp-mocha-mantle);
--surface: var(--ctp-mocha-surface0);
--text: var(--ctp-mocha-text);
--text-alt: var(--ctp-mocha-subtext1);
--grey: var(--ctp-mocha-overlay1);
--dark-grey: var(--ctp-mocha-overlay0);
--magenta: var(--ctp-mocha-mauve);
--red: var(--ctp-mocha-red);
--orange: var(--ctp-mocha-peach);
--yellow: var(--ctp-mocha-yellow);
--green: var(--ctp-mocha-green);
--teal: var(--ctp-mocha-teal);
--cyan: var(--ctp-mocha-sky);
--blue: var(--ctp-mocha-blue);
--violet: var(--ctp-mocha-lavender);
}
html {
scrollbar-color: var(--blue) var(--surface);
scroll-behavior: smooth;
font-family: var(--font-sans);
--tw-numeric-spacing: tabular-nums;
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
}
body {
background-color: var(--color-base);
--tw-font-weight: var(--font-weight-medium);
font-weight: var(--font-weight-medium);
color: var(--color-text);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
main a {
text-decoration-line: underline;
&:hover {
@media (hover: hover) {
color: var(--color-blue);
}
}
}
a.icon {
text-decoration-line: none;
}
a {
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
transition-duration: var(--tw-duration, var(--default-transition-duration));
--tw-duration: 200ms;
transition-duration: 200ms;
--tw-ease: var(--ease-in-out);
transition-timing-function: var(--ease-in-out);
}
hr {
color: var(--color-base-alt);
&:where(.dark, .dark *) {
--tw-brightness: brightness(120%);
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
}
header, footer {
background-color: var(--color-surface);
color: var(--color-text-alt);
}
h1, h2, h3, h4, h5, h6 {
--tw-font-weight: var(--font-weight-bold);
font-weight: var(--font-weight-bold);
}
h1 {
font-size: var(--text-3xl);
line-height: var(--tw-leading, var(--text-3xl--line-height));
}
h2 {
font-size: var(--text-2xl);
line-height: var(--tw-leading, var(--text-2xl--line-height));
counter-increment: h2;
counter-reset: h3;
}
h3 {
font-size: var(--text-xl);
line-height: var(--tw-leading, var(--text-xl--line-height));
counter-increment: h3;
counter-reset: h4;
}
h4 {
font-size: var(--text-lg);
line-height: var(--tw-leading, var(--text-lg--line-height));
counter-increment: h4;
}
h5 {
counter-increment: h5;
}
h6 {
--tw-font-weight: var(--font-weight-semibold);
font-weight: var(--font-weight-semibold);
counter-increment: h6;
}
p {
padding-block: calc(var(--spacing) * 2);
--tw-leading: var(--leading-relaxed);
line-height: var(--leading-relaxed);
}
strong {
--tw-font-weight: var(--font-weight-semibold);
font-weight: var(--font-weight-semibold);
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
ul, ol {
--tw-leading: var(--leading-relaxed);
line-height: var(--leading-relaxed);
}
nav ul, nav ol {
margin-inline: calc(var(--spacing) * 2);
list-style-type: none;
:where(& > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)));
}
}
main ul {
padding-left: calc(var(--spacing) * 4);
}
main h2, article h2, section h2 {
margin-top: calc(var(--spacing) * 10);
}
main h3, article h3, section h3 {
margin-top: calc(var(--spacing) * 8);
}
main h4, article h4, section h4 {
margin-top: calc(var(--spacing) * 6);
}
main h5, article h5, section h5 {
margin-top: calc(var(--spacing) * 4);
}
main h6, article h6, section h6 {
margin-top: calc(var(--spacing) * 2);
}
main div#content h2:not(:first-child) {
border-top-style: var(--tw-border-style);
border-top-width: 1px;
border-top-color: var(--color-base-alt);
padding-top: calc(var(--spacing) * 5);
&:where(.dark, .dark *) {
border-top-color: #39394b;
}
}
main div#content h3:not(:first-child) {
border-top-style: var(--tw-border-style);
border-top-width: 1px;
border-top-color: var(--color-base-alt);
padding-top: calc(var(--spacing) * 4);
&:where(.dark, .dark *) {
border-top-color: #39394b;
}
}
main div#content h4:not(:first-child) {
border-top-style: var(--tw-border-style);
border-top-width: 1px;
border-top-color: var(--color-base-alt);
padding-top: calc(var(--spacing) * 3);
&:where(.dark, .dark *) {
border-top-color: #39394b;
}
}
main div#content h5:not(:first-child) {
border-top-style: var(--tw-border-style);
border-top-width: 1px;
border-top-color: var(--color-base-alt);
padding-top: calc(var(--spacing) * 2);
&:where(.dark, .dark *) {
border-top-color: #39394b;
}
}
main div#content h6:not(:first-child) {
border-top-style: var(--tw-border-style);
border-top-width: 1px;
border-top-color: var(--color-base-alt);
padding-top: calc(var(--spacing) * 1);
&:where(.dark, .dark *) {
border-top-color: #39394b;
}
}
blockquote {
margin-block: calc(var(--spacing) * 4);
border-top-right-radius: var(--radius-sm);
border-bottom-right-radius: var(--radius-sm);
border-inline-start-style: var(--tw-border-style);
border-inline-start-width: 4px;
border-color: var(--color-base-alt);
background-color: var(--color-surface);
padding: calc(var(--spacing) * 4);
&:where(.dark, .dark *) {
border-color: var(--color-surface);
}
&:where(.dark, .dark *) {
background-color: var(--color-base-alt);
}
}
blockquote.tip {
border-color: var(--color-green);
background-color: var(--color-green);
@supports (color: color-mix(in lab, red, red)) {
background-color: color-mix(in oklab, var(--color-green) 30%, transparent);
}
}
blockquote.note {
border-color: var(--color-blue);
background-color: var(--color-blue);
@supports (color: color-mix(in lab, red, red)) {
background-color: color-mix(in oklab, var(--color-blue) 30%, transparent);
}
}
blockquote.important {
border-color: var(--color-violet);
background-color: var(--color-violet);
@supports (color: color-mix(in lab, red, red)) {
background-color: color-mix(in oklab, var(--color-violet) 30%, transparent);
}
}
blockquote.warning {
border-color: var(--color-yellow);
background-color: var(--color-yellow);
@supports (color: color-mix(in lab, red, red)) {
background-color: color-mix(in oklab, var(--color-yellow) 30%, transparent);
}
}
blockquote.error {
border-color: var(--color-red);
background-color: var(--color-red);
@supports (color: color-mix(in lab, red, red)) {
background-color: color-mix(in oklab, var(--color-red) 30%, transparent);
}
}
blockquote > p {
--tw-leading: var(--leading-relaxed);
line-height: var(--leading-relaxed);
}
code:not([class*="language-"]) {
border-radius: var(--radius-md);
background-color: var(--color-base-alt);
padding-inline: calc(var(--spacing) * 1);
padding-block: 1px;
font-family: var(--font-mono);
font-size: var(--text-sm);
line-height: var(--tw-leading, var(--text-sm--line-height));
&:where(.dark, .dark *) {
background-color: var(--color-surface);
}
&:where(.dark, .dark *) {
--tw-brightness: brightness(80%);
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
}
}
nav.toc {
height: calc(3/4 * 100%);
border-radius: var(--radius-md);
border-style: var(--tw-border-style);
border-width: 2px;
border-color: var(--color-base-alt);
background-color: var(--color-surface);
padding-top: calc(var(--spacing) * 4);
padding-bottom: calc(var(--spacing) * 4);
font-family: var(--font-mono);
}
nav.toc ol {
list-style-position: inside;
list-style-type: decimal;
padding-left: calc(var(--spacing) * 4);
}
nav.toc ul {
list-style-position: inside;
list-style-type: disc;
padding-left: calc(var(--spacing) * 4);
}
nav.toc ol li, nav.toc ul li {
margin-top: calc(var(--spacing) * 0);
padding-bottom: calc(var(--spacing) * 0);
}
nav.toc ol li a, nav.toc ul li a {
text-decoration-line: none;
&:hover {
@media (hover: hover) {
color: var(--color-blue);
}
}
}
nav.toc ol li::marker, nav.toc ul li::marker {
&:hover {
@media (hover: hover) {
color: var(--color-blue);
}
}
}
nav.toc ol li ol, nav.toc ul li ul {
padding-bottom: calc(var(--spacing) * 2);
}
pre[class*="language-"], code[class*="language-"] {
font-variant-ligatures: common-ligatures !important;
background-color: var(--color-surface) !important;
font-family: var(--font-mono) !important;
text-shadow: none !important;
&:where(.dark, .dark *) {
background-color: var(--color-base-alt);
}
}
pre[class*="language-"].line-numbers {
counter-reset: linenumber;
position: relative;
padding-left: calc(var(--spacing) * 13);
}
pre[class*="language-"].line-numbers > code {
white-space: inherit;
position: relative;
}
.line-numbers .line-numbers-rows {
pointer-events: none;
position: absolute;
top: -1.5px;
left: calc(var(--spacing) * -12);
display: flex;
width: calc(var(--spacing) * 10);
flex-direction: column;
border-right-style: var(--tw-border-style) !important;
border-right-width: 1px !important;
border-right-color: var(--color-grey) !important;
-webkit-user-select: none;
user-select: none;
}
.line-numbers-rows > span {
counter-increment: linenumber;
display: block;
--tw-leading: 1.5;
line-height: 1.5;
}
.line-numbers-rows > span:before {
content: counter(linenumber);
display: block;
padding-right: calc(var(--spacing) * 2);
text-align: right;
color: var(--color-grey) !important;
}
pre.mermaid {
display: flex;
justify-content: center;
}
.dark .mermaid {
filter: invert(0.9) hue-rotate(180deg);
}
@property --tw-space-y-reverse {
syntax: "*";
inherits: false;
initial-value: 0;
}
@property --tw-space-x-reverse {
syntax: "*";
inherits: false;
initial-value: 0;
}
@property --tw-border-style {
syntax: "*";
inherits: false;
initial-value: solid;
}
@property --tw-font-weight {
syntax: "*";
inherits: false;
}
@property --tw-ordinal {
syntax: "*";
inherits: false;
}
@property --tw-slashed-zero {
syntax: "*";
inherits: false;
}
@property --tw-numeric-figure {
syntax: "*";
inherits: false;
}
@property --tw-numeric-spacing {
syntax: "*";
inherits: false;
}
@property --tw-numeric-fraction {
syntax: "*";
inherits: false;
}
@property --tw-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
syntax: "*";
inherits: false;
}
@property --tw-shadow-alpha {
syntax: "<percentage>";
inherits: false;
initial-value: 100%;
}
@property --tw-inset-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
syntax: "*";
inherits: false;
}
@property --tw-inset-shadow-alpha {
syntax: "<percentage>";
inherits: false;
initial-value: 100%;
}
@property --tw-ring-color {
syntax: "*";
inherits: false;
}
@property --tw-ring-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
syntax: "*";
inherits: false;
}
@property --tw-inset-ring-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
syntax: "*";
inherits: false;
}
@property --tw-ring-offset-width {
syntax: "<length>";
inherits: false;
initial-value: 0px;
}
@property --tw-ring-offset-color {
syntax: "*";
inherits: false;
initial-value: #fff;
}
@property --tw-ring-offset-shadow {
syntax: "*";
inherits: false;
initial-value: 0 0 #0000;
}
@property --tw-duration {
syntax: "*";
inherits: false;
}
@property --tw-ease {
syntax: "*";
inherits: false;
}
@property --tw-blur {
syntax: "*";
inherits: false;
}
@property --tw-brightness {
syntax: "*";
inherits: false;
}
@property --tw-contrast {
syntax: "*";
inherits: false;
}
@property --tw-grayscale {
syntax: "*";
inherits: false;
}
@property --tw-hue-rotate {
syntax: "*";
inherits: false;
}
@property --tw-invert {
syntax: "*";
inherits: false;
}
@property --tw-opacity {
syntax: "*";
inherits: false;
}
@property --tw-saturate {
syntax: "*";
inherits: false;
}
@property --tw-sepia {
syntax: "*";
inherits: false;
}
@property --tw-drop-shadow {
syntax: "*";
inherits: false;
}
@property --tw-drop-shadow-color {
syntax: "*";
inherits: false;
}
@property --tw-drop-shadow-alpha {
syntax: "<percentage>";
inherits: false;
initial-value: 100%;
}
@property --tw-drop-shadow-size {
syntax: "*";
inherits: false;
}
@property --tw-leading {
syntax: "*";
inherits: false;
}
@property --tw-text-shadow-color {
syntax: "*";
inherits: false;
}
@property --tw-text-shadow-alpha {
syntax: "<percentage>";
inherits: false;
initial-value: 100%;
}
@layer properties {
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
*, ::before, ::after, ::backdrop {
--tw-space-y-reverse: 0;
--tw-space-x-reverse: 0;
--tw-border-style: solid;
--tw-font-weight: initial;
--tw-ordinal: initial;
--tw-slashed-zero: initial;
--tw-numeric-figure: initial;
--tw-numeric-spacing: initial;
--tw-numeric-fraction: initial;
--tw-shadow: 0 0 #0000;
--tw-shadow-color: initial;
--tw-shadow-alpha: 100%;
--tw-inset-shadow: 0 0 #0000;
--tw-inset-shadow-color: initial;
--tw-inset-shadow-alpha: 100%;
--tw-ring-color: initial;
--tw-ring-shadow: 0 0 #0000;
--tw-inset-ring-color: initial;
--tw-inset-ring-shadow: 0 0 #0000;
--tw-ring-inset: initial;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-offset-shadow: 0 0 #0000;
--tw-duration: initial;
--tw-ease: initial;
--tw-blur: initial;
--tw-brightness: initial;
--tw-contrast: initial;
--tw-grayscale: initial;
--tw-hue-rotate: initial;
--tw-invert: initial;
--tw-opacity: initial;
--tw-saturate: initial;
--tw-sepia: initial;
--tw-drop-shadow: initial;
--tw-drop-shadow-color: initial;
--tw-drop-shadow-alpha: 100%;
--tw-drop-shadow-size: initial;
--tw-leading: initial;
--tw-text-shadow-color: initial;
--tw-text-shadow-alpha: 100%;
}
}
}