Skip to content

Commit

Permalink
change css
Browse files Browse the repository at this point in the history
  • Loading branch information
shawroger committed Jan 13, 2023
1 parent b398fa8 commit 6925ae5
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 20 deletions.
31 changes: 31 additions & 0 deletions custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,37 @@ div#dockLeft {
display: none !important;
}

/* .protyle-util .protyle-font button.b3-tooltips::after {
display: none !important;
}
.protyle-util .protyle-font button.b3-tooltips::before {
display: inline-block !important;
position: absolute !important;
font-family: "微软雅黑" !important;
font-weight: 600 !important;
font-size: 1.3em !important;
left: center !important;
top: center !important;
z-index: -1 !important;
opacity: 1 !important;
top: initial !important;
right: initial !important;
bottom: initial !important;
margin-right: initial !important;
border-bottom-color: initial !important;
} */

.protyle-util .protyle-font select.b3-select {
margin-top: 5px;
outline: solid lightgrey 2px;
}

.protyle-util .protyle-font button[data-type="clear"] {
float: right;
margin-bottom: 8px;
}

#action #preview .protyle-wysiwyg [data-node-id] a[href*=".pdf?p"] {
text-decoration: none !important;
}
32 changes: 16 additions & 16 deletions style/03-inline-span/strong.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,69 +5,69 @@
}

[style*="color: var(--b3-font-color1)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="color: var(--b3-font-color2)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="color: var(--b3-font-color3)"] {
color: #ffd700 !important;
font-weight: normal !important;
font-weight: normal;
}

[style*="color: var(--b3-font-color4)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="color: var(--b3-font-color5)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="color: var(--b3-font-color6)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="color: var(--b3-font-color7)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="color: var(--b3-font-color8)"] {
color: grey !important;
font-weight: normal !important;
font-weight: normal;
}

[style*="background-color: var(--b3-font-background1)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="background-color: var(--b3-font-background2)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="background-color: var(--b3-font-background3)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="background-color: var(--b3-font-background4)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="background-color: var(--b3-font-background5)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="background-color: var(--b3-font-background6)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="background-color: var(--b3-font-background7)"] {
font-weight: normal !important;
font-weight: normal;
}

[style*="background-color: var(--b3-font-background8)"] {
font-weight: normal !important;
font-weight: normal;
}

button.b3-menu__item
Expand Down
9 changes: 5 additions & 4 deletions style/04-block-div/blockquote.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
text-align: justify;
background-image: url(../../src/bq.svg);
background-repeat: no-repeat;
background-position: right 10px top 8px;
background-position: right 8px top 9px;
background-color: #f8f8f8;
background-size: 1em 1em;
background-size: 0.85em 0.85em;
color: inherit;
margin: 30px 0;
padding: 30px 20px 20px;
margin: 1em 0px;
padding: 0.5em 1em;
border-radius: 12px;
}
8 changes: 8 additions & 0 deletions style/list-to-map.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@
max-width: 400px !important;
}

.protyle-wysiwyg
*[custom-f~="dt"][custom-f~="w500"]
.li
div
> div[spellcheck="false"] {
max-width: 500px !important;
}

.protyle-wysiwyg
*[custom-f~="dt"][custom-f~="w600"]
.li
Expand Down
22 changes: 22 additions & 0 deletions style/list-to-table.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,42 @@
min-width: 5em !important;
}


.protyle-wysiwyg
*[custom-f~="bg"][custom-f~="w5.5"]
[data-node-id].li
> [data-node-id] {
min-width: 5.5em !important;
}

.protyle-wysiwyg
*[custom-f~="bg"][custom-f~="w6"]
[data-node-id].li
> [data-node-id] {
min-width: 6em !important;
}

.protyle-wysiwyg
*[custom-f~="bg"][custom-f~="w6.5"]
[data-node-id].li
> [data-node-id] {
min-width: 6.5em !important;
}

.protyle-wysiwyg
*[custom-f~="bg"][custom-f~="w7"]
[data-node-id].li
> [data-node-id] {
min-width: 7em !important;
}

.protyle-wysiwyg
*[custom-f~="bg"][custom-f~="w7.5"]
[data-node-id].li
> [data-node-id] {
min-width: 7.5em !important;
}

.protyle-wysiwyg
*[custom-f~="bg"][custom-f~="w8"]
[data-node-id].li
Expand Down

0 comments on commit 6925ae5

Please sign in to comment.