* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-font-smoothing: antialiased; -o-font-smoothing: antialiased } body{ font-family: 'Area Normal'; font-size: 12px; line-height: 1.5em; --small: 9px; --light: #bfbfbf; --title: 20px; --mono: 'Geist Mono'; --table-w: 700px; } a{ color: currentColor; } img{ width: 100%; } @page { size: A4 landscape; margin-left: 14mm; margin-right: 14mm; margin-top: 8mm; margin-bottom: 14mm; @bottom-left { content: element(titleRunning); } @bottom-right-corner{ content: counter(page) "/" counter(pages); /* font-size: 8px; */ color: var(--light); text-align: left; } } #note-intention, #devis, #equipe, #details{ break-before: page; break-after: page; } header{ margin-top: 20em; margin-bottom: 3em; } header h1{ font-size: 6em; line-height: 1em; } header h2{ margin-top: 0.5em; } #studio-variable{ break-after: page; max-width: 56ch; } .infos{ width: 100%; display: flex; justify-content: space-between; gap: 1ch; } section > h2{ font-weight: bold; font-size: var(--title); break-after: none; margin-bottom: 2em; } section > h2::before{ content: '● '; } p{ margin: .75em 0; widows: 3; orphans: 3; } h3{ font-size: 1em; margin-top: 2em; margin-bottom: 1em; } ul{ list-style-type: square; margin-left: 2em; } footer{ position: running(titleRunning); /* font-size: 8px; */ color: var(--light); } @media screen, pagedjs-ignore{ body{ padding: 20px; background-color: #efefef } .pagedjs_page{ outline: 1px solid #cfcfcf; background-color: white; margin-bottom: 30px; } .pagedjs_pages{ margin: 0 auto; width: var(--pagedjs-width-right); } } /* NOTE INTENTION -------------------------------------------- */ #note-intention{ columns: 2; column-fill: auto; column-gap: 2.5em; } #note-intention h2{ column-span: all; margin-bottom: 1.5em; } #note-intention h2 + p{ margin-top: 0em; } /* DEVIS -------------------------------------------- */ #devis{ display: grid; grid-template-columns: var(--table-w) 1fr; grid-template-rows: 4em 1fr; } .devis-aside{ align-self: end; margin-left: 3em; } #devis h2{ grid-column: 1/end; } .devis-container > p{ width: var(--table-w); text-align: right; margin-bottom: 1em; margin-top: -2em; font-size: 10px; } #devis table{ width: var(--table-w); border-collapse: collapse; border-bottom: 1px solid #cfcfcf; table-layout: fixed; font-size: 12px; } #devis table col:nth-child(1){ width: 70% !important; } #devis table col:nth-child(2){ width: 15% !important; } #devis table col:nth-child(3){ width: 15% !important; } #devis table thead th{ background-color: #efefef; text-align: left; } #devis table thead th, td{ padding: 3px 1ch; } #devis table thead th:nth-of-type(2), #devis table thead th:nth-of-type(3), #devis table td:nth-of-type(2), #devis table td:nth-of-type(3){ text-align: right!important; } #devis table tr:nth-of-type(even){ background-color: #efefef; } #devis table .indent{ display: inline-block; width: 4ch; } #total{ display: flex; justify-content: flex-end; } #total table{ /* border-top: 1px solid #cfcfcf; */ width: 400px!important; table-layout: fixed; /* margin-left: calc(var(--table-w) - 400px); */ margin-top: 1em; border-bottom: none; } #total table col:nth-child(1){ width: 85% !important; color: red; } #total table col:nth-child(2){ width: 15% !important; } #devis #total th, #devis #total td{ background-color: transparent!important; font-weight: bold; } #devis #total tr:nth-of-type(1){ color: var(--light); } #devis #total tr:nth-of-type(2) td{ background-color: transparent!important; } #devis #total + p{ margin-top: 3em; font-size: var(--small); line-height: 1.5em; max-width: 40ch; margin-left: calc(var(--table-w) - 400px); } /* PLANNING & LIVRABLES ---------------------------------------- */ #planning{ break-after: page; } #planning h2{ margin-bottom: 1em; } #livrables{ margin-top: 5em; } /* EQUIPE --------------------------------------------------- */ #equipe .people{ min-height: 160px; break-inside: avoid; margin-top: 4em; /* margin-bottom: 4em; */ padding-left: 220px; position: relative; margin-left: 5em; } #equipe figure{ width: 160px; position: absolute; left: 0px; } #equipe figure figcaption{ display: none; } #equipe .people h1{ font-size: var(--title); line-height: 1.2em; margin-top: 5px; } #equipe .people p{ max-width: 52ch; } /* PORTFOLIO intro-------------------------------------------- */ #portfolio-introduction > h2{ margin-bottom: 0px; } /* PORTFOLIO 1img -------------------------------------------- */ .portfolio-group{ display: grid; grid-template-columns: 500px 1fr; grid-column-gap: 2em; grid-template-rows: auto auto 1fr; break-inside: avoid; margin-bottom: 2.8em; } .portfolio-group figure{ grid-column: 1; grid-row: 1/4; margin: 0; border: 1px solid #cfcfcf; aspect-ratio: 8/5; overflow: hidden; } .portfolio-group figure figcaption{ display: none; } .portfolio-group figure img{ width: 100%; height: 100%; object-fit: cover; display: flex; } .portfolio-group h1{ grid-column: 2; grid-row: 1; font-size: var(--title); line-height: 1.2em; margin-top: 5px; } .portfolio-group p{ grid-column: 2; grid-row: 2; width: 54ch; } .portfolio-group .details{ grid-column: 2; grid-row: 3; margin-top: 0.75em; } .portfolio-group .details dl{ display: flex; margin-bottom: 0.5ch; } .portfolio-group .details dt{ width: 12ch; font-weight: bold; flex: 0 0 auto; } #wysiwyg img{ object-position: 0px 0px; } #resin figure img{ width: 870px; object-position: 0px 0px; /* object-fit: none; */ } #timelure figure img{ width: 120%; object-position: -10% 0px; }