-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·163 lines (148 loc) · 4.68 KB
/
index.html
File metadata and controls
executable file
·163 lines (148 loc) · 4.68 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blossom Theme</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bangers&family=Outfit:wght@400;900&family=Playfair+Display:ital,wght@1,900&display=swap" rel="stylesheet">
<style>
:root {
--primary: #FF85A2;
--secondary: #FFB7C5;
--dark: #4A148C;
--bg: #FFF5F7;
}
body {
font-family: 'Outfit', sans-serif;
background-color: var(--bg);
color: var(--dark);
height: 100vh;
width: 100vw;
overflow: hidden;
margin: 0;
padding: 0;
}
/* Global Paper Texture */
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('https://www.transparenttextures.com/patterns/paper.png');
opacity: 0.15;
pointer-events: none;
z-index: 999;
}
.manga-grid {
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(12, 1fr);
gap: 16px;
height: 100vh;
padding: 16px;
box-sizing: border-box;
}
@media (max-width: 768px) {
.manga-grid {
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(12, 1fr);
gap: 8px;
padding: 8px;
}
}
.manga-panel {
background: white;
border: 6px solid var(--dark);
position: relative;
overflow: hidden;
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
box-shadow: 4px 4px 0px var(--dark);
}
.manga-panel:hover {
z-index: 50;
transform: translate(-4px, -4px);
box-shadow: 12px 12px 0px var(--primary);
}
.manga-border-thick {
border-width: 10px;
}
.screentone {
position: absolute;
inset: 0;
background-image: radial-gradient(var(--dark) 0.5px, transparent 0);
background-size: 6px 6px;
opacity: 0.05;
pointer-events: none;
z-index: 5;
}
.vertical-text {
writing-mode: vertical-rl;
text-orientation: mixed;
}
.font-manga {
font-family: 'Bangers', cursive;
letter-spacing: 0.05em;
}
.speech-bubble {
background: white;
border: 4px solid var(--dark);
padding: 1rem;
border-radius: 40%;
position: relative;
box-shadow: 6px 6px 0 var(--secondary);
}
.speech-bubble::after {
content: '';
position: absolute;
bottom: -15px;
left: 30%;
border-width: 15px 15px 0;
border-style: solid;
border-color: var(--dark) transparent transparent;
}
@keyframes drift {
0% { transform: scale(1.1) translateX(0); }
100% { transform: scale(1.1) translateX(15px); }
}
.drift-bg {
animation: drift 15s linear infinite alternate;
filter: contrast(1.1) saturate(1.1);
}
/* Speed lines decoration */
.speed-lines {
position: absolute;
inset: 0;
background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,133,162,0.1) 10px, rgba(255,133,162,0.1) 11px);
pointer-events: none;
}
.action-tag {
background: var(--dark);
color: white;
padding: 4px 12px;
font-family: 'Bangers', cursive;
transform: skewX(-15deg);
display: inline-block;
}
</style>
<script type="importmap">
{
"imports": {
"react/": "https://esm.sh/react@^19.2.3/",
"react": "https://esm.sh/react@^19.2.3",
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
"@google/genai": "https://esm.sh/@google/genai@^1.34.0"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>