Skip to content

Commit

Permalink
🎨 style: 代码优化
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Feb 25, 2024
1 parent 519fddc commit d4c554f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
4 changes: 3 additions & 1 deletion style/database.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ span[data-type='av-add-more']:hover {
/* 数据库勾选框 */
.av__cell.av__cell-check svg {
color:#289aa2;
}
}


9 changes: 0 additions & 9 deletions style/export.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@
text-align: center !important;
}

#preview .h1:not(:first-child, :nth-child(2)) {
/* h1标题前分页,但不选择文档中的第一个标题 */
page-break-before: always;
}

#preview .h1 + .h1 {
/* 两个h1连着后面的h1不分页,有些人可能文档标题下第一个标题就是h1 */
page-break-before: auto;
}

/* 设置导出样式 */
@media print {
Expand Down
2 changes: 1 addition & 1 deletion style/module/link_icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.protyle-wysiwyg [data-node-id] a[href^="siyuan://"],
.b3-typography a[href^="siyuan://"]
{
color: var(--b3-protyle-inline-blockref-color) !important;
color: var(--b3-protyle-inline-blockref-color) ;
}

.protyle-wysiwyg [data-node-id] span[data-type~='a'][data-href^="es://"]:not(:empty)::before,
Expand Down
10 changes: 5 additions & 5 deletions theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,7 @@ body

/* 图片导出 */
/* 超链接添加下划线 */
.export-img.protyle-wysiwyg a {
.export-img .protyle-wysiwyg a {
/* border-bottom: 1px solid var(--b3-protyle-inline-blockref-color); */
text-decoration: underline;
}
Expand Down Expand Up @@ -1127,7 +1127,7 @@ body



/* 数据库勾选框 */
.av__cell.av__cell-check svg {
color:#289aa2;
}
/* 自定义属性 */
[data-key="dialog-attr"] .fn__flex-1:has(.custom-attr[data-type="NodeAttributeView"]){
background-color: var(--b3-theme-background);
}

0 comments on commit d4c554f

Please sign in to comment.