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;
}
}
.semi-navigation-horizontal .semi-navigation-header {
margin-right: 0;
}

View File

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

View File

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

View File

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

View File

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