paragraphe 2 colonnes
This commit is contained in:
parent
79b2753fdb
commit
a51a86aa6f
6 changed files with 29 additions and 21 deletions
|
|
@ -1,16 +1,16 @@
|
|||
[data-id="section__content"]{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
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);
|
||||
|
|
@ -19,23 +19,15 @@ ol[type="1"]{
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue