加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
wip-ls-numbered-list-complex.css 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
cannibalox 提交于 2021-02-20 06:06 . 0.6.1
/* numbered lists */
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block
{
counter-increment: lvlNumber;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block div .bullet-container:before
{
content: counters(lvlNumber, ".") ".";
position: absolute;
left: 4px;
top: -10px;
display: block;
margin: 10px;
padding: 00px;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block
> .block-children
> .ls-block
{
counter-increment: subNumber;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block
> .block-children div .bullet-container:before {
content: counters(lvlNumber, ".") "." counters(subNumber, ".") ".";
left: -4px;
top: -10px;
display: block;
margin: 10px;
padding: 00px;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block div .bullet {
visibility: hidden;
}
.ls-block[data-refs-self*="numbered-list"]
> .block-children
> .ls-block
> .block-children div .bullet {
visibility: visible;
/*
.tree-node-container[data-rem-container-tags~="numbered-list"]
> .TreeNode
> .tree-node-container {
counter-increment: remNumber;
}
.tree-node-container[data-rem-container-tags~="numbered-list"]
> .TreeNode
> .tree-node-container:not(:hover)
> div:first-child .rem-bullet__container:before {
content: counters(remNumber, ".") " ";
position: absolute;
right: 18px;
}*/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化