SPB Git

Repository Public MIT Research preview

tableau.css 4.0 KB 54 lines css

1/* Tableau de bord du Context Engine — aucune ressource externe ; contrastes vérifiés (texte >= 7:1 sur le fond). */2:root { --fond: #0b1626; --carte: #12233b; --texte: #f4f1e8; --doux: #c5cede; --bord: #3a5075;3        --bleu: #6fb3ff; --turquoise: #5fe0c4; --ambre: #ffcf70; --corail: #ff9a8a; }4@media (prefers-color-scheme: light) {5  :root { --fond: #fbfaf6; --carte: #ffffff; --texte: #0b1626; --doux: #37465c; --bord: #8a99b0;6          --bleu: #0b4f9e; --turquoise: #00614f; --ambre: #7a4b00; --corail: #9c1f0e; } }7* { box-sizing: border-box; }8body { margin: 0; background: var(--fond); color: var(--texte); font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }9header, main, footer { max-width: 78rem; margin: 0 auto; padding: 1rem 1.25rem; }10h1 { font-size: 1.7rem; margin: 0.4rem 0 0.2rem; }11h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; border-bottom: 2px solid var(--bord); padding-bottom: 0.25rem; }12h3 { font-size: 1.05rem; margin: 1.2rem 0 0.4rem; }13.sous-titre, footer { color: var(--doux); }14.evitement { position: absolute; left: -999rem; }15.evitement:focus { left: 1rem; top: 1rem; background: var(--carte); color: var(--texte); padding: 0.5rem 1rem; z-index: 2; }16:focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; }17.legende { background: var(--carte); border: 1px solid var(--bord); border-radius: 0.5rem; padding: 0.5rem 1rem; }18.legende p { margin: 0.35rem 0; }19.badge { display: inline-block; border: 2px solid currentColor; border-radius: 0.3rem; padding: 0 0.4rem; font-size: 0.85rem;20         font-weight: 700; white-space: nowrap; }21.badge.simule { color: var(--ambre); border-style: dashed; }22.badge.mesure { color: var(--turquoise); border-style: solid; }23.badge.exact { color: var(--bleu); border-style: double; border-width: 4px; }24.defilement { overflow-x: auto; }25table { border-collapse: collapse; width: 100%; background: var(--carte); margin: 0.4rem 0 1rem; }26caption { text-align: left; color: var(--doux); padding: 0.3rem 0; }27th, td { border: 1px solid var(--bord); padding: 0.35rem 0.55rem; text-align: left; vertical-align: top; }28th { background: var(--fond); }29th .badge { display: block; width: fit-content; margin-top: 0.2rem; font-weight: 600; }30th.nombre .badge { margin-left: auto; }31th[scope="row"] { white-space: nowrap; }32#executions td:nth-child(3), #meme-question th[scope="row"] { min-width: 16rem; white-space: normal; }33#fragments td:nth-child(7), #fragments td:nth-child(8), #fragments td:nth-child(9) { min-width: 12rem; }34dl { display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; gap: 0.35rem 1rem; margin: 0.5rem 0; }35dt { font-weight: 700; color: var(--doux); }36dd { margin: 0; }37td.nombre, th.nombre { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }38tr.choisie td { border-top: 3px solid var(--ambre); border-bottom: 3px solid var(--ambre); }39button { font: inherit; color: var(--fond); background: var(--bleu); border: 0; border-radius: 0.3rem; padding: 0.3rem 0.8rem; cursor: pointer; }40input { font: inherit; padding: 0.3rem 0.5rem; min-width: 22rem; max-width: 100%; background: var(--carte); color: var(--texte);41        border: 2px solid var(--bord); border-radius: 0.3rem; }42label { display: block; margin-bottom: 0.3rem; }43.barre { display: block; height: 0.75rem; min-width: 2px; background: var(--ambre); border-radius: 2px; }44.barre.exact { background: var(--bleu); }45.oui { color: var(--turquoise); font-weight: 700; }46.non { color: var(--corail); font-weight: 700; }47.extrait { color: var(--doux); font-size: 0.92rem; max-width: 34rem; }48.bloc-reponse { background: var(--carte); border-left: 4px solid var(--turquoise); padding: 0.6rem 1rem; white-space: pre-wrap; }49svg text { fill: var(--texte); font-size: 12px; }50svg .axe { stroke: var(--doux); stroke-width: 1; }51svg .point { fill: var(--bleu); stroke: var(--texte); stroke-width: 1; }52svg .pareto { fill: var(--ambre); stroke: var(--texte); stroke-width: 1.5; }53@media print { body { background: #fff; color: #000; } button, #connexion { display: none; } }54
Files main
Menu

Theme