| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- /* Style pour génération PDF propres - planning-artifacts */
- @import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');
- * {
- box-sizing: border-box;
- }
- body {
- font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
- font-size: 11pt;
- line-height: 1.5;
- color: #1a1a1a;
- max-width: 100%;
- margin: 0;
- padding: 0;
- }
- /* Titres */
- h1 {
- font-size: 1.6em;
- font-weight: 700;
- margin: 0 0 0.75em 0;
- padding-bottom: 0.35em;
- border-bottom: 2px solid #2563eb;
- color: #1e3a5f;
- page-break-after: avoid;
- }
- h2 {
- font-size: 1.25em;
- font-weight: 700;
- margin: 1.25em 0 0.5em 0;
- color: #1e3a5f;
- page-break-after: avoid;
- }
- h3, h4 {
- font-size: 1.05em;
- font-weight: 600;
- margin: 1em 0 0.4em 0;
- color: #334155;
- page-break-after: avoid;
- }
- /* Paragraphes et listes */
- p {
- margin: 0 0 0.6em 0;
- }
- ul, ol {
- margin: 0 0 0.75em 0;
- padding-left: 1.5em;
- }
- li {
- margin-bottom: 0.25em;
- }
- /* Tableaux - rendu propre */
- table {
- width: 100%;
- border-collapse: collapse;
- margin: 0.75em 0;
- font-size: 10pt;
- page-break-inside: avoid;
- }
- th, td {
- border: 1px solid #cbd5e1;
- padding: 0.4em 0.6em;
- text-align: left;
- vertical-align: top;
- }
- th {
- background: #1e3a5f;
- color: #fff;
- font-weight: 600;
- }
- tr:nth-child(even) {
- background: #f8fafc;
- }
- /* Bloc citation / séparateur */
- hr {
- border: none;
- border-top: 1px solid #e2e8f0;
- margin: 1.25em 0;
- }
- blockquote {
- margin: 0.75em 0;
- padding: 0.5em 1em;
- border-left: 4px solid #2563eb;
- background: #f1f5f9;
- color: #475569;
- font-style: italic;
- }
- /* Code */
- code {
- font-family: 'Consolas', 'Monaco', monospace;
- font-size: 0.9em;
- background: #f1f5f9;
- padding: 0.15em 0.35em;
- border-radius: 3px;
- border: 1px solid #e2e8f0;
- }
- pre {
- background: #1e293b;
- color: #e2e8f0;
- padding: 0.75em 1em;
- border-radius: 4px;
- overflow-x: auto;
- font-size: 9pt;
- page-break-inside: avoid;
- }
- pre code {
- background: none;
- padding: 0;
- border: none;
- color: inherit;
- }
- /* Strong / emphasis */
- strong {
- font-weight: 600;
- color: #1e3a5f;
- }
- /* Sauts de page */
- h1, h2, h3, h4 {
- page-break-after: avoid;
- }
- table, pre, blockquote {
- page-break-inside: avoid;
- }
- @media print {
- body {
- print-color-adjust: exact;
- -webkit-print-color-adjust: exact;
- }
- }
|