mep_carnet.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  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. .free {
  159. margin-bottom: 12px;
  160. }
  161. .labeur p:before {
  162. content: '+ ';
  163. font-weight: bold;
  164. }
  165. .labeur li {
  166. margin-bottom: 4pt;
  167. }
  168. .labeur li:before {
  169. content: '× ';
  170. font-weight: bold;
  171. }
  172. .labeur ul {
  173. list-style: none;
  174. padding-left: 3mm;
  175. }
  176. .latour, .lampe,
  177. .latour_nohead, .lampe_nohead {
  178. font-family: 'Novel';
  179. font-weight: normal;
  180. margin-top: 0mm !important;
  181. margin-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  182. margin-right: -16mm;
  183. margin-bottom: 0mm !important;
  184. line-height: 12pt;
  185. font-size: 8pt;
  186. padding-right: 23mm;
  187. width: 142mm;
  188. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  189. padding-bottom: 8mm;
  190. padding-top: 8mm;
  191. background-color: beige;
  192. max-height: 198mm;
  193. }
  194. .latour p:last-of-type,
  195. .lampe p:last-of-type,
  196. .latour_nohead p:last-of-type,
  197. .lampe_nohead p:last-of-type {
  198. padding-bottom: 0;
  199. margin-bottom: 0;
  200. }
  201. .latour ul, .latour ol,
  202. .lampe ul, .lampe ol,
  203. .latour_nohead ul, .latour_nohead ol,
  204. .lampe_nohead ul, .lampe_nohead ol {
  205. padding-left: 0;
  206. list-style-position: inside;
  207. }
  208. .encart-split {
  209. position: absolute;
  210. margin-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  211. background-color: beige;
  212. }
  213. .pagedjs_left_page .latour, .pagedjs_left_page .lampe,
  214. .pagedjs_left_page .latour_nohead, .pagedjs_left_page .lampe_nohead {
  215. padding-right: 10mm;
  216. width: 128.375mm;
  217. }
  218. .encart-header {
  219. display: flex;
  220. flex-direction: row;
  221. align-items: center;
  222. margin-bottom: 3mm;
  223. font-weight: bold;
  224. }
  225. .encart-header img:first-of-type {
  226. margin-top: 1mm;
  227. margin-right: 2mm;
  228. width: 8mm;
  229. }
  230. .bibliographie {
  231. column-count: 2;
  232. column-gap: var(--guts);
  233. column-fill: auto;
  234. line-height: 12pt;
  235. font-size: 9pt;
  236. font-weight: bold;
  237. }
  238. img {
  239. width: 100%;
  240. }
  241. .imgsmall,
  242. .imgsmall_bottom {
  243. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  244. }
  245. .imgsmall_bottom {
  246. break-after: page;
  247. }
  248. .imgsmall img,
  249. .imgsmall_bottom img {
  250. width: 100%;
  251. }
  252. .fullpage2imgs {
  253. width: 140mm;
  254. height: 210mm;
  255. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  256. }
  257. .fullpageimage {
  258. margin-top: -22mm;
  259. margin-left: -10mm;
  260. width: 171mm;
  261. height: 230mm;
  262. }
  263. .bottomimg {
  264. width: 100%;
  265. break-after: page;
  266. }
  267. .bottomimg img {
  268. height: 100%;
  269. }
  270. .tripleimgs,
  271. .tripleimgs_bottom {
  272. break-before: page;
  273. break-after: page
  274. }
  275. .tripleimgs img:nth-of-type(2),
  276. .tripleimgs_bottom img:first-of-type {
  277. width: calc(50% - 2mm);
  278. margin-right: 4mm;
  279. }
  280. .tripleimgs img:last-of-type,
  281. .tripleimgs_bottom img:nth-of-type(2) {
  282. width: calc(50% - 2mm);
  283. }
  284. .tripleimgs2,
  285. .tripleimgs2_bottom {
  286. break-before: page;
  287. break-after: page
  288. }
  289. .tripleimgs2 img:nth-of-type(2),
  290. .tripleimgs2_bottom img:first-of-type {
  291. width: calc(37.5% - 2mm);
  292. margin-right: 4mm;
  293. }
  294. .tripleimgs2 img:last-of-type,
  295. .tripleimgs2_bottom img:nth-of-type(2) {
  296. width: calc(62.5% - 2mm);
  297. }
  298. .imgfullspreadleft,
  299. .imgfullspreadright,
  300. .imgfullspreadright_bleedtop,
  301. .imgfullspreadright_bleed,
  302. .doublepage_bigleft,
  303. .doublepage_bigright {
  304. break-before: left;
  305. break-after: left;
  306. width: 149mm;
  307. overflow: hidden;
  308. }
  309. .imgfullspreadright_bleedtop {
  310. margin-top: -22mm;
  311. height: 220mm;
  312. }
  313. .imgfullspreadright_bleed {
  314. margin-top: -22mm;
  315. height: 242mm;
  316. }
  317. .imgfullspreadleft img,
  318. .imgfullspreadright img {
  319. height: 198mm;
  320. width: auto;
  321. }
  322. .imgfullspreadright_bleedtop img {
  323. height: 220mm;
  324. width: auto;
  325. }
  326. .imgfullspreadright_bleed img {
  327. height: 242mm;
  328. width: auto;
  329. }
  330. .imgfullspreadleft-right {
  331. width: 149mm;
  332. overflow: hidden;
  333. margin-left: -16mm;
  334. }
  335. .imgfullspreadright-right {
  336. width: 143mm;
  337. margin-left: -8mm;
  338. overflow: hidden;
  339. display: flex;
  340. justify-content: flex-end;
  341. }
  342. .imgfullspreadright_bleedtop-right, .imgfullspreadright_bleed-right {
  343. width: 173mm;
  344. height: 220mm !important;
  345. margin-top: -22mm;
  346. margin-left: -8mm;
  347. overflow: hidden;
  348. display: flex;
  349. justify-content: flex-end;
  350. }
  351. .imgfullspreadright_bleed-right, .imgfullspreadright_bleed-right img {
  352. height: 242mm !important;
  353. }
  354. .imgfullspreadright_bleedtop-right img, .imgfullspreadright_bleed-right img {
  355. height: 220mm;
  356. width: auto;
  357. }
  358. .imgfullspreadright-right img {
  359. height: 198mm;
  360. width: auto;
  361. }
  362. .imgfullspreadleft-right img {
  363. height: 198mm;
  364. width: auto;
  365. margin-left: -141mm;
  366. }
  367. .doublepage_bigleft,
  368. .doublepage_bigright {
  369. height: 128mm !important;
  370. }
  371. .doublepage_bigleft img,
  372. .doublepage_bigright img {
  373. height: 100%;
  374. width: auto;
  375. }
  376. .overflow_bigimgleft,
  377. .overflow_bigimgright {
  378. height: 128mm !important;
  379. }
  380. .overflow_bigimgleft {
  381. margin-left: -157mm;
  382. }
  383. .overflow_bigimgright {
  384. display: flex;
  385. justify-content: flex-end;
  386. }
  387. .doublepage_bigright img {
  388. margin-left: 106mm;
  389. }
  390. .overflow_bigimgleft img,
  391. .overflow_bigimgright img {
  392. height: 100%;
  393. width: auto;
  394. }
  395. .dp_sm_img {
  396. position: absolute;
  397. width: calc((var(--pagedjs-pagebox-width) / var(--cols)) * 4);
  398. height: 71mm !important;
  399. }
  400. .pagedjs_right_page .dp_sm_img {
  401. right: 0;
  402. }
  403. .pagedjs_left_page .dp_sm_img {
  404. left: 0;
  405. }
  406. .dp_sm_img img {
  407. position: absolute;
  408. bottom: 0;
  409. width: 100%;
  410. }