mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 06:54:08 +01:00
style: 改进字号 CSS 和列表项的伪元素布局 (#13959)
* style: 添加 --b3-font-size-editor 变量 * style: 添加 --b3-font-size-editor 变量
This commit is contained in:
parent
beb6b804a6
commit
698698eec1
4 changed files with 10 additions and 7 deletions
|
|
@ -9,6 +9,7 @@
|
|||
font-variant-ligatures: no-common-ligatures;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: var(--b3-font-size-editor);
|
||||
font-family: var(--b3-font-family-protyle);
|
||||
|
||||
img {
|
||||
|
|
|
|||
|
|
@ -344,7 +344,7 @@
|
|||
.protyle-title {
|
||||
margin: 34px 16px 0 24px;
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
font-size: var(--b3-font-size-editor);
|
||||
font-family: var(--b3-font-family-protyle);
|
||||
padding-left: 2px;
|
||||
border-radius: var(--b3-border-radius);
|
||||
|
|
|
|||
|
|
@ -180,14 +180,18 @@
|
|||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
top: 50%;
|
||||
transition: var(--b3-transition);
|
||||
left: 50%;
|
||||
height: max(14px, 1em);
|
||||
width: max(14px, 1em);
|
||||
margin: min(-7px, -.5em) 0 0 min(-7px, -.5em);
|
||||
border-radius: 50%;
|
||||
transition: var(--b3-transition);
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 34px;
|
||||
height: max(14px, 1em - 8px);
|
||||
display: block;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue