client: update style

This commit is contained in:
fantasticit 2022-05-29 23:42:05 +08:00
parent 188cfca6d7
commit bec87175b4
5 changed files with 21 additions and 21 deletions

View File

@ -118,3 +118,7 @@
font-weight: inherit; font-weight: inherit;
} }
} }
.semi-navigation-horizontal .semi-navigation-header {
margin-right: 0;
}

View File

@ -83,31 +83,25 @@
padding-left: 10px; padding-left: 10px;
border-left: 2px solid var(--semi-color-fill-2); border-left: 2px solid var(--semi-color-fill-2);
margin: 0.75rem 0; margin: 0.75rem 0;
color: var(--semi-color-text-2);
} }
hr { hr {
position: relative; position: relative;
height: 2px; height: 24px;
background: var(--semi-color-border); background-color: transparent;
border: 0; border: 0;
&::before,
&::after { &::after {
position: absolute; position: absolute;
top: 11px;
left: 0; left: 0;
display: block; display: block;
width: 100%; width: 100%;
height: 12px; height: 2px;
background: var(--semi-color-border);
content: ''; content: '';
} }
&::before {
top: 0;
}
&::after {
bottom: 0;
}
} }
} }

View File

@ -1,32 +1,32 @@
.ProseMirror { .ProseMirror {
h1 { h1 {
margin: 26px 0 12px; margin: 26px 0 12px;
font-size: 1.87em; font-size: 2.17em;
} }
h2 { h2 {
margin: 21px 0 12px; margin: 21px 0 12px;
font-size: 1.6em; font-size: 1.9em;
} }
h3 { h3 {
margin: 16px 0 12px; margin: 16px 0 12px;
font-size: 1.3em; font-size: 1.6em;
} }
h4 { h4 {
margin: 14px 0 12px; margin: 14px 0 12px;
font-size: 1.1em; font-size: 1.4em;
} }
h5 { h5 {
margin: 5px 0 12px; margin: 5px 0 12px;
font-size: 1em; font-size: 1.3em;
} }
h6 { h6 {
margin: 0 0 12px; margin: 0 0 12px;
font-size: 1em; font-size: 1.3em;
} }
h1:first-child, h1:first-child,

View File

@ -1,8 +1,10 @@
/* stylelint-disable */ /* stylelint-disable */
.ProseMirror { .ProseMirror {
hr.selected-node { hr.selected-node {
&::after {
background-color: var(--node-selected-border-color); background-color: var(--node-selected-border-color);
} }
}
.tableWrapper { .tableWrapper {
&.selected-node { &.selected-node {

View File

@ -1,7 +1,7 @@
.ProseMirror { .ProseMirror {
.title { .title {
margin: 10px 0 22px; margin: 12px 0 24px;
font-size: 2.4em; font-size: 2.5em;
font-weight: bold; font-weight: bold;
color: var(--semi-color-text-0); color: var(--semi-color-text-0);
border-bottom: 1px solid var(--semi-color-border); border-bottom: 1px solid var(--semi-color-border);