-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
590 lines (526 loc) · 22.3 KB
/
index.html
File metadata and controls
590 lines (526 loc) · 22.3 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
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Kensei Legend of the Five Rings Toolkit</title>
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<style>
/* Reset + base */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0
}
html {
scroll-behavior: smooth;
}
html, body {
height: 100%
}
body {
font-family: system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
line-height: 1.6;
color: #222;
background: #fafafa;
}
body::before {
content: "";
position: fixed; /* keeps it in place while scrolling */
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('Images/double page background 1440p (plus a bit).jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
z-index: -1; /* ensures it’s behind all content */
}
@font-face {
font-family: "BrushtipTexe";
src: url("Fonts/BrushtipTexe.ttf") format("truetype");
font-display: swap;
}
/* HEADER with fully-visible square logo (256px) */
header {
position: relative;
text-align: center;
color: #222;
/* Ensure header area always big enough to show the 256px logo plus some breathing room */
min-height: calc(256px + 3rem);
padding: 1.5rem 1rem;
overflow: visible;
background-color: transparent;
}
/* logo sits behind the title, always contained (not cropped) */
header::before {
content: "";
position: absolute;
top: 1.5rem; /* keep it visually above center so title sits over it nicely */
left: 50%;
transform: translateX(-50%);
width: 256px;
height: 256px;
background-image: url("Images/background_256.png");
background-position: center;
background-repeat: no-repeat;
background-size: contain; /* ensures entire square is visible */
z-index: 0;
pointer-events: none;
}
header h1 {
position: relative;
z-index: 1;
margin-top: 0.75rem;
font-size: clamp(2.5rem, 3.5vw, 3.5rem);
font-weight: 700;
font-family: "BrushtipTexe", system-ui, sans-serif;
color: #973A3F;
display: inline-block;
padding: 0.25rem 0.5rem;
border-radius: 6px;
}
main {
max-width: 1000px;
margin: 2rem auto;
padding: 0 1rem;
}
.intro {
margin-bottom: 2rem;
/*text-align: center*/
}
.intro ol {
padding-left: 2rem;
}
.outro {
margin-top: 2rem;
margin-bottom: 2rem;
text-align: center
}
/* CONTENT ROW (image + text) */
.content-row {
display: flex;
align-items: center;
gap: 1.5rem;
margin-bottom: 2rem;
flex-wrap: wrap;
justify-content: center;
}
.content-row ul {
padding-left: 2rem;
}
.content-row figure {
margin: 0;
flex: 0 0 auto;
width: 100%;
max-width: 256px; /* limit images to 256px */
display: flex;
justify-content: center;
}
.content-row img {
width: 100%;
height: auto;
max-width: 256px;
max-height: 256px;
display: block;
}
.content-row article {
flex: 1 1 380px;
max-width: 600px;
}
.content-row h2 {
margin-bottom: 0.5rem;
font-size: 1.5rem;
font-family: "BrushtipTexe", system-ui, sans-serif;
color: #973A3F;
}
/* Alternation: operate on section elements only (works despite divider divs between sections) */
section.content-row:nth-of-type(odd) {
flex-direction: row;
}
section.content-row:nth-of-type(even) {
flex-direction: row-reverse;
}
/* DIVIDER IMAGES: centered, show at natural size (no upscaling), shrink on small screens */
.divider-image {
text-align: center;
margin: 2.5rem 0;
}
.divider-image img {
display: block;
margin: 0 auto;
width: auto; /* do not force to fill container */
max-width: 100%; /* allow shrinking on narrow viewports */
height: auto;
}
/* Small-screen adjustments */
@media (max-width: 768px) {
header {
min-height: calc(180px + 2.5rem);
padding: 1rem 1rem;
}
header::before {
width: 180px;
height: 180px;
top: 1rem
}
header h1 {
font-size: clamp(2rem, 4vw, 3rem);
}
.intro ol {
padding-left: 1rem;
}
.content-row {
flex-direction: column;
text-align: left;
}
.content-row ul {
padding-left: 1rem;
}
section.content-row:nth-of-type(even) {
flex-direction: column; /* disable row-reverse on narrow screens */
}
.content-row figure,
.content-row article {
max-width: 100%;
flex: 1 1 100%;
}
.content-row img {
max-width: 180px;
max-height: 180px
}
.divider-image {
margin: 1.5rem 0;
}
.divider-image img {
max-width: 100%;
height: auto;
}
/* natural size preserved, shrinks if necessary */
}
/* Minor accessibility / readable spacing */
p {
margin-top: .5rem
}
/* Floating scroll menu */
#scrollMenu {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: rgba(250, 250, 250, 0.95);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
opacity: 0;
pointer-events: none; /* prevents clicking when hidden */
z-index: 1000;
padding: 0.5rem 1rem;
text-align: center;
backdrop-filter: blur(6px);
transition: opacity 0.4s ease-in-out;
}
#scrollMenu.visible {
opacity: 1;
pointer-events: auto;
}
#scrollMenu a {
margin: 0 0.75rem;
color: #973A3F;
font-weight: 600;
text-decoration: none;
font-family: "BrushtipTexe", system-ui, sans-serif;
}
#scrollMenu a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<nav id="scrollMenu"></nav>
<header>
<h1>Kensei<br />Legend of the Five Rings<br />Toolkit</h1>
</header>
<main>
<section class="intro">
<p>
The Kensei Legend of the Five Rings Toolkit is a set of fan-made Windows apps for enhancing your
<a href="https://www.fantasyflightgames.com/en/products/legend-of-the-five-rings-the-card-game/">LCG</a>
and <a href="https://www.edge-studio.net/categories-games/l5r/">RPG</a> games
and <a href="https://www.aconytebooks.com/?worlds=legend-of-the-five-rings">other experiences</a> in the
Legend of the Five Rings setting.
</p>
<p>To get started:</p>
<p>
<ol>
<li>
<a href="https://www.dropbox.com/scl/fo/14pw8fgwrvczgcrwumrxo/AB2tN1KW5lDj48KfuyqISRo?rlkey=eh4wvpnasxgg9elskxt8w2z2h&dl=0">Download</a>
the <strong>setup.exe</strong> and <strong>Kensei Legend of the Five Rings Toolkit.msi</strong>.
</li>
<li>Install the software by running the <b>setup.exe</b> with the <b>.msi</b> in the same folder.</li>
<li>
Explore the <a href="https://www.dropbox.com/scl/fo/tzt56sozyy26cujp8zcnw/AMLJibDCIhVMX7e3FVKnqfY?rlkey=e1878cqxr24x4gt6a43yinj1m&dl=0">Extras folder</a>
to find additional files to use with the toolkit and in your games.
</li>
</ol>
</p>
<p>Read on to find out more!</p>
</section>
<section class="content-row">
<figure>
<img src="Images/Fate_256.png" alt="L5R LCG Deck Builder logo">
</figure>
<article>
<h2>L5R LCG Deck Builder</h2>
<p>
A deck list builder for the
<a href="https://www.fantasyflightgames.com/en/products/legend-of-the-five-rings-the-card-game/">Legend of the Five Rings LCG</a>.
</p>
<p>
<ul>
<li>Create, edit, save, import, and export deck lists for Legend of the Five Rings: The Card Game.</li>
<li>Print deck lists, and/or export to PDF or image.</li>
<li>Support for Stronghold Format, Emerald Legacy, Obsidian, and most other widely-used formats.</li>
<li>Auto-filter available cards and validate decks as you go.</li>
<li>Randomly generate a deck, from scratch or partially filled in.</li>
<li>
Import decks you’ve previously made in <a href="https://www.emeralddb.org/">EmeraldDB</a>,
export for use in EmeraldDB and from there, online play in <a href="https://jigoku.online/">Jigoku Online</a>.
</li>
<li>Sample deck list files available in the <a href="https://www.dropbox.com/scl/fo/tzt56sozyy26cujp8zcnw/AMLJibDCIhVMX7e3FVKnqfY?rlkey=e1878cqxr24x4gt6a43yinj1m&dl=0">Extras folder</a>.</li>
</ul>
</p>
<p>Coming soon (...?):</p>
<p>
<ul>
<li>Shadowlands decks.</li>
<li>Filter available cards by your collection.</li>
<li><em>And more...?</em></li>
</ul>
</p>
<p>
<em>
Many thanks to the <a href="https://www.emeralddb.org/">EmeraldDB</a> team for making available
the data used as the basis for this tool.
</em>
</p>
</article>
</section>
<div class="divider-image">
<img src="Images/L5R LCG Deck Builder.png" alt="L5R LCG Deck Builder">
</div>
<section class="content-row">
<figure>
<img src="Images/TripleFate_256.png" alt="L5R LCG Deck Organizer">
</figure>
<article>
<h2>L5R LCG Deck Organizer</h2>
<p>Organise the deck lists you created with the L5R LCG Deck Builder.</p>
<p>
<ul>
<li>
Manage all the decks you’ve created with L5R Deck Builder, choosing the folder where you’ll
keep them.
</li>
<li>Create new decks, see a summary, arrange into folders, move them around.</li>
<li>Import all public decks from <a href="https://www.emeralddb.org/">EmeraldDB</a>.</li>
<li>Sample deck list files available in the <a href="https://www.dropbox.com/scl/fo/tzt56sozyy26cujp8zcnw/AMLJibDCIhVMX7e3FVKnqfY?rlkey=e1878cqxr24x4gt6a43yinj1m&dl=0">Extras folder</a>.</li>
</ul>
</p>
<p>Coming soon (...?):</p>
<p>
<ul>
<li>Filter available decks by those that can be played with the cards in your collection.</li>
<li><em>And more...?</em></li>
</ul>
</p>
</article>
</section>
<div class="divider-image">
<img src="Images/L5R LCG Deck Organizer.png" alt="L5R LCG Deck Organizer">
</div>
<section class="content-row">
<figure>
<img src="Images/Honor_256.png" alt="L5R LCG Card Viewer">
</figure>
<article>
<h2>L5R LCG Card Viewer</h2>
<p>An at-a-glance database of cards in the Legend of the Five Rings LCG.</p>
<p>
<ul>
<li>Filter by format, cycle, pack, faction, deck, and type!</li>
<li>View any card and its stats.</li>
</ul>
</p>
<p>Coming soon (...?):</p>
<p>
<ul>
<li>Print cards for use as proxies.</li>
<li><em>And more...?</em></li>
</ul>
</p>
</article>
</section>
<div class="divider-image">
<img src="Images/L5R LCG Card Viewer.png" alt="L5R LCG Card Viewer">
</div>
<section class="content-row">
<figure>
<img src="Images/Dice2_256.png" alt="L5R RPG GM Screen">
</figure>
<article>
<h2>L5R RPG GM Screen</h2>
<p>
A Game Master's screen for the
<a href="https://www.edge-studio.net/categories-games/l5r/">Legend of the Five Rings Roleplaying Game</a>.
</p>
<p>
<ul>
<li>Quick reference of the player characters in your party.</li>
<li>Easy access to your rulebooks (in PDF and other formats).</li>
<li>A space to make quick notes.</li>
<li>The same dice statistics chart as in the RPG Dice app.</li>
</ul>
</p>
<p>Coming soon (...?):</p>
<p>
<ul>
<li>Project images onto a second screen to show to the players.</li>
<li>Play music, ambience, and sound effects.</li>
<li>Technique index for all published techniques.</li>
<li>
More helpful apps for use with the RPG, including a character creator, session tracker, and
many others!
</li>
<li><em>And more...?</em></li>
</ul>
</p>
</article>
</section>
<div class="divider-image">
<img src="Images/L5R RPG GM Screen.png" alt="L5R RPG GM Screen">
</div>
<section class="content-row">
<figure>
<img src="Images/Dice_256.png" alt="L5R RPG Dice">
</figure>
<article>
<h2>L5R RPG Dice</h2>
<p>
A dice and statistics app for the
<a href="https://www.edge-studio.net/categories-games/l5r/">Legend of the Five Rings Roleplaying Game</a>.
</p>
<p>
<ul>
<li>Simple statistics for making skill checks.</li>
<li>Choose your ring, skill, whether strife is acceptable, and whether you have assistance.</li>
<li>Compare the odds if you had more rings or skills - useful for deciding where to spend XP!</li>
</ul>
</p>
<p>Coming soon (...?):</p>
<p>
<ul>
<li>A check runner, following all the game rules.</li>
<li><em>And more...?</em></li>
</ul>
</p>
</article>
</section>
<div class="divider-image">
<img src="Images/L5R RPG Dice.png" alt="L5R RPG Dice">
</div>
<section class="content-row">
<figure>
<img src="Images/chrysanthemum_256.png" alt="L5R Fiction">
</figure>
<article>
<h2>L5R Fiction</h2>
<p>A database of fiction written for the Legend of the Five Rings.</p>
<p>
<ul>
<li>View a summary of each story.</li>
<li>For stories available online, links to read in your browser or download.</li>
<li>For stories available for sale, links to the store site.</li>
<li>Filter by publisher, author, and character.</li>
<li>Combine the story summaries for the characters you’re filtering by.</li>
</ul>
</p>
<p>Coming soon (...?):</p>
<p>
<ul>
<li>Improved information about each story.</li>
<li>Add and edit your own story information.</li>
<li>Visual flowchart so you can easily trace reading order.</li>
<li><em>And more...?</em></li>
</ul>
</p>
<p>
<em>
Many thanks to Kakita Kaori of
<a href="https://craneclan.weebly.com/">
The Winter Gardens of the
Kakita
</a> for making available the data used as the basis for this tool.
</em>
</p>
</article>
</section>
<div class="divider-image">
<img src="Images/L5R Fiction.png" alt="L5R Fiction">
</div>
<hr />
<section class="outro">
<p>Bug reports, suggestions or requests? <a href="mailto:bittermanandy@gmail.com">Get in touch to let me know!</a></p>
<p>The Kensei Legend of the Five Rings Toolkit contains fan-made material for Legend of the Five Rings.</p>
<p>
Legend of the Five Rings is a trademark of Asmodee North America. Legends of the Five Rings products are
© 2017–2025 Fantasy Flight Games, EDGE Studio, and Asmodee. No challenge to their rights as intellectual
property owners is intended.
</p>
</section>
</main>
<script>
document.addEventListener("DOMContentLoaded", () => {
const menu = document.getElementById("scrollMenu");
const headers = document.querySelectorAll("main h2");
// Build menu dynamically
headers.forEach(h2 => {
const id = h2.textContent.trim().replace(/\s+/g, "-").toLowerCase();
h2.id = id;
const link = document.createElement("a");
link.href = `#${id}`;
link.textContent = h2.textContent + " "; // Space to ensure line wrapping even with in text
menu.appendChild(link);
});
const header = document.querySelector("header");
const triggerPoint = header.offsetTop + header.offsetHeight - 50;
// Show/hide menu with fade
window.addEventListener("scroll", () => {
if (window.scrollY > triggerPoint) {
menu.classList.add("visible");
} else {
menu.classList.remove("visible");
}
});
// Adjust scroll offset dynamically based on menu height
function scrollWithOffset(targetId) {
const target = document.getElementById(targetId);
if (!target) return;
const menuHeight = menu.offsetHeight;
const elementPosition = target.getBoundingClientRect().top + window.scrollY;
const offsetPosition = elementPosition - menuHeight - 10; // small gap below menu
window.scrollTo({ top: offsetPosition, behavior: "smooth" });
}
// Override default link behavior
menu.addEventListener("click", (e) => {
if (e.target.tagName.toLowerCase() === "a") {
e.preventDefault();
const targetId = e.target.getAttribute("href").substring(1);
scrollWithOffset(targetId);
}
});
});
</script>
</body>
</html>