1
0
mirror of https://github.com/kuohuanhuan/x-markdown-css.git synced 2024-11-25 06:18:19 +00:00

feat(code): add specify styles for code blocks

This commit is contained in:
郭桓桓 2023-03-07 18:56:37 +08:00
parent 6c0c7e7624
commit ce94858f01
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75

View File

@ -33,4 +33,10 @@ pre {
content: none;
}
}
&:has(code) {
margin: .5rem 0;
font-size: 1.05rem;
font-family: var(--xm-font-code);
line-height: 1.4;
}
}