File size: 3,883 Bytes
c47c3d9
c3ff69a
c47c3d9
 
 
 
 
 
 
 
 
 
 
 
 
c3ff69a
 
 
 
 
 
c47c3d9
 
c3ff69a
 
 
c47c3d9
c3ff69a
 
 
 
c47c3d9
 
 
 
 
 
c3ff69a
 
c47c3d9
 
 
 
 
 
 
 
 
 
 
 
c3ff69a
 
c47c3d9
 
 
 
 
c3ff69a
 
c47c3d9
 
 
 
 
c3ff69a
 
c47c3d9
 
 
 
c3ff69a
c47c3d9
 
c3ff69a
 
 
c47c3d9
c3ff69a
c47c3d9
 
 
c3ff69a
c47c3d9
 
 
 
 
 
 
c3ff69a
 
 
 
 
c47c3d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c3ff69a
 
c47c3d9
 
 
 
 
 
 
 
 
 
 
 
 
c3ff69a
c47c3d9
c3ff69a
c47c3d9
 
c3ff69a
c47c3d9
c3ff69a
c47c3d9
 
c3ff69a
c47c3d9
 
 
c3ff69a
c47c3d9
 
 
 
 
 
 
 
 
c3ff69a
 
c47c3d9
 
 
 
 
 
 
 
 
c3ff69a
 
c47c3d9
 
 
 
 
 
c3ff69a
 
c47c3d9
 
c3ff69a
 
 
 
c47c3d9
c3ff69a
c47c3d9
 
 
 
 
 
 
 
 
 
 
 
 
c3ff69a
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
/* ========== Variables & Reset ========== */
:root {
  --bg: #0d1117;
  --bg-secondary: #161b22;
  --border: #30363d;
  --text: #c9d1d9;
  --text-muted: #8b949e;
  --accent: #58a6ff;
  --accent-hover: #79c0ff;
  --danger: #f85149;
  --success: #56d364;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --radius: 0.5rem;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding: 1rem;
}

/* ========== Layout ========== */
header {
  text-align: center;
  margin-bottom: 2rem;
}
header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}
header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

main {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

section {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* ========== Form Elements ========== */
select,
input[type="file"],
input[type="url"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--transition);
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea {
  font-family: var(--font-mono);
  resize: vertical;
  min-height: 120px;
}

/* ========== Tabs ========== */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}
.tabs button {
  flex: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}
.tabs button[aria-selected="true"] {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.tabs button:hover:not([aria-selected="true"]) {
  background: var(--border);
  color: var(--text);
}

/* ========== Actions ========== */
.search-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}
button:hover {
  transform: translateY(-2px);
}
#clear {
  background: var(--border);
  color: var(--text);
}
#clear:hover {
  background: var(--text-muted);
}
#generate {
  background: var(--accent);
  color: var(--bg);
}
#generate:hover {
  background: var(--accent-hover);
}

/* ========== Outputs ========== */
pre, code {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

iframe {
  width: 100%;
  height: 400px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

/* ========== Utility ========== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ========== Responsive ========== */
@media (max-width: 600px) {
  body {
    padding: 0.5rem;
  }
  header h1 {
    font-size: 2rem;
  }
  .actions {
    justify-content: center;
  }
}