File size: 2,002 Bytes
83e35a7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Comic Editor - Drag & Edit</title>
<style>
body {
margin: 0;
padding: 0;
background: #2c3e50;
font-family: Arial, sans-serif;
overflow-x: auto;
}
.header {
background: #34495e;
color: white;
padding: 20px;
text-align: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header h1 {
margin: 0;
font-size: 28px;
}
.header p {
margin: 10px 0 0 0;
opacity: 0.8;
}
#comic-editor {
min-height: 100vh;
padding: 40px 20px;
}
.loading {
text-align: center;
color: white;
padding: 50px;
font-size: 20px;
}
/* Mobile responsive */
@media (max-width: 768px) {
.editor-toolbar {
position: static !important;
margin: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.toolbar-btn {
width: auto !important;
padding: 8px 15px !important;
margin: 5px !important;
}
}
</style>
</head>
<body>
<div class="header">
<h1>🎨 Interactive Comic Editor</h1>
<p>Drag bubbles to reposition • Double-click to edit text • Add new bubbles anytime</p>
</div>
<div id="comic-editor">
<div class="loading">Loading comic...</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/html2canvas@1.4.1/dist/html2canvas.min.js"></script>
<script src="/static/comic_editor.js"></script>
</body>
</html> |