mirror of
https://github.com/marktext/marktext.git
synced 2025-05-06 12:51:26 +08:00
modify highlight style
This commit is contained in:
parent
12c2b9d161
commit
139a7066db
@ -130,8 +130,8 @@ div.ag-show-quick-insert-hint p.ag-paragraph.ag-active > span.ag-paragraph-conte
|
||||
*:not(.ag-hide)::selection, .ag-selection {
|
||||
background: var(--selectionColor);
|
||||
color: var(--editorColor);
|
||||
padding: 0 3px;
|
||||
border-radius: 2px;
|
||||
padding: 0 2px;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.ag-hide::selection {
|
||||
@ -232,10 +232,13 @@ figure[data-role="FOOTNOTE"] .ag-footnote-input::after {
|
||||
.ag-highlight {
|
||||
animation-name: highlight;
|
||||
animation-duration: .25s;
|
||||
display: inline-block;
|
||||
padding: 0 3px;
|
||||
border-radius: 2px;
|
||||
background: var(--highlightColor);
|
||||
color: var(--editorColor80);
|
||||
display: inline-block;
|
||||
padding: 0 2px;
|
||||
border-radius: 1px;
|
||||
height: 1.3em;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
|
||||
span.ag-html-tag {
|
||||
|
Loading…
Reference in New Issue
Block a user