109 lines
3.0 KiB
HTML
109 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>PlumeIA - Éditeur Intelligent</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
|
|
<script>
|
|
tailwind.config = {
|
|
theme: {
|
|
extend: {
|
|
fontFamily: {
|
|
sans: ['Inter', 'sans-serif'],
|
|
serif: ['Merriweather', 'serif'],
|
|
},
|
|
colors: {
|
|
paper: '#fcfbf7', // Warm paper color
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style>
|
|
@media print {
|
|
@page {
|
|
margin: 2cm;
|
|
size: auto;
|
|
}
|
|
|
|
html, body {
|
|
height: auto !important;
|
|
overflow: visible !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
background: white !important;
|
|
color: black !important;
|
|
}
|
|
|
|
#root {
|
|
height: auto !important;
|
|
overflow: visible !important;
|
|
display: block !important;
|
|
position: relative !important;
|
|
}
|
|
|
|
.no-print { display: none !important; }
|
|
.print-only { display: block !important; }
|
|
|
|
/* Force page breaks */
|
|
.break-before-page { page-break-before: always; break-before: page; }
|
|
.break-after-page { page-break-after: always; break-after: page; }
|
|
|
|
/* Typography adjustments */
|
|
p {
|
|
text-align: justify;
|
|
widows: 3;
|
|
orphans: 3;
|
|
color: black !important;
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
color: black !important;
|
|
page-break-after: avoid;
|
|
}
|
|
|
|
a { text-decoration: none; color: black !important; }
|
|
}
|
|
|
|
.editor-content:empty:before {
|
|
content: attr(placeholder);
|
|
color: #9ca3af;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Custom scrollbar for webkit */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
background: #cbd5e1;
|
|
border-radius: 3px;
|
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #94a3b8;
|
|
}
|
|
</style>
|
|
<script type="importmap">
|
|
{
|
|
"imports": {
|
|
"react/": "https://esm.sh/react@^19.2.4/",
|
|
"react": "https://esm.sh/react@^19.2.4",
|
|
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
|
|
"@google/genai": "https://esm.sh/@google/genai@^1.38.0",
|
|
"lucide-react": "https://esm.sh/lucide-react@^0.563.0"
|
|
}
|
|
}
|
|
</script>
|
|
<link rel="stylesheet" href="/index.css">
|
|
</head>
|
|
<body class="bg-gray-100 text-slate-800 h-screen overflow-hidden">
|
|
<div id="root" class="h-full flex flex-col"></div>
|
|
<script type="module" src="/index.tsx"></script>
|
|
</body>
|
|
</html> |