mep_carnet.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  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: 6mm;
  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);
  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. #chargement {
  64. position: fixed;
  65. background-color: chocolate;
  66. padding: 5px;
  67. color: white;
  68. top: 10px;
  69. left: 10px;
  70. opacity: 1;
  71. transition: opacity 0.3s ease-out;
  72. z-index: 9999;
  73. }
  74. a {
  75. text-decoration: underline;
  76. }
  77. h2 {
  78. font-family: 'Ortica';
  79. font-weight: lighter;
  80. padding: 0 10%;
  81. font-size: 24pt;
  82. break-before: left;
  83. color: white;
  84. margin: 0;
  85. line-height: 1.2 !important;
  86. text-align: center;
  87. }
  88. .partie_count {
  89. font-size: 55pt;
  90. color: white;
  91. font-family: 'Ortica';
  92. font-weight: bold;
  93. width: 100%;
  94. text-align: center;
  95. line-height: 1;
  96. margin-bottom: 33pt;
  97. }
  98. h3 {
  99. break-before: left;
  100. font-family: 'Ortica';
  101. font-weight: lighter;
  102. font-size: 28pt;
  103. line-height: 1.3;
  104. margin: 0;
  105. width: 50%;
  106. }
  107. h3 .gros-chiffre {
  108. font-size: 54pt;
  109. font-family: 'Ortica';
  110. font-weight: bold;
  111. margin-bottom: -5mm;
  112. }
  113. h4 {
  114. break-before: left;
  115. margin-top: 0;
  116. font-size: 16pt;
  117. line-height: 1.1;
  118. color: black;
  119. font-family: 'Ortica';
  120. font-weight: bold;
  121. }
  122. .breakbefore {
  123. break-before: page;
  124. }
  125. .breakafter {
  126. break-after: page;
  127. }
  128. .moment {
  129. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  130. display: block;
  131. font-size: 11pt;
  132. font-weight: bold;
  133. line-height: 1.1; /* LA IL FAUT AJUSTER CF TEMPS 14 */
  134. }
  135. .moment + .moment {
  136. margin-bottom: 14pt;
  137. }
  138. .moment .first-letter {
  139. font-size: 18pt;
  140. }
  141. .temps {
  142. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  143. font-size: 9pt;
  144. margin-top: -1pt;
  145. margin-bottom: 8pt;
  146. font-weight: 500;
  147. }
  148. .temps:before {
  149. content: "> ";
  150. }
  151. .labeur, .free {
  152. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  153. line-height: 12pt;
  154. font-size: 9pt;
  155. text-align: justify;
  156. hyphens: auto;
  157. }
  158. .labeur p:before {
  159. content: '+ ';
  160. font-weight: bold;
  161. }
  162. .labeur li {
  163. margin-bottom: 4pt;
  164. }
  165. .labeur li:before {
  166. content: '× ';
  167. font-weight: bold;
  168. }
  169. .labeur ul {
  170. list-style: none;
  171. padding-left: 3mm;
  172. }
  173. .latour, .lampe {
  174. font-family: 'Novel';
  175. font-weight: normal;
  176. margin-top: 20mm;
  177. margin-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  178. margin-right: -16mm;
  179. margin-bottom: 20mm;
  180. line-height: 12pt;
  181. font-size: 8pt;
  182. padding-right: 18mm;
  183. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  184. padding-bottom: 10mm;
  185. padding-top: 10mm;
  186. background-color: beige;
  187. }
  188. .encart-split {
  189. position: absolute;
  190. margin-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  191. background-color: beige;
  192. }
  193. .pagedjs_left_page .latour, .pagedjs_left_page .lampe {
  194. padding-right: 10mm;
  195. width: 128.375mm;
  196. }
  197. .latour[data-split-original="true"] {
  198. padding-bottom: 1mm !important;
  199. }
  200. .latour[data-split-from] {
  201. padding-top: 1mm !important;
  202. }
  203. .latour-header, .lampe-header {
  204. display: flex;
  205. flex-direction: row;
  206. align-items: center;
  207. margin-bottom: 3mm;
  208. font-weight: bold;
  209. }
  210. .latour-header img:first-of-type,
  211. .lampe-header img:first-of-type {
  212. margin-top: 1mm;
  213. margin-right: 2mm;
  214. width: 8mm;
  215. }
  216. .lampe {
  217. padding-top: 3mm;
  218. padding-bottom: 3mm;
  219. }
  220. .bibliographie {
  221. column-count: 2;
  222. column-gap: var(--guts);
  223. column-fill: auto;
  224. line-height: 12pt;
  225. font-size: 9pt;
  226. font-weight: bold;
  227. }
  228. img {
  229. width: 100%;
  230. }
  231. .imgsmall {
  232. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  233. }
  234. .imgsmall img {
  235. width: 100%;
  236. }
  237. .fullpage2imgs {
  238. width: 140mm;
  239. height: 210mm;
  240. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  241. }
  242. .fullpageimage {
  243. margin-top: -22mm;
  244. margin-left: -10mm;
  245. width: 171mm;
  246. height: 230mm;
  247. }
  248. .bottomimg {
  249. width: 100%;
  250. break-after: page;
  251. }
  252. .bottomimg img {
  253. height: 100%;
  254. }
  255. .tripleimgs,
  256. .tripleimgs_bottom {
  257. break-before: page;
  258. break-after: page
  259. }
  260. .tripleimgs img:nth-of-type(2),
  261. .tripleimgs_bottom img:first-of-type {
  262. width: calc(50% - 2mm);
  263. margin-right: 4mm;
  264. }
  265. .tripleimgs img:last-of-type,
  266. .tripleimgs_bottom img:nth-of-type(2) {
  267. width: calc(50% - 2mm);
  268. }
  269. .tripleimgs2,
  270. .tripleimgs2_bottom {
  271. break-before: page;
  272. break-after: page
  273. }
  274. .tripleimgs2 img:nth-of-type(2),
  275. .tripleimgs2_bottom img:first-of-type {
  276. width: calc(37.5% - 2mm);
  277. margin-right: 4mm;
  278. }
  279. .tripleimgs2 img:last-of-type,
  280. .tripleimgs2_bottom img:nth-of-type(2) {
  281. width: calc(62.5% - 2mm);
  282. }
  283. .imgfullspreadleft,
  284. .imgfullspreadright,
  285. .imgfullspreadright_bleedtop,
  286. .imgfullspreadright_bleed {
  287. break-before: left;
  288. break-after: left;
  289. width: 149mm;
  290. overflow: hidden;
  291. }
  292. .imgfullspreadright_bleedtop {
  293. margin-top: -22mm;
  294. height: 220mm;
  295. }
  296. .imgfullspreadright_bleed {
  297. margin-top: -22mm;
  298. height: 242mm;
  299. }
  300. .imgfullspreadleft img,
  301. .imgfullspreadright img {
  302. height: 198mm;
  303. width: auto;
  304. }
  305. .imgfullspreadright_bleedtop img {
  306. height: 220mm;
  307. width: auto;
  308. }
  309. .imgfullspreadright_bleed img {
  310. height: 242mm;
  311. width: auto;
  312. }
  313. .imgfullspreadleft-right {
  314. width: 149mm;
  315. overflow: hidden;
  316. margin-left: -16mm;
  317. }
  318. .imgfullspreadright-right {
  319. width: 143mm;
  320. margin-left: -8mm;
  321. overflow: hidden;
  322. display: flex;
  323. justify-content: flex-end;
  324. }
  325. .imgfullspreadright_bleedtop-right, .imgfullspreadright_bleed-right {
  326. width: 173mm;
  327. height: 220mm !important;
  328. margin-top: -22mm;
  329. margin-left: -8mm;
  330. overflow: hidden;
  331. display: flex;
  332. justify-content: flex-end;
  333. }
  334. .imgfullspreadright_bleed-right, .imgfullspreadright_bleed-right img {
  335. height: 242mm !important;
  336. }
  337. .imgfullspreadright_bleedtop-right img, .imgfullspreadright_bleed-right img {
  338. height: 220mm;
  339. width: auto;
  340. }
  341. .imgfullspreadright-right img {
  342. height: 198mm;
  343. width: auto;
  344. }
  345. .imgfullspreadleft-right img {
  346. height: 198mm;
  347. width: auto;
  348. margin-left: -141mm;
  349. }