-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
476 lines (407 loc) · 18.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="A suite of browser-based tools for 5th Edition Dungeons & Dragons players and Dungeon Masters.">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>D&Dz</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/fontawesome.css">
<link rel="stylesheet" href="css/main.css">
<!-- Favicons -->
<link rel="icon" type="image/svg+xml" href="favicon.svg?v=1.115">
<link rel="icon" type="image/png" sizes="256x256" href="favicon-256x256.png">
<link rel="icon" type="image/png" sizes="144x144" href="favicon-144x144.png">
<link rel="icon" type="image/png" sizes="128x128" href="favicon-128x128.png">
<link rel="icon" type="image/png" sizes="64x64" href="favicon-64x64.png">
<link rel="icon" type="image/png" sizes="48x48" href="favicon-48x48.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<!-- Chrome Web App Icons -->
<link rel="manifest" href="manifest.webmanifest">
<meta name="application-name" content="D&Dz">
<meta name="theme-color" content="#0d2c46">
<!-- Windows Start Menu tiles -->
<meta name="msapplication-config" content="browserconfig.xml"/>
<meta name="msapplication-TileColor" content="#0d2c46">
<!-- Apple Touch Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon-180x180.png">
<link rel="apple-touch-icon" sizes="360x360" href="apple-touch-icon-360x360.png">
<link rel="apple-touch-icon" sizes="167x167" href="apple-touch-icon-167x167.png">
<link rel="apple-touch-icon" sizes="152x152" href="apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="120x120" href="apple-touch-icon-120x120.png">
<meta name="apple-mobile-web-app-title" content="D&Dz">
<!-- macOS Safari Pinned Tab and Touch Bar -->
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#0d2c46">
<!-- OpenSearch -->
<link rel="search" href="open-search.xml" title="Search D&Dz" type="application/opensearchdescription+xml">
<script>if ("serviceWorker" in navigator) navigator.serviceWorker.register("sw.js");</script>
<script type="text/javascript" src="js/styleswitch.js"></script>
<script type="text/javascript" src="js/navigation.js"></script>
<script type="text/javascript" src="js/browsercheck.js"></script>
<style>
table.home-table {
padding: 0 10px 10px;
}
table.home-table td {
vertical-align: top;
padding: 0 5px;
width: 50%;
}
#don-wrapper {
position: relative;
margin-bottom: 7px;
padding: 5px 15px;
}
.home__btn-page {
border-width: 2px;
width: 134px;
height: 110px;
text-align: center;
flex-shrink: 0;
padding: 6px;
display: flex;
flex-direction: column;
align-items: center;
border-radius: 0;
}
@media only screen and (max-width: 1200px) {
.home__btn-page {
width: 113px;
}
}
.home__btn-page,
.home__btn-page:hover,
.home__btn-page:active,
.home__btn-page:focus {
color: #444;
}
.night-mode .home__btn-page,
.night-mode .home__btn-page:hover,
.night-mode .home__btn-page:active,
.night-mode .home__btn-page:focus {
color: inherit;
}
.home__icn-page {
font-size: 50px;
height: 50px;
width: 65px;
overflow: hidden;
text-align: center;
}
.home__lbl-page {
height: 34px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 0;
font-size: 17px;
color: #333;
}
.home__h-player {
text-decoration: underline;
text-decoration-color: dodgerblue;
}
.home__h-rule {
text-decoration: underline;
text-decoration-color: #33a5a5;
}
.home__h-dm {
text-decoration: underline;
text-decoration-color: darkviolet;
}
.home__btn-player,
.home__btn-player:hover,
.home__btn-player:active,
.home__btn-player:focus,
.night-mode .home__btn-player,
.night-mode .home__btn-player:hover,
.night-mode .home__btn-player:active,
.night-mode .home__btn-player:focus {
border-color: dodgerblue;
color: dodgerblue;
}
.home__btn-rule,
.home__btn-rule:hover,
.home__btn-rule:active,
.home__btn-rule:focus,
.night-mode .home__btn-rule,
.night-mode .home__btn-rule:hover,
.night-mode .home__btn-rule:active,
.night-mode .home__btn-rule:focus{
border-color: #33a5a5;
color: #33a5a5;
}
.home__btn-dm,
.home__btn-dm:hover,
.home__btn-dm:active,
.home__btn-dm:focus,
.night-mode .home__btn-dm,
.night-mode .home__btn-dm:hover,
.night-mode .home__btn-dm:active,
.night-mode .home__btn-dm:focus {
border-color: darkviolet;
color: darkviolet;
}
.home__stripe {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 55px;
}
.home__stripe-header {
font-size: 32px;
font-weight: bold;
position: absolute;
top: -50px;
left: 0;
right: 0;
}
.home__split {
display: flex;
justify-content: space-between;
}
.home__split-spaced {
margin-right: 80px;
}
.home__split-spaced--gutter {
margin-right: 10px;
}
.home__wrp-buttons {
justify-content: center;
}
.home__mobile-visible {
display: none;
}
.home__narrow-visible {
display: none;
}
@media (max-width: 991px) {
.home__split {
flex-direction: column;
}
.home__split > * {
margin-bottom: 45px;
}
.home__split-spaced {
margin-right: 0;
margin-bottom: 15px;
}
.home__split-spaced--no-header {
margin-bottom: 0;
}
.home__stripe-header {
right: 0;
left: 0;
top: -40px;
}
.home__mobile-visible {
display: block;
}
.home__icn-page {
font-size: 50px;
height: 50px;
}
.home__btn-page {
height: 114px;
margin: 5px !important;
}
.home__mobile-hidden {
display: none !important;
}
}
@media (max-width: 507px) {
.home__narrow-visible {
display: block !important;
}
.home__narrow-hidden {
display: none !important;
}
.home__split-spaced--no-header {
margin-bottom: 15px;
}
}
</style>
</head>
<body>
<header class="hidden-xs hidden-sm page__header">
<div class="container">
<h1 class="page__title page__title--home">D&D<span>z</span></h1>
<p class="page__subtitle">A suite of tools for 5th Edition Dungeons & Dragons players and Dungeon Masters. Powered by Dasho.</p>
</div>
</header>
<nav class="container page__nav" id="navigation">
<ul class="nav nav-pills page__nav-inner" id="navbar">
</ul>
</nav>
<div class="cancer__wrp-sidebar-rhs cancer__wrp-sidebar-rhs--scrolling-page cancer__anchor"><div class="cancer__disp-cancer"></div><div class="cancer__sidebar-rhs-inner cancer__sidebar-rhs-inner--top"></div><div class="cancer__sidebar-rhs-inner cancer__sidebar-rhs-inner--bottom"></div></div>
<div class="home__stripe">
<div class="home__split relative">
<div class="home__stripe-header text-right home__h-player"><div class="w-100 text-left mobile__text-center">Players</div></div>
<div class="ve-flex ve-flex-wrap relative home__split-spaced home__split-spaced--gutter home__split-spaced--no-header home__wrp-buttons">
<a class="home__btn-page btn btn-default mr-3 home__btn-player" href="races.html">
<div class="fal fa-users home__icn-page"></div>
<h4 class="text-center home__lbl-page">Races</h4>
</a>
<a class="home__btn-page btn btn-default mr-3 home__btn-player" href="classes.html" title="Quickly browse the official classes, and their associated subclasses.
Unearthed Arcana content can be accessed by cycling the "All Sources" button.">
<div class="fal fa-hat-wizard home__icn-page"></div>
<h4 class="text-center home__lbl-page">Classes</h4>
</a>
<a class="home__btn-page btn btn-default mr-3 home__btn-player" href="feats.html">
<div class="fal fa-award home__icn-page"></div>
<h4 class="text-center home__lbl-page">Feats</h4>
</a>
<a class="home__btn-page btn btn-default home__btn-player" href="optionalfeatures.html" title="A searchable, filterable list of feature choices, including Eldritch Invocations for the Warlock Class, and Maneuvers for the Fighter's Battlemaster subclass.">
<div class="fal fa-drafting-compass home__icn-page"></div>
<h4 class="text-center home__lbl-page">Options<br>& Features</h4>
</a>
<!-- mobile only -->
<a class="home__btn-page btn btn-default home__narrow-visible home__btn-player" href="backgrounds.html">
<div class="fal fa-portrait home__icn-page"></div>
<h4 class="text-center home__lbl-page">Backgrounds</h4>
</a>
<a class="home__btn-page btn btn-default home__narrow-visible home__btn-player" href="items.html">
<div class="fal fa-helmet-battle home__icn-page"></div>
<h4 class="text-center home__lbl-page">Items</h4>
</a>
<a class="home__btn-page btn btn-default home__narrow-visible home__btn-player" href="spells.html">
<div class="fal fa-book-spells home__icn-page"></div>
<h4 class="text-center home__lbl-page">Spells</h4>
</a>
<a class="home__btn-page btn btn-default home__narrow-visible home__btn-player" href="psionics.html">
<div class="fal fa-brain home__icn-page"></div>
<h4 class="text-center home__lbl-page">Psionics</h4>
</a>
</div>
<div class="ve-flex ve-flex-wrap home__wrp-buttons home__narrow-hidden">
<a class="home__btn-page btn btn-default mr-3 home__btn-player" href="backgrounds.html">
<div class="fal fa-portrait home__icn-page"></div>
<h4 class="text-center home__lbl-page">Backgrounds</h4>
</a>
<a class="home__btn-page btn btn-default mr-3 home__btn-player" href="items.html">
<div class="fal fa-helmet-battle home__icn-page"></div>
<h4 class="text-center home__lbl-page">Items</h4>
</a>
<a class="home__btn-page btn btn-default mr-3 home__btn-player" href="spells.html">
<div class="fal fa-book-spells home__icn-page"></div>
<h4 class="text-center home__lbl-page">Spells</h4>
</a>
<a class="home__btn-page btn btn-default home__btn-player" href="psionics.html">
<div class="fal fa-brain home__icn-page"></div>
<h4 class="text-center home__lbl-page">Psionics</h4>
</a>
</div>
</div>
<div class="my-4 home__mobile-hidden home__narrow-hidden"></div>
<div class="my-4 home__mobile-hidden home__narrow-visible"></div>
<div class="my-4 home__mobile-hidden"></div>
<div class="home__split">
<div class="ve-flex ve-flex-wrap relative home__split-spaced home__split-spaced--gutter home__wrp-buttons">
<div class="home__stripe-header home__h-rule"><div class="w-100 text-left mobile__text-center">Rules</div></div>
<a class="home__btn-page btn btn-default mr-3 home__btn-rule" href="adventures.html" title="All the official adventures published by Wizards of the Coast.">
<div class="fal fa-dungeon home__icn-page"></div>
<h4 class="text-center home__lbl-page">Adventures</h4>
</a>
<a class="home__btn-page btn btn-default mr-3 home__btn-rule" href="books.html" title="All the official sources published by Wizards of the Coast.">
<div class="fal fa-books home__icn-page"></div>
<h4 class="text-center home__lbl-page">Books</h4>
</a>
<a class="home__btn-page btn btn-default mr-3 home__btn-rule" href="quickreference.html" title="A searchable selection of commonly used rules and tables.">
<div class="fal fa-info-square home__icn-page"></div>
<h4 class="text-center home__lbl-page">Quick<br>Reference</h4>
</a>
<a class="home__btn-page btn btn-default home__btn-rule" href="conditionsdiseases.html" title="A searchable, filterable list of the conditions found in the Player's Handbook, and various diseases found in the Dungeon Master's Guide and beyond.">
<div class="fal fa-skull-crossbones home__icn-page"></div>
<h4 class="text-center home__lbl-page">Conditions</h4>
</a>
</div>
<div class="my-4 home__mobile-visible"></div>
<div class="ve-flex ve-flex-wrap relative home__wrp-buttons">
<div class="home__stripe-header home__h-dm"><div class="w-100 text-left mobile__text-center">Dungeon Masters</div></div>
<a class="home__btn-page btn btn-default mr-3 home__btn-dm" href="bestiary.html" title="A searchable, filterable list of the more than 1,000 stat blocks in D&D 5e. An encounter builder is included, and creature Challenge Rating can be scaled according to the "Creating Quick Monster Stats" table in the Dungeon Master's Guide.">
<div class="fal fa-dragon home__icn-page"></div>
<h4 class="text-center home__lbl-page">Bestiary</h4>
</a>
<a class="home__btn-page btn btn-default mr-3 home__btn-dm" href="dmscreen.html" title="A fully-customizable Dungeon Master's screen, featuring an initiative tracker; a unit converter, embedded images, videos, and sites; and the majority of D&Dz's content.">
<div class="fal fa-map home__icn-page"></div>
<h4 class="text-center home__lbl-page">DM Screen</h4>
</a>
<a class="home__btn-page btn btn-default mr-3 home__btn-dm" href="lootgen.html" title="A random loot generator for both individual and hoards of treasure.">
<div class="fal fa-treasure-chest home__icn-page"></div>
<h4 class="text-center home__lbl-page">Loot<br>Generator</h4>
</a>
<a class="home__btn-page btn btn-default home__btn-dm" href="crcalculator.html" title="A verbose, in-depth Challenge Rating calculator, for determining the CR of homebrew creatures.">
<div class="fal fa-abacus home__icn-page"></div>
<h4 class="text-center home__lbl-page">CR<br>Calculator</h4>
</a>
</div>
</div>
<div class="my-4"></div>
<hr class="no-shrink w-100 my-0">
</div>
<main class="container">
<div class="cancer__wrp-leaderboard cancer__anchor"><div class="cancer__disp-cancer"></div><div class="cancer__wrp-leaderboard-inner"></div></div>
<div class="w-100">
<h3>Use Discord?</h3>
<p>Join the <a href="https://discord.gg/yM7YGrT" target="_blank" rel="noopener noreferrer">my server</a> for announcements, updates, and feature voting.</p>
<h3>Use <a href="https://foundryvtt.com/" rel="noopener">Foundry</a>?</h3>
<p>No? <span class="help" title="No, I'm not paid to say that.">Well, you should!</span> Foundry is a modernized, better-than replacement for Roll20, which prioritizes modding support. It is the my platform of choice for VTT integrations.</p>
<p>To install the <a href="plutonium.html">Plutonium</a> module, and start using all of D&Dz's content in your game, paste the manifest URL<sup class="ve-small">[<a title="Plutonium manifest URL for most recent supported Foundry version" href="/plutonium/module.json" target="_blank" rel="noopener noreferrer">current</a>/<a title="Plutonium manifest URL for Foundry v9" href="/plutonium/module-foundry9.json" target="_blank" rel="noopener noreferrer">v9</a>/<a title="Plutonium manifest URL for Foundry v0.8.x" href="plutonium/module-foundry08.json" target="_blank" rel="noopener noreferrer">v0.8.x</a>]</sup> into your Foundry server's module installer. See the <a href="plutonium.html">Plutonium Features</a> page for an overview of the functionality the module provides.</p>
<p>You can also install the <a href="plutonium.html#rivet-browser-extension">Rivet</a> browser extension (<a rel="noopener noreferrer" href="https://chrome.google.com/webstore/detail/rivet/igmilfmbmkmpkjjgoabaagaoohhhbjde">Chrome</a>/<a rel="noopener noreferrer" href="https://addons.mozilla.org/en-GB/firefox/addon/rivet/">Firefox</a>) to import content from the site with a single click.</p>
<h3>Use Roll20?</h3>
<p>Install <a href="https://ssstormy.github.io/roll20-enhancement-suite/" rel="noopener noreferrer">
Roll20 Enhancement Suite</a> and Tampermonkey (<a
href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo" rel="noopener noreferrer">Chrome</a>/<a
href="https://addons.mozilla.org/firefox/addon/tampermonkey/" rel="noopener noreferrer">Firefox</a>), and get the betteR20 script using
this <a href="/dist/betteR20-dndz.user.js" id="betteR20_link" rel="noopener noreferrer">link</a>.</p>
<p>Check the <a href="https://wiki.dndz.dev/dms/better20" rel="noopener noreferrer">wiki</a> for an installation guide, and for information on how to use the script.</p>
<h3>FAQ</h3>
<p><b>Is there a wiki?</b> <a href="https://wiki.dndz.dev/" rel="noopener noreferrer">Here.</a></p>
<p><b>Is it free?</b> Yes! You can even <a href="https://github.com/d-a-s-h-o/dnd" rel="noopener noreferrer">download the source code</a>. See the <code>README</code> or the <a href="https://wiki.dndz.dev/developers/install" rel="noopener noreferrer">wiki</a> for help.</p>
<p><b>Can I contribute?</b> A copy of the source is available on <a href="https://github.com/d-a-s-h-o/dnd" rel="noopener noreferrer">GitHub</a>.</p>
<p><b>Browser and device support?</b> The latest desktop versions of Chrome and Firefox.</p>
<p><b>Where's my stuff?</b> There's no account system. Everything is stored in cookies. If you wipe those, or close your incognito window, it's gone forever. You can download your data for safekeeping via the Settings menu.</p>
<p><b>Anything else I should know?</b> Hold <kbd>SHIFT</kbd> when hovering to lock a window in place. Everything has tooltips. You will forever be a DM.</p>
</div>
</main>
<footer class="container">
<p class="text-center">
Version
<a id="version_number" href="#">?</a>
| <span id="current_year">2016</span>
| D&Dz
<br>
<i><a href="https://dndz.dev/">D&Dz</a> is powered by <a href="https://dasho.dev/">Dasho</a></i>
</p>
</footer>
<div class="cancer__footer-pad"></div>
<script type="text/javascript" src="js/parser.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/utils-ui.js"></script>
<script type="text/javascript" src="lib/localforage.js"></script>
<script type="text/javascript" src="js/omnidexer.js"></script>
<script type="text/javascript" src="js/omnisearch.js"></script>
<script type="text/javascript" src="js/render.js"></script>
<script type="text/javascript" src="js/render-dice.js"></script>
<script type="text/javascript" src="js/scalecreature.js"></script>
<script type="text/javascript" src="js/hist.js"></script>
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="lib/elasticlunr.js"></script>
<script>
ExcludeUtil.pInitialise();
const $demoRoller = $(`#demo_roller`);
$demoRoller.html(Renderer.get().render(`{@dice ${$demoRoller.html()}}`));
$(`#current_year`).text((new Date).getFullYear());
$(`#version_number`).text(VERSION_NUMBER).attr("href", `https://github.com/d-a-s-h-o/dnd/releases/latest`);
const $lnkB20 = $(`#betteR20_link`);
$lnkB20.attr("href", `${$lnkB20.attr("href")}?v=${VERSION_NUMBER}_${Date.now()}`);
window.__cmp2 = () => {
alert("This only works on a live version of the site!");
};
</script>
</body>
</html>