mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 19:56:10 +01:00
style(typography): 将标记的样式移到行级样式末尾,覆盖键盘样式和备注样式 (#13845)
This commit is contained in:
parent
2ea36de32c
commit
6abaa967cb
1 changed files with 11 additions and 11 deletions
|
|
@ -82,17 +82,6 @@
|
|||
// https://ld246.com/article/1636204769623 test $\rightarrow$ test
|
||||
}
|
||||
|
||||
mark,
|
||||
span[data-type~="mark"] {
|
||||
background-color: var(--b3-protyle-inline-mark-background);
|
||||
color: var(--b3-protyle-inline-mark-color);
|
||||
|
||||
&.mark--hl {
|
||||
background-color: var(--b3-theme-primary-lighter);
|
||||
box-shadow: 0 0 0 .5px var(--b3-theme-on-background);
|
||||
}
|
||||
}
|
||||
|
||||
kbd,
|
||||
span[data-type~="kbd"] {
|
||||
padding: 2px 4px;
|
||||
|
|
@ -122,6 +111,17 @@
|
|||
border-bottom: 2px solid var(--b3-card-info-color);
|
||||
}
|
||||
|
||||
mark,
|
||||
span[data-type~="mark"] {
|
||||
background-color: var(--b3-protyle-inline-mark-background);
|
||||
color: var(--b3-protyle-inline-mark-color);
|
||||
|
||||
&.mark--hl {
|
||||
background-color: var(--b3-theme-primary-lighter);
|
||||
box-shadow: 0 0 0 .5px var(--b3-theme-on-background);
|
||||
}
|
||||
}
|
||||
|
||||
blockquote {
|
||||
position: relative;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue