Files
mesh-forge/pages/tailwind.css
2025-12-06 17:12:03 -08:00

154 lines
3.4 KiB
CSS

@import "tailwindcss";
@plugin "@tailwindcss/typography";
@theme {
--font-sans: system-ui, -apple-system, sans-serif;
--color-background: oklch(0.145 0 0);
--color-foreground: oklch(0.985 0 0);
--color-primary: oklch(0.488 0.243 264.376);
--color-primary-foreground: oklch(0.985 0 0);
--color-secondary: oklch(0.269 0 0);
--color-secondary-foreground: oklch(0.985 0 0);
--color-muted: oklch(0.269 0 0);
--color-muted-foreground: oklch(0.708 0 0);
--color-accent: oklch(0.488 0.243 264.376);
--color-accent-foreground: oklch(0.985 0 0);
--color-destructive: oklch(0.704 0.191 22.216);
--color-border: oklch(1 0 0 / 10%);
--color-input: oklch(1 0 0 / 15%);
--color-ring: oklch(0.488 0.243 264.376);
--radius: 0.5rem;
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground font-sans;
}
}
.prose.prose-invert h1 {
font-size: 2.25rem;
font-weight: 700;
margin-bottom: 1.5rem;
margin-top: 2rem;
line-height: 1.3;
padding-bottom: 0.15em;
background: linear-gradient(to right, rgb(34, 211, 238), rgb(59, 130, 246), rgb(147, 51, 234));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.prose.prose-invert h2 {
font-size: 1.875rem;
font-weight: 600;
margin-bottom: 1rem;
margin-top: 2rem;
color: oklch(0.985 0 0);
border-bottom: 1px solid oklch(1 0 0 / 10%);
padding-bottom: 0.5rem;
}
.prose.prose-invert h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 0.75rem;
margin-top: 1.5rem;
color: oklch(0.985 0 0);
}
.prose.prose-invert h4 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
margin-top: 1rem;
color: oklch(0.985 0 0);
}
.prose.prose-invert p {
margin-bottom: 1rem;
line-height: 1.75;
color: oklch(0.708 0 0);
}
.prose.prose-invert a {
color: oklch(0.488 0.243 264.376);
font-weight: 500;
text-decoration: underline;
text-decoration-color: oklch(0.488 0.243 264.376 / 0.3);
text-underline-offset: 2px;
transition:
color 0.2s,
text-decoration-color 0.2s;
}
.prose.prose-invert a:hover {
color: oklch(0.488 0.243 264.376 / 0.8);
text-decoration-color: oklch(0.488 0.243 264.376 / 0.6);
}
.prose.prose-invert strong {
font-weight: 600;
color: oklch(0.985 0 0);
}
.prose.prose-invert code {
background-color: oklch(0.269 0 0);
padding: 0.125rem 0.375rem;
border-radius: 0.25rem;
font-size: 0.875rem;
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
color: oklch(0.488 0.243 264.376);
border: 1px solid oklch(1 0 0 / 10%);
}
.prose.prose-invert pre {
background-color: oklch(0.269 0 0);
border: 1px solid oklch(1 0 0 / 10%);
border-radius: 0.5rem;
padding: 1rem;
overflow-x: auto;
}
.prose.prose-invert pre code {
background-color: transparent;
padding: 0;
border: 0;
color: oklch(0.985 0 0);
}
.prose.prose-invert ul,
.prose.prose-invert ol {
margin-bottom: 1rem;
}
.prose.prose-invert ul > li,
.prose.prose-invert ol > li {
margin-top: 0.5rem;
color: oklch(0.708 0 0);
}
.prose.prose-invert ul > li::marker,
.prose.prose-invert ol > li::marker {
color: oklch(0.488 0.243 264.376);
}
.prose.prose-invert blockquote {
border-left: 4px solid oklch(0.488 0.243 264.376);
padding-left: 1rem;
font-style: italic;
color: oklch(0.708 0 0);
margin: 1rem 0;
}
.prose.prose-invert hr {
border-color: oklch(1 0 0 / 10%);
margin: 2rem 0;
}