feat: improve gfm container css

This commit is contained in:
Julien Oculi 2024-06-04 23:43:26 +02:00
parent df6a62b42f
commit a16b5903ce

View file

@ -13,7 +13,18 @@ export function renderGfm(md: string): string {
main { main {
max-width: 800px; max-width: 800px;
margin: 0 auto; margin: 0 auto;
border-radius: 0.5rem;
padding: 0.5rem;
} }
body {
background-color: #f7eedc;
@media (prefers-color-scheme: dark) {
background-color: #02010a;
}
}
${CSS} ${CSS}
${KATEX_CSS} ${KATEX_CSS}
</style> </style>