mep_carnet.css 11 KB

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