mep_carnet.css 9.9 KB

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