mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-08 22:39:36 +08:00
fix: serif font in markdown title styles (#8129)
refactor: update font-family usage in markdown styles
This commit is contained in:
parent
1fd92d6a5d
commit
ea7e07034a
@ -22,7 +22,6 @@
|
|||||||
margin: 1.5em 0 1em 0;
|
margin: 1.5em 0 1em 0;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-family: var(--font-family);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@ -124,7 +123,7 @@
|
|||||||
pre {
|
pre {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
font-family: 'Fira Code', 'Courier New', Courier, monospace;
|
font-family: var(--code-font-family);
|
||||||
background-color: var(--color-background-mute);
|
background-color: var(--color-background-mute);
|
||||||
&:has(.special-preview) {
|
&:has(.special-preview) {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -188,7 +187,6 @@
|
|||||||
th {
|
th {
|
||||||
background-color: var(--color-background-mute);
|
background-color: var(--color-background-mute);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-family: var(--font-family);
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user