fuc-new/doc/node_modules/vuepress-plugin-md-power/lib/client/styles/steps.css
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

64 lines
1.4 KiB
CSS

.vp-doc .vp-steps {
margin: 16px 0;
}
.vp-doc .vp-steps > :where(ol,ul) {
padding-inline-start: 0;
list-style: none;
}
.vp-doc .vp-steps > :where(ol,ul) > li {
position: relative;
min-height: 28px;
padding-left: 44px;
margin-bottom: 16px;
line-height: 28px;
}
.vp-doc .vp-steps > :where(ol,ul) > li::before {
position: absolute;
inset-inline-start: 0;
top: 0;
width: 28px;
height: 28px;
font-size: 16px;
font-weight: 400;
line-height: 28px;
color: var(--vp-c-text-1);
text-align: center;
content: counter(list-item);
background-color: var(--vp-c-bg-soft);
border: solid 1px var(--vp-c-divider);
border-radius: 100%;
transition: var(--vp-t-color);
transition-property: color, background-color, border-color;
}
.vp-doc .vp-steps > :where(ol,ul) > li:not(:last-of-type)::after {
position: absolute;
inset-inline-start: 14px;
top: 34px;
bottom: -10px;
width: 1px;
content: "";
background-color: var(--vp-c-divider);
transition: background-color var(--vp-t-color);
}
.vp-doc .vp-steps > :where(ol,ul) > li > :first-child {
margin-top: 0;
}
.vp-doc .vp-steps > :where(ol,ul) > li > :first-child:where(h1,h2,h3,h4,h5,h6) {
padding-top: 0;
border-top: none;
}
.vp-doc .vp-steps > :where(ol,ul) > li > :first-child:where(p) {
line-height: 28px;
}
.vp-doc .vp-steps > :where(ol,ul) > li + li {
margin-top: 1px;
}