优化 markdown 视觉表现
This commit is contained in:
parent
05986a562f
commit
a534111002
@ -10,12 +10,12 @@
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-md pre:has(code.hljs) {
|
.message-md pre:has(code) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-md pre code.hljs {
|
.message-md pre code {
|
||||||
font-size: 0.8rem;
|
font-size: 13px;
|
||||||
font-family: 'Menlo', 'Monaco', 'Consolas', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Source Han Sans CN', 'Courier New', monospace;
|
font-family: 'Menlo', 'Monaco', 'Consolas', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Source Han Sans CN', 'Courier New', monospace;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
letter-spacing: 0.025em;
|
letter-spacing: 0.025em;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user