installed DND Tools

This commit is contained in:
Jesse James Isler 2022-07-04 19:14:39 +02:00
parent 25213aedd7
commit fe2d222974
11 changed files with 38761 additions and 1 deletions

View File

@ -6,5 +6,7 @@
"obsidian-auto-link-title", "obsidian-auto-link-title",
"obsidian-icons-plugin", "obsidian-icons-plugin",
"obsidian-pandoc", "obsidian-pandoc",
"obsidian-reading-time" "obsidian-reading-time",
"initiative-tracker",
"obsidian-5e-statblocks"
] ]

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,10 @@
{
"id": "initiative-tracker",
"name": "Initiative Tracker",
"version": "7.5.0",
"minAppVersion": "0.12.10",
"author": "Jeremy Valentine",
"description": "TTRPG Initiative Tracker for Obsidian.md",
"authorUrl": "https://github.com/valentine195/obsidian-initiative-tracker",
"isDesktopOnly": false
}

View File

@ -0,0 +1,171 @@
/* src/main.css */
.initiative-tracker-add-player-modal .has-error {
border-color: var(--background-modifier-error-hover);
}
.initiative-tracker-additional-container {
border-bottom: 0px solid var(--background-modifier-border);
padding: 18px 0;
background-color: inherit;
}
.initiative-tracker-additional-container .initiative-tracker-players {
display: grid;
grid-template-columns: 3fr 1fr 1fr 1fr auto;
gap: 0.5rem;
}
.initiative-tracker-settings .initiative-tracker-additional-container .initiative-tracker-players .initiative-tracker-player {
display: contents;
}
.initiative-tracker-settings .initiative-tracker-additional-container .initiative-tracker-players .initiative-tracker-player > *:not(:first-child) {
text-align: center;
}
.initiative-tracker-settings .initiative-tracker-additional-container .initiative-tracker-players .initiative-tracker-player .initiative-tracker-player-icon {
display: grid;
grid-template-columns: auto auto;
gap: 0.5rem;
}
.initiative-tracker-settings .initiative-tracker-additional-container .initiative-tracker-players .initiative-tracker-player.headers {
font-weight: bolder;
}
.initiative-tracker-settings .initiative-tracker-additional-container .initiative-tracker-players .initiative-tracker-player.headers .clickable-icon {
color: var(--text-normal);
}
.initiative-tracker-settings .initiative-tracker-additional-container .initiative-tracker-players .initiative-tracker-player.headers .clickable-icon:hover {
color: var(--text-normal);
}
.initiative-tracker-settings .initiative-synced {
border-top: 0px;
margin: 0 2rem;
padding-top: 0;
}
.initiative-tracker-settings .initiative-synced .setting-item-name {
color: var(--interactive-success);
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
gap: 0.5rem;
}
.initiative-tracker-settings .initiative-tracker-monster-filter {
position: sticky;
top: -5px;
padding-top: 5px;
background-color: inherit;
z-index: 1;
}
.initiative-tracker-settings .initiative-tracker-file-upload > input[type=file] {
display: none;
}
.initiative-tracker-additional-container > .additional {
margin: 6px 12px;
}
.initiative-tracker-additional-container > .additional > .setting-item {
border-top: 0;
padding-top: 9px;
}
.initiative-tracker-additional-container > .additional > .setting-item > .setting-item-control > *:first-child {
margin: 0 6px;
}
.initiative-tracker-settings .initiative-status-item .setting-item-description {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
word-break: keep-all;
overflow: hidden;
}
.tooltip.initiative-tracker-condition-tooltip {
text-align: left;
word-break: keep-all;
}
.block-language-encounter .encounter-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.initiative-tracker-settings .coffee {
width: 60%;
color: var(--text-faint);
margin: 1rem auto;
text-align: center;
}
.initiative-tracker-settings .coffee img {
height: 30px;
}
.creature-view-container {
padding: 0.5rem;
}
.creature-view-container .creature-statblock-container {
display: flex;
justify-content: center;
}
.creature-view-container .statblock .column {
max-width: 400px;
width: 100%;
}
.creature-view-container .creature-view-button {
display: flex;
justify-content: flex-end;
}
.initiative-tracker-encounter-line {
display: inline-block;
}
.initiative-tracker-settings details > summary {
outline: none;
display: block !important;
list-style: none !important;
list-style-type: none !important;
min-height: 1rem;
border-top-left-radius: 0.1rem;
border-top-right-radius: 0.1rem;
cursor: pointer;
position: relative;
}
.initiative-tracker-settings details > summary::-webkit-details-marker,
.initiative-tracker-settings details > summary::marker {
display: none !important;
}
.initiative-tracker-settings details > summary > .collapser {
position: absolute;
top: 50%;
right: 8px;
transform: translateY(-50%);
content: "";
}
.initiative-tracker-settings details > summary > .collapser > .handle {
transform: rotate(0deg);
transition: transform 0.25s;
background-color: currentColor;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: contain;
mask-size: contain;
-webkit-mask-image: var(--admonition-details-icon);
mask-image: var(--admonition-details-icon);
width: 20px;
height: 20px;
}
.initiative-tracker-settings details[open] > summary > .collapser > .handle {
transform: rotate(90deg);
}
.initiative-tracker-settings details > summary {
border-bottom: 1px solid var(--background-modifier-border);
}
.initiative-tracker-settings details > summary {
border-bottom: 1px solid var(--background-modifier-border);
}
.initiative-tracker-warning {
color: var(--text-error);
display: flex;
gap: 0.25rem;
align-items: center;
}
.initiative-tracker-settings details > summary + .setting-item,
.initiative-tracker-explanation + .setting-item {
border-top: 0;
}
.initiative-tracker-explanation {
padding-top: 16px;
}
.initiative-tracker-cancel {
display: flex;
justify-content: flex-end;
}
/* src/styles.css */

View File

@ -0,0 +1,16 @@
{
"monsters": [],
"layouts": [],
"default": "Basic 5e Layout",
"useDice": true,
"renderDice": true,
"export": true,
"showAdvanced": false,
"version": {
"major": 2,
"minor": 14,
"patch": 9
},
"path": "/",
"autoParse": false
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
{
"id": "obsidian-5e-statblocks",
"name": "TTRPG Statblocks",
"version": "2.14.9",
"description": "Create 5e styled statblocks in Obsidian.md",
"minAppVersion": "0.12.0",
"author": "Jeremy Valentine",
"authorUrl": "",
"isDesktopOnly": false
}

View File

@ -0,0 +1 @@
:root{--statblock-primary-color: #7a200d;--statblock-rule-color: #922610;--statblock-bar-color: #e69a28;--statblock-background-color: #fdf1dc}.statblock-filter-container .search-input-container{margin-bottom:0}.no-border-top{border-top:0}.statblock-edit-block .statblock-additional-container>.additional>.setting-item .setting-item-name{font-size:small;font-style:italic}.statblock-edit-block .statblock-additional-container>.additional>.setting-item{color:var(--text-muted)}.statblock-edit-block .statblock-additional-container>:not(.additional){padding-bottom:0}.statblock-edit-block .setting-item{border:0;padding-top:0rem}.statblock-edit-block textarea{width:100%;resize:vertical;overflow:hidden}.statblock-additional-container.statblock-monsters button{margin-right:0}.statblock-file-upload>input[type=file]{display:none}.statblock-additional-container{border-top:1px solid var(--background-modifier-border);border-bottom:0px solid var(--background-modifier-border);padding:18px 0 0;background-color:inherit}.statblock-additional-container details{padding:18px 0}.statblock-additional-container .clickable-icon{margin:0 6px}.statblock-additional-container .task-list-inline{display:grid;grid-template-columns:1fr 1fr;gap:0 3em;padding-bottom:0;margin:0}.statblock-monster-filter{position:sticky;top:calc(-1 * var(--statblock-filter-offset));background-color:var(--statblock-filter-bg);z-index:99999}.statblock-additional-container>.setting-item-heading:only-child{padding-bottom:18px}.statblock-additional-container>.additional{margin:6px 12px}.statblock-additional-container .setting-item{border-top:0}.statblock-additional-container>.additional>.setting-item{padding-top:9px}.statblock-additional-container>.additional>.setting-item>.setting-item-control>*:first-child{margin:0 6px}.statblock-settings .coffee{width:60%;color:var(--text-faint);margin:1rem auto;text-align:center}.statblock-settings .coffee img{height:30px}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
{
"id": "obsidian-dice-roller",
"name": "Dice Roller",
"version": "8.6.0",
"minAppVersion": "0.12.15",
"description": "Inline dice rolling for Obsidian.md",
"author": "Jeremy Valentine",
"authorUrl": "",
"isDesktopOnly": false
}

File diff suppressed because one or more lines are too long