wiki-grav/plugins/page-toc/assets/page-toc-anchors.css
2022-06-06 18:16:01 +02:00

22 lines
327 B
CSS

.toc-anchor {
transition: hover 0.5s ease;
position: absolute;
opacity: 0;
}
.toc-anchor.after {
margin-left: 5px;
}
.toc-anchor.before {
margin-left: -22px;
padding-right: 8px;
}
.toc-anchor:after {
content: attr(data-anchor-icon);
}
:hover > .toc-anchor, .toc-anchor:focus {
opacity: .5;
}