print.scss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. @import 'parametres';
  2. @import 'font';
  3. @import 'screen';
  4. @import 'gabarits';
  5. @import 'styles_de_paragraphes';
  6. @import 'styles_de_caracteres';
  7. body {
  8. font-size: $font-de-base;
  9. counter-reset: footnote;
  10. }
  11. .pagedjs_page_content>div {
  12. height: 100%;
  13. }
  14. .layout {
  15. display: flex;
  16. flex-direction: column;
  17. height: 100%;
  18. }
  19. .grow{
  20. flex:1;
  21. }
  22. .no-folio{
  23. page: nofolio;
  24. }
  25. .blank-page{
  26. page-break-after: always;
  27. }
  28. .column {
  29. flex: 1;
  30. display: flex;
  31. flex-direction: column;
  32. }
  33. .justify-end {
  34. justify-content: flex-end;
  35. }
  36. .canbreak{
  37. page-break-before: always;
  38. }
  39. .image-bleed-left{
  40. position: absolute;
  41. width: calc(100% + 3mm);
  42. height: calc(100% + 6mm);
  43. margin-left: -3mm;
  44. margin-top: -3mm;
  45. }
  46. .image-bleed-right{
  47. position: absolute;
  48. width: calc(100% + 3mm);
  49. height: calc(100% + 6mm);
  50. margin-top: -3mm;
  51. }
  52. .image-cover {
  53. page: imagecover;
  54. background-size: cover;
  55. background-position: center;
  56. background-color: lightgray;
  57. background-repeat: no-repeat;
  58. }
  59. .cover-left{
  60. background-position:0% 50%;
  61. }
  62. .cover-right{
  63. background-position:-148mm 50%;
  64. }
  65. .green{
  66. background-blend-mode:screen;
  67. background-color: green;
  68. }
  69. .v-center{
  70. display: flex;
  71. flex-direction: column;
  72. justify-content: center;
  73. }
  74. [data-note] {
  75. position: relative;
  76. counter-increment: footnote;
  77. }
  78. [data-note]::after {
  79. position: absolute;
  80. content: counter(footnote);
  81. transform: translateY(-10px);
  82. }