-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
152 lines (142 loc) · 4.25 KB
/
index.html
File metadata and controls
152 lines (142 loc) · 4.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pixel Monkey</title>
<script src="https://cdn.tailwindcss.com"></script>
<!-- Retro Fonts -->
<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=Press+Start+2P&family=VT323&display=swap" rel="stylesheet">
<style>
/* Scale UI by 56% total (20% + 30%) */
html {
font-size: 156%; /* 16px * 1.2 * 1.3 = 24.96px */
}
/* Retro Font Utilities */
.font-retro-title {
font-family: 'Press Start 2P', cursive;
}
.font-retro-text {
font-family: 'VT323', monospace;
}
/* Pixel Perfect Rendering */
.pixelated-canvas {
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
/* CASSETTE FUTURISM SCROLLBAR */
::-webkit-scrollbar {
width: 14px;
height: 14px;
background: #000;
}
::-webkit-scrollbar-track {
background: #111;
border-left: 1px solid #333;
}
::-webkit-scrollbar-thumb {
background: #ffb000;
border: 2px solid #000;
}
::-webkit-scrollbar-thumb:hover {
background: #ffcc00;
}
/* CRT SCANLINE EFFECT */
.scanlines {
background: linear-gradient(
to bottom,
rgba(255,255,255,0),
rgba(255,255,255,0) 50%,
rgba(0,0,0,0.2) 50%,
rgba(0,0,0,0.2)
);
background-size: 100% 4px;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
z-index: 50;
opacity: 0.15;
}
/* INDUSTRIAL BORDERS */
.cassette-border {
position: relative;
background-color: #1a1a1a;
border: 2px solid #333;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.cassette-btn {
clip-path: polygon(
0 0,
100% 0,
100% calc(100% - 8px),
calc(100% - 8px) 100%,
0 100%
);
transition: all 0.1s;
text-transform: uppercase;
letter-spacing: 1px;
}
.cassette-btn:active {
transform: translateY(2px);
}
/* INDUSTRIAL SLIDER */
input[type=range] {
-webkit-appearance: none;
width: 100%;
background: transparent;
}
input[type=range]:focus {
outline: none;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
height: 16px;
width: 24px;
background: #ffb000;
cursor: pointer;
margin-top: -6px;
clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
box-shadow: 0 0 5px #ffb000;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 4px;
cursor: pointer;
background: #333;
border: 1px solid #111;
}
.text-glow {
text-shadow: 0 0 4px currentColor;
}
/* COLOR PICKER STYLES */
.cp-saturation-gradient {
background: linear-gradient(to bottom, transparent, #000), linear-gradient(to right, #fff, transparent);
}
.cp-hue-gradient {
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
}
</style>
<script type="importmap">
{
"imports": {
"react/": "https://aistudiocdn.com/react@^19.2.1/",
"react": "https://aistudiocdn.com/react@^19.2.1",
"lucide-react": "https://aistudiocdn.com/lucide-react@^0.555.0",
"@google/genai": "https://aistudiocdn.com/@google/genai@^1.31.0",
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.1/"
}
}
</script>
</head>
<body class="bg-[#050505] text-[#ccc] h-screen overflow-hidden font-retro-text selection:bg-[#ffb000] selection:text-black">
<div id="root" class="h-full flex flex-col relative"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>