42 lines
684 B
SCSS
42 lines
684 B
SCSS
|
|
ol[type="1"]{
|
||
|
|
list-style-type: none;
|
||
|
|
position: relative;
|
||
|
|
break-after: avoid;
|
||
|
|
width: $indent;
|
||
|
|
// background-color: #efefef;
|
||
|
|
position: absolute;
|
||
|
|
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
// outline: 1px solid red;
|
||
|
|
|
||
|
|
|
||
|
|
&::after{
|
||
|
|
content: attr(start);
|
||
|
|
display: block;
|
||
|
|
position: absolute;
|
||
|
|
font-size: var(--fs-small);
|
||
|
|
opacity: 0.5;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
ol[type="1"].ol-clone{
|
||
|
|
break-before: column;
|
||
|
|
// outline: 1px solid green;
|
||
|
|
break-after: avoid;
|
||
|
|
top: 0;
|
||
|
|
left: calc($content-w/2 + $gap/2)
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
ol[type="1"].ol-clone-page{
|
||
|
|
// outline: 1px solid yellow;
|
||
|
|
}
|
||
|
|
|