Skip to content

Commit

Permalink
💄 标题样式修改
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Apr 15, 2024
1 parent c65686c commit b442830
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
10 changes: 8 additions & 2 deletions style/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
.b3-typography h3 {
/* ⚙三级标题基本样式 */
font-size: 1.35em !important;
/* color: var(--custom-h3-color) !important; */
color: var(--b3-card-info-color);
color: var(--custom-h3-color);
/* color: var(--b3-card-info-color); */
/* background-color: #d1ecf7; */
/* box-shadow: 2px 2px 2px var(--b3-table-border-color); */
}
Expand Down Expand Up @@ -765,3 +765,9 @@ li[data-type='navigation-file'] .counter {
/* --------------------------------------------------------------------------------------------- */
/* ------------------------------------行内块字体样式:End-------------------------------------- */
/* --------------------------------------------------------------------------------------------- */

/* 分割线 */
.protyle-wysiwyg [data-node-id].hr>div:after {
height: 2px;
border-radius: 2px;
}
20 changes: 10 additions & 10 deletions style/theme/Tsundoku_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
--custom-h1-color: #4ef7e0;
--custom-h2-color: #34e7e4;
--custom-h2-border-color: #596169;
--custom-h3-color: #72f4c2;
--custom-h3-color: #76ebff;
--custom-h4-color: #ffd2a1;
--custom-h5-color: #f2a1ff;
--custom-h6-color: var(--b3-theme-on-background);
Expand Down Expand Up @@ -790,26 +790,26 @@ div[data-subtype='t'][data-type='NodeList'] {
.b3-typography h3 {

font-size: 1.35em !important;
/* color: var(--custom-h3-color) !important; */
color: var(--b3-card-info-color);
background-color: #30677d;
box-shadow: 2px 2px 5px #36393c;
color: var(--custom-h3-color) !important;
/* color: var(--b3-card-info-color) !important; */
/* background-color: #30677d; */
/* box-shadow: 2px 2px 5px #36393c; */
}
/* 4. 四级标题样式setup */
.protyle-wysiwyg [data-node-id].h4,
.b3-typography h4 {
font-size: 1.2em !important;
/* color: var(--custom-h4-color); */
color: var(--b3-card-success-color);
background-color: #406e53;
box-shadow: 2px 2px 5px #36393c;
/* background-color: #406e53; */
/* box-shadow: 2px 2px 5px #36393c; */

}
/* 5. 五级标题样式setup */
.protyle-wysiwyg [data-node-id].h5,
.b3-typography h5 {
font-size: 1.1em !important;
/* color: var(--custom-h5-color); */
background-color: #bec6e891;
box-shadow: 2px 2px 5px #36393c;
color: var(--custom-h5-color);
/* background-color: #bec6e891; */
/* box-shadow: 2px 2px 5px #36393c; */
}
4 changes: 2 additions & 2 deletions style/theme/Tsundoku_green.css
Original file line number Diff line number Diff line change
Expand Up @@ -919,8 +919,8 @@ div[data-subtype='t'][data-type='NodeList'] {
.b3-typography h3 {
/* ⚙三级标题基本样式 */
font-size: 1.35em !important;
/* color: var(--custom-h3-color) !important; */
color: var(--b3-card-info-color);
color: var(--custom-h3-color) !important;
/* color: var(--b3-card-info-color); */
/* background-color: #afd8e8; */
/* box-shadow: none; */
}
Expand Down

0 comments on commit b442830

Please sign in to comment.