generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
104 lines (95 loc) · 3.07 KB
/
index.html
File metadata and controls
104 lines (95 loc) · 3.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Fallout: Wasteland Chronicles</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=VT323&display=swap" rel="stylesheet">
<style>
:root {
--pip-color: #1aff1a;
--pip-color-rgb: 26, 255, 26;
--pip-color-soft: #c9ffc9;
--pip-color-soft-rgb: 201, 255, 201;
}
body {
background-color: #0c0c0c;
color: var(--pip-color);
font-family: 'VT323', monospace;
overflow: hidden;
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
}
.crt-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
z-index: 1000;
background-size: 100% 2px, 3px 100%;
pointer-events: none;
}
.scanline {
width: 100%;
height: 100px;
z-index: 1001;
background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(var(--pip-color-rgb), 0.05) 50%, rgba(0, 0, 0, 0) 100%);
opacity: 0.1;
position: absolute;
bottom: 100%;
animation: scanline 10s linear infinite;
pointer-events: none;
}
@keyframes scanline {
0% { bottom: 100%; }
100% { bottom: -100px; }
}
.pip-boy-border {
border: 2px solid var(--pip-color);
box-shadow: 0 0 10px rgba(var(--pip-color-rgb), 0.3), inset 0 0 10px rgba(var(--pip-color-rgb), 0.2);
}
.glow-text {
text-shadow: 0 0 5px rgba(var(--pip-color-rgb), 0.8);
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #000;
}
::-webkit-scrollbar-thumb {
background: var(--pip-color);
}
</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.35.0"
}
}
</script>
</head>
<body>
<div id="root"></div>
<div class="crt-overlay"></div>
<div class="scanline"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>