Ajout du css pour la génération de PDF
This commit is contained in:
parent
de9b0a3cdb
commit
ee0c6b5f11
1 changed files with 30 additions and 0 deletions
30
source/css/print-theme.css
Normal file
30
source/css/print-theme.css
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
.wy-grid-for-nav {
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
@page {
|
||||
@bottom-center {
|
||||
content: counter(page);
|
||||
}
|
||||
|
||||
counter-increment: page
|
||||
}
|
||||
|
||||
@page :first {
|
||||
counter-reset: page 1;
|
||||
@bottom-center {
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
break-before: always;
|
||||
}
|
||||
|
||||
#montage-de-la-direction {
|
||||
break-before: always;
|
||||
}
|
||||
|
||||
a[href^="#montage-de-la-direction"] {
|
||||
break-before: always;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue