-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
226 lines (194 loc) · 5.49 KB
/
Copy pathindex.html
File metadata and controls
226 lines (194 loc) · 5.49 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gemini Cortex</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
background: '#0a0a0a',
sidebar: '#161616',
border: '#262626',
}
}
}
}
</script>
<style>
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: #0a0a0a;
color: white;
}
/* Custom scrollbar for better aesthetics */
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background-color: #333;
border-radius: 20px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background-color: #555;
}
/* MDEditor Dark Theme Overrides */
.w-md-editor {
background-color: #0a0a0a !important;
border: none !important;
box-shadow: none !important;
}
.w-md-editor-toolbar {
background-color: #161616 !important;
border-bottom: 1px solid #262626 !important;
padding: 8px !important;
}
.w-md-editor-toolbar li>button {
color: #9ca3af !important;
}
.w-md-editor-toolbar li>button:hover {
color: white !important;
background: #262626 !important;
}
.w-md-editor-text-pre>code,
.w-md-editor-text-input,
.w-md-editor-text {
font-size: 14px !important;
line-height: 1.7 !important;
color: #d1d5db !important;
}
.w-md-editor-preview {
background-color: #0a0a0a !important;
padding: 16px 24px !important;
}
.w-md-editor-content {
background-color: #0a0a0a !important;
}
.w-md-editor-area {
background-color: #0a0a0a !important;
}
.wmde-markdown {
background-color: transparent !important;
color: #d1d5db !important;
}
.wmde-markdown h1,
.wmde-markdown h2,
.wmde-markdown h3,
.wmde-markdown h4,
.wmde-markdown h5,
.wmde-markdown h6 {
color: white !important;
border-bottom: none !important;
}
.wmde-markdown code {
background-color: #262626 !important;
color: #c084fc !important;
padding: 2px 6px !important;
border-radius: 4px !important;
}
.wmde-markdown pre {
background-color: #1a1a1a !important;
border: 1px solid #333 !important;
border-radius: 8px !important;
}
.wmde-markdown pre code {
background: transparent !important;
color: #d1d5db !important;
}
.wmde-markdown blockquote {
border-left: 4px solid #a855f7 !important;
color: #9ca3af !important;
background: transparent !important;
}
.wmde-markdown table th {
background-color: #1a1a1a !important;
}
.wmde-markdown table td,
.wmde-markdown table th {
border-color: #333 !important;
}
.wmde-markdown a {
color: #60a5fa !important;
}
.wmde-markdown hr {
border-color: #333 !important;
}
/* Tiptap / Prosemirror Task List Fixes */
.ProseMirror .task-list,
.ProseMirror ul[data-type="taskList"],
.ProseMirror ol[data-type="taskList"] {
list-style: none !important;
padding: 0 !important;
margin: 0.5rem 0 !important;
}
.ProseMirror .task-item,
.ProseMirror li[data-type="taskItem"] {
display: flex !important;
flex-direction: row !important;
align-items: flex-start !important;
gap: 0.5rem !important;
margin-bottom: 0.25rem !important;
list-style: none !important;
}
.ProseMirror li[data-type="taskItem"]>label {
display: inline-flex !important;
align-items: center !important;
flex-shrink: 0 !important;
margin: 0 !important;
padding: 0 !important;
margin-top: 0.1rem !important;
cursor: pointer !important;
}
.ProseMirror li[data-type="taskItem"]>label input[type="checkbox"] {
cursor: pointer !important;
width: 1rem !important;
height: 1rem !important;
accent-color: #10b981 !important;
margin: 0 !important;
}
.ProseMirror li[data-type="taskItem"]>div {
flex: 1 !important;
margin: 0 !important;
padding: 0 !important;
min-width: 0 !important;
}
.ProseMirror li[data-type="taskItem"]>div>p {
margin: 0 !important;
padding: 0 !important;
}
/* Checked state styling */
.ProseMirror li[data-type="taskItem"][data-checked="true"]>div {
text-decoration: line-through;
opacity: 0.6;
}
</style>
<script type="importmap">
{
"imports": {
"react/": "https://aistudiocdn.com/react@^19.2.1/",
"react": "https://aistudiocdn.com/react@^19.2.1",
"react-dom/": "https://aistudiocdn.com/react-dom@^19.2.1/",
"lucide-react": "https://aistudiocdn.com/lucide-react@^0.555.0",
"zustand": "https://aistudiocdn.com/zustand@^5.0.9",
"framer-motion": "https://aistudiocdn.com/framer-motion@^11.0.8"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>