Skip to content

Commit

Permalink
💄 h2标题样式优化:添加背景色的h2和引述块内的h2没有 bottom border
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Nov 13, 2024
1 parent 6decd49 commit 584c625
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
13 changes: 13 additions & 0 deletions style/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,18 @@
color: inherit;
}

/* 添加背景色的标题改进 */
.protyle-wysiwyg [data-node-id].h2[style*='background-color'] {
border-bottom: none !important;
border-radius: 5px !important;

}

/* 引述块的标题样式改进 */
.protyle-wysiwyg .bq [data-node-id].h2 {
border-bottom: none !important;
}

/* -------------------------------表格样式------------------------------------- */

/* 表格背景设置 */
Expand Down Expand Up @@ -241,6 +253,7 @@
}



.protyle-wysiwyg [data-node-id].bq > .bq {
border: none;
border-left: 0.3em solid var(--b3-font-color3);
Expand Down
8 changes: 3 additions & 5 deletions theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -897,12 +897,10 @@ body
border-radius: 0;
}

body>div.b3-dialog--open>div>div.b3-dialog__container.undefined>div.b3-dialog__body>div>div.emojis__tabbody>div:nth-child(2)>div.fn__flex.emoji__dynamic-color>div:nth-child(1){
background-color: #ff0087 !important;
}


/* 页签颜色 */
.layout-tab-bars--drag>.layout-tab-bar {
background-color: transparent;
}
}


0 comments on commit 584c625

Please sign in to comment.