general.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. :root {
  2. --cols: 8;
  3. --rows: 8;
  4. --guts: 4mm;
  5. }
  6. @page {
  7. size: 165mm 230mm;
  8. margin-top: 16mm;
  9. margin-bottom: 16mm;
  10. bleed: 0mm;
  11. color: black;
  12. marks: crop;
  13. }
  14. @page:left {
  15. margin-left: 16mm;
  16. margin-right: 8mm;
  17. @left-middle {
  18. content: counter(page); /* ICI À HARDCODER */
  19. display: flex;
  20. justify-content: center;
  21. align-items: center;
  22. font-family: 'Ortica';
  23. font-weight: bold;
  24. font-size: 8pt;
  25. height: 30mm;
  26. }
  27. @left-top {
  28. content: '';
  29. white-space: nowrap;
  30. font-family: 'Ortica';
  31. font-weight: lighter;
  32. font-size: 7pt;
  33. display: flex;
  34. flex-direction: column;
  35. align-items: center;
  36. justify-content: flex-start;
  37. text-align: right;
  38. }
  39. @left-bottom {
  40. content: '';
  41. white-space: nowrap;
  42. font-family: 'Ortica';
  43. font-weight: lighter;
  44. font-size: 7pt;
  45. display: flex;
  46. flex-direction: column;
  47. align-items: center;
  48. justify-content: flex-end;
  49. }
  50. }
  51. .pagedjs_margin-left-top div, .pagedjs_margin-left-bottom div {
  52. display: block;
  53. min-width: max-content;
  54. transform: rotate(-90deg);
  55. }
  56. @page:right {
  57. margin-left: 8mm;
  58. margin-right: 16mm;
  59. }
  60. body {
  61. font-family: 'Public';
  62. }
  63. .breakbefore {
  64. break-before: page;
  65. }
  66. .breakafter {
  67. break-after: page;
  68. }