Skip to content

Commit

Permalink
style(typography): 将标记的样式移到行级样式末尾,覆盖键盘样式和备注样式 (#13845)
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC authored Jan 29, 2025
1 parent 2ea36de commit 6abaa96
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions app/src/assets/scss/component/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 6abaa96

Please sign in to comment.