mep_carnet.css 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  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);
  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. .pagedjs_first_page {
  61. background: linear-gradient(to left,
  62. #5595a1 0%,
  63. #5f9796 14%,
  64. #65998d 28%,
  65. #6f9b80 42%,
  66. #799e75 57%,
  67. #83a16b 71%,
  68. #8ba460 85%);
  69. }
  70. .last-page {
  71. background: linear-gradient(to left,
  72. #95a358 0%,
  73. #9ca151 14%,
  74. #a59d4a 28%,
  75. #af9944 42%,
  76. #b8963d 57%,
  77. #c19238 71%,
  78. #cb8e31 85%);
  79. display: flex;
  80. justify-content: center;
  81. align-items: center;
  82. }
  83. .last-page .has-children div h3,
  84. .last-page .has-children div div {
  85. display: none;
  86. }
  87. .last-page .has-children div p {
  88. width: 75%;
  89. padding-bottom: 20mm;
  90. font-size: 11pt;
  91. color: white;
  92. }
  93. body {
  94. font-family: 'Public';
  95. }
  96. #chargement {
  97. position: fixed;
  98. background-color: chocolate;
  99. padding: 5px;
  100. color: white;
  101. top: 10px;
  102. left: 10px;
  103. opacity: 1;
  104. transition: opacity 0.3s ease-out;
  105. z-index: 9999;
  106. }
  107. a {
  108. text-decoration: underline;
  109. }
  110. h2 {
  111. font-family: 'Ortica';
  112. font-weight: lighter;
  113. padding: 0 10%;
  114. font-size: 24pt;
  115. break-before: left;
  116. color: white;
  117. margin: 0;
  118. line-height: 1.2 !important;
  119. text-align: center;
  120. }
  121. .partie_cover_page:first-child {
  122. background-color: #4a90b2;
  123. }
  124. .partie_cover_page_right {
  125. background-color: #4a90b2;
  126. }
  127. .partie_count {
  128. font-size: 55pt;
  129. color: white;
  130. font-family: 'Ortica';
  131. font-weight: bold;
  132. width: 100%;
  133. text-align: center;
  134. line-height: 1;
  135. margin-bottom: 33pt;
  136. }
  137. h3 {
  138. break-before: left;
  139. font-family: 'Ortica';
  140. font-weight: lighter;
  141. font-size: 28pt;
  142. line-height: 1.3;
  143. margin: 0;
  144. width: 50%;
  145. }
  146. h3 .gros-chiffre {
  147. font-size: 54pt;
  148. font-family: 'Ortica';
  149. font-weight: bold;
  150. margin-bottom: -5mm;
  151. }
  152. h4 {
  153. break-before: left;
  154. margin-top: 0;
  155. font-size: 16pt;
  156. line-height: 1.1;
  157. color: black;
  158. font-family: 'Ortica';
  159. font-weight: bold;
  160. }
  161. .breakbefore {
  162. break-before: page;
  163. }
  164. .breakafter {
  165. break-after: page;
  166. }
  167. .moment {
  168. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  169. display: block;
  170. font-size: 11pt;
  171. font-weight: bold;
  172. line-height: 1.1; /* LA IL FAUT AJUSTER CF TEMPS 14 */
  173. }
  174. .moment + .moment {
  175. margin-bottom: 14pt;
  176. }
  177. .moment .first-letter {
  178. font-size: 18pt;
  179. }
  180. .temps {
  181. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  182. font-size: 9pt;
  183. margin-top: -1pt;
  184. margin-bottom: 8pt;
  185. font-weight: 500;
  186. }
  187. .temps:before {
  188. content: "> ";
  189. }
  190. .labeur, .free, .free_left, .citation {
  191. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  192. line-height: 12pt;
  193. font-size: 9pt;
  194. text-align: justify;
  195. hyphens: auto;
  196. }
  197. .free, .free_left {
  198. margin-bottom: 12px;
  199. text-align: left;
  200. }
  201. .free_left {
  202. padding-left: 0;
  203. }
  204. .citation {
  205. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols) + 8mm);
  206. text-align: left;
  207. }
  208. .citation::before {
  209. content: '“';
  210. position: absolute;
  211. font-size: 58pt;
  212. margin-left: -15mm;
  213. margin-top: 5mm;
  214. }
  215. .citation ul {
  216. padding: 0;
  217. }
  218. .labeur p:before {
  219. content: '+ ';
  220. font-weight: bold;
  221. }
  222. .labeur li {
  223. margin-bottom: 4pt;
  224. }
  225. .labeur li:before {
  226. content: '× ';
  227. font-weight: bold;
  228. }
  229. .labeur ul {
  230. list-style: none;
  231. padding-left: 3mm;
  232. }
  233. .pilote {
  234. font-family: 'Novel';
  235. font-weight: normal;
  236. font-size: 11pt;
  237. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  238. text-align: left;
  239. line-height: 1.55;
  240. }
  241. .latour, .lampe,
  242. .latour_nohead, .lampe_nohead {
  243. font-family: 'Novel';
  244. font-weight: normal;
  245. margin-top: 0mm !important;
  246. margin-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  247. margin-right: -16mm;
  248. margin-bottom: 0mm !important;
  249. line-height: 12pt;
  250. font-size: 8pt;
  251. padding-right: 23mm;
  252. width: 142mm;
  253. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  254. padding-bottom: 8mm;
  255. padding-top: 8mm;
  256. background-color: beige;
  257. max-height: 198mm;
  258. }
  259. .latour p:last-of-type,
  260. .lampe p:last-of-type,
  261. .latour_nohead p:last-of-type,
  262. .lampe_nohead p:last-of-type {
  263. padding-bottom: 0;
  264. margin-bottom: 0;
  265. }
  266. .latour ul, .latour ol,
  267. .lampe ul, .lampe ol,
  268. .latour_nohead ul, .latour_nohead ol,
  269. .lampe_nohead ul, .lampe_nohead ol {
  270. padding-left: 0;
  271. list-style-position: inside;
  272. }
  273. .encart-split {
  274. position: absolute;
  275. margin-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  276. background-color: beige;
  277. }
  278. .pagedjs_left_page .latour, .pagedjs_left_page .lampe,
  279. .pagedjs_left_page .latour_nohead, .pagedjs_left_page .lampe_nohead {
  280. padding-right: 10mm;
  281. width: 128.375mm;
  282. }
  283. .encart-header {
  284. display: flex;
  285. flex-direction: row;
  286. align-items: center;
  287. margin-bottom: 3mm;
  288. font-weight: bold;
  289. }
  290. .encart-header img:first-of-type {
  291. margin-top: 1mm;
  292. margin-right: 2mm;
  293. width: 8mm;
  294. }
  295. .bibliographie {
  296. column-count: 2;
  297. column-gap: var(--guts);
  298. column-fill: auto;
  299. line-height: 12pt;
  300. font-size: 9pt;
  301. font-weight: bold;
  302. }
  303. img {
  304. width: 100%;
  305. }
  306. .imgsmall,
  307. .imgsmall_bottom {
  308. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  309. }
  310. .imgsmall_bottom {
  311. break-after: page;
  312. }
  313. .imgsmall img,
  314. .imgsmall_bottom img {
  315. width: 100%;
  316. }
  317. .fullpage2imgs {
  318. width: 140mm;
  319. height: 210mm;
  320. padding-left: calc(var(--pagedjs-pagebox-width) / var(--cols));
  321. }
  322. .fullpageimage {
  323. margin-top: -22mm;
  324. margin-left: -10mm;
  325. width: 171mm;
  326. height: 230mm;
  327. }
  328. .bottomimg {
  329. width: 100%;
  330. break-after: page;
  331. }
  332. .bottomimg img {
  333. height: 100%;
  334. }
  335. .tripleimgs,
  336. .tripleimgs_bottom {
  337. break-before: page;
  338. break-after: page
  339. }
  340. .tripleimgs img:nth-of-type(2),
  341. .tripleimgs_bottom img:first-of-type {
  342. width: calc(50% - 2mm);
  343. margin-right: 4mm;
  344. }
  345. .tripleimgs img:last-of-type,
  346. .tripleimgs_bottom img:nth-of-type(2) {
  347. width: calc(50% - 2mm);
  348. }
  349. .tripleimgs2,
  350. .tripleimgs2_bottom {
  351. break-before: page;
  352. break-after: page
  353. }
  354. .tripleimgs2 img:nth-of-type(2),
  355. .tripleimgs2_bottom img:first-of-type {
  356. width: calc(37.5% - 2mm);
  357. margin-right: 4mm;
  358. }
  359. .tripleimgs2 img:last-of-type,
  360. .tripleimgs2_bottom img:nth-of-type(2) {
  361. width: calc(62.5% - 2mm);
  362. }
  363. .imgfullspreadleft,
  364. .imgfullspreadright,
  365. .imgfullspreadright_bleedtop,
  366. .imgfullspreadright_bleed,
  367. .doublepage_bigleft,
  368. .doublepage_bigright {
  369. break-before: left;
  370. break-after: left;
  371. width: 149mm;
  372. overflow: hidden;
  373. }
  374. .imgfullspreadright_bleedtop {
  375. margin-top: -22mm;
  376. height: 220mm;
  377. }
  378. .imgfullspreadright_bleed {
  379. margin-top: -22mm;
  380. height: 242mm;
  381. }
  382. .imgfullspreadleft img,
  383. .imgfullspreadright img {
  384. height: 198mm;
  385. width: auto;
  386. }
  387. .imgfullspreadright_bleedtop img {
  388. height: 220mm;
  389. width: auto;
  390. }
  391. .imgfullspreadright_bleed img {
  392. height: 242mm;
  393. width: auto;
  394. }
  395. .imgfullspreadleft-right {
  396. width: 149mm;
  397. overflow: hidden;
  398. margin-left: -16mm;
  399. }
  400. .imgfullspreadright-right {
  401. width: 143mm;
  402. margin-left: -8mm;
  403. overflow: hidden;
  404. display: flex;
  405. justify-content: flex-end;
  406. }
  407. .imgfullspreadright_bleedtop-right, .imgfullspreadright_bleed-right {
  408. width: 173mm;
  409. height: 220mm !important;
  410. margin-top: -22mm;
  411. margin-left: -8mm;
  412. overflow: hidden;
  413. display: flex;
  414. justify-content: flex-end;
  415. }
  416. .imgfullspreadright_bleed-right, .imgfullspreadright_bleed-right img {
  417. height: 242mm !important;
  418. }
  419. .imgfullspreadright_bleedtop-right img, .imgfullspreadright_bleed-right img {
  420. height: 220mm;
  421. width: auto;
  422. }
  423. .imgfullspreadright-right img {
  424. height: 198mm;
  425. width: auto;
  426. }
  427. .imgfullspreadleft-right img {
  428. height: 198mm;
  429. width: auto;
  430. margin-left: -141mm;
  431. }
  432. .doublepage_bigleft,
  433. .doublepage_bigright {
  434. height: 128mm !important;
  435. }
  436. .doublepage_bigleft img,
  437. .doublepage_bigright img {
  438. height: 100%;
  439. width: auto;
  440. }
  441. .overflow_bigimgleft,
  442. .overflow_bigimgright {
  443. height: 128mm !important;
  444. }
  445. .overflow_bigimgleft {
  446. margin-left: -157mm;
  447. }
  448. .overflow_bigimgright {
  449. display: flex;
  450. justify-content: flex-end;
  451. }
  452. .doublepage_bigright img {
  453. margin-left: 106mm;
  454. }
  455. .overflow_bigimgleft img,
  456. .overflow_bigimgright img {
  457. height: 100%;
  458. width: auto;
  459. }
  460. .dp_sm_img {
  461. position: absolute;
  462. width: calc((var(--pagedjs-pagebox-width) / var(--cols)) * 4);
  463. height: 71mm !important;
  464. }
  465. .pagedjs_right_page .dp_sm_img {
  466. right: 0;
  467. }
  468. .pagedjs_left_page .dp_sm_img {
  469. left: 0;
  470. }
  471. .dp_sm_img img {
  472. position: absolute;
  473. bottom: 0;
  474. width: 100%;
  475. }