-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy path5etools.html
More file actions
340 lines (281 loc) · 7.26 KB
/
5etools.html
File metadata and controls
340 lines (281 loc) · 7.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" >
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
XML data was compiled by a reddit community for use with the "Fight Club 5" app.
Google "5e xml files" for more info.
Feel free to use, edit, and redistribute this as you wish.
I don't own any of the XML data anyway.
-->
<title>5etools</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link href="https://fonts.googleapis.com/css?family=Andada|Convergence" rel="stylesheet">
<style type="text/css">
header {
margin-bottom: 3px;
padding: 25px 15px;
color: white;
background-color: rgb(0, 107, 196);
}
header p.lead {
color: lightgrey;
}
main {
padding: 10px 15px;
}
footer {
padding: 20px 15px;
font-size: 90%;
}
input.search {
width: 100%;
}
form#filtertools {
font-size: 0.8em;
}
.sortlabel {
display: inline-block;
width: 49%;
float: right;
text-align: right;
}
.sortlabel span {
background: lightgrey;
border-radius: 3px;
padding: 2px;
text-align: right;
}
.sortlabel:hover span:hover {
background: grey;
color: white;
cursor: pointer;
}
ul#monsters {
list-style-type: none;
padding-left: 0px;
font-size: 1.1em;
}
ul#monsters li {
padding: 1px;
cursor: pointer;
}
ul#monsters li:hover {
background: lightgrey;
}
ul#monsters li:active {
color: white;
}
ul#monsters li span {
font-size: 0.8em;
margin-left: 1em;
display: none;
}
ul#monsters li span.name {
font-weight: 400;
font-size: initial;
margin-left: initial;
display: initial;
}
ul#monsters li:hover span {
display: block;
}
ul#monsters li span.name, ul#monsters li span.source {
display: initial;
margin-left: initial;
}
th#name span.source {
display: inline-block;
float: right;
font-weight: 500;
margin-left: 0.5em;
margin-right: -0.3em;
font-size: 0.8em;
}
span.sourceMM {
color: green;
}
span.sourceVGM {
color: grey;
}
span.sourceToD {
color: orangered;
}
span.sourceCoS {
color: purple;
}
span.sourceOotA {
color: black;
}
span.sourceSKT {
color: darkcyan;
}
span.sourcePotA {
color: blue;
}
span.sourceLMoP {
color: lightgreen;
}
table#stats {
width: 100%;
min-width: 200px;
max-width: 400px;
margin: auto;
background: #fdf1dc;
font-size: .9em;
font-family: 'Convergence', sans-serif;
table-layout: fixed;
}
table#stats td, table#stats th {
padding: 1px 0.7em;
color: #922610;
}
th.border {
height: 10px;
background: #e69a28;
border: 1px solid black;
}
td.divider {
padding: 0 4px!important;
}
td.divider div {
background: #922610;
height: 4px;
margin: 4px 0;
}
th#name {
font-size: 1.8em;
font-family: 'Andada', serif;
font-variant: small-caps;
font-weight: 500;
padding-left: 0.2em!important;
}
table#stats td#sizetypealignment {
font-style: italic;
color: black;
}
tr#abilitynames th {
text-align: center;
font-weight: bold;
}
tr#abilityscores td {
text-align: center;
width: 16%;
}
span.name {
font-weight: bold;
}
tr.trait td p.spells {
margin-bottom: 0px;
}
tr#actions td, tr#reactions td, tr#legendaries td {
font-size: 1.6em;
font-family: 'Andada', serif;
font-variant: small-caps;
border-bottom: 1px solid #a8513b;
vertical-align: bottom!important;
padding-left: 0.2em;
}
tr#actions td span, tr#reactions td span, tr#legendaries td span {
display: block;
margin-bottom: -0.3em;
font-weight: 100;
}
tr.trait td, tr.action td, tr.reaction td, tr.legendary td {
padding-bottom: 0.7em!important;
color: black!important;
}
tr.trait:last-of-type td, tr.action:last-of-type td, tr.reaction:last-of-type td, tr.legendary:last-of-type td {
padding-bottom: 0px!important;
}
p.first {
display: inline;
}
p.second {
margin-top: 1em;
}
tr td > p.spells {
margin-top: 1em!important;
}
tr td > p.spells ~ p.spells{
margin-top: 0em!important;
}
#stats span.roller {
color: #337ab7;
cursor: pointer;
}
#output {
margin-top: 1em;
padding: 0.2em 0.7em;
background: lightgrey;
border-radius: 0.2em;
display: none;
}
</style>
</head>
<body>
<header class="hidden-xs hidden-sm">
<div class="container">
<h1>5etools</h1>
<p>A suite of tools for 5e D&D players.</p>
</div>
</header>
<nav class="container">
<ul class="nav nav-pills">
<li role="presentation" class="active"><a href="5etools.html">5eTools</a></li>
<li role="presentation"><a href="classes.html">Classes</a></li>
<li role="presentation"><a href="bestiary.html">Bestiary</a></li>
<li role="presentation"><a href="items.html">Items</a></li>
<li role="presentation"><a href="backgrounds.html">Backgrounds</a></li>
<li role="presentation"><a href="feats.html">Feats</a></li>
<li role="presentation"><a href="races.html">Races</a></li>
<li role="presentation"><a href="spells.html">Spells</a></li>
<li role="presentation"><a href="crcalculator.html">CR Calc</a></li>
<li role="presentation"><a href="http://kobold.club" target="_blank" title="I could literally never build something better than Kobold Fight Club">Encounter Builder</a></li>
</ul>
</nav>
<main class="container bodyContent">
<div class="row">
<div class="col-sm-12">
<p>5etools is a suite of HTML-and-JavaScript tools for players and DMs of D&D 5e. You can find and download the project on <a href="https://github.com/5egmegaanon/5etools">GitHub</a>. Simply download the project as a zip, extract it all to a folder, open the .html files in a browser, and it's ready to go! You can also host your own mirror, or contribute to the project via GitHub. With all the Unearthed Arcana material released, data entry is appreciated!</p>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<h4>Classes</h4>
<p>Classes.html allows you to quickly browse each of the official classes in 5e. You can also filter for the class' specific subclasses for easier reference, sharing produced URL for quick-access.</p>
<h4>Bestiary</h4>
<p>Bestiary.html provides a searchable, filterable list of the more than 760 stat blocks in D&D 5e. You can display them and each attack and damage roll can be done in-line with just a click.</p>
</div>
<div class="col-sm-6">
<h4>Items</h4>
<p>Items.html lists the mundane and magical items currently in D&D 5e, allowing quick access to their properties.</p>
<h4>Backgrounds</h4>
<p>Backgrounds.html lists the official backgrounds in D&D 5e, including those from supplement material.</p>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<h4>Feats</h4>
<p>Feats.html provides a quick-use list of the feats in D&D 5e, including those from Unearthed Arcana and supplements.</p>
<h4>Races</h4>
<p>Races.html lists each of the races in D&D 5e, including subraces and variants.</p>
</div>
<div class="col-sm-6">
<h4>Spells</h4>
<p>Spells.html lists all of the official spells in D&D 5e. The list can be easily searched and filtered, and the entries can be shared through the generated URL.</p>
<h4>CR Calc</h4>
<p>CRcalculator.html provides a verbose, in-depth Challenge Rating calculator, for determining the CR of custom monsters made for D&D 5e.</p>
</div>
</div>
</main>
<!--
All the embedded crap.
Would load it in but I want this for offline use too
-->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
</body>
</html>