chore init

This commit is contained in:
devcodetools committed 2026-09-16 21:34:09 +02:00
1 parent 1b7406b1d3
commit a0d312a884
60 files changed
+5046 -125

No files matched your search

+130 -20
View File
@@ -1,26 +1,136 @@
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #171717;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font-geist-mono);
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
@theme {
--color-surface: #ffffff;
--color-paper: #f1f5f9;
--color-ink: #0f172a;
--color-muted: #64748b;
--color-accent: #2563eb;
--color-danger: #dc2626;
--color-border: #e2e8f0;
--font-sans: var(--font-geist-sans), ui-sans-serif, system-ui, sans-serif;
--font-mono: var(--font-geist-mono), ui-monospace, monospace;
}
body {
background: var(--background);
color: var(--foreground);
font-family: Arial, Helvetica, sans-serif;
background: var(--color-paper);
color: var(--color-ink);
}
/* Tailwind v4 ne force plus cursor:pointer sur les boutons ; on le restaure */
/* (le curseur « not-allowed » des boutons désactivés reste prioritaire) */
button:not(:disabled),
[role="button"]:not(:disabled) {
cursor: pointer;
}
/* ── Feuille A4 (preview) ─────────────────────────────────────── */
.cv-sheet {
width: 210mm;
max-width: 100%;
min-height: 297mm;
background: var(--color-surface);
box-shadow: 0 10px 30px rgb(15 23 42 / 0.15);
border: 1px solid var(--color-border);
padding: 16mm;
}
.cv-sheet-body {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 12mm;
}
/* ── Rendu Markdown du CV ─────────────────────────────────────── */
.cv-md {
line-height: 1.45;
}
.cv-md p {
margin: 0.25em 0;
}
.cv-md h1,
.cv-md h2,
.cv-md h3,
.cv-md h4 {
font-weight: 700;
line-height: 1.2;
margin: 0.35em 0 0.25em;
}
.cv-md h1 {
font-size: 1.1rem;
}
.cv-md h2 {
font-size: 1rem;
}
.cv-md h3 {
font-size: 0.9rem;
}
.cv-md h4 {
font-size: 0.85rem;
}
.cv-md ul,
.cv-md ol {
margin: 0.25em 0;
padding-left: 1.2em;
}
.cv-md li {
margin: 0.1em 0;
}
.cv-md a {
color: var(--color-accent);
text-decoration: underline;
}
.cv-md code {
font-family: var(--font-mono);
font-size: 0.9em;
background: var(--color-paper);
padding: 0.1em 0.3em;
border-radius: 0.25em;
}
.cv-md pre {
background: var(--color-paper);
padding: 0.6em;
border-radius: 0.375em;
overflow-x: auto;
white-space: pre-wrap;
}
.cv-md blockquote {
border-left: 3px solid var(--color-border);
padding-left: 0.75em;
margin: 0.25em 0;
color: var(--color-muted);
}
/* ── Impression PDF ───────────────────────────────────────────── */
@page {
size: A4;
margin: 0;
}
@media print {
body {
background: #ffffff;
}
.print-hidden {
display: none !important;
}
.cv-sheet {
box-shadow: none;
border: 0;
margin: 0;
width: auto;
height: auto;
padding: 16mm;
}
}