-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (88 loc) · 3.02 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preload" href="/fonts/Calistoga-Regular.ttf" as="font" type="font/ttf" crossorigin>
<link rel="preload" href="/fonts/Quicksand-Semibold.ttf" as="font" type="font/ttf" crossorigin>
<title>Quest</title>
<link rel="icon" href="/images/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png">
<link rel="manifest" href="/manifest.json">
<style>
html, body {
width: 100%;
height: 100%;
overflow: hidden;
padding: 0;
margin: 0;
pointer-events: none;
background: rgb(26, 15, 31);
}
/* Import the font using @font-face */
@font-face {
font-family: 'Calistoga';
font-style: normal;
font-weight: 400;
src: url('/fonts/Calistoga-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Quicksand';
font-style: normal;
font-weight: 400;
src: url('/fonts/Quicksand-Semibold.ttf') format('truetype');
}
body > canvas {
width: 100%;
height: 100%;
touch-action: none;
}
div, a, img {
position: absolute;
box-sizing: border-box;
-webkit-backface-visibility: hidden;
pointer-events: none;
}
a {
cursor: pointer;
pointer-events: all;
}
.text {
pointer-events: all;
white-space: pre;
}
/* TODO special exception for text selection in debug tools */
[id='2067877626'] > * {
pointer-events: none !important;
}
/* Custom Scrollbar Styling */
::-webkit-scrollbar {
width: 12px; /* Adjust width as needed */
}
::-webkit-scrollbar-track {
background: #2d1f33; /* COLOR_CARD */
border-radius: 6px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, #942f4a, #b13658); /* COLOR_PRIMARY and COLOR_PRIMARY_HOVER */
border-radius: 6px;
border: 3px solid #2d1f33; /* Match COLOR_CARD for an inset effect */
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, #b13658, #ff6b97); /* COLOR_PRIMARY_HOVER to COLOR_ACCENT */
}
::-webkit-scrollbar-corner {
background: #1a0f1f; /* COLOR_BACKGROUND */
}
/* Optional: Add styling for overflow elements */
.scroll-container {
scrollbar-color: #942f4a #2d1f33; /* Thumb and track colors for Firefox */
scrollbar-width: thin; /* Thin scrollbar for Firefox */
}
</style>
</head>
<body>
<script type="module" src="scripts/init.js"></script>
</body>
</html>