wrap intro + add chapterEnd
This commit is contained in:
parent
07047d97ea
commit
0d56ca3d0d
10 changed files with 217 additions and 158 deletions
|
|
@ -11,7 +11,9 @@ $indent: 10mm;
|
|||
$unit: calc($content-w/7);
|
||||
|
||||
:root{
|
||||
--unit: #{$unit};
|
||||
// --content-w: #{$content-w};
|
||||
// --unit: calc(var(--content-w)/7);
|
||||
--unit: 80px;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -139,15 +141,6 @@ $unit: calc($content-w/7);
|
|||
}
|
||||
|
||||
|
||||
#section__content{
|
||||
break-before: right;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.page-break{
|
||||
break-before: page;
|
||||
}
|
||||
|
||||
|
||||
#section__content h1 .h1-count{
|
||||
|
|
@ -159,19 +152,8 @@ $unit: calc($content-w/7);
|
|||
}
|
||||
|
||||
.chapter{
|
||||
break-before: left;
|
||||
}
|
||||
|
||||
.intro{
|
||||
color: red;
|
||||
page: chapter;
|
||||
break-before: page;
|
||||
}
|
||||
|
||||
|
||||
// #section__content{
|
||||
// break-before: left;
|
||||
// }
|
||||
|
||||
|
||||
// #section__content h1:first-of-type{
|
||||
// break-before: right;
|
||||
// }
|
||||
Loading…
Add table
Add a link
Reference in a new issue