-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (74 loc) · 2.27 KB
/
index.html
File metadata and controls
74 lines (74 loc) · 2.27 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
<!DOCTYPE html>
<html lang="zh-HK">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Board Game Companion</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'neko-cream': '#FFFDF0', // Background
'neko-brown': '#8D7B68', // Text & Borders
'neko-dark-brown': '#594A3C',
'neko-orange': '#FAB57A',
'neko-red': '#FA7A7A',
'neko-green': '#A8D8B9',
'neko-blue': '#A3C9E2',
'neko-card': '#FFFCF5',
}
}
}
}
</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=M+PLUS+Rounded+1c:wght@400;500;700;800&display=swap" rel="stylesheet">
<style>
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #FFFDF0;
}
::-webkit-scrollbar-thumb {
background: #DCC9B6;
border-radius: 99px;
border: 2px solid #FFFDF0;
}
::-webkit-scrollbar-thumb:hover {
background: #8D7B68;
}
body {
background-color: #FFFDF0;
/* Grid pattern like a notebook */
background-image:
linear-gradient(#E8E0D5 1px, transparent 1px),
linear-gradient(90deg, #E8E0D5 1px, transparent 1px);
background-size: 20px 20px;
font-family: 'M PLUS Rounded 1c', sans-serif;
color: #8D7B68; /* Neko Brown */
-webkit-tap-highlight-color: transparent;
}
</style>
<script type="importmap">
{
"imports": {
"react-router-dom": "https://esm.sh/react-router-dom@^7.12.0",
"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/"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>