mirror of https://github.com/fantasticit/think.git
feat: improve img style
parent
c5adad8b37
commit
a3f07e05a8
|
@ -1,18 +1,8 @@
|
|||
.ProseMirror {
|
||||
font-family:
|
||||
'Chinese Quote',
|
||||
'Segoe UI',
|
||||
Roboto,
|
||||
RobotoNum,
|
||||
'PingFang SC',
|
||||
'Hiragino Sans GB',
|
||||
'Microsoft YaHei',
|
||||
'Helvetica Neue',
|
||||
Helvetica,
|
||||
Arial,
|
||||
sans-serif;
|
||||
font-family: 'Chinese Quote', 'Segoe UI', Roboto, RobotoNum, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
|
||||
'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
line-height: 1.74;
|
||||
letter-spacing: .008em;
|
||||
letter-spacing: 0.008em;
|
||||
color: var(--semi-color-text-0);
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
|
@ -34,19 +24,19 @@
|
|||
}
|
||||
|
||||
p {
|
||||
margin-top: .75rem;
|
||||
margin-top: 0.75rem;
|
||||
margin-bottom: 0;
|
||||
font-size: 1em;
|
||||
font-weight: normal;
|
||||
line-height: 1.714;
|
||||
letter-spacing: -.005em;
|
||||
letter-spacing: -0.005em;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
box-sizing: border-box;
|
||||
padding-left: 10px;
|
||||
border-left: 2px solid var(--semi-color-fill-2);
|
||||
margin: .75rem 0;
|
||||
margin: 0.75rem 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
|
@ -80,3 +70,11 @@
|
|||
/* stylelint-disable-next-line declaration-block-no-duplicate-properties */
|
||||
cursor: col-resize;
|
||||
}
|
||||
|
||||
body[theme-mode='dark'] {
|
||||
.ProseMirror {
|
||||
img {
|
||||
opacity: 0.75;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -280,8 +280,4 @@ body[theme-mode='dark'] {
|
|||
color: #ffdcd7;
|
||||
background-color: #67060c;
|
||||
}
|
||||
|
||||
img {
|
||||
opacity: 0.75;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue