-
插入的分割线能通过 css 改颜色吗
2025-03-28 22:31分隔线粗细:
.protyle-wysiwyg [data-node-id].hr>div::after { height: .2em; top: calc(15px - .2em); /* 与块标对齐 */ } .b3-typography hr { border-bottom-width: .2em; position: relative; } -
插入的分割线能通过 css 改颜色吗
2025-03-28 22:09参考:
.protyle-wysiwyg [data-node-id].hr>div::after { background-color: blue; } .b3-typography hr { border-bottom: 1px solid blue; } -
pdf 的高亮颜色如何更改
2025-03-28 11:54类似这样:
:root { --b3-pdf-selection: rgb(208, 233, 200); --sidebar-width: 200px; --b3-pdf-offset: 0; --b3-pdf-background1: rgb(246, 109, 95); --b3-pdf-background2: rgb(245, 130, 46); --b3-pdf-background3: rgb(250, 202, 90); --b3-pdf-background4: rgb(124, 200, 104); --b3-pdf-background5: rgb(248, 136, 167); --b3-pdf-background6: rgb(105, 176, 242); --b3-pdf-background7: rgb(200, 133, 218); --b3-pdf-dark: rgb(33, 34, 36); } -
如何通过 CSS 修改引述块的 margin
2025-03-27 23:01.b3-typography blockquote, .b3-typography .bq, .protyle-wysiwyg blockquote, .protyle-wysiwyg .bq { margin: 10px 0; } -
如何给一个块添加附注
2025-03-27 20:54用这个 CSS 片段,不过如果备注有多行文本的话样式会有问题,并且备注如果有点长的话就显示不完全了:
.protyle-attr--memo.b3-tooltips { max-width: 25vw; display: flex; align-items: center; overflow: hidden; svg { overflow: initial; margin-right: 2px; } &::before { display: none; } &::after { opacity: 1; display: contents; position: inherit; content: attr(aria-label); white-space: pre; z-index: inherit; padding: inherit; font-size: inherit; font-weight: inherit; -webkit-font-smoothing: inherit; color: inherit; word-wrap: inherit; background-color: inherit; border-radius: inherit; line-height: inherit; transform: inherit; max-width: inherit; overflow: inherit; text-overflow: inherit; box-sizing: inherit; box-shadow: inherit; font-family: inherit; } }



