move note to prev page
This commit is contained in:
parent
d57050caeb
commit
1d747cc77b
8 changed files with 114 additions and 40 deletions
|
|
@ -139,7 +139,7 @@ $unit: calc($content-w/7);
|
|||
|
||||
#section__content{
|
||||
break-before: right;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -157,11 +157,11 @@ $unit: calc($content-w/7);
|
|||
|
||||
// Title chapter
|
||||
|
||||
#section__content h1{
|
||||
break-before: left;
|
||||
break-after: page;
|
||||
page: chapter;
|
||||
}
|
||||
// #section__content h1{
|
||||
// break-before: left;
|
||||
// break-after: page;
|
||||
// page: chapter;
|
||||
// }
|
||||
#section__content h1 .h1-count{
|
||||
string-set: chapterCount content(text);
|
||||
}
|
||||
|
|
@ -171,3 +171,12 @@ $unit: calc($content-w/7);
|
|||
}
|
||||
|
||||
|
||||
#section__content{
|
||||
break-before: left;
|
||||
}
|
||||
|
||||
|
||||
#section__content h1:first-of-type{
|
||||
break-before: right;
|
||||
// background-color: red;
|
||||
}
|
||||
4
css/modules/_notes.scss
Normal file
4
css/modules/_notes.scss
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
.body-note{
|
||||
display: block;
|
||||
color: red;
|
||||
}
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
|
||||
#section__content{
|
||||
// margin-left: 28mm;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
h1{
|
||||
|
||||
column-span: all;
|
||||
height: $content-h;
|
||||
h1:first-of-type{
|
||||
// column-span: all;
|
||||
// height: $content-h;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -68,13 +68,13 @@
|
|||
line-height: 0.9;
|
||||
hyphens: auto;
|
||||
|
||||
break-inside: avoid;
|
||||
// break-inside: avoid;
|
||||
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
text-align: center;
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// justify-content: space-between;
|
||||
// text-align: center;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue