mirror of
https://github.com/Obsidian-TTRPG-Community/dnd5e-markdown.git
synced 2025-07-15 02:46:43 -04:00
Initial Commit of 5e Data
Signed-off-by: Sigrunixia <Scholarlysigrun@icloud.com>
This commit is contained in:
parent
50691a5f88
commit
704166a4af
1807 changed files with 73364 additions and 4 deletions
11
.obsidian/snippets/custom-admonitions.375981.css
vendored
Normal file
11
.obsidian/snippets/custom-admonitions.375981.css
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/* This snippet was auto-generated by the Admonitions plugin on 15/09/2023, 21:07:42 */
|
||||
|
||||
|
||||
|
||||
.callout[data-callout="statblock"] { --callout-icon: "<svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"dragon\" class=\"svg-inline--fa fa-dragon fa-w-20\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path fill=\"currentColor\" d=\"M18.32 255.78L192 223.96l-91.28 68.69c-10.08 10.08-2.94 27.31 11.31 27.31h222.7c-9.44-26.4-14.73-54.47-14.73-83.38v-42.27l-119.73-87.6c-23.82-15.88-55.29-14.01-77.06 4.59L5.81 227.64c-12.38 10.33-3.45 30.42 12.51 28.14zm556.87 34.1l-100.66-50.31A47.992 47.992 0 0 1 448 196.65v-36.69h64l28.09 22.63c6 6 14.14 9.37 22.63 9.37h30.97a32 32 0 0 0 28.62-17.69l14.31-28.62a32.005 32.005 0 0 0-3.02-33.51l-74.53-99.38C553.02 4.7 543.54 0 533.47 0H296.02c-7.13 0-10.7 8.57-5.66 13.61L352 63.96 292.42 88.8c-5.9 2.95-5.9 11.36 0 14.31L352 127.96v108.62c0 72.08 36.03 139.39 96 179.38-195.59 6.81-344.56 41.01-434.1 60.91C5.78 478.67 0 485.88 0 494.2 0 504 7.95 512 17.76 512h499.08c63.29.01 119.61-47.56 122.99-110.76 2.52-47.28-22.73-90.4-64.64-111.36zM489.18 66.25l45.65 11.41c-2.75 10.91-12.47 18.89-24.13 18.26-12.96-.71-25.85-12.53-21.52-29.67z\"></path></svg>"; }
|
||||
|
||||
.callout[data-callout="flowchart"] { --callout-icon: "<svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"map\" class=\"svg-inline--fa fa-map fa-w-18\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path fill=\"currentColor\" d=\"M0 117.66v346.32c0 11.32 11.43 19.06 21.94 14.86L160 416V32L20.12 87.95A32.006 32.006 0 0 0 0 117.66zM192 416l192 64V96L192 32v384zM554.06 33.16L416 96v384l139.88-55.95A31.996 31.996 0 0 0 576 394.34V48.02c0-11.32-11.43-19.06-21.94-14.86z\"></path></svg>"; }
|
||||
|
||||
.callout[data-callout="gallery"] { --callout-icon: "<svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"image\" class=\"svg-inline--fa fa-image fa-w-16\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z\"></path></svg>"; }
|
||||
|
||||
.callout[data-callout="readaloud"] { --callout-icon: "<svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"book-reader\" class=\"svg-inline--fa fa-book-reader fa-w-16\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M352 96c0-53.02-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96 96-42.98 96-96zM233.59 241.1c-59.33-36.32-155.43-46.3-203.79-49.05C13.55 191.13 0 203.51 0 219.14v222.8c0 14.33 11.59 26.28 26.49 27.05 43.66 2.29 131.99 10.68 193.04 41.43 9.37 4.72 20.48-1.71 20.48-11.87V252.56c-.01-4.67-2.32-8.95-6.42-11.46zm248.61-49.05c-48.35 2.74-144.46 12.73-203.78 49.05-4.1 2.51-6.41 6.96-6.41 11.63v245.79c0 10.19 11.14 16.63 20.54 11.9 61.04-30.72 149.32-39.11 192.97-41.4 14.9-.78 26.49-12.73 26.49-27.06V219.14c-.01-15.63-13.56-28.01-29.81-27.09z\"></path></svg>"; }
|
341
.obsidian/snippets/dnd5e-compendium.css
vendored
Normal file
341
.obsidian/snippets/dnd5e-compendium.css
vendored
Normal file
|
@ -0,0 +1,341 @@
|
|||
@charset "UTF-8";
|
||||
body {
|
||||
--admonition-charm: 211,141,159;
|
||||
--admonition-charm-text: var(--admonition-charm);
|
||||
--admonition-letter: 98, 159, 197;
|
||||
--admonition-npc: 102, 121, 137;
|
||||
--admonition-scene: 139, 167, 145;
|
||||
--admonition-skill: 236,201,134;
|
||||
--admonition-skill-text: var(--admonition-skill);
|
||||
--admonition-weather: 53,119,174;
|
||||
--admonition-flowchart: 72,72,72;
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
--admonition-charm: 222,170,184;
|
||||
--admonition-charm-text: 167,92,112;
|
||||
--admonition-npc: 58, 125, 127;
|
||||
--admonition-scene: 92, 122, 99;
|
||||
--admonition-skill: 221,178,84;
|
||||
--admonition-skill-text: 157,101,83;
|
||||
}
|
||||
|
||||
.callout[data-callout=charm] {
|
||||
--callout-color: var(--admonition-charm);
|
||||
--callout-title-color: rgb(var(--admonition-charm-text));
|
||||
}
|
||||
.callout[data-callout=charm] .callout-title {
|
||||
color: var(--callout-title-color);
|
||||
}
|
||||
|
||||
.callout[data-callout=letter] {
|
||||
--callout-color: var(--admonition-letter);
|
||||
}
|
||||
|
||||
.callout[data-callout=npc] {
|
||||
--callout-color: var(--admonition-npc);
|
||||
}
|
||||
|
||||
.callout[data-callout=readaloud],
|
||||
.callout[data-callout=scene] {
|
||||
--callout-color: var(--admonition-scene);
|
||||
}
|
||||
|
||||
.callout[data-callout=skill] {
|
||||
--callout-color: var(--admonition-skill);
|
||||
--callout-title-color: rgb(var(--admonition-skill-text));
|
||||
}
|
||||
|
||||
.callout[data-callout=weather] {
|
||||
--callout-color: var(--admonition-weather);
|
||||
}
|
||||
|
||||
.callout[data-callout=flowchart] {
|
||||
--callout-color: var(--admonition-flowchart);
|
||||
--callout-border-width: 0.10rem;
|
||||
}
|
||||
|
||||
.json5e-background div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]),
|
||||
.json5e-class div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]),
|
||||
.json5e-deity div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]),
|
||||
.json5e-feat div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]),
|
||||
.json5e-item div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]),
|
||||
.json5e-monster div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]),
|
||||
.json5e-note div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]),
|
||||
.json5e-race div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]),
|
||||
.json5e-spell div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]) {
|
||||
position: relative;
|
||||
}
|
||||
.json5e-background div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]):after,
|
||||
.json5e-class div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]):after,
|
||||
.json5e-deity div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]):after,
|
||||
.json5e-feat div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]):after,
|
||||
.json5e-item div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]):after,
|
||||
.json5e-monster div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]):after,
|
||||
.json5e-note div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]):after,
|
||||
.json5e-race div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]):after,
|
||||
.json5e-spell div:has(> .callout[data-callout=flowchart]):has(+ div > .callout[data-callout=flowchart]):after {
|
||||
content: "↓";
|
||||
color: var(--admonition-flowchart);
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: 50%;
|
||||
margin-left: 7px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
.json5e-background .callout[data-callout=gallery],
|
||||
.json5e-class .callout[data-callout=gallery],
|
||||
.json5e-deity .callout[data-callout=gallery],
|
||||
.json5e-feat .callout[data-callout=gallery],
|
||||
.json5e-item .callout[data-callout=gallery],
|
||||
.json5e-monster .callout[data-callout=gallery],
|
||||
.json5e-note .callout[data-callout=gallery],
|
||||
.json5e-race .callout[data-callout=gallery],
|
||||
.json5e-spell .callout[data-callout=gallery] {
|
||||
--callout-color: transparent;
|
||||
--callout-border-width: 0;
|
||||
}
|
||||
.json5e-background .callout[data-callout=gallery] .callout-content,
|
||||
.json5e-class .callout[data-callout=gallery] .callout-content,
|
||||
.json5e-deity .callout[data-callout=gallery] .callout-content,
|
||||
.json5e-feat .callout[data-callout=gallery] .callout-content,
|
||||
.json5e-item .callout[data-callout=gallery] .callout-content,
|
||||
.json5e-monster .callout[data-callout=gallery] .callout-content,
|
||||
.json5e-note .callout[data-callout=gallery] .callout-content,
|
||||
.json5e-race .callout[data-callout=gallery] .callout-content,
|
||||
.json5e-spell .callout[data-callout=gallery] .callout-content {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.json5e-background .callout[data-callout=gallery] .callout-content p,
|
||||
.json5e-class .callout[data-callout=gallery] .callout-content p,
|
||||
.json5e-deity .callout[data-callout=gallery] .callout-content p,
|
||||
.json5e-feat .callout[data-callout=gallery] .callout-content p,
|
||||
.json5e-item .callout[data-callout=gallery] .callout-content p,
|
||||
.json5e-monster .callout[data-callout=gallery] .callout-content p,
|
||||
.json5e-note .callout[data-callout=gallery] .callout-content p,
|
||||
.json5e-race .callout[data-callout=gallery] .callout-content p,
|
||||
.json5e-spell .callout[data-callout=gallery] .callout-content p {
|
||||
display: none;
|
||||
}
|
||||
.json5e-background .callout[data-callout=gallery] .callout-content div[src$="#gallery"],
|
||||
.json5e-class .callout[data-callout=gallery] .callout-content div[src$="#gallery"],
|
||||
.json5e-deity .callout[data-callout=gallery] .callout-content div[src$="#gallery"],
|
||||
.json5e-feat .callout[data-callout=gallery] .callout-content div[src$="#gallery"],
|
||||
.json5e-item .callout[data-callout=gallery] .callout-content div[src$="#gallery"],
|
||||
.json5e-monster .callout[data-callout=gallery] .callout-content div[src$="#gallery"],
|
||||
.json5e-note .callout[data-callout=gallery] .callout-content div[src$="#gallery"],
|
||||
.json5e-race .callout[data-callout=gallery] .callout-content div[src$="#gallery"],
|
||||
.json5e-spell .callout[data-callout=gallery] .callout-content div[src$="#gallery"] {
|
||||
max-width: 49%;
|
||||
}
|
||||
.json5e-background .callout[data-callout=gallery] .callout-content div[src$="#gallery"] img,
|
||||
.json5e-class .callout[data-callout=gallery] .callout-content div[src$="#gallery"] img,
|
||||
.json5e-deity .callout[data-callout=gallery] .callout-content div[src$="#gallery"] img,
|
||||
.json5e-feat .callout[data-callout=gallery] .callout-content div[src$="#gallery"] img,
|
||||
.json5e-item .callout[data-callout=gallery] .callout-content div[src$="#gallery"] img,
|
||||
.json5e-monster .callout[data-callout=gallery] .callout-content div[src$="#gallery"] img,
|
||||
.json5e-note .callout[data-callout=gallery] .callout-content div[src$="#gallery"] img,
|
||||
.json5e-race .callout[data-callout=gallery] .callout-content div[src$="#gallery"] img,
|
||||
.json5e-spell .callout[data-callout=gallery] .callout-content div[src$="#gallery"] img {
|
||||
max-height: 60vh;
|
||||
}
|
||||
.json5e-background .callout[data-callout=gallery] .callout-title,
|
||||
.json5e-class .callout[data-callout=gallery] .callout-title,
|
||||
.json5e-deity .callout[data-callout=gallery] .callout-title,
|
||||
.json5e-feat .callout[data-callout=gallery] .callout-title,
|
||||
.json5e-item .callout[data-callout=gallery] .callout-title,
|
||||
.json5e-monster .callout[data-callout=gallery] .callout-title,
|
||||
.json5e-note .callout[data-callout=gallery] .callout-title,
|
||||
.json5e-race .callout[data-callout=gallery] .callout-title,
|
||||
.json5e-spell .callout[data-callout=gallery] .callout-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body {
|
||||
--statblock-accent: 201,60,60;
|
||||
}
|
||||
|
||||
.admonition-statblock-parent {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.callout[data-callout=statblock] {
|
||||
--callout-color: var(--statblock-accent);
|
||||
}
|
||||
.callout[data-callout=statblock] .callout-title {
|
||||
line-height: var(--line-height);
|
||||
}
|
||||
.callout[data-callout=statblock] .callout-title .callout-title-content {
|
||||
flex: 2;
|
||||
font-size: var(--h3-size);
|
||||
}
|
||||
.callout[data-callout=statblock] .callout-content > :first-child {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
.callout[data-callout=statblock] .callout-content > :last-child {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.callout[data-callout=statblock] .callout-content h1,
|
||||
.callout[data-callout=statblock] .callout-content h2,
|
||||
.callout[data-callout=statblock] .callout-content h3 {
|
||||
font-family: var(--default-font);
|
||||
font-variant: common-ligatures small-caps;
|
||||
}
|
||||
.callout[data-callout=statblock] .callout-content h1 {
|
||||
font-size: 1.4em;
|
||||
line-height: 1.4em;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.callout[data-callout=statblock] .callout-content h2,
|
||||
.callout[data-callout=statblock] .callout-content h3 {
|
||||
font-size: 1.2em;
|
||||
line-height: 1.2em;
|
||||
padding: 0.5em 0 0 0;
|
||||
margin-top: 0.2em;
|
||||
margin-bottom: 0.3em;
|
||||
border-bottom: 1px solid rgb(var(--statblock-accent));
|
||||
}
|
||||
.callout[data-callout=statblock] .callout-content p {
|
||||
line-height: 1.2em;
|
||||
margin-block-start: 0.5em;
|
||||
}
|
||||
.callout[data-callout=statblock] .callout-content li {
|
||||
line-height: 1.2em;
|
||||
margin-block-start: 0.5em;
|
||||
}
|
||||
|
||||
.json5e-background div[src$="#center"],
|
||||
.json5e-class div[src$="#center"],
|
||||
.json5e-deity div[src$="#center"],
|
||||
.json5e-feat div[src$="#center"],
|
||||
.json5e-item div[src$="#center"],
|
||||
.json5e-monster div[src$="#center"],
|
||||
.json5e-note div[src$="#center"],
|
||||
.json5e-race div[src$="#center"],
|
||||
.json5e-spell div[src$="#center"] {
|
||||
text-align: center;
|
||||
}
|
||||
.json5e-background div[src$="#symbol"], .json5e-background div[src$="#portrait"], .json5e-background div[src$="#token"], .json5e-background div[src$="#right"],
|
||||
.json5e-class div[src$="#symbol"],
|
||||
.json5e-class div[src$="#portrait"],
|
||||
.json5e-class div[src$="#token"],
|
||||
.json5e-class div[src$="#right"],
|
||||
.json5e-deity div[src$="#symbol"],
|
||||
.json5e-deity div[src$="#portrait"],
|
||||
.json5e-deity div[src$="#token"],
|
||||
.json5e-deity div[src$="#right"],
|
||||
.json5e-feat div[src$="#symbol"],
|
||||
.json5e-feat div[src$="#portrait"],
|
||||
.json5e-feat div[src$="#token"],
|
||||
.json5e-feat div[src$="#right"],
|
||||
.json5e-item div[src$="#symbol"],
|
||||
.json5e-item div[src$="#portrait"],
|
||||
.json5e-item div[src$="#token"],
|
||||
.json5e-item div[src$="#right"],
|
||||
.json5e-monster div[src$="#symbol"],
|
||||
.json5e-monster div[src$="#portrait"],
|
||||
.json5e-monster div[src$="#token"],
|
||||
.json5e-monster div[src$="#right"],
|
||||
.json5e-note div[src$="#symbol"],
|
||||
.json5e-note div[src$="#portrait"],
|
||||
.json5e-note div[src$="#token"],
|
||||
.json5e-note div[src$="#right"],
|
||||
.json5e-race div[src$="#symbol"],
|
||||
.json5e-race div[src$="#portrait"],
|
||||
.json5e-race div[src$="#token"],
|
||||
.json5e-race div[src$="#right"],
|
||||
.json5e-spell div[src$="#symbol"],
|
||||
.json5e-spell div[src$="#portrait"],
|
||||
.json5e-spell div[src$="#token"],
|
||||
.json5e-spell div[src$="#right"] {
|
||||
float: right;
|
||||
padding-left: 5px;
|
||||
}
|
||||
.json5e-background div[src$="#center"] img, .json5e-background div[src$="#right"] img,
|
||||
.json5e-class div[src$="#center"] img,
|
||||
.json5e-class div[src$="#right"] img,
|
||||
.json5e-deity div[src$="#center"] img,
|
||||
.json5e-deity div[src$="#right"] img,
|
||||
.json5e-feat div[src$="#center"] img,
|
||||
.json5e-feat div[src$="#right"] img,
|
||||
.json5e-item div[src$="#center"] img,
|
||||
.json5e-item div[src$="#right"] img,
|
||||
.json5e-monster div[src$="#center"] img,
|
||||
.json5e-monster div[src$="#right"] img,
|
||||
.json5e-note div[src$="#center"] img,
|
||||
.json5e-note div[src$="#right"] img,
|
||||
.json5e-race div[src$="#center"] img,
|
||||
.json5e-race div[src$="#right"] img,
|
||||
.json5e-spell div[src$="#center"] img,
|
||||
.json5e-spell div[src$="#right"] img {
|
||||
max-height: 60vh;
|
||||
}
|
||||
.json5e-background div[src$="#right"],
|
||||
.json5e-class div[src$="#right"],
|
||||
.json5e-deity div[src$="#right"],
|
||||
.json5e-feat div[src$="#right"],
|
||||
.json5e-item div[src$="#right"],
|
||||
.json5e-monster div[src$="#right"],
|
||||
.json5e-note div[src$="#right"],
|
||||
.json5e-race div[src$="#right"],
|
||||
.json5e-spell div[src$="#right"] {
|
||||
max-width: 50%;
|
||||
}
|
||||
.json5e-background div[src$="#token"],
|
||||
.json5e-class div[src$="#token"],
|
||||
.json5e-deity div[src$="#token"],
|
||||
.json5e-feat div[src$="#token"],
|
||||
.json5e-item div[src$="#token"],
|
||||
.json5e-monster div[src$="#token"],
|
||||
.json5e-note div[src$="#token"],
|
||||
.json5e-race div[src$="#token"],
|
||||
.json5e-spell div[src$="#token"] {
|
||||
width: 150px;
|
||||
}
|
||||
.json5e-background div[src$="#symbol"], .json5e-background div[src$="#portrait"],
|
||||
.json5e-class div[src$="#symbol"],
|
||||
.json5e-class div[src$="#portrait"],
|
||||
.json5e-deity div[src$="#symbol"],
|
||||
.json5e-deity div[src$="#portrait"],
|
||||
.json5e-feat div[src$="#symbol"],
|
||||
.json5e-feat div[src$="#portrait"],
|
||||
.json5e-item div[src$="#symbol"],
|
||||
.json5e-item div[src$="#portrait"],
|
||||
.json5e-monster div[src$="#symbol"],
|
||||
.json5e-monster div[src$="#portrait"],
|
||||
.json5e-note div[src$="#symbol"],
|
||||
.json5e-note div[src$="#portrait"],
|
||||
.json5e-race div[src$="#symbol"],
|
||||
.json5e-race div[src$="#portrait"],
|
||||
.json5e-spell div[src$="#symbol"],
|
||||
.json5e-spell div[src$="#portrait"] {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.json5e-background .inline-title,
|
||||
.json5e-class .inline-title,
|
||||
.json5e-deity .inline-title,
|
||||
.json5e-feat .inline-title,
|
||||
.json5e-item .inline-title,
|
||||
.json5e-monster .inline-title,
|
||||
.json5e-names .inline-title,
|
||||
.json5e-note .inline-title,
|
||||
.json5e-race .inline-title,
|
||||
.json5e-spell .inline-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.creature-view-container.workspace-leaf-content {
|
||||
background-color: var(--background-primary-alt);
|
||||
}
|
||||
.creature-view-container.workspace-leaf-content .admonition {
|
||||
margin-top: 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue