29 lines
365 B
CSS
29 lines
365 B
CSS
|
.prose pre:not(.shiki) {
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.prose .shiki {
|
||
|
font-family: 'DM Mono', monospace;
|
||
|
font-size: 1.2em;
|
||
|
line-height: 1.4;
|
||
|
}
|
||
|
|
||
|
.prose img {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.shiki-light {
|
||
|
background: #f8f8f8 !important;
|
||
|
}
|
||
|
.shiki-dark {
|
||
|
background: #0e0e0e !important;
|
||
|
}
|
||
|
|
||
|
html.dark .shiki-light {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
html:not(.dark) .shiki-dark {
|
||
|
display: none;
|
||
|
}
|