mirror of
https://github.com/marktext/marktext.git
synced 2025-05-21 11:20:54 +08:00
Fix horizontal line style (#120)
This commit is contained in:
parent
9e7b07b68d
commit
a45bf48bb1
@ -6,7 +6,7 @@
|
||||
transform: scale(1.2);
|
||||
} /* ignored */
|
||||
to {
|
||||
transform: scale(1);
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@ -288,6 +288,7 @@ li p .ag-hide:first-child {
|
||||
p:not(.ag-active)[data-role="hr"] {
|
||||
position: relative;
|
||||
color: transparent;
|
||||
padding: 0.8em 0;
|
||||
}
|
||||
|
||||
p:not(.ag-active)[data-role="hr"]::before {
|
||||
@ -296,7 +297,8 @@ p:not(.ag-active)[data-role="hr"]::before {
|
||||
height: 5px;
|
||||
background: gainsboro;
|
||||
position: absolute;
|
||||
bottom: -2px;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
|
||||
p:not(.ag-active)[data-role="hr"] * {
|
||||
@ -456,4 +458,3 @@ span[data-role="link"], a[data-role="link"], span[data-role="link"] .ag-backlash
|
||||
.ag-focus-mode pre.ag-active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
@ -370,6 +370,10 @@ code {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
p:not(.ag-active)[data-role="hr"]::before {
|
||||
background: #545454;
|
||||
}
|
||||
|
||||
.fg-color-dark {
|
||||
color: #c6c6c6;
|
||||
}
|
||||
|
@ -351,6 +351,10 @@ code {
|
||||
background: #F2F6FC;
|
||||
}
|
||||
|
||||
p:not(.ag-active)[data-role="hr"]::before {
|
||||
background: gainsboro;
|
||||
}
|
||||
|
||||
.fg-color-dark {
|
||||
color: #303133;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user