-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·404 lines (401 loc) · 17.7 KB
/
index.html
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
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
---
layout: default
title: Home
---
<!-- jekyll serve -->
<style type="text/css">
.content {
width: auto; max-width: 100%;
padding-top: 0; padding-bottom: 0;
}
table { border-top: 2px solid #515151 !important; }
/* max-width before this table gets nasty; this query will take effect for any screen smaller than 760px and also iPads, specifically. */
@media
only screen
and (max-width: 760px), (min-device-width: 768px)
and (max-device-width: 1024px) {
table { border: 2px solid #515151 !important; }
/* force-table to not be like tables anymore */
table, thead, tbody, th, td, tr { display: block; }
thead tr {/* hide table headers (but not display: none;, for accessibility) */
position: absolute;
top: -9999px;
left: -9999px;
}
/* tr { margin: 0 0 1rem 0; } */
tr { margin: 0; }
tr:nth-child(odd) { background: #ccc; }
td {/* behave like a "row" */
border: none;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 50%;
}
td:before {/* behave like a table header */
position: absolute;
/* top/left values mimic padding */
top: 0;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
}
/* label the data
could also use a data-* attribute and content for this: that way "bloats" the HTML, this way means keeping HTML and CSS in sync */
/* speculative-fiction tableCell mobile labels */
.fictionTableGroup:before,.fictionTableCell:before,
.codingTableGroup:before,.codingTableCell:before {
padding-top:4px;
}
.fictionTableGroup:nth-of-type(1):before { content:"BOOKS"; font-family:Londrina Shadow,sans-serif; }
.fictionTableGroup:nth-of-type(2):before { content:"\00270d\0000a0\0021d2"; }
.fictionTableGroup:nth-of-type(3):before { content:"\01f4d5\01f4d7\01f4d8"; }
.fictionTableCell:nth-of-type(1):before { content:"title:"; }
.fictionTableCell:nth-of-type(2):before { content:"genre:"; }
.fictionTableCell:nth-of-type(3):before { content:"medium:"; }
/* tabletop-RPGs tableCell mobile labels */
.RPGsTableGroup:nth-of-type(1):before { content:"RPGs"; font-family:Londrina Shadow,sans-serif; }
.RPGsTableGroup:nth-of-type(2):before { content:"\00270d\01f3fb\0000a0\0021d2"; }
.RPGsTableGroup:nth-of-type(3):before { content:"\01f4d4"; }
.RPGsTableCell:nth-of-type(1):before { content:"“rules as written”"; }
.RPGsTableCell:nth-of-type(2):before { content:"category:"; }
.RPGsTableCell:nth-of-type(3):before { content:"content:"; }
/* CODING tableCell mobile labels */
.codingTableGroup:nth-of-type(1):before { content:"CODING projects:"; font-family:Londrina Shadow,sans-serif; }
.codingTableGroup:nth-of-type(2):before { content:"\01f5a5\0000a0\0021d2"; }
.codingTableGroup:nth-of-type(3):before { content:"\01f5b2"; }
.codingTableCell:nth-of-type(1):before { content:"\01f3afapplication:"; }
.codingTableCell:nth-of-type(2):before { content:"\000192unction:"; }
.codingTableCell:nth-of-type(3):before { content:"\01f468\00200d\01f4bblanguage(s):"; }
.codingTableCell:nth-of-type(4):before { content:"\01f441\01f441code:"; }
}
.text-swap { font-family: 'Space Mono', monospace; }
@media
only screen
and (max-device-width: 1024px) {
#featuredSection, #featuredSection > article { flex-wrap:wrap !important; }
}
</style>
<!-- BFGriffith.github.io HOMEPAGE -->
<h1
style="text-align:center;
font-family:Londrina Shadow, sans-serif;"
>B.F. Griffith’s
<br>muddled mélange
<br>of multifarious projects…
</h1>
<p style="text-align:center; font-size:0.75rem;"
>Welcome to the bespoke personal website of
<br>
<a
href="{{site.baseurl}}professional-portfolio/"
>full-stack coder</a>, <span>
<a href="{{site.baseurl}}writing-portfolio/">speculative-fiction author</a>, philosopher,<br>educator, gamer, and insatiable bibliophile: </span>
<a href="{{site.baseurl}}about/">Ben Forbes Griffith</a>!
</span>
</p>
<section id="featuredSection" style="display:flex;gap: 10px 10px;">
<article style="display:flex;gap: 10px 10px;justify-content:space-between;align-items:center;">
<a href="https://pansophos.github.io" style="flex:0 0 250px;">
<img
src="/IMAGES/PANSOPHOS.png"
style="margin: 0 auto;border-radius:33.333%;"
height="250px" width="250px"
alt="πάνσοφος ≍ Pansophos logo image" />
</a>
<a
href="https://pansophos.github.io"
style="flex:2 3;text-decoration:none;">Click here to explore the primary “intellectual cyclopedia” compendium of wide-ranging philosophical, historical, political, artisanal, technical, or otherwise generally educationally inquisitive short-form creative works presented in formats most easily digestibly curated by topic within the overarching umbrella of B.F. Griffith’s lifelong multidisciplinary <strong class="text-swap" data-text-swap="Pansophos">πάνσοφος</strong> project:
</a>
<a
href="https://pansophos.github.io"
class="rainbow-button"
style="flex:0 0;font-size:20px!important;color:black;font-family:'Londrina Shadow', sans-serif;">❔Sapere Aude❕
</a>
</article>
<article style="display:flex;gap: 10px 10px;justify-content:space-between;align-items:center;">
<a href="https://pansophos.github.io/LOGOS/" style="flex:0 0 200px;">
<img
src="/IMAGES/LOGOS.png"
style="margin: 0 auto;border-radius:33.333%;"
height="auto" width="200px"
alt="λόγος ≍ LÓGOS logo image" />
</a>
<a
href="https://pansophos.github.io/LOGOS/"
style="flex:3 0;text-decoration:none;"><span id="LogosTXT">“We should let ourselves be guided by what is common to all… Yet, although the Lógos is common to all, most people live as if each of them had their own private understanding.” - Heraclitus of Ephesus</span>
</a>
<a
href="https://pansophos.github.io"
class="rainbow-button"
style="flex:0 0;align-content:flex-end;font-size:20px!important;color:#002B4D;font-family:'Space Mono';">Πάντα ῥεῖ
</a>
</article>
</section>
<hr style="margin-top:2rem;">
<p
style="font-size:0.75rem;"
>On the other hand, this “root” <strong>BFGriffith.GitHub.io</strong> original “core” personal website (at which you have currently already arrived!) focuses much more narrowly on simply providing a convenient open-source index of:
</p>
<ul style="font-size:0.75rem;margin-top:-0.75rem;margin-left:-1rem;">
<li>various exemplary “portfolio” or useful “template” <a href="https://github.com/BFGriffith" target="_blank">code repositories</a></li>
<li>B.F. Griffith’s <a href="{{site.baseurl}}journal/">sporadic public journaling efforts</a></li>
<li>select compilations of “niche interest” short-form writings on <a href="{{site.baseurl}}RPGs/">some of nerdiest topics</a> B.F. Griffith happens to be particularly passionate about, in addition to showcasing hopefully informative documentation as well as official updates regarding the ongoing progress or upcoming releases of all major “standalone” long-form creative projects spanning the entirety of B.F. Griffith’s burgeoning multi-genre&multi-media creative œuvre…</li>
</ul>
<p style="font-size:0.75rem;">Finally, if you’re already familiar with any of his work and have found some of it enjoyable or intriguing enough to be worthy of your time&attention, B.F. Griffith would like to express his heartfelt gratitude for your interest or patronage…❣️</p>
<ul style="font-size:0.75rem;margin-top:-0.75rem;margin-left:-1rem;"><li>And if you’re curious to learn more about <a href="{{site.baseurl}}about/">who B.F. Griffith is</a> or what he most passionately values&cares about creating, advocating, learning, or pursuing, this website is a comprehensive official public source for all of that. 👁</li></ul>
<!-- homepage: main table of featured site contents -->
<table role="table">
<thead role="rowgroup">
<tr role="row">
<th role="columnheader" colspan="2">
<h3
style="font-family:Londrina Shadow, sans-serif; margin-top:10px;"
>Creative-Works:</h3>
</th>
<th role="columnheader" colspan="3">
<h3
style="font-family:Londrina Shadow, sans-serif; margin-top:10px;"
>GENRE / medium</h3>
</th>
</tr>
</thead>
<tbody role="rowgroup">
<!-- CODING -->
<tr role="row" style="border-top: 2px solid #515151;">
<td role="cell" rowspan="4" class="codingTableGroup">
<a href="https://github.com/BFGriffith" target="_blank">💻
</a><!-- web-applications -->
</td>
<td role="cell" class="codingTableGroup"><!-- portfolio -->
<a href="{{site.baseurl}}professional-portfolio/">
<strong>CODING portfolio</strong>
</a>
</td>
<td role="cell" colspan="3" class="codingTableGroup">
<span
style="font-style:italic;font-weight:bold;"
>web-applications
</span><!-- GROUP -->
</td>
</tr>
<tr role="row">
<td role="cell" class="codingTableCell">
<!-- portfolio: Diana Griffith’s ART -->
<a href="https://diana-artwork.github.io" target="_blank">🎨 Diana Griffith’s ART 🖌
</a>
</td>
<td role="cell" class="codingTableCell">
<span>portfolio</span><!-- function: description-->
</td>
<td role="cell" class="codingTableCell"><!-- tech-stack -->
<span>
<a href="https://docs.astro.build/" target="_blank">🚀 Astro.js<a/>
</span><!-- language(s): -->
</td>
<td role="cell" class="codingTableCell">
<a
href="https://github.com/Diana-Artwork/Diana-Artwork.github.io"
target="_blank"
style="padding-left:5px;"
>🖼
</a><!-- CODE -->
</td>
</tr>
<tr role="row">
<td role="cell" class="codingTableCell">
<!-- application: scriptorium -->
<a href="https://github.com/BFGriffith/scriptorium" target="_blank">💲 scriptorium
</a>
</td>
<td role="cell" class="codingTableCell">
<span>Shell scripts</span><!-- function: description-->
</td>
<td role="cell" class="codingTableCell"><!-- tech-stack -->
<span>
<a href="https://softpanorama.org/People/Shell_giants/introduction.shtml" target="_blank">⌨️ Bash</a>
</span><!-- language(s): -->
</td>
<td role="cell" class="codingTableCell"><!-- CODE -->
<a href="https://github.com/BFGriffith/scriptorium" target="_blank">💻</a>
</td>
</tr>
<tr role="row">
<td role="cell" class="codingTableCell">
<!-- application: Poementor -->
<a href="https://github.com/BFGriffith/Poementor" target="_blank">Poementor WIP prototype
</a>
</td>
<td role="cell" class="codingTableCell">
<span>poetry</span><!-- function: description-->
</td>
<td role="cell" class="codingTableCell"><!-- tech-stack -->
<span>
<a href="https://github.com/BFGriffith/Poementor" target="_blank">🅰️ TypeScript</a>
</span><!-- language(s): -->
</td>
<td role="cell" class="codingTableCell"><!-- CODE -->
<a href="https://github.com/BFGriffith/Poementor" target="_blank">📝</a>
</td>
</tr>
<!-- CREATIVE-WRITING -->
<tr role="row" style="border-top: 1px solid #515151;">
<td role="cell" rowspan="4" class="fictionTableGroup">
<a href="{{site.baseurl}}writing-portfolio/">📚</a><!-- BOOKS -->
</td>
<td role="cell" class="fictionTableGroup"><!-- PAGE -->
<a href="{{site.baseurl}}writing-portfolio/">
<strong>B.F. Griffith’s authorial&worldbuilding creative writing portfolios</strong>
</a>
</td>
<td role="cell" colspan="3" class="fictionTableGroup">
<span
style="font-style:italic;font-weight:bold;"
>speculative-fiction
</span><!-- GROUP -->
</td>
</tr>
<tr role="row">
<td role="cell" class="fictionTableCell"><!-- TITLE -->
<a href="{{site.baseurl}}writing-portfolio/">Ɛxoτerran Légion Chronicles</a>
</td>
<td role="cell" colspan="2" class="fictionTableCell"><!-- GENRE -->
<span>🛸 science-fiction 🧑🏼🚀</span>
</td>
<td role="cell" class="fictionTableCell"><!-- TYPE/medium -->
<span>📖</span>
</td>
</tr>
<tr role="row">
<td role="cell" class="fictionTableCell"><!-- TITLE -->
<a href="{{site.baseurl}}writing-portfolio/">Έpic of Ἄpειron</a>
</td>
<td role="cell" colspan="2" class="fictionTableCell"><!-- GENRE -->
<span>🩸“grimdark” epic fantasy 🗡</span>
</td>
<td role="cell" class="fictionTableCell"><!-- TYPE/medium -->
<span>📖</span>
</td>
</tr>
<tr role="row">
<td role="cell" class="fictionTableCell"><!-- TITLE -->
<a href="{{site.baseurl}}writing-portfolio/">Æromariner Corsair Chronicles</a>
</td>
<td role="cell" colspan="2" class="fictionTableCell"><!-- GENRE -->
<span>🚂 Steampunk ⚙️ (Dieselpunk) ⛽</span>
</td>
<td role="cell" class="fictionTableCell"><!-- TYPE/medium -->
<span>📖</span>
</td>
</tr>
<!-- tabletop-RPGs -->
<tr role="row" style="border-top: 2px solid #515151;">
<td role="cell" rowspan="3" class="RPGsTableGroup">
<a href="{{site.baseurl}}RPGs/">🎲</a><!-- DICE -->
</td>
<td role="cell" class="RPGsTableGroup"><!-- PAGE -->
<a href="{{site.baseurl}}RPGs/">
<strong>tabletop RPGs:</strong>
</a>
</td>
<td role="cell" colspan="3" class="RPGsTableGroup">
<span
style="font-style:italic;font-weight:bold;"
>homebrew & house-rules
</span><!-- GROUP -->
</td>
</tr>
<tr role="row">
<td role="cell" class="RPGsTableCell"><!-- TITLE -->
<a href="{{site.baseurl}}RPGs/5eDnD/house-rules/">5eD&D house-rules</a>
</td>
<td role="cell" colspan="2" class="RPGsTableCell"><!-- GENRE -->
<span>homebrew</span>
</td>
<td role="cell" class="RPGsTableCell"><!-- TYPE/medium -->
<a href="{{site.baseurl}}RPGs/5eDnD/house-rules/">📓</a>
</td>
</tr>
<tr role="row">
<td role="cell" class="RPGsTableCell"><!-- TITLE -->
<a href="{{site.baseurl}}RPGs/5eDnD/character-builds/">5eD&D character-builds</a>
</td>
<td role="cell" colspan="2" class="RPGsTableCell"><!-- GENRE -->
<span>theorycrafting</span>
</td>
<td role="cell" class="RPGsTableCell"><!-- TYPE/medium -->
<a href="{{site.baseurl}}RPGs/character-building-philosophy/">🧝🏻🧝🏻‍♀️</a>
</td>
</tr>
</tbody>
</table>
<script type="text/JavaScript">
const createSVG = (width, height, radius) => {
const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
const rectangle = document.createElementNS(
"http://www.w3.org/2000/svg",
"rect"
);
svg.setAttributeNS(
"http://www.w3.org/2000/svg",
"viewBox",
`0 0 ${width} ${height}`
);
rectangle.setAttribute("x", "0");
rectangle.setAttribute("y", "0");
rectangle.setAttribute("width", "100%");
rectangle.setAttribute("height", "100%");
rectangle.setAttribute("rx", `${radius}`);
rectangle.setAttribute("ry", `${radius}`);
rectangle.setAttribute("pathLength", "10");
svg.appendChild(rectangle);
return svg;
};
document.querySelectorAll(".rainbow-button").forEach((button) => {
const style = getComputedStyle(button);
const lines = document.createElement("div");
lines.classList.add("lines");
const groupTop = document.createElement("div");
const groupBottom = document.createElement("div");
const svg = createSVG(
button.offsetWidth,
button.offsetHeight,
parseInt(style.borderRadius, 10)
);
groupTop.appendChild(svg);
groupTop.appendChild(svg.cloneNode(true));
groupTop.appendChild(svg.cloneNode(true));
groupTop.appendChild(svg.cloneNode(true));
groupBottom.appendChild(svg.cloneNode(true));
groupBottom.appendChild(svg.cloneNode(true));
groupBottom.appendChild(svg.cloneNode(true));
groupBottom.appendChild(svg.cloneNode(true));
lines.appendChild(groupTop);
lines.appendChild(groupBottom);
button.appendChild(lines);
button.addEventListener("pointerenter", () => {
button.classList.add("start");
});
svg.addEventListener("animationend", () => {
button.classList.remove("start");
});
});
// Pansophos text toggle
var toggleMenuTXT = document.querySelectorAll(".text-swap")[0];
const togglePansophos = function togglePansophosTXTfn() {
if (toggleMenuTXT.getAttribute("data-text-swap") == toggleMenuTXT.innerHTML) {
toggleMenuTXT.innerHTML = toggleMenuTXT.getAttribute("data-text-original");
} else {
toggleMenuTXT.setAttribute("data-text-original", toggleMenuTXT.innerHTML);
toggleMenuTXT.innerHTML = toggleMenuTXT.getAttribute("data-text-swap");
}
}
setInterval(togglePansophos, 1500)
const logosText = document.getElementById("LogosTXT");
logosText.onmouseover = function () {
logosText.innerHTML = "διὸ δεῖ ἕπεσθαι τῷ (ξυνῷ, τουτέστι τῷ) κοινῷ· ξυνὸς γὰρ ὁ κοινός. τοῦ λόγου δὲ ἐόντος ξυνοῦ ζώουσιν οἱ πολλοὶ ὡς ἰδίαν ἔχοντες φρόνησιν. - Ἡράκλειτος ὁ Ἐφέσιος";
};
logosText.onmouseout = function () {
logosText.innerHTML = "“We should let ourselves be guided by what is common to all… Yet, although the Lógos is common to all, most people live as if each of them had their own private understanding.” - Heraclitus of Ephesus";
};
</script>