Almost done with documentation

This commit is contained in:
Ronan Berder
2025-05-01 12:50:40 +08:00
parent ba71f2ea79
commit 930e0ee6f1
47 changed files with 681 additions and 577 deletions
-120
View File
@@ -906,124 +906,4 @@
}
}
}
}
/* Prose */
@layer components {
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
@apply font-medium leading-tight;
}
.prose h1,
.h1 {
@apply text-2xl;
}
.prose h2,
.h2 {
@apply text-xl;
}
.prose h3,
.h3 {
@apply text-lg;
}
.prose h4,
.prose h5,
.prose h6,
.h4,
.h5,
.h6 {
@apply text-base;
}
.prose a,
.link {
@apply font-medium underline underline-offset-4;
}
.prose code,
.code {
@apply relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm;
}
.prose pre:has(> code),
.code-block {
@apply bg-muted border-border rounded-md;
}
.prose pre code,
.code-block code {
@apply inline-block p-4 text-sm font-mono;
}
.prose blockquote,
.quote {
@apply border-l-4 border-border pl-4;
}
.prose ol,
.ordered-list {
@apply my-6 ml-6 list-decimal;
li {
@apply mb-2;
}
}
.prose ul,
.unordered-list {
@apply my-6 ml-6 list-disc;
li {
@apply mb-2;
}
ul,
ol {
@apply my-2;
}
}
.prose > *:first-child {
@apply !mt-0;
}
.prose > *:last-child {
@apply !mb-0;
}
.prose h1 {
@apply mb-8;
}
.prose h2 {
@apply mt-8 mb-6;
}
.prose h3 {
@apply mt-6 mb-4;
}
.prose h4 {
@apply my-4;
}
.prose h5 {
@apply my-4;
}
.prose h6 {
@apply my-4;
}
.prose > p,
.prose > blockquote,
.prose > ul,
.prose > ol,
.prose > dl,
.prose > table,
.prose > pre,
.prose > p {
@apply my-4;
}
.prose > *:last-child {
@apply !mb-0;
}
.prose strong,
.prose b {
@apply font-semibold;
}
}