-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (78 loc) · 2.63 KB
/
index.html
File metadata and controls
78 lines (78 loc) · 2.63 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>梦</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'xiuxian-bg': '#132a26', // Brighter Dark Teal
'xiuxian-panel': '#1d3b36', // Lighter Panel
'xiuxian-border': '#416b63', // More visible border
'xiuxian-border-light': '#5e8c82', // Light Border
'xiuxian-gold': '#fbbf24', // Amber-400
'xiuxian-gold-bright': '#fcd34d', // Amber-300
'xiuxian-gold-dark': '#b45309', // Amber-700
'xiuxian-cyan': '#2dd4bf', // Teal-400
'xiuxian-cyan-dim': '#115e59', // Teal-800
'xiuxian-text': '#f3f4f6', // Gray-100
'xiuxian-text-dim': '#d1d5db', // Gray-300
},
fontFamily: {
serif: ['"Noto Serif SC"', 'SimSun', 'STSong', 'serif'],
},
boxShadow: {
'glow-cyan': '0 0 15px rgba(45, 212, 191, 0.2)',
'glow-gold': '0 0 15px rgba(251, 191, 36, 0.2)',
},
animation: {
marquee: 'marquee 30s linear infinite',
},
keyframes: {
marquee: {
'0%': { transform: 'translateX(0%)' },
'100%': { transform: 'translateX(-50%)' }, // Assuming content is doubled
}
}
}
}
}
</script>
<style>
/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
width: 4px; /* Thinner */
height: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: rgba(19, 42, 38, 0.5);
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: #416b63;
border-radius: 2px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #fbbf24; /* Gold on hover */
}
</style>
<script type="importmap">
{
"imports": {
"react": "https://esm.sh/react@^19.2.4",
"react-dom/": "https://esm.sh/react-dom@^19.2.4/",
"react/": "https://esm.sh/react@^19.2.4/",
"@google/genai": "https://esm.sh/@google/genai@^1.40.0",
"react-dom": "https://esm.sh/react-dom@^19.2.4"
}
}
</script>
</head>
<body class="bg-xiuxian-bg text-xiuxian-text font-serif overflow-hidden h-screen selection:bg-xiuxian-cyan-dim selection:text-white">
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>