-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodex.bat.html
More file actions
381 lines (324 loc) · 11.7 KB
/
codex.bat.html
File metadata and controls
381 lines (324 loc) · 11.7 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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Discord, most platforms -->
<meta property="og:title" content="Codex.bat">
<meta property="og:description" content="Minecraft modder, Discord bot maker, trying to build a real community.">
<meta property="og:image" content="https://codex-bat.github.io/assets/logo.png">
<meta property="og:url" content="https://codex-bat.github.io/codex.bat">
<meta property="og:type" content="website">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Codex.bat">
<meta name="twitter:description" content="Minecraft modder, Discord bot maker, trying to build a real community.">
<meta name="twitter:image" content="https://codex-bat.github.io/assets/logo.png">
<!-- Improved viewport for better mobile scaling -->
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Codex.bat — about me</title>
<link rel="icon" type="image/png" sizes="32x32" href="/assets/logo.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/logo.png">
<link rel="icon" type="image/png" href="/assets/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
<link rel="shortcut icon" href="/assets/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png" />
<link rel="manifest" href="/assets/site.webmanifest" />
<meta name="description" content="Codex.bat — Minecraft modder, Discord bot maker, community builder." />
<style>
/* Base styles — clean, monospace, dark theme */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #000;
color: #ddd;
font-family: 'Courier New', monospace;
margin: 0;
padding: 2rem;
line-height: 1.5;
}
.container {
max-width: 800px;
margin: 0 auto;
}
header {
border-bottom: 2px solid #2a2a2a;
margin-bottom: 2rem;
padding-bottom: 1rem;
}
h1 {
font-size: 2.5rem;
margin: 0;
color: #fff;
}
/* Nagation section — contains both nav links and dropdown button (mobile only) */
.nav-section {
margin-top: 0.5rem;
}
nav a {
color: #7f9eff;
text-decoration: none;
margin-right: 1rem;
}
nav a:hover {
text-decoration: underline;
}
/* desktop link buttons (inline) */
.links {
margin: 1rem 0 0 0;
text-align: left;
}
.links a {
display: inline-block;
background: #111;
border: 1px solid #2a2a2a;
padding: 0.4rem 0.9rem;
margin-right: 0.8rem;
margin-bottom: 0.6rem;
text-decoration: none;
color: #7f9eff;
font-family: monospace;
font-size: 0.95rem;
border-radius: 4px;
transition: all 0.2s ease;
box-sizing: border-box;
}
.links a:hover {
background: #1a1a1a;
border-color: #7f9eff;
color: #b8d0ff;
transform: translateY(-1px);
}
.links a:active {
transform: translateY(1px);
}
.content {
background: #0c0c0c;
border: 1px solid #2a2a2a;
padding: 1.5rem;
}
h2 {
border-left: 5px solid #7f9eff;
padding-left: 0.8rem;
margin-top: 1.2rem;
margin-bottom: 0.5rem;
}
h2:first-of-type {
margin-top: 0;
}
ul {
padding-left: 1.2rem;
margin: 0.8rem 0;
}
li {
margin-bottom: 0.3rem;
}
footer {
margin-top: 2rem;
text-align: center;
color: #555;
font-size: 0.7rem;
border-top: 1px dashed #2a2a2a;
padding-top: 1rem;
}
/* =======YLES: reve r roun====== */
/* Remove default focus outline from all interactive elements */
a, button, .links a, .mobile-dropdown-arrow, nav a {
outline: none;
}
a, button, .links a, .mobile-dropdown-arrow, nav a {
-webkit-tap-highlight-color: transparent;
}
/* Custom focus ring for keyboard navigation – respects border-radius */
a:focus-visible, button:focus-visible, .links a:focus-visible, .mobile-dropdown-arrow:focus-visible, nav a:focus-visible {
outline: none;
box-shadow: 0 0 0 3px rgba(127, 158, 255, 0.5), 0 0 0 1px #7f9eff;
border-radius: inherit; /* ensures the glow follows the element's shape */
}
.links a:focus-visible, .mobile-dropdown-arrow:focus-visible {
border-radius: 8px; /* matches mobile/desktop border-radius */
}
nav a:focus-visible {
border-radius: 4px;
background-color: rgba(127, 158, 255, 0.1);
box-shadow: 0 0 0 2px #7f9eff;
}
/* Mobile dropdown button: hidden on desktop */
.mobile-dropdown-arrow {
display: none;
}
/* ========= RESPONSIVE: PHONE ONLY DROPDOWN ========= */
@media (max-width: 640px) {
body {
padding: 1rem;
}
.container {
width: 100%;
}
h1 {
font-size: 2rem;
word-break: break-word;
}
/* make nav section flex row with space-between for arrow button */
.nav-section {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
nav a {
display: inline-block;
margin-right: 0.8rem;
margin-bottom: 0;
font-size: 0.95rem;
}
/* show and style the dropdown arrow button */
.mobile-dropdown-arrow {
display: inline-flex;
align-items: center;
justify-content: center;
background: #111;
border: 1px solid #2a2a2a;
color: #7f9eff;
font-size: 1.2rem;
padding: 0.3rem 0.7rem;
border-radius: 8px;
cursor: pointer;
font-family: monospace;
transition: all 0.2s ease;
user-select: none;
}
.mobile-dropdown-arrow:active {
background: #2a2a2a;
transform: scale(0.96);
}
/* Links container: hidden by default, becomes flex when open */
.links {
display: none;
flex-direction: column;
gap: 0.7rem;
width: 100%;
margin: 1rem 0 0 0;
}
.links.open {
display: flex;
}
.links a {
display: block;
width: 100%;
margin-right: 0;
margin-bottom: 0;
padding: 0.8rem 0.6rem;
text-align: center;
font-size: 1rem;
letter-spacing: 0.3px;
border-radius: 8px;
background: #111;
border: 1px solid #2f2f2f;
}
.links a:active {
background: #2a2a2a;
border-color: #7f9eff;
transform: scale(0.98);
}
/* content spacing */
.content {
padding: 1.2rem;
}
h2 {
font-size: 1.5rem;
}
p, li {
font-size: 0.95rem;
}
footer {
font-size: 0.65rem;
margin-top: 1.5rem;
}
}
/* extra small devices (<= 480px) fine-tuning */
@media (max-width: 480px) {
body {
padding: 0.8rem;
}
.links a {
padding: 0.75rem 0.5rem;
font-size: 0.95rem;
}
nav a {
font-size: 0.85rem;
margin-right: 0.6rem;
}
.mobile-dropdown-arrow {
font-size: 1rem;
padding: 0.25rem 0.6rem;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>Codex.bat</h1>
<!-- Navigation row: home/about me + dropdown arrow (only visible on mobile) -->
<div class="nav-section">
<nav>
<a href="/">home</a>
<a href="/codex.bat">about me</a>
</nav>
<button class="mobile-dropdown-arrow" aria-label="Toggle social links">▼</button>
</div>
<!-- Social links container (desktop: inline; mobile: hidden until toggled) -->
<div class="links">
<a href="https://github.com/codex-bat">GitHub</a>
<a href="https://youtube.com/@codex_bat">YouTube</a>
<a href="https://www.twitch.tv/codex_bat">Twitch</a>
<a href="/discord">Discord</a>
<a href="https://x.com/codex_bat">Twitter</a>
<a href="https://bsky.app/profile/codex-bat.bsky.social">Bsky</a>
</div>
</header>
<div class="content">
<h2>who am i</h2>
<p>Hi, I’m Codex.bat. I make Minecraft mods, Discord bots, and other little things when inspiration hits. I
like music, building communities, and writing code that doesn’t take itself too seriously.</p>
<h2>what i’m up to</h2>
<ul>
<li>modding Minecraft (fabric gang)</li>
<li>running a Discord server that’s actually alive</li>
<li>learning bad CSS on purpose</li>
<li>posting random dev updates on YouTube</li>
<li>also OH MY GAAAHHHH THE GROUNDSLAMMER REPO LOOKS SOOO GOOOD >v<</li>
</ul>
<h2>why this site exists</h2>
<p>just a simple place to share my stuff and maybe make the internet feel a bit smaller. I just need a break
</p>
</div>
<footer>
© 2026 Codex.bat All rights reserved
</footer>
</div>
<!-- Simple toggle script for mobile dropdown (only active when arrow exists) -->
<script>
(function() {
// Only needed for mobile – but safe to run on all devices
const arrowBtn = document.querySelector('.mobile-dropdown-arrow');
const linksContainer = document.querySelector('.links');
if (!arrowBtn || !linksContainer) return;
// Toggle dropdown and arrow icon on click
arrowBtn.addEventListener('click', function(e) {
e.preventDefault();
linksContainer.classList.toggle('open');
// Change arrow direction: ▼ when closed, ▲ when open
if (linksContainer.classList.contains('open')) {
arrowBtn.textContent = '▲';
} else {
arrowBtn.textContent = '▼';
}
});
})();
</script>
</body>
</html>