Skip to content

Commit

Permalink
💄 把默认的引述块样式改为蓝色了,考虑到自己不喜欢灰色的引述块还是默认蓝色吧,这样还省得添加块背景色
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Nov 6, 2024
1 parent a1891c5 commit b54cd20
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
10 changes: 7 additions & 3 deletions style/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,20 +232,24 @@
.protyle-wysiwyg [data-node-id].bq:not([style*='background-color']) {
border: 1px solid var(--custom-blockquote-border-color);
padding: 2px 4px;
background-color: #ebeee8;
background-color: var(--b3-card-info-background);
color:var(--b3-card-info-color);
/* border: 0px solid transparent; */
/* border-left: 0.3em solid #a2bfd0; */
border-radius: 7px 7px 7px 7px !important;
color: #6a6969;
/* color: #6a6969; */
}


.protyle-wysiwyg [data-node-id].bq > .bq {
border: none;
border-left: 0.3em solid #6c6d6d;
border-left: 0.3em solid var(--b3-font-color3);
border-radius: 0px !important;
background: transparent !important;
}
.bq .code-block {
background: var(--b3-font-background3) !important;
}

.protyle-wysiwyg [data-node-id].bq[style*='background-color'],
.b3-typography blockquote[style*='background-color'] {
Expand Down
2 changes: 1 addition & 1 deletion style/module/Admonition.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
/* 添加阴影 */
box-shadow: 0 0 0 1px #1e25351a;
}
[data-theme-mode="dark"] .bq[style*='background-color'] .code-block {
[data-theme-mode="dark"] .bq .code-block {
/* 添加阴影 */
box-shadow: 0 0 0 1px #4042463d;
}
Expand Down
8 changes: 1 addition & 7 deletions style/theme/Tsundoku_green.css
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,6 @@ div[style='background-color: var(--b3-font-background13);'] {

/* -------------------------------行内块字体样式-------------------------------------- */

.protyle-wysiwyg [data-node-id].bq,
.b3-typography blockquote {
background-color: var(--custom-blockquote-background-color);
background-image: url('/appearance/themes/Tsundoku/src/background/paper.png');
}

/* 块嵌入 */
.protyle-wysiwyg [data-node-id].render-node[data-type='NodeBlockQueryEmbed'] {
Expand Down Expand Up @@ -968,8 +963,7 @@ span[data-type='av-add-more'] {
/* 引述块 */
.b3-typography blockquote,
.protyle-wysiwyg [data-node-id].bq:not([style*='background-color']) {
background-color: #d4eccf8c;
color: #6a6969;
background-image: url('/appearance/themes/Tsundoku/src/background/paper.png');
}

[data-theme-mode="light"] .protyle-wysiwyg [data-node-id] span[data-type~='a']:hover {
Expand Down

0 comments on commit b54cd20

Please sign in to comment.