mirror of
https://github.com/apophenia-news/apophenia.news.git
synced 2026-09-18 05:25:43 +00:00
Feat: Import KaTeX CSS & style math blocks
Co-authored-by: gemini-3.7-flash <noreply@google.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
@import "@fontsource/source-serif-4/400.css";
|
||||
@import "@fontsource/source-serif-4/600.css";
|
||||
@import "@fontsource/source-serif-4/700.css";
|
||||
@import "katex/dist/katex.min.css";
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@@ -45,6 +46,10 @@
|
||||
@apply prose prose-zinc max-w-none prose-headings:font-serif prose-headings:text-zinc-900 prose-p:text-zinc-800 prose-li:text-zinc-800 prose-strong:text-zinc-900 prose-a:text-indigo-600 hover:prose-a:text-indigo-700 prose-img:rounded-xl prose-img:shadow-md;
|
||||
}
|
||||
|
||||
.article-prose .katex-display {
|
||||
@apply my-6 overflow-x-auto overflow-y-hidden py-2 text-center;
|
||||
}
|
||||
|
||||
.tag {
|
||||
@apply inline-flex items-center gap-1 text-xs px-2.5 py-1 rounded-full border border-indigo-200 bg-soft text-indigo-700;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user