-
有没有哪位大神能把 admonitions 实现一下?
2022-06-24 22:07给引述块添加自定义属性,用模板生成
.protyle-wysiwyg [data-node-id][custom-f~=k1]::before { content: ""; position: relative; display: block; width: 3em; height: 3em; top: 0.2em; margin-bottom: 0.5em; margin-right: 2px; background-image: url(../src/信息.svg); background-size: 100% 100%; } .protyle-wysiwyg [data-node-id][custom-f~=k1] { border-left: 6px solid #25b7d3; background-color: rgb(232, 244, 253) !important; color: #1f2225 !important; }
-
字体的背景色不需要与加粗绑定
2021-12-03 23:12可以试一下用 CSS 改,以第一个字体背景色为例:
strong[style="background-color: var(--b3-font-background1);"]{ font-weight: normal; }