feat: improve gfm container css
This commit is contained in:
parent
df6a62b42f
commit
a16b5903ce
|
@ -13,7 +13,18 @@ export function renderGfm(md: string): string {
|
|||
main {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #f7eedc;
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
background-color: #02010a;
|
||||
}
|
||||
}
|
||||
|
||||
${CSS}
|
||||
${KATEX_CSS}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue