diff --git a/src/layouts/index.ts b/src/layouts/index.ts index c455115b..4e77e0a2 100644 --- a/src/layouts/index.ts +++ b/src/layouts/index.ts @@ -1,6 +1,6 @@ import { Layout5e } from "./basic 5e/basic5e"; import { LayoutFateCore } from "./fate core/fateCore"; -import { LayoutPF2e } from "./pathfinder 2e/pf2e"; +import { LayoutPF2e, LayoutPF2eCreature } from "./pathfinder 2e/pf2e"; import { Layout13thAgeMonster} from "./13th age/monster/13th-age-monster"; import { LayoutBnBBestiary } from "./BnB/bestiary/bnb-bestiary"; import { LayoutBnBFamiliar } from "./BnB/familiar/bnb-familiar"; @@ -16,6 +16,7 @@ export const DefaultLayouts = [ Layout5e, LayoutFateCore, LayoutPF2e, + LayoutPF2eCreature, Layout13thAgeMonster, LayoutBnBBestiary, LayoutBnBFamiliar diff --git a/src/layouts/layout.types.ts b/src/layouts/layout.types.ts index f3a3f6e1..2ae3fa1f 100644 --- a/src/layouts/layout.types.ts +++ b/src/layouts/layout.types.ts @@ -97,6 +97,7 @@ type PropertyProps = { }; type SavesProps = { type: "saves"; + callback?: string; display?: string; }; type SpellsProps = { diff --git a/src/layouts/pathfinder 2e/Pathfinder 2e Creature Layout.json b/src/layouts/pathfinder 2e/Pathfinder 2e Creature Layout.json new file mode 100644 index 00000000..b111ee60 --- /dev/null +++ b/src/layouts/pathfinder 2e/Pathfinder 2e Creature Layout.json @@ -0,0 +1 @@ +{"blocks":[{"type":"inline","id":"e9b8483aeafa","properties":[],"nested":[{"type":"property","id":"2b596a6919fb","properties":["name"],"fallback":"-","markdown":true,"dice":false,"conditioned":true,"display":" "},{"type":"ifelse","id":"badbdb298988","conditions":[{"nested":[{"type":"group","id":"990a4a988ae8","properties":[],"nested":[{"type":"inline","id":"499aea6a9aca","properties":[],"nested":[{"type":"action","id":"8a6a7a499b78","icon":"sword","callback":"(async() => {\n if (!InitiativeTracker.plugin.view) {\n await InitiativeTracker.plugin.addTrackerView();\n }\n InitiativeTracker.newEncounter({\n roll: true,\n creatures: [monster]\n });\n if (InitiativeTracker.plugin.view) {\n InitiativeTracker.plugin\n .app\n .workspace\n .revealLeaf(InitiativeTracker.plugin.view.leaf);\n }\n})();"},{"type":"action","id":"fbea380b09b9","icon":"plus-with-circle","callback":"(async() => {\n if (!InitiativeTracker.plugin.view) {\n await InitiativeTracker.plugin.addTrackerView();\n }\n InitiativeTracker.addCreatures([monster]);\n if (InitiativeTracker.plugin.view) {\n InitiativeTracker.plugin\n .app\n .workspace\n .revealLeaf(InitiativeTracker.plugin.view.leaf);\n }\n})();"}]}]}],"condition":"return plugin.app.plugins.enabledPlugins.has(\"initiative-tracker\");\n"}]},{"type":"property","id":"98389a48f808","properties":["level"],"fallback":"-","display":" ","conditioned":true,"markdown":true,"dice":false}],"hasRule":true},{"type":"group","id":"4b3a6809a938","properties":[],"nested":[{"type":"property","id":"0979a989583a","properties":[],"fallback":"-","callback":"const traits = []\nif (monster.rarity && monster.rarity.toLowerCase() !== \"common\") {\n traits.push(`${monster.rarity}`);\n}\n\nif (monster.alignment) {\n traits.push(`${monster.alignment}`);\n}\nif (monster.size) {\n traits.push(`${monster.size}`);\n}\n\nif (monster.traits) {\n traits.push(...monster.traits);\n}\n\nreturn traits ? (\"- \" + traits.join(\"\\n- \")) : \"\";","conditioned":true,"display":""}],"hasRule":true,"cls":"pf2e-traits"},{"type":"group","id":"5999ea79ca3b","properties":[],"nested":[{"type":"inline","id":"881859197838","properties":[],"nested":[{"type":"property","id":"4ad9f92ab8f8","properties":["modifier"],"fallback":"-","display":"Perception","conditioned":false,"dice":false,"diceCallback":"const num = (property < 0 ? \"-\" : \"+\") + Math.abs(property);\nreturn [num, \" (\", { text: \"1d20\"+num }, \")\"];","callback":"return (monster.modifier < 0 ? \"-\" : \"+\") + Math.abs(monster.modifier);"},{"type":"property","id":"8bd82998dadb","properties":["senses"],"fallback":"-","conditioned":true,"display":""}],"cls":"oneline","conditioned":true},{"type":"property","id":"ba28f9384918","properties":["languages"],"fallback":"-","display":"Language","conditioned":true,"markdown":true},{"type":"saves","id":"6a2b78099b0b","properties":["skills"],"fallback":"-","display":"Skills","conditioned":true,"dice":true,"callback":"const keys = [...Object.keys(property)];\nconst name = keys.shift();\n\nif (name === \"note\") {\n return {note: property.note};\n}\n\nvar note;\nvar stats = [];\nfor (const key of keys) {\n if (key === \"note\") {\n note = property[key];\n } else {\n const sign = property[key] < 0 ? \"-\" : \"+\";\n const num = Math.abs(property[key]);\n stats.push(`(${sign}${num} ${key})`);\n }\n}\n\nif (stats.length == 0 && !note) {\n return property;\n}\n\nstats.unshift(\n (property[name] < 0 ? \"-\" : \"+\") +\n Math.abs(property[name]));\nconst parts = [stats.join(\" \")];\nif (note) {\n parts.push(note);\n}\nreturn {[name]: parts.join(\", \")};"},{"type":"saves","id":"b82b0a1a9969","properties":["attributes"],"fallback":"-","conditioned":true,"display":""},{"type":"property","id":"1b6a98ba4888","properties":["items"],"fallback":"-","display":"Items","conditioned":true},{"type":"traits","id":"e96ba9d8a80a","properties":["abilities_top"],"fallback":"-","conditioned":true,"dice":true,"markdown":true,"heading":" ","hasRule":false}],"hasRule":true},{"type":"group","id":"faaa08993a98","properties":[],"nested":[{"type":"inline","id":"3a5ab84a2b89","properties":[],"nested":[{"type":"inline","id":"cb6a7809aa2b","properties":[],"nested":[{"type":"property","id":"6b0b0bda0a7a","properties":["ac"],"fallback":"-","display":"AC"},{"type":"property","id":"0908aaab3b1b","properties":["acNote"],"fallback":"-","conditioned":true,"display":""}],"cls":"withnote","conditioned":true},{"type":"saves","id":"9999386a58ea","properties":["saves"],"fallback":"-","dice":true,"display":"","conditioned":true,"callback":"const keys = [...Object.keys(property)];\nconst name = keys.shift();\n\nif (name === \"note\") {\n return {note: property.note};\n}\n\nvar note;\nvar stats = [];\nfor (const key of keys) {\n if (key === \"note\") {\n note = property[key];\n } else {\n const sign = property[key] < 0 ? \"-\" : \"+\";\n const num = Math.abs(property[key]);\n stats.push(`(${sign}${num} ${key})`);\n }\n}\n\nif (stats.length == 0 && !note) {\n return property;\n}\n\nstats.unshift(\n (property[name] < 0 ? \"-\" : \"+\") +\n Math.abs(property[name]));\nconst parts = [stats.join(\" \")];\nif (note) {\n parts.push(note);\n}\nreturn {[name]: parts.join(\", \")};"}],"cls":"oneline","conditioned":true},{"type":"inline","id":"ea29d9ea5aa8","properties":[],"nested":[{"type":"inline","id":"39584be95ae9","properties":[],"nested":[{"type":"property","id":"bb6989092939","properties":["hp"],"fallback":"-","display":"HP"},{"type":"property","id":"b9fa1a89c8d9","properties":["hpNote"],"fallback":"-","doNotAddClass":false,"conditioned":true,"display":""}],"cls":"withnote","conditioned":true},{"type":"property","id":"4bbaa9380a9b","properties":["hardness"],"fallback":"-","display":"Hardness","conditioned":true},{"type":"property","id":"0a8ac8d96bba","properties":["immunities"],"fallback":"-","conditioned":true,"display":"Immunities"},{"type":"property","id":"78689b6b6b79","properties":["weaknesses"],"fallback":"-","conditioned":true,"display":"Weaknesses"},{"type":"property","id":"8b7a3b89fa59","properties":["resistances"],"fallback":"-","conditioned":true,"display":"Resistances"}],"cls":"oneline","conditioned":true},{"type":"traits","id":"ca2bf968987b","properties":["abilities_mid"],"fallback":"-","heading":"","conditioned":true,"dice":true,"markdown":true,"hasRule":false}],"hasRule":true},{"type":"group","id":"cbeabaf93b58","properties":[],"nested":[{"type":"property","id":"0b4809ba0b29","properties":["speed"],"fallback":"-","display":"Speed","conditioned":true,"markdown":true,"dice":false},{"type":"traits","id":"882bc9aa0898","properties":["attacks"],"fallback":"-","conditioned":true,"dice":true,"markdown":true,"headingProp":false,"heading":"","callback":"var s = \"\";\nif (property.bonus) {\n s += (property.bonus < 0 ? \"-\" : \"+\") + Math.abs(property.bonus);\n}\nif (property.desc) {\n s += \" \" + property.desc\n}\nif (property.damage) {\n s += \", __Damage__ \" + property.damage\n}\nreturn s"},{"type":"traits","id":"faeafb7b6b1b","properties":["spellcasting"],"fallback":"-","conditioned":true,"dice":true},{"type":"traits","id":"aacb399a3b58","properties":["abilities_bot"],"fallback":"-","conditioned":true,"dice":true,"markdown":true,"hasRule":false}],"hasRule":true},{"type":"text","id":"1b195a894b58","properties":["token"],"text":null,"fallback":"","heading":"Show to Players","conditioned":true,"markdown":true},{"type":"image","id":"1bba89582b29","properties":["token"],"fallback":"","conditioned":true,"hasRule":true},{"type":"property","id":"88e97a485b79","properties":["sourcebook"],"fallback":"-","conditioned":true,"markdown":true,"dice":false,"display":" Source:"}],"name":"Pathfinder 2e Creature Layout","id":"b8ab3ae89a0a","diceParsing":[{"regex":"(\\s|^)(\\d+d\\d+(?:\\s*[+-]\\s*\\d+)?)(\\W|$)","parser":"const [, before, text, after] = matches;\nreturn [before + text, \" (\", { text }, \")\", after];","id":"4a79397b896a","desc":"1d6+10"},{"regex":"(^|\\s)([+-]\\d+)(\\W|$)(?!status|bonus)","parser":"let [, before, bonus, after] = matches;\nreturn [\n before + bonus,\n \" (\", { text: \"1d20\" + bonus }, \")\",\n after\n];","id":"8bb8fbbb0869","desc":"+15"}],"edited":true} \ No newline at end of file diff --git a/src/layouts/pathfinder 2e/pf2e.ts b/src/layouts/pathfinder 2e/pf2e.ts index 10fba928..a338ef7d 100644 --- a/src/layouts/pathfinder 2e/pf2e.ts +++ b/src/layouts/pathfinder 2e/pf2e.ts @@ -1,122 +1,6 @@ //@ts-nocheck import { nanoid } from "src/util/util"; -import type { DefaultLayout, Layout, StatblockItem } from "../layout.types"; -export const StatblockPF2e: StatblockItem[] = [ - { - type: "inline", - id: nanoid(), - properties: [], - hasRule: true, - nested: [ - { - type: "group", - id: nanoid(), - properties: [ - "name", - "description", - "aspects", - "temporaryAspects" - ], - nested: [ - { - type: "heading", - id: nanoid(), - properties: ["name"], - conditioned: true, - size: 1 - }, - { - type: "text", - id: nanoid(), - properties: ["description"], - conditioned: true, - markdown: true, - text: null, - dice: false - }, - { - type: "text", - id: nanoid(), - properties: ["aspects"], - markdown: true, - text: null, - dice: false, - conditioned: true, - heading: "Aspects" - }, - { - type: "text", - id: nanoid(), - properties: ["temporaryAspects"], - markdown: true, - text: null, - dice: false, - conditioned: true, - heading: "Temporary Aspects" - } - ], - conditioned: true - }, - { - type: "image", - id: nanoid(), - properties: ["image"], - conditioned: true - } - ] - }, - { - type: "table", - id: nanoid(), - properties: ["stress"], - headers: ["Physical", "Mental"], - calculate: false, - hasRule: true, - conditioned: true - }, - { - type: "traits", - id: nanoid(), - properties: ["consequences"], - conditioned: true, - heading: "Consequences" - }, - { - type: "traits", - id: nanoid(), - properties: ["skills"], - conditioned: true, - hasRule: false, - heading: "Skills" - }, - { - type: "traits", - id: nanoid(), - properties: ["stunts"], - markdown: true, - dice: false, - conditioned: true, - heading: "Stunts" - }, - { - type: "traits", - id: nanoid(), - properties: ["items"], - heading: "Items", - conditioned: true, - markdown: true, - dice: false - }, - { - type: "traits", - id: nanoid(), - properties: ["extras"], - heading: "Extras", - conditioned: true, - markdown: true, - dice: false - } -]; +import type { DefaultLayout, Layout } from "../layout.types"; export const LayoutPF2e: DefaultLayout = { blocks: [ @@ -471,3 +355,446 @@ export const LayoutPF2e: DefaultLayout = { } ] }; + +export const LayoutPF2eCreature: DefaultLayout = { + blocks: [ + { + type: "inline", + id: "e9b8483aeafa", + properties: [], + nested: [ + { + type: "property", + id: "2b596a6919fb", + properties: [ + "name" + ], + fallback: "-", + markdown: true, + dice: false, + conditioned: true, + display: " " + }, + { + type: "ifelse", + id: "badbdb298988", + conditions: [ + { + nested: [ + { + type: "group", + id: "990a4a988ae8", + properties: [], + nested: [ + { + type: "inline", + id: "499aea6a9aca", + properties: [], + nested: [ + { + type: "action", + id: "8a6a7a499b78", + icon: "sword", + callback: "(async() => {\n if (!InitiativeTracker.plugin.view) {\n await InitiativeTracker.plugin.addTrackerView();\n }\n InitiativeTracker.newEncounter({\n roll: true,\n creatures: [monster]\n });\n if (InitiativeTracker.plugin.view) {\n InitiativeTracker.plugin\n .app\n .workspace\n .revealLeaf(InitiativeTracker.plugin.view.leaf);\n }\n})();" + }, + { + type: "action", + id: "fbea380b09b9", + icon: "plus-with-circle", + callback: "(async() => {\n if (!InitiativeTracker.plugin.view) {\n await InitiativeTracker.plugin.addTrackerView();\n }\n InitiativeTracker.addCreatures([monster]);\n if (InitiativeTracker.plugin.view) {\n InitiativeTracker.plugin\n .app\n .workspace\n .revealLeaf(InitiativeTracker.plugin.view.leaf);\n }\n})();" + } + ] + } + ] + } + ], + condition: "return plugin.app.plugins.enabledPlugins.has(\"initiative-tracker\");\n" + } + ] + }, + { + type: "property", + id: "98389a48f808", + properties: [ + "level" + ], + fallback: "-", + display: " ", + conditioned: true, + markdown: true, + dice: false + } + ], + hasRule: true + }, + { + type: "group", + id: "4b3a6809a938", + properties: [], + nested: [ + { + type: "property", + id: "0979a989583a", + properties: [], + fallback: "-", + callback: "const traits = []\nif (monster.rarity && monster.rarity.toLowerCase() !== \"common\") {\n traits.push(`${monster.rarity}`);\n}\n\nif (monster.alignment) {\n traits.push(`${monster.alignment}`);\n}\nif (monster.size) {\n traits.push(`${monster.size}`);\n}\n\nif (monster.traits) {\n traits.push(...monster.traits);\n}\n\nreturn traits ? (\"- \" + traits.join(\"\\n- \")) : \"\";", + conditioned: true, + display: "" + } + ], + hasRule: true, + cls: "pf2e-traits" + }, + { + type: "group", + id: "5999ea79ca3b", + properties: [], + nested: [ + { + type: "inline", + id: "881859197838", + properties: [], + nested: [ + { + type: "property", + id: "4ad9f92ab8f8", + properties: [ + "modifier" + ], + fallback: "-", + display: "Perception", + conditioned: false, + dice: false, + diceCallback: "const num = (property < 0 ? \"-\" : \"+\") + Math.abs(property);\nreturn [num, \" (\", { text: \"1d20\"+num }, \")\"];", + callback: "return (monster.modifier < 0 ? \"-\" : \"+\") + Math.abs(monster.modifier);" + }, + { + type: "property", + id: "8bd82998dadb", + properties: [ + "senses" + ], + fallback: "-", + conditioned: true, + display: "" + } + ], + cls: "oneline", + conditioned: true + }, + { + type: "property", + id: "ba28f9384918", + properties: [ + "languages" + ], + fallback: "-", + display: "Language", + conditioned: true, + markdown: true + }, + { + type: "saves", + id: "6a2b78099b0b", + properties: [ + "skills" + ], + fallback: "-", + display: "Skills", + conditioned: true, + dice: true, + callback: "const keys = [...Object.keys(property)];\nconst name = keys.shift();\n\nif (name === \"note\") {\n return {note: property.note};\n}\n\nvar note;\nvar stats = [];\nfor (const key of keys) {\n if (key === \"note\") {\n note = property[key];\n } else {\n const sign = property[key] < 0 ? \"-\" : \"+\";\n const num = Math.abs(property[key]);\n stats.push(`(${sign}${num} ${key})`);\n }\n}\n\nif (stats.length == 0 && !note) {\n return property;\n}\n\nstats.unshift(\n (property[name] < 0 ? \"-\" : \"+\") +\n Math.abs(property[name]));\nconst parts = [stats.join(\" \")];\nif (note) {\n parts.push(note);\n}\nreturn {[name]: parts.join(\", \")};" + }, + { + type: "saves", + id: "b82b0a1a9969", + properties: [ + "attributes" + ], + fallback: "-", + conditioned: true, + display: "" + }, + { + type: "property", + id: "1b6a98ba4888", + properties: [ + "items" + ], + fallback: "-", + display: "Items", + conditioned: true + }, + { + type: "traits", + id: "e96ba9d8a80a", + properties: [ + "abilities_top" + ], + fallback: "-", + conditioned: true, + dice: true, + markdown: true, + heading: " ", + hasRule: false + } + ], + hasRule: true + }, + { + type: "group", + id: "faaa08993a98", + properties: [], + nested: [ + { + type: "inline", + id: "3a5ab84a2b89", + properties: [], + nested: [ + { + type: "inline", + id: "cb6a7809aa2b", + properties: [], + nested: [ + { + type: "property", + id: "6b0b0bda0a7a", + properties: [ + "ac" + ], + fallback: "-", + display: "AC" + }, + { + type: "property", + id: "0908aaab3b1b", + properties: [ + "acNote" + ], + fallback: "-", + conditioned: true, + display: "" + } + ], + cls: "withnote", + conditioned: true + }, + { + type: "saves", + id: "9999386a58ea", + properties: [ + "saves" + ], + fallback: "-", + dice: true, + display: "", + conditioned: true, + callback: "const keys = [...Object.keys(property)];\nconst name = keys.shift();\n\nif (name === \"note\") {\n return {note: property.note};\n}\n\nvar note;\nvar stats = [];\nfor (const key of keys) {\n if (key === \"note\") {\n note = property[key];\n } else {\n const sign = property[key] < 0 ? \"-\" : \"+\";\n const num = Math.abs(property[key]);\n stats.push(`(${sign}${num} ${key})`);\n }\n}\n\nif (stats.length == 0 && !note) {\n return property;\n}\n\nstats.unshift(\n (property[name] < 0 ? \"-\" : \"+\") +\n Math.abs(property[name]));\nconst parts = [stats.join(\" \")];\nif (note) {\n parts.push(note);\n}\nreturn {[name]: parts.join(\", \")};" + } + ], + cls: "oneline", + conditioned: true + }, + { + type: "inline", + id: "ea29d9ea5aa8", + properties: [], + nested: [ + { + type: "inline", + id: "39584be95ae9", + properties: [], + nested: [ + { + type: "property", + id: "bb6989092939", + properties: [ + "hp" + ], + fallback: "-", + display: "HP" + }, + { + type: "property", + id: "b9fa1a89c8d9", + properties: [ + "hpNote" + ], + fallback: "-", + doNotAddClass: false, + conditioned: true, + display: "" + } + ], + cls: "withnote", + conditioned: true + }, + { + type: "property", + id: "4bbaa9380a9b", + properties: [ + "hardness" + ], + fallback: "-", + display: "Hardness", + conditioned: true + }, + { + type: "property", + id: "0a8ac8d96bba", + properties: [ + "immunities" + ], + fallback: "-", + conditioned: true, + display: "Immunities" + }, + { + type: "property", + id: "78689b6b6b79", + properties: [ + "weaknesses" + ], + fallback: "-", + conditioned: true, + display: "Weaknesses" + }, + { + type: "property", + id: "8b7a3b89fa59", + properties: [ + "resistances" + ], + fallback: "-", + conditioned: true, + display: "Resistances" + } + ], + cls: "oneline", + conditioned: true + }, + { + type: "traits", + id: "ca2bf968987b", + properties: [ + "abilities_mid" + ], + fallback: "-", + heading: "", + conditioned: true, + dice: true, + markdown: true, + hasRule: false + } + ], + hasRule: true + }, + { + type: "group", + id: "cbeabaf93b58", + properties: [], + nested: [ + { + type: "property", + id: "0b4809ba0b29", + properties: [ + "speed" + ], + fallback: "-", + display: "Speed", + conditioned: true, + markdown: true, + dice: false + }, + { + type: "traits", + id: "882bc9aa0898", + properties: [ + "attacks" + ], + fallback: "-", + conditioned: true, + dice: true, + markdown: true, + headingProp: false, + heading: "", + callback: "var s = \"\";\nif (property.bonus) {\n s += (property.bonus < 0 ? \"-\" : \"+\") + Math.abs(property.bonus);\n}\nif (property.desc) {\n s += \" \" + property.desc\n}\nif (property.damage) {\n s += \", __Damage__ \" + property.damage\n}\nreturn s" + }, + { + type: "traits", + id: "faeafb7b6b1b", + properties: [ + "spellcasting" + ], + fallback: "-", + conditioned: true, + dice: true + }, + { + type: "traits", + id: "aacb399a3b58", + properties: [ + "abilities_bot" + ], + fallback: "-", + conditioned: true, + dice: true, + markdown: true, + hasRule: false + } + ], + hasRule: true + }, + { + type: "text", + id: "1b195a894b58", + properties: [ + "token" + ], + text: null, + fallback: "", + heading: "Show to Players", + conditioned: true, + markdown: true + }, + { + type: "image", + id: "1bba89582b29", + properties: [ + "token" + ], + fallback: "", + conditioned: true, + hasRule: true + }, + { + type: "property", + id: "88e97a485b79", + properties: [ + "sourcebook" + ], + fallback: "-", + conditioned: true, + markdown: true, + dice: false, + display: " Source:" + } + ], + name: "Pathfinder 2e Creature Layout", + id: "b8ab3ae89a0a", + diceParsing: [ + { + regex: "(\\s|^)(\\d+d\\d+(?:\\s*[+-]\\s*\\d+)?)(\\W|$)", + parser: "const [, before, text, after] = matches;\nreturn [before + text, \" (\", { text }, \")\", after];", + id: "4a79397b896a", + desc: "1d6+10" + }, + { + regex: "(^|\\s)([+-]\\d+)(\\W|$)(?!status|bonus)", + parser: "let [, before, bonus, after] = matches;\nreturn [\n before + bonus,\n \" (\", { text: \"1d20\" + bonus }, \")\",\n after\n];", + id: "8bb8fbbb0869", + desc: "+15" + } + ], + edited: true +} diff --git a/src/layouts/pathfinder 2e/publish/Basic Pathfinder 2e Layout.md b/src/layouts/pathfinder 2e/publish/Basic Pathfinder 2e Layout.md deleted file mode 100644 index 1c318d6f..00000000 --- a/src/layouts/pathfinder 2e/publish/Basic Pathfinder 2e Layout.md +++ /dev/null @@ -1,102 +0,0 @@ ---- -aliases: [Basic Pathfinder 2e Layout] -description: "This page provides a basic code block for the Basic Pathfinder 2e Layout included within Fantasy Statblocks." -image: -order: 4 -permalink: statblock/layouts/integrated/pf2e -publish: true -tags: [Statblocks/Layout/PF2e] ---- - -[[Fantasy Statblocks|Fantasy Statblocks]] > [[Integrated Layouts|Integrated Statblock Layouts]] > *You Are Here* - ---- - -This page provides a basic code block for the Pathfinder 2e layout included within Fantasy Statblocks. - -The layout includes all the essential [[Key|Key]] information needed to create a creature, now it is up to you and your imagination to do the rest. Make its abilities, attacks, and skills. Give it spells, or an image. Turn your favorite character into a statblock, or even the building across the street. - -## Sample Image - ->[!screenshot]- Screenshot of a Seething Umbral Dragon -> ![Seething Umbral Dragon](https://github.com/valentine195/fantasy-statblocks/blob/gh-pages/images/statblock/pf2e.png?raw=true) - -## PF2e Code Block - -````yaml -```statblock -columns: Number -forcecolumns: Boolean -layout: Layout Number -source: "Source in String" -name: "Name in String" -level: "Creature 16" -rare_01: "Rarity in String" -rare_02: "Rarity in String" -rare_03: "Rarity in String" -rare_04: "Rarity in String" -alignment: "Alignment in String" -size: "Size in String" -trait_01: "Trait in String" -trait_02: "Trait in String" -trait_03: "Trait in String" -trait_04: "Trait in String" -trait_05: "Trait in String" -trait_06: "Trait in String" -trait_07: "Trait in String" -modifier: Number -perception: - - name: "Perception or Name in String" - desc: "Description in String" -languages: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." -skills: - - name: "Name in String" - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." -abilityMods: [8, 5, 6, 4, 5, 5] - -abilities_mid: - - name: "Name in String" - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - - name: "Name in String" - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." -abilities_bot: - - name: "Name in String" - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - - name: "Name in String" - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - - name: "Name in String" - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - - name: "Name in String" - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - -speed: Speed in no string - -ac: Number -armorclass: - - name: Name - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." -hp: Number -health: - - name: Name - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - - -attacks: - - name: Name - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - - name: Name - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - - name: Name - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - - name: Name - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." - -spellcasting: - - name: "Name in String" - desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." -sourcebook: "Name in String" -``` -```` - - ---- diff --git a/src/layouts/pathfinder 2e/publish/Pathfinder 2e Layouts.md b/src/layouts/pathfinder 2e/publish/Pathfinder 2e Layouts.md new file mode 100644 index 00000000..504fdf9d --- /dev/null +++ b/src/layouts/pathfinder 2e/publish/Pathfinder 2e Layouts.md @@ -0,0 +1,205 @@ +--- +aliases: + - Pathfinder 2e Layouts + - Basic Pathfinder 2e Layout + - Pathfinder 2e Creature Layout +description: "This page provides a basic code block for the Pathfinder 2e Layouts which are included within Fantasy Statblocks." +image: +order: 4 +permalink: statblock/layouts/integrated/pf2e +publish: true +tags: [Statblocks/Layout/PF2e] +--- + +[[Fantasy Statblocks|Fantasy Statblocks]] > [[Integrated Layouts|Integrated Statblock Layouts]] > *You Are Here* + +--- + +This page provides basic code blocks for the Pathfinder 2e layouts included within Fantasy Statblocks. + +The layouts include all the essential [[Key|Key]] information needed to create a creature—now it is up to you and your imagination to do the rest. Make its abilities, attacks, and skills. Give it spells, or an image. Turn your favorite character into a statblock, or even the building across the street. + +There are two Pathfinder 2e layout types. Both layouts look the same with the default settings, but their statblocks are defined differently. + +- [[#Pathfinder 2e Creature Layout]]: Use this for regular creatures and NPCs. This is what you should use in most circumstances. +- [[#Basic Pathfinder 2e Layout]]: This is a more basic layout which is not as specialised for creatures, but can be used for other types (e.g. hazards). It can also be used for creatures. + +>[!screenshot]- Screenshot of a Seething Umbral Dragon +> ![Seething Umbral Dragon](https://github.com/valentine195/fantasy-statblocks/blob/gh-pages/images/statblock/pf2e.png?raw=true) + +## Pathfinder 2e Creature Layout + +Most fields are optional. If you're using the Initiative Tracker plugin, then the required fields for full functionality are: +- `name` +- `level` +- `modifier` +- `ac` +- `hp` + +```yaml +```statblock +layout: Pathfinder 2e Creature Layout +source: Abbreviated source +sourcebook: Full book reference with page number +name: Creature name +level: Creature 0 + +alignment: Alignment +size: Size of the creature, e.g. medium +rarity: Rarity of the creature, e.g. uncommon +traits: + - A generic trait for the creature, e.g. unholy + - "[[Traits can be links but they need to be surrounded in quotes]]" + +modifier: Perception modifier as a number, e.g. 14 +senses: Additional senses and related abilities, e.g. darkvision, scent (imprecise) 30 feet +languages: Languages the creature knows e.g. Aklo; telepathy 100 feet +skills: + - The Name Of A Skill: The creature's bonus for this skill as a number, e.g. 12 + A situation where a different bonus applies, e.g. to Escape: An alternate bonus for this case as a number, e.g. 14. Notice the indentation and lack of a "- " at the start of the line. + note: Optionally, a skill might have an associated note. In this case, you can include it like this. Notice the indentation and lack of a "- " at the start of the line + - "Lore: Something": You can include Lore skills too, but you need to surround the name in quotes + - note: Optionally, you can include notes to do with skills in general here, with the "note" name +attributes: + - str: Strength attribute modifier for the creature, e.g. +1 + - dex: 1 + - con: -2 + - int: 0 + - wis: -3 + - cha: 4 +items: Items in the creature's possession e.g. javelin (5), longspear + +abilities_top: + - name: Name of an ability which should be displayed in the top part of the statblock, e.g. Reactive Strike + desc: Ability description. You can use ⬻, ⬺, ⬽, ⬲ and ⭓ for action icons, and you can use markdown formatting here. + +ac: DC to hit the creature, as a number, e.g. 24 +acNote: Any related notes to the AC. This is rendered after the AC with a space in between. e.g. (22 with shed scales) +saves: + - fort: Fortitude saving throw for the creature + note: Optionally you can include any notes relating to this saving throw here. Notice the indentation and lack of a "- " at the start of the line + - ref: Reflex saving throw for the creature + A situation where a different bonus applies, e.g. vs traps: An alternate bonus for this situation, e.g. 14. Notice the indentation and lack of a "- " at the start of the line + - will: Will saving throw for the creature + - note: Optionally, you can include notes to do with the saves in general here, with the "note" name, e.g. +1 status to all saves vs magic +hp: HP of the creature as a number, e.g. 120 +hpNote: Any notes relating to the creature's HP, e.g. head regrowth, regeneration hydra +hardness: Hardness of the creature as a number, for construct types, e.g. 5 +immunities: Creature's immunities as a string, e.g. death effects +resistances: Creature's resistances as a string, e.g. fire 5 +weaknesses: Creature's weaknesses as a string, e.g. cold 5 + +abilities_mid: + - name: Name of an ability which should be displayed in the middle part of the statblock. + desc: Ability description. A pattern like +N or NdN will be turned into Dice Roller blocks if you have the plugin installed. e.g. The creature makes a +20 Acrobatics check or it takes 4d10+4 damage and falls prone. + +speed: Creature's speed as a string, e.g. 25 feet, swim 25 feet + +abilities_bot: + - name: Name of an ability which should be displayed in the bottom part of the statblock. + desc: > + If you want to use multiple lines, you can use the ">" character like this, and then you can + use multiple lines in the description and they will be removed in the rendered output. + This can be useful for longer abilities or those with formatting. Example: + ⬲ **Trigger** The creature is targeted with a melee or ranged attack; + **Effect** The creature gains a +2 circumstance bonus to AC against the triggering attack. + +attacks: + - name: __Melee/Ranged__ ⬻ name of the strike, e.g. tail + bonus: Attack bonus for this strike as a number, e.g. 12 + damage: Damage and on-hit effects for this attack, e.g. 2d4+3 bludgeoning plus Knockdown + desc: Description for this attack which should go before the damage, such as traits. e.g. (agile) + +spellcasting: + - name: Name of a type of spellcasting, e.g. Divine Innate Spells + dc: DC for spells within this group, e.g. 32 + bonus: Attack bonus for spells within this group, e.g. 15 + fp: Number of focus points available for casting spells within this group, e.g. 2 + desc: > + The spells. You can use a quoted string here, or you can use "> " and indent the rest to use multiple + lines without having multiple lines in the rendered output. Example: + **4th** heal (x4), invisibility (at will; self only); + **Cantrips (4th)** dancing lights, detect magic; + **Constant (7th)** see invisibility; + **(5th)** tongues +``` + +## Basic Pathfinder 2e Layout + +````yaml +```statblock +columns: Number +forcecolumns: Boolean +layout: Basic Pathfinder 2e Layout +source: "Source in String" +name: "Name in String" +level: "Creature 16" +rare_01: "Rarity in String" +rare_02: "Rarity in String" +rare_03: "Rarity in String" +rare_04: "Rarity in String" +alignment: "Alignment in String" +size: "Size in String" +trait_01: "Trait in String" +trait_02: "Trait in String" +trait_03: "Trait in String" +trait_04: "Trait in String" +trait_05: "Trait in String" +trait_06: "Trait in String" +trait_07: "Trait in String" +modifier: Number +perception: + - name: "Perception or Name in String" + desc: "Description in String" +languages: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." +skills: + - name: "Name in String" + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." +abilityMods: [8, 5, 6, 4, 5, 5] + +abilities_mid: + - name: "Name in String" + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + - name: "Name in String" + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." +abilities_bot: + - name: "Name in String" + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + - name: "Name in String" + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + - name: "Name in String" + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + - name: "Name in String" + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + +speed: Speed in no string + +ac: Number +armorclass: + - name: Name + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." +hp: Number +health: + - name: Name + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + + +attacks: + - name: Name + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + - name: Name + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + - name: Name + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + - name: Name + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." + +spellcasting: + - name: "Name in String" + desc: "Description in String. Links in Wikilink. Bolds surrounded by Underscores." +sourcebook: "Name in String" +``` +```` + + +--- diff --git a/src/layouts/pathfinder 2e/xCSS/pf2e.css b/src/layouts/pathfinder 2e/xCSS/pf2e.css index 3c9ff81d..8391a2bb 100644 --- a/src/layouts/pathfinder 2e/xCSS/pf2e.css +++ b/src/layouts/pathfinder 2e/xCSS/pf2e.css @@ -1,59 +1,19 @@ -@charset "UTF-8"; /*! Pathfinder TTRPG General Statblock Layout CSS -version: 1.5.0 +version: 1.6.1 by: Moritz Jung (https://github.com/mProjectsCode) and Sigrunixia repo: https://github.com/mProjectsCode/obsidian-pathfinder2e-statblocks This file was generated from SCSS. -Looking for `!important`? Check for Rare_0X, and Trait_0X. That is the only spots they are used in this file. -*/ -/* -Pathfinder Glyphs Only and any associated classes to call those Glyphs -*/ -@font-face { - font-family: "Pathfinder"; - src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8xOUgAAAC8AAAAYGNtYXBWj1fJAAABHAAAAHRnYXNwAAAAEAAAAZAAAAAIZ2x5ZlORXq8AAAGYAAACYGhlYWQnahodAAAD+AAAADZoaGVhDDUIawAABDAAAAAkaG10eCWQAIcAAARUAAAAKGxvY2ECvAH8AAAEfAAAABZtYXhwAA8APwAABJQAAAAgbmFtZQQfBa8AAAS0AAAC63Bvc3QAAwAAAAAHoAAAACAAAwTLAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABAAAAIAAAAAAAAAAAAAAAAABAAAArUwPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAWAAAABIAEAADAAIAAQAgADArMis7Kz0rU//9//8AAAAAACAAMCsyKzorPStT//3//wAB/+P/1NTT1MzUy9S2AAMAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAgAoACIEHwNXADcAPAAAASYnJicmJyYHBgcGBwYHBgc2NzY3Njc2NzYXFhcWFxYXFgcGBwYHBgcGBwYnFhcWNzY3Njc2NzYBBSc3AQQdFzs8VFNlZWpLQUEzMyQkERUdHSMkKSouVVFRQ0QwMBISEBEsK0RDVRwcGxs/REVFalRUNjYVFPyNAeltOP5MAkdHOTklJQ0ODwsYGCIiKyovGhYXEhINDQcMCwsdHi4uOTo3Ny0uISAMBAECAQ4DAwoPKSg5OEVE/opnldf++wAAAAMAIP/BBmADvwAFAAkADwAACQEHCQEXAQcXNyUBBxcHFwQa/gH2AQj++Pb+vLe3twTS/kDZ6OjZAcAB//f++P749wK2t7e3CAHA2Ojo2QAAAgAC/8AD/gPAAAUACQAACQEHCQEXAQcXNwP+/gD3AQn+9/f+u7e3twHAAgD3/vf+9/cCt7e3twAEAC3/wAhzA8AABQALAA8AFQAACQEHCQEXCQEHFwcXAQcXNyUBBxcHFwQp/gD3AQn+9/cGSv6Yr7u7r/nZt7e3BNz+P9rp6doBwAIA9/73/vf3AgoBaK66u64CFre3twgBwdno6dkAAAMAEP/ABBADwAAEAAkADwAACQQBNxcHJwEnNyc3AQIU/fwB/QID/gT+uG1tbW0BN3H79XwBZwPA/fr+BgIDAf3+EG1tbW3+hHH79nz+mQAAAQAAAAEZmgtZ1jpfDzz1AAsEAAAAAADf694DAAAAAN/r3gMAAP/ACHMDwAAAAAgAAgAAAAAAAAABAAADwP/AAAAIoAAAAAAIcwABAAAAAAAAAAAAAAAAAAAACgQAAAAAAAAAAAAAAAIAAAAEAAAABFAAKAaAACAEAAACCKAALQQgABAAAAAAAAoAFAAeACgAkAC4ANQBCAEwAAAAAQAAAAoAPQAEAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAABIA3gABAAAAAAABAAoAAAABAAAAAAACAAcB2gABAAAAAAADAAoBngABAAAAAAAEAAoB7wABAAAAAAAFAAsBfQABAAAAAAAGAAoBvAABAAAAAAAKADYA2wABAAAAAAANABcAHgABAAAAAAAOACgAYwADAAEECQABABQACgADAAEECQACAA4B4QADAAEECQADABQBqAADAAEECQAEABQB+QADAAEECQAFABYBiAADAAEECQAGABQBxgADAAEECQAKAGwBEQADAAEECQANAC4ANQADAAEECQAOAFAAi1BhdGhmaW5kZXIAUABhAHQAaABmAGkAbgBkAGUAclBhaXpvIENvbW11bml0eSBMaWNlbnNlAFAAYQBpAHoAbwAgAEMAbwBtAG0AdQBuAGkAdAB5ACAATABpAGMAZQBuAHMAZWh0dHBzOi8vcGFpem8uY29tL2NvbW11bml0eS9jb21tdW5pdHl1c2UAaAB0AHQAcABzADoALwAvAHAAYQBpAHoAbwAuAGMAbwBtAC8AYwBvAG0AbQB1AG4AaQB0AHkALwBjAG8AbQBtAHUAbgBpAHQAeQB1AHMAZVBhdGhmaW5kZXIgMmUgQWN0aW9uIEdseXBocwpGb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBQAGEAdABoAGYAaQBuAGQAZQByACAAMgBlACAAQQBjAHQAaQBvAG4AIABHAGwAeQBwAGgAcwAKAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALlZlcnNpb24gMS4xAFYAZQByAHMAaQBvAG4AIAAxAC4AMVBhdGhmaW5kZXIAUABhAHQAaABmAGkAbgBkAGUAclBhdGhmaW5kZXIAUABhAHQAaABmAGkAbgBkAGUAclJlZ3VsYXIAUgBlAGcAdQBsAGEAclBhdGhmaW5kZXIAUABhAHQAaABmAGkAbgBkAGUAcgAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==") format("truetype"); - font-weight: normal; - font-style: normal; - font-display: block; - unicode-range: U+2B32, U+2B3A, U+2B3B, U+2B3D, U+2B53; -} -[class^=glyph-], -[class*=" glyph-"] { - /* use !important to prevent issues with browser extensions that change fonts */ - font-family: "Pathfinder", serif !important; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - /* Better Font Rendering =========== */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.glyph-1action:before { - content: "⬻"; -} - -.glyph-2actions:before { - content: "⬺"; -} - -.glyph-3actions:before { - content: "⬽"; -} - -.glyph-free:before { - content: "⭓"; -} - -.glyph-reaction:before { - content: "⬲"; -} +Looking for `!important`? +- Check for: +Rare_0X +Trait_0X +Popover +That is the only spots they are used in this file. +*/ /*! /* @settings name: Pathfinder 2e Statblocks @@ -116,6 +76,20 @@ settings: - label: Kingmaker value: pathfinder-2e-influence-layout-theme-kingmaker + - + id: layout-theme-item + title: Item Statblock Theme + description: The theme of the item statblock + type: class-select + allowEmpty: false + default: pathfinder-2e-item-layout-theme-default + options: + - + label: Default + value: pathfinder-2e-item-layout-theme-default + - + label: Kingmaker + value: pathfinder-2e-item-layout-theme-kingmaker - id: layout-theme-misc title: Misc Statblock Theme @@ -130,6 +104,20 @@ settings: - label: Kingmaker value: pathfinder-2e-misc-layout-theme-kingmaker + - + id: layout-theme-plane + title: Plane Statblock Theme + description: The theme of the plane statblock + type: class-select + allowEmpty: false + default: pathfinder-2e-plane-layout-theme-default + options: + - + label: Default + value: pathfinder-2e-plane-layout-theme-default + - + label: Kingmaker + value: pathfinder-2e-plane-layout-theme-kingmaker - id: layout-theme-quest title: Quest Statblock Theme @@ -168,7 +156,15 @@ body.basic-pathfinder-2e-layout-theme-default .statblock.basic-pathfinder-2e-lay --statblock-color-size: rgb(75, 122, 92); --statblock-color-trait: rgb(86, 12, 6); } - +body.pathfinder-2e-creature-layout-theme-default .statblock.pathfinder-2e-creature-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(89, 98, 143); + --statblock-color-size: rgb(75, 122, 92); + --statblock-color-trait: rgb(86, 12, 6); +} body.pathfinder-2e-action-layout-theme-default .statblock.pathfinder-2e-action-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -178,7 +174,6 @@ body.pathfinder-2e-action-layout-theme-default .statblock.pathfinder-2e-action-l --statblock-color-size: rgb(75, 122, 92); --statblock-color-trait: rgb(86, 12, 6); } - body.pathfinder-2e-hazard-layout-theme-default .statblock.pathfinder-2e-hazard-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -188,7 +183,6 @@ body.pathfinder-2e-hazard-layout-theme-default .statblock.pathfinder-2e-hazard-l --statblock-color-size: rgb(75, 122, 92); --statblock-color-trait: rgb(86, 12, 6); } - body.pathfinder-2e-influence-layout-theme-default .statblock.pathfinder-2e-influence-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -198,7 +192,15 @@ body.pathfinder-2e-influence-layout-theme-default .statblock.pathfinder-2e-influ --statblock-color-size: rgb(75, 122, 92); --statblock-color-trait: rgb(86, 12, 6); } - +body.pathfinder-2e-item-layout-theme-default .statblock.pathfinder-2e-item-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(89, 98, 143); + --statblock-color-size: rgb(75, 122, 92); + --statblock-color-trait: rgb(86, 12, 6); +} body.pathfinder-2e-misc-layout-theme-default .statblock.pathfinder-2e-misc-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -208,7 +210,15 @@ body.pathfinder-2e-misc-layout-theme-default .statblock.pathfinder-2e-misc-layou --statblock-color-size: rgb(75, 122, 92); --statblock-color-trait: rgb(86, 12, 6); } - +body.pathfinder-2e-plane-layout-theme-default .statblock.pathfinder-2e-plane-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(89, 98, 143); + --statblock-color-size: rgb(75, 122, 92); + --statblock-color-trait: rgb(86, 12, 6); +} body.pathfinder-2e-quest-layout-theme-default .statblock.pathfinder-2e-quest-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -218,7 +228,6 @@ body.pathfinder-2e-quest-layout-theme-default .statblock.pathfinder-2e-quest-lay --statblock-color-size: rgb(75, 122, 92); --statblock-color-trait: rgb(86, 12, 6); } - body.pathfinder-2e-settlement-layout-theme-default .statblock.pathfinder-2e-settlement-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -228,7 +237,15 @@ body.pathfinder-2e-settlement-layout-theme-default .statblock.pathfinder-2e-sett --statblock-color-size: rgb(75, 122, 92); --statblock-color-trait: rgb(86, 12, 6); } - +body.pathfinder-2e-affliction-layout-theme-default .statblock.pathfinder-2e-affliction-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(89, 98, 143); + --statblock-color-size: rgb(75, 122, 92); + --statblock-color-trait: rgb(86, 12, 6); +} body.basic-pathfinder-2e-layout-theme-kingmaker .statblock.basic-pathfinder-2e-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -238,7 +255,15 @@ body.basic-pathfinder-2e-layout-theme-kingmaker .statblock.basic-pathfinder-2e-l --statblock-color-size: rgb(25, 66, 26); --statblock-color-trait: rgb(125, 143, 63); } - +body.pathfinder-2e-creature-layout-theme-kingmaker .statblock.pathfinder-2e-creature-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(97, 129, 157); + --statblock-color-size: rgb(25, 66, 26); + --statblock-color-trait: rgb(125, 143, 63); +} body.pathfinder-2e-action-layout-theme-kingmaker .statblock.pathfinder-2e-action-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -248,7 +273,6 @@ body.pathfinder-2e-action-layout-theme-kingmaker .statblock.pathfinder-2e-action --statblock-color-size: rgb(25, 66, 26); --statblock-color-trait: rgb(125, 143, 63); } - body.pathfinder-2e-hazard-layout-theme-kingmaker .statblock.pathfinder-2e-hazard-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -258,7 +282,6 @@ body.pathfinder-2e-hazard-layout-theme-kingmaker .statblock.pathfinder-2e-hazard --statblock-color-size: rgb(25, 66, 26); --statblock-color-trait: rgb(125, 143, 63); } - body.pathfinder-2e-influence-layout-theme-kingmaker .statblock.pathfinder-2e-influence-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -268,7 +291,15 @@ body.pathfinder-2e-influence-layout-theme-kingmaker .statblock.pathfinder-2e-inf --statblock-color-size: rgb(25, 66, 26); --statblock-color-trait: rgb(125, 143, 63); } - +body.pathfinder-2e-item-layout-theme-kingmaker .statblock.pathfinder-2e-item-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(97, 129, 157); + --statblock-color-size: rgb(25, 66, 26); + --statblock-color-trait: rgb(125, 143, 63); +} body.pathfinder-2e-misc-layout-theme-kingmaker .statblock.pathfinder-2e-misc-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -278,7 +309,15 @@ body.pathfinder-2e-misc-layout-theme-kingmaker .statblock.pathfinder-2e-misc-lay --statblock-color-size: rgb(25, 66, 26); --statblock-color-trait: rgb(125, 143, 63); } - +body.pathfinder-2e-plane-layout-theme-kingmaker .statblock.pathfinder-2e-plane-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(97, 129, 157); + --statblock-color-size: rgb(25, 66, 26); + --statblock-color-trait: rgb(125, 143, 63); +} body.pathfinder-2e-quest-layout-theme-kingmaker .statblock.pathfinder-2e-quest-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -288,7 +327,6 @@ body.pathfinder-2e-quest-layout-theme-kingmaker .statblock.pathfinder-2e-quest-l --statblock-color-size: rgb(25, 66, 26); --statblock-color-trait: rgb(125, 143, 63); } - body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-settlement-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -298,7 +336,54 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-color-size: rgb(25, 66, 26); --statblock-color-trait: rgb(125, 143, 63); } - +body.pathfinder-2e-affliction-layout-theme-kingmaker .statblock.pathfinder-2e-affliction-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(97, 129, 157); + --statblock-color-size: rgb(25, 66, 26); + --statblock-color-trait: rgb(125, 143, 63); +} +@font-face { + font-family: "Pathfinder-Actions"; + src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAANAIAAAwBQRkZUTaBf/YkAAAkkAAAAHEdERUYAJQAAAAAJDAAAABhPUy8yDzE5wAAAAVgAAABgY21hcIUPLFwAAAHcAAABcGdhc3AAAAAQAAAJBAAAAAhnbHlmv0sljgAAA2AAAAIwaGVhZCgbkG4AAADcAAAANmhoZWEMNQhqAAABFAAAACRobXR4IOUAhwAAAbgAAAAkbG9jYQGoAlQAAANMAAAAFG1heHAADgA/AAABOAAAACBuYW1l5gKtSAAABZAAAAMGcG9zdJP9aoAAAAiYAAAAbAABAAAAARmaJrDlgl8PPPUACwQAAAAAAN/r3gMAAAAA4J1UVAAA/8AIcwPAAAAACAACAAAAAAAAAAEAAAPA/8AAAAigAAAAAAhzAAEAAAAAAAAAAAAAAAAAAAAJAAEAAAAJAD0ABAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAwVCAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABAAAAIAAAAAAAAAAAAAAAAABAAAArUwPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAEEAAAAAAAAAAFVAAAAAAAABFAAKAaAACAEAAACCKAALQQgABAAAAADAAAAAwAAABwAAQAAAAAAagADAAEAAAAcAAQATgAAAAwACAACAAQAASsyKz0rU//9//8AAAAAKzIrOitT//3//wAA1NIAANS1AAAAAQAMAAAADAAAABAAAAABAAMABQAGAAAABwAAAAABBgAAAQMAAAAAAAABAgAAAAIAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAIABAAeACgALwA8AEYAAEAAAAAAAAAAAACAAA5AgABAAAAAAAAAAAAAgAAOQIAAgAoACIEMwNlADcAPAAAASYnJicmJyYHBgcGBwYHBgc2NzY3Njc2NzYXFhcWFxYXFgcGBwYHBgcGBwYnFhcWNzY3Njc2NzYBBSc3AQQdFzs8VFNlZWpLQUEzMyQkERUdHSMkKSouVVFRQ0QwMBISEBEsK0RDVRwcGxs/REVFalRUNjYVFPyNAeltOP5MAkdHOTklJQ0ODwsYGCIiKyovGhYXEhINDQcMCwsdHi4uOTo3Ny0uISAMBAECAQ4DAwoPKSg5OEVE/opnldf++wAAAAMAIP/BBmADvwAFAAkADwAACQEHCQEXAQcXNyUBBxcHFwQa/gH2AQj++Pb+vLe3twTS/kDZ6OjZAcAB//f++P749wK2t7e3CAHA2Ojo2QAAAgAC/8AD/gPAAAUACQAACQEHCQEXAQcXNwP+/gD3AQn+9/f+u7e3twHAAgD3/vf+9/cCt7e3twAEAC3/wAhzA8AABQALAA8AFQAACQEHCQEXCQEHFwcXAQcXNyUBBxcHFwQp/gD3AQn+9/cGSv6Yr7u7r/nZt7e3BNz+P9rp6doBwAIA9/73/vf3AgoBaK66u64CFre3twgBwdno6dkAAAMAEP/ABBADwAAEAAkADwAACQU3FwcnASc3JzcBAhT9/AH9AgP+BP64bW1tbQE3cfv1fAFnA8D9+v4GAgMB/f4QbW1tbf6Ecfv2fP6ZAAAAAAASAN4AAQAAAAAAAQAKABYAAQAAAAAAAgAHADEAAQAAAAAAAwAKAE8AAQAAAAAABAAKAHAAAQAAAAAABQALAJMAAQAAAAAABgAKALUAAQAAAAAACgA2AS4AAQAAAAAADQAXAZUAAQAAAAAADgAoAf8AAwABBAkAAQAUAAAAAwABBAkAAgAOACEAAwABBAkAAwAUADkAAwABBAkABAAUAFoAAwABBAkABQAWAHsAAwABBAkABgAUAJ8AAwABBAkACgBsAMAAAwABBAkADQAuAWUAAwABBAkADgBQAa0AUABhAHQAaABmAGkAbgBkAGUAcgAAUGF0aGZpbmRlcgAAUgBlAGcAdQBsAGEAcgAAUmVndWxhcgAAUABhAHQAaABmAGkAbgBkAGUAcgAAUGF0aGZpbmRlcgAAUABhAHQAaABmAGkAbgBkAGUAcgAAUGF0aGZpbmRlcgAAVgBlAHIAcwBpAG8AbgAgADEALgAxAABWZXJzaW9uIDEuMQAAUABhAHQAaABmAGkAbgBkAGUAcgAAUGF0aGZpbmRlcgAAUABhAHQAaABmAGkAbgBkAGUAcgAgADIAZQAgAEEAYwB0AGkAbwBuACAARwBsAHkAcABoAHMACgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAFBhdGhmaW5kZXIgMmUgQWN0aW9uIEdseXBocwpGb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgAAUABhAGkAegBvACAAQwBvAG0AbQB1AG4AaQB0AHkAIABMAGkAYwBlAG4AcwBlAABQYWl6byBDb21tdW5pdHkgTGljZW5zZQAAaAB0AHQAcABzADoALwAvAHAAYQBpAHoAbwAuAGMAbwBtAC8AYwBvAG0AbQB1AG4AaQB0AHkALwBjAG8AbQBtAHUAbgBpAHQAeQB1AHMAZQAAaHR0cHM6Ly9wYWl6by5jb20vY29tbXVuaXR5L2NvbW11bml0eXVzZQAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkAAAECAAIBAwEEAQUBBgEHAQgHdW5pMDAwMAd1bmkwMDAxB3VuaTJCMzIHdW5pMkIzQQd1bmkyQjNCB3VuaTJCM0QHdW5pMkI1MwABAAH//wAPAAEAAAAMAAAAEAAAAAIAAAAEAAAAAgAAAAAAAQAAAADf1ssxAAAAAN/r3gMAAAAA4J1UVA==) format("truetype"); + font-weight: normal; + font-style: normal; + font-display: block; + unicode-range: + U+2B32, + U+2B3A, + U+2B3B, + U+2B3D, + U+2B53; +} +[class^=glyph-], +[class*=" glyph-"] { + font-family: "Pathfinder-Actions", serif !important; + font-style: 400; + font-weight: 400; + font-variant: 400; + text-transform: none; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} +.glyph-1action:before { + content: "\2b3b"; +} +.glyph-2actions:before { + content: "\2b3a"; +} +.glyph-3actions:before { + content: "\2b3d"; +} +.glyph-free:before { + content: "\2b53"; +} +.glyph-reaction:before { + content: "\2b32"; +} .statblock.basic-pathfinder-2e-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -327,13 +412,109 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-box-shadow-blur: 1.5em; --statblock-font-color: rgb(51, 51, 51); --statblock-font-weight: 400; - --statblock-content-font: "Pathfinder", system-ui, -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-content-font-size: 13px; - --statblock-heading-font: "Pathfinder", system-ui, -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; + --statblock-heading-font-color: rgb(51, 51, 51); + --statblock-heading-font-size: 1.35em; + --statblock-heading-font-variant: small-caps; + --statblock-heading-font-weight: 700; + --statblock-heading-line-height: 1; + --statblock-property-line-height: 1.33em; + --statblock-property-font-color: rgb(51, 51, 51); + --statblock-property-name-font-color: rgb(51, 51, 51); + --statblock-property-name-font-weight: bold; + --statblock-section-heading-border-size: 1px; + --statblock-section-heading-border-color: transparent; + --statblock-section-heading-font-color: rgb(51, 51, 51); + --statblock-section-heading-font-size: 1.33em; + --statblock-section-heading-font-variant: small-caps; + --statblock-section-heading-font-weight: 400; + --statblock-saves-line-height: 1.33em; + --statblock-spells-font-style: italic; + --statblock-table-header-font-weight: bold; + --statblock-column-width: 400px; + --statblock-traits-gap: 2px; +} +.statblock.pathfinder-2e-creature-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(89, 98, 143); + --statblock-color-size: rgb(75, 122, 92); + --statblock-color-trait: rgb(86, 12, 6); + --statblock-primary-color: rgb(51, 51, 51); + --statblock-rule-color: rgb(51, 51, 51); + --statblock-background-color: rgb(246, 244, 242); + --statblock-bar-color: rgb(51, 51, 51); + --statblock-bar-border-size: 1px; + --statblock-bar-border-color: rgb(51, 51, 51); + --statblock-image-width: 75px; + --statblock-image-height: 75px; + --statblock-image-border-size: 2px; + --statblock-image-border-color: rgb(51, 51, 51); + --statblock-header-image-height: 22px; + --statblock-header-image-padding: 0 0 2px 0; + --statblock-border-size: 1px; + --statblock-border-color: rgb(51, 51, 51); + --statblock-box-shadow-color: none; + --statblock-box-shadow-x-offset: 0; + --statblock-box-shadow-y-offset: 0; + --statblock-box-shadow-blur: 1.5em; + --statblock-font-color: rgb(51, 51, 51); + --statblock-font-weight: 400; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; + --statblock-content-font-size: 13px; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-heading-font-color: rgb(51, 51, 51); --statblock-heading-font-size: 1.35em; --statblock-heading-font-variant: small-caps; @@ -355,7 +536,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-column-width: 400px; --statblock-traits-gap: 2px; } - .statblock.pathfinder-2e-action-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -384,13 +564,33 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-box-shadow-blur: 1.5em; --statblock-font-color: rgb(51, 51, 51); --statblock-font-weight: 400; - --statblock-content-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-content-font-size: 13px; - --statblock-heading-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-heading-font-color: rgb(51, 51, 51); --statblock-heading-font-size: 1.35em; --statblock-heading-font-variant: small-caps; @@ -412,7 +612,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-column-width: 400px; --statblock-traits-gap: 2px; } - .statblock.pathfinder-2e-hazard-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -441,13 +640,33 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-box-shadow-blur: 1.5em; --statblock-font-color: rgb(51, 51, 51); --statblock-font-weight: 400; - --statblock-content-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-content-font-size: 13px; - --statblock-heading-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-heading-font-color: rgb(51, 51, 51); --statblock-heading-font-size: 1.35em; --statblock-heading-font-variant: small-caps; @@ -469,7 +688,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-column-width: 400px; --statblock-traits-gap: 2px; } - .statblock.pathfinder-2e-influence-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -498,13 +716,109 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-box-shadow-blur: 1.5em; --statblock-font-color: rgb(51, 51, 51); --statblock-font-weight: 400; - --statblock-content-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-content-font-size: 13px; - --statblock-heading-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; + --statblock-heading-font-color: rgb(51, 51, 51); + --statblock-heading-font-size: 1.35em; + --statblock-heading-font-variant: small-caps; + --statblock-heading-font-weight: 700; + --statblock-heading-line-height: 1; + --statblock-property-line-height: 1.33em; + --statblock-property-font-color: rgb(51, 51, 51); + --statblock-property-name-font-color: rgb(51, 51, 51); + --statblock-property-name-font-weight: bold; + --statblock-section-heading-border-size: 1px; + --statblock-section-heading-border-color: transparent; + --statblock-section-heading-font-color: rgb(51, 51, 51); + --statblock-section-heading-font-size: 1.33em; + --statblock-section-heading-font-variant: small-caps; + --statblock-section-heading-font-weight: 400; + --statblock-saves-line-height: 1.33em; + --statblock-spells-font-style: italic; + --statblock-table-header-font-weight: bold; + --statblock-column-width: 400px; + --statblock-traits-gap: 2px; +} +.statblock.pathfinder-2e-item-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(89, 98, 143); + --statblock-color-size: rgb(75, 122, 92); + --statblock-color-trait: rgb(86, 12, 6); + --statblock-primary-color: rgb(51, 51, 51); + --statblock-rule-color: rgb(51, 51, 51); + --statblock-background-color: rgb(246, 244, 242); + --statblock-bar-color: rgb(51, 51, 51); + --statblock-bar-border-size: 1px; + --statblock-bar-border-color: rgb(51, 51, 51); + --statblock-image-width: 75px; + --statblock-image-height: 75px; + --statblock-image-border-size: 2px; + --statblock-image-border-color: rgb(51, 51, 51); + --statblock-header-image-height: 22px; + --statblock-header-image-padding: 0 0 2px 0; + --statblock-border-size: 1px; + --statblock-border-color: rgb(51, 51, 51); + --statblock-box-shadow-color: none; + --statblock-box-shadow-x-offset: 0; + --statblock-box-shadow-y-offset: 0; + --statblock-box-shadow-blur: 1.5em; + --statblock-font-color: rgb(51, 51, 51); + --statblock-font-weight: 400; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; + --statblock-content-font-size: 13px; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-heading-font-color: rgb(51, 51, 51); --statblock-heading-font-size: 1.35em; --statblock-heading-font-variant: small-caps; @@ -526,7 +840,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-column-width: 400px; --statblock-traits-gap: 2px; } - .statblock.pathfinder-2e-misc-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); @@ -555,13 +868,33 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-box-shadow-blur: 1.5em; --statblock-font-color: rgb(51, 51, 51); --statblock-font-weight: 400; - --statblock-content-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-content-font-size: 13px; - --statblock-heading-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-heading-font-color: rgb(51, 51, 51); --statblock-heading-font-size: 1.35em; --statblock-heading-font-variant: small-caps; @@ -583,8 +916,7 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-column-width: 400px; --statblock-traits-gap: 2px; } - -.statblock.pathfinder-2e-quest-layout { +.statblock.pathfinder-2e-plane-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); --statblock-color-rare: rgb(11, 37, 96); @@ -612,13 +944,33 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-box-shadow-blur: 1.5em; --statblock-font-color: rgb(51, 51, 51); --statblock-font-weight: 400; - --statblock-content-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-content-font-size: 13px; - --statblock-heading-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-heading-font-color: rgb(51, 51, 51); --statblock-heading-font-size: 1.35em; --statblock-heading-font-variant: small-caps; @@ -640,8 +992,7 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-column-width: 400px; --statblock-traits-gap: 2px; } - -.statblock.pathfinder-2e-settlement-layout { +.statblock.pathfinder-2e-quest-layout { --statblock-color-common: rgb(54, 69, 79); --statblock-color-uncommon: rgb(143, 85, 66); --statblock-color-rare: rgb(11, 37, 96); @@ -669,13 +1020,185 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-box-shadow-blur: 1.5em; --statblock-font-color: rgb(51, 51, 51); --statblock-font-weight: 400; - --statblock-content-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-content-font-size: 13px; - --statblock-heading-font: system-ui, "Pathfinder", -apple-system, - BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, - "Open Sans", "Helvetica Neue", sans-serif; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; + --statblock-heading-font-color: rgb(51, 51, 51); + --statblock-heading-font-size: 1.35em; + --statblock-heading-font-variant: small-caps; + --statblock-heading-font-weight: 700; + --statblock-heading-line-height: 1; + --statblock-property-line-height: 1.33em; + --statblock-property-font-color: rgb(51, 51, 51); + --statblock-property-name-font-color: rgb(51, 51, 51); + --statblock-property-name-font-weight: bold; + --statblock-section-heading-border-size: 1px; + --statblock-section-heading-border-color: transparent; + --statblock-section-heading-font-color: rgb(51, 51, 51); + --statblock-section-heading-font-size: 1.33em; + --statblock-section-heading-font-variant: small-caps; + --statblock-section-heading-font-weight: 400; + --statblock-saves-line-height: 1.33em; + --statblock-spells-font-style: italic; + --statblock-table-header-font-weight: bold; + --statblock-column-width: 400px; + --statblock-traits-gap: 2px; +} +.statblock.pathfinder-2e-settlement-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(89, 98, 143); + --statblock-color-size: rgb(75, 122, 92); + --statblock-color-trait: rgb(86, 12, 6); + --statblock-primary-color: rgb(51, 51, 51); + --statblock-rule-color: rgb(51, 51, 51); + --statblock-background-color: rgb(246, 244, 242); + --statblock-bar-color: rgb(51, 51, 51); + --statblock-bar-border-size: 1px; + --statblock-bar-border-color: rgb(51, 51, 51); + --statblock-image-width: 75px; + --statblock-image-height: 75px; + --statblock-image-border-size: 2px; + --statblock-image-border-color: rgb(51, 51, 51); + --statblock-header-image-height: 22px; + --statblock-header-image-padding: 0 0 2px 0; + --statblock-border-size: 1px; + --statblock-border-color: rgb(51, 51, 51); + --statblock-box-shadow-color: none; + --statblock-box-shadow-x-offset: 0; + --statblock-box-shadow-y-offset: 0; + --statblock-box-shadow-blur: 1.5em; + --statblock-font-color: rgb(51, 51, 51); + --statblock-font-weight: 400; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; + --statblock-content-font-size: 13px; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; + --statblock-heading-font-color: rgb(51, 51, 51); + --statblock-heading-font-size: 1.35em; + --statblock-heading-font-variant: small-caps; + --statblock-heading-font-weight: 700; + --statblock-heading-line-height: 1; + --statblock-property-line-height: 1.33em; + --statblock-property-font-color: rgb(51, 51, 51); + --statblock-property-name-font-color: rgb(51, 51, 51); + --statblock-property-name-font-weight: bold; + --statblock-section-heading-border-size: 1px; + --statblock-section-heading-border-color: transparent; + --statblock-section-heading-font-color: rgb(51, 51, 51); + --statblock-section-heading-font-size: 1.33em; + --statblock-section-heading-font-variant: small-caps; + --statblock-section-heading-font-weight: 400; + --statblock-saves-line-height: 1.33em; + --statblock-spells-font-style: italic; + --statblock-table-header-font-weight: bold; + --statblock-column-width: 400px; + --statblock-traits-gap: 2px; +} +.statblock.pathfinder-2e-affliction-layout { + --statblock-color-common: rgb(54, 69, 79); + --statblock-color-uncommon: rgb(143, 85, 66); + --statblock-color-rare: rgb(11, 37, 96); + --statblock-color-unique: rgb(77, 27, 106); + --statblock-color-alignment: rgb(89, 98, 143); + --statblock-color-size: rgb(75, 122, 92); + --statblock-color-trait: rgb(86, 12, 6); + --statblock-primary-color: rgb(51, 51, 51); + --statblock-rule-color: rgb(51, 51, 51); + --statblock-background-color: rgb(246, 244, 242); + --statblock-bar-color: rgb(51, 51, 51); + --statblock-bar-border-size: 1px; + --statblock-bar-border-color: rgb(51, 51, 51); + --statblock-image-width: 75px; + --statblock-image-height: 75px; + --statblock-image-border-size: 2px; + --statblock-image-border-color: rgb(51, 51, 51); + --statblock-header-image-height: 22px; + --statblock-header-image-padding: 0 0 2px 0; + --statblock-border-size: 1px; + --statblock-border-color: rgb(51, 51, 51); + --statblock-box-shadow-color: none; + --statblock-box-shadow-x-offset: 0; + --statblock-box-shadow-y-offset: 0; + --statblock-box-shadow-blur: 1.5em; + --statblock-font-color: rgb(51, 51, 51); + --statblock-font-weight: 400; + --statblock-content-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; + --statblock-content-font-size: 13px; + --statblock-heading-font: + "Pathfinder-Actions", + system-ui, + -apple-system, + BlinkMacSystemFont, + "Segoe UI", + Roboto, + Oxygen, + Ubuntu, + Cantarell, + "Open Sans", + "Helvetica Neue", + sans-serif; --statblock-heading-font-color: rgb(51, 51, 51); --statblock-heading-font-size: 1.35em; --statblock-heading-font-variant: small-caps; @@ -697,7 +1220,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se --statblock-column-width: 400px; --statblock-traits-gap: 2px; } - .statblock.basic-pathfinder-2e-layout .statblock-content { background-color: var(--statblock-background-color); border: var(--statblock-border-size) var(--statblock-border-color) solid; @@ -730,48 +1252,125 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.basic-pathfinder-2e-layout .statblock-content > .column { width: var(--statblock-column-width); - /* Hazard Block Specific */ +} +.statblock.basic-pathfinder-2e-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { + margin-left: 1em; +} +.statblock.basic-pathfinder-2e-layout .statblock-content > .column > .property-container > .line > .property-name { + margin-left: -1em; +} +.statblock.basic-pathfinder-2e-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { + margin-left: 1em; +} +.statblock.basic-pathfinder-2e-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { + margin-left: -1em; } .statblock.basic-pathfinder-2e-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { - margin-block: 0.25rem; + margin-block: 0.25em; } .statblock.basic-pathfinder-2e-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { margin-bottom: 0; } -.statblock.basic-pathfinder-2e-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line.name) { +.statblock.basic-pathfinder-2e-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.basic-pathfinder-2e-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { + margin-top: 0; +} +.statblock.basic-pathfinder-2e-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { + row-gap: var(--statblock-traits-gap); + margin-bottom: 0.5em; +} +.statblock.pathfinder-2e-creature-layout .statblock-content { + background-color: var(--statblock-background-color); + border: var(--statblock-border-size) var(--statblock-border-color) solid; + box-shadow: none; + color: var(--statblock-property-font-color); + display: flex; + font-family: var(--statblock-content-font); + font-size: var(--statblock-content-font-size); + margin: 0.5em 2px; + padding: 0.5em; + gap: 1rem; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .statblock-item-container.statblock-trait-prop .property.attacks > .property-name { + font-weight: normal; + font-style: normal; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .statblock-table.abilitymods .statblock-markdown { + display: none; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .statblock-table.abilitymods .calculated-modifier::before, +.statblock.pathfinder-2e-creature-layout .statblock-content .statblock-table.abilitymods .calculated-modifier::after { + content: ""; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .inline-container.oneline { + display: block; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .inline-container.oneline *:not(.dice-roller) { + display: inline; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .inline-container.oneline > .statblock-inline-item:not(:first-child) .property-name { + margin-right: 0; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .inline-container.oneline > .statblock-inline-item:not(:first-child) .property-name::before { + content: "; "; + font-weight: normal; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .inline-container.withnote * { + display: inline; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .inline-container.withnote > .statblock-inline-item:not(:first-child) .property-name { + display: none; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .callout { + mix-blend-mode: normal; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .statblock-detached { + position: absolute; + top: -9999px; +} +.statblock.pathfinder-2e-creature-layout .statblock-content .statblock-item-container { margin: 0; + padding: 0; } -.statblock.basic-pathfinder-2e-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line:has(.property-name)) { +.statblock.pathfinder-2e-creature-layout .statblock-content .statblock-item-inline { + align-content: flex-start; + align-items: baseline; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: flex-start; + margin: 0; + padding: 0; +} +.statblock.pathfinder-2e-creature-layout .statblock-content > .column { + width: var(--statblock-column-width); +} +.statblock.pathfinder-2e-creature-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { margin-left: 1em; } -.statblock.basic-pathfinder-2e-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line) .property-name { +.statblock.pathfinder-2e-creature-layout .statblock-content > .column > .property-container > .line > .property-name { margin-left: -1em; } -.statblock.basic-pathfinder-2e-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { - margin-block: 0.25rem; +.statblock.pathfinder-2e-creature-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { + margin-left: 1em; } -.statblock.basic-pathfinder-2e-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { - margin-top: 0; +.statblock.pathfinder-2e-creature-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { + margin-left: -1em; } -.statblock.basic-pathfinder-2e-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, -.rare_02, -.rare_03, -.rare_04, -.alignment, -.size, -.xp, -.kingdom_xp, -.trait_01, -.trait_02, -.trait_03, -.trait_04, -.trait_05, -.trait_06, -.trait_07) { - row-gap: var(--statblock-traits-gap); - margin-top: 0.5em; +.statblock.pathfinder-2e-creature-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-creature-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { + margin-bottom: 0; +} +.statblock.pathfinder-2e-creature-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-creature-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { + margin-top: 0; } - .statblock.pathfinder-2e-action-layout .statblock-content { background-color: var(--statblock-background-color); border: var(--statblock-border-size) var(--statblock-border-color) solid; @@ -804,48 +1403,35 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.pathfinder-2e-action-layout .statblock-content > .column { width: var(--statblock-column-width); - /* Hazard Block Specific */ -} -.statblock.pathfinder-2e-action-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { - margin-block: 0.25rem; } -.statblock.pathfinder-2e-action-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { - margin-bottom: 0; +.statblock.pathfinder-2e-action-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { + margin-left: 1em; } -.statblock.pathfinder-2e-action-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line.name) { - margin: 0; +.statblock.pathfinder-2e-action-layout .statblock-content > .column > .property-container > .line > .property-name { + margin-left: -1em; } -.statblock.pathfinder-2e-action-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line:has(.property-name)) { +.statblock.pathfinder-2e-action-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { margin-left: 1em; } -.statblock.pathfinder-2e-action-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line) .property-name { +.statblock.pathfinder-2e-action-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { margin-left: -1em; } +.statblock.pathfinder-2e-action-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-action-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { + margin-bottom: 0; +} .statblock.pathfinder-2e-action-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { - margin-block: 0.25rem; + margin-block: 0.25em; } .statblock.pathfinder-2e-action-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { margin-top: 0; } -.statblock.pathfinder-2e-action-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, -.rare_02, -.rare_03, -.rare_04, -.alignment, -.size, -.xp, -.kingdom_xp, -.trait_01, -.trait_02, -.trait_03, -.trait_04, -.trait_05, -.trait_06, -.trait_07) { +.statblock.pathfinder-2e-action-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { row-gap: var(--statblock-traits-gap); margin-bottom: 0.5em; } - .statblock.pathfinder-2e-hazard-layout .statblock-content { background-color: var(--statblock-background-color); border: var(--statblock-border-size) var(--statblock-border-color) solid; @@ -878,52 +1464,222 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.pathfinder-2e-hazard-layout .statblock-content > .column { width: var(--statblock-column-width); - /* Hazard Block Specific */ +} +.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { + margin-left: 1em; +} +.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .property-container > .line > .property-name { + margin-left: -1em; +} +.statblock.pathfinder-2e-hazard-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { + margin-left: 1em; +} +.statblock.pathfinder-2e-hazard-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { + margin-left: -1em; } .statblock.pathfinder-2e-hazard-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { - margin-block: 0.25rem; + margin-block: 0.25em; } .statblock.pathfinder-2e-hazard-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { margin-bottom: 0; } -.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line.name) { +.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { + margin-top: 0; +} +.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { + row-gap: var(--statblock-traits-gap); + margin-bottom: 0.5em; +} +.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .statblock-item-container:has(.effect) { + margin-left: 1em; +} +.statblock.pathfinder-2e-influence-layout .statblock-content { + background-color: var(--statblock-background-color); + border: var(--statblock-border-size) var(--statblock-border-color) solid; + box-shadow: none; + color: var(--statblock-property-font-color); + display: flex; + font-family: var(--statblock-content-font); + font-size: var(--statblock-content-font-size); + margin: 0.5em 2px; + padding: 0.5em; + gap: 1rem; +} +.statblock.pathfinder-2e-influence-layout .statblock-content .statblock-detached { + position: absolute; + top: -9999px; +} +.statblock.pathfinder-2e-influence-layout .statblock-content .statblock-item-container { + margin: 0; + padding: 0; +} +.statblock.pathfinder-2e-influence-layout .statblock-content .statblock-item-inline { + align-content: flex-start; + align-items: baseline; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: flex-start; margin: 0; + padding: 0; } -.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line:has(.property-name)) { +.statblock.pathfinder-2e-influence-layout .statblock-content > .column { + width: var(--statblock-column-width); +} +.statblock.pathfinder-2e-influence-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { margin-left: 1em; } -.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line) .property-name { +.statblock.pathfinder-2e-influence-layout .statblock-content > .column > .property-container > .line > .property-name { margin-left: -1em; } -.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { - margin-block: 0.25rem; +.statblock.pathfinder-2e-influence-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { + margin-left: 1em; } -.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { +.statblock.pathfinder-2e-influence-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { + margin-left: -1em; +} +.statblock.pathfinder-2e-influence-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-influence-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { + margin-bottom: 0; +} +.statblock.pathfinder-2e-influence-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-influence-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { margin-top: 0; } -.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, -.rare_02, -.rare_03, -.rare_04, -.alignment, -.size, -.xp, -.kingdom_xp, -.trait_01, -.trait_02, -.trait_03, -.trait_04, -.trait_05, -.trait_06, -.trait_07) { +.statblock.pathfinder-2e-influence-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { row-gap: var(--statblock-traits-gap); margin-bottom: 0.5em; } -.statblock.pathfinder-2e-hazard-layout .statblock-content > .column > .statblock-item-container:has(.effect) { +.statblock.pathfinder-2e-item-layout .statblock-content { + background-color: var(--statblock-background-color); + border: var(--statblock-border-size) var(--statblock-border-color) solid; + box-shadow: none; + color: var(--statblock-property-font-color); + display: flex; + font-family: var(--statblock-content-font); + font-size: var(--statblock-content-font-size); + margin: 0.5em 2px; + padding: 0.5em; + gap: 1rem; +} +.statblock.pathfinder-2e-item-layout .statblock-content .statblock-detached { + position: absolute; + top: -9999px; +} +.statblock.pathfinder-2e-item-layout .statblock-content .statblock-item-container { + margin: 0; + padding: 0; +} +.statblock.pathfinder-2e-item-layout .statblock-content .statblock-item-inline { + align-content: flex-start; + align-items: baseline; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: flex-start; + margin: 0; + padding: 0; +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column { + width: var(--statblock-column-width); +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { + margin-left: 1em; +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column > .property-container > .line > .property-name { + margin-left: -1em; +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { + margin-left: 1em; +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { + margin-left: -1em; +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { + margin-bottom: 0; +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { + margin-top: 0; +} +.statblock.pathfinder-2e-item-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { + row-gap: var(--statblock-traits-gap); + margin-bottom: 0.5em; +} +.statblock.pathfinder-2e-misc-layout .statblock-content { + background-color: var(--statblock-background-color); + border: var(--statblock-border-size) var(--statblock-border-color) solid; + box-shadow: none; + color: var(--statblock-property-font-color); + display: flex; + font-family: var(--statblock-content-font); + font-size: var(--statblock-content-font-size); + margin: 0.5em 2px; + padding: 0.5em; + gap: 1rem; +} +.statblock.pathfinder-2e-misc-layout .statblock-content .statblock-detached { + position: absolute; + top: -9999px; +} +.statblock.pathfinder-2e-misc-layout .statblock-content .statblock-item-container { + margin: 0; + padding: 0; +} +.statblock.pathfinder-2e-misc-layout .statblock-content .statblock-item-inline { + align-content: flex-start; + align-items: baseline; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: flex-start; + margin: 0; + padding: 0; +} +.statblock.pathfinder-2e-misc-layout .statblock-content > .column { + width: var(--statblock-column-width); +} +.statblock.pathfinder-2e-misc-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { + margin-left: 1em; +} +.statblock.pathfinder-2e-misc-layout .statblock-content > .column > .property-container > .line > .property-name { + margin-left: -1em; +} +.statblock.pathfinder-2e-misc-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { margin-left: 1em; } - -.statblock.pathfinder-2e-influence-layout .statblock-content { +.statblock.pathfinder-2e-misc-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { + margin-left: -1em; +} +.statblock.pathfinder-2e-misc-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-misc-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { + margin-bottom: 0; +} +.statblock.pathfinder-2e-misc-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-misc-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { + margin-top: 0; +} +.statblock.pathfinder-2e-misc-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { + row-gap: var(--statblock-traits-gap); + margin-bottom: 0.5em; +} +.statblock.pathfinder-2e-plane-layout .statblock-content { background-color: var(--statblock-background-color); border: var(--statblock-border-size) var(--statblock-border-color) solid; box-shadow: none; @@ -935,15 +1691,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se padding: 0.5em; gap: 1rem; } -.statblock.pathfinder-2e-influence-layout .statblock-content .statblock-detached { +.statblock.pathfinder-2e-plane-layout .statblock-content .statblock-detached { position: absolute; top: -9999px; } -.statblock.pathfinder-2e-influence-layout .statblock-content .statblock-item-container { +.statblock.pathfinder-2e-plane-layout .statblock-content .statblock-item-container { margin: 0; padding: 0; } -.statblock.pathfinder-2e-influence-layout .statblock-content .statblock-item-inline { +.statblock.pathfinder-2e-plane-layout .statblock-content .statblock-item-inline { align-content: flex-start; align-items: baseline; display: flex; @@ -953,51 +1709,38 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se margin: 0; padding: 0; } -.statblock.pathfinder-2e-influence-layout .statblock-content > .column { +.statblock.pathfinder-2e-plane-layout .statblock-content > .column { width: var(--statblock-column-width); - /* Hazard Block Specific */ -} -.statblock.pathfinder-2e-influence-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { - margin-block: 0.25rem; } -.statblock.pathfinder-2e-influence-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { - margin-bottom: 0; +.statblock.pathfinder-2e-plane-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { + margin-left: 1em; } -.statblock.pathfinder-2e-influence-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line.name) { - margin: 0; +.statblock.pathfinder-2e-plane-layout .statblock-content > .column > .property-container > .line > .property-name { + margin-left: -1em; } -.statblock.pathfinder-2e-influence-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line:has(.property-name)) { +.statblock.pathfinder-2e-plane-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { margin-left: 1em; } -.statblock.pathfinder-2e-influence-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line) .property-name { +.statblock.pathfinder-2e-plane-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { margin-left: -1em; } -.statblock.pathfinder-2e-influence-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { - margin-block: 0.25rem; +.statblock.pathfinder-2e-plane-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { + margin-block: 0.25em; } -.statblock.pathfinder-2e-influence-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { +.statblock.pathfinder-2e-plane-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { + margin-bottom: 0; +} +.statblock.pathfinder-2e-plane-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-plane-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { margin-top: 0; } -.statblock.pathfinder-2e-influence-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, -.rare_02, -.rare_03, -.rare_04, -.alignment, -.size, -.xp, -.kingdom_xp, -.trait_01, -.trait_02, -.trait_03, -.trait_04, -.trait_05, -.trait_06, -.trait_07) { +.statblock.pathfinder-2e-plane-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { row-gap: var(--statblock-traits-gap); margin-bottom: 0.5em; } - -.statblock.pathfinder-2e-misc-layout .statblock-content { +.statblock.pathfinder-2e-quest-layout .statblock-content { background-color: var(--statblock-background-color); border: var(--statblock-border-size) var(--statblock-border-color) solid; box-shadow: none; @@ -1009,15 +1752,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se padding: 0.5em; gap: 1rem; } -.statblock.pathfinder-2e-misc-layout .statblock-content .statblock-detached { +.statblock.pathfinder-2e-quest-layout .statblock-content .statblock-detached { position: absolute; top: -9999px; } -.statblock.pathfinder-2e-misc-layout .statblock-content .statblock-item-container { +.statblock.pathfinder-2e-quest-layout .statblock-content .statblock-item-container { margin: 0; padding: 0; } -.statblock.pathfinder-2e-misc-layout .statblock-content .statblock-item-inline { +.statblock.pathfinder-2e-quest-layout .statblock-content .statblock-item-inline { align-content: flex-start; align-items: baseline; display: flex; @@ -1027,51 +1770,38 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se margin: 0; padding: 0; } -.statblock.pathfinder-2e-misc-layout .statblock-content > .column { +.statblock.pathfinder-2e-quest-layout .statblock-content > .column { width: var(--statblock-column-width); - /* Hazard Block Specific */ -} -.statblock.pathfinder-2e-misc-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { - margin-block: 0.25rem; } -.statblock.pathfinder-2e-misc-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { - margin-bottom: 0; +.statblock.pathfinder-2e-quest-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { + margin-left: 1em; } -.statblock.pathfinder-2e-misc-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line.name) { - margin: 0; +.statblock.pathfinder-2e-quest-layout .statblock-content > .column > .property-container > .line > .property-name { + margin-left: -1em; } -.statblock.pathfinder-2e-misc-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line:has(.property-name)) { +.statblock.pathfinder-2e-quest-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { margin-left: 1em; } -.statblock.pathfinder-2e-misc-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line) .property-name { +.statblock.pathfinder-2e-quest-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { margin-left: -1em; } -.statblock.pathfinder-2e-misc-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { - margin-block: 0.25rem; +.statblock.pathfinder-2e-quest-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { + margin-block: 0.25em; } -.statblock.pathfinder-2e-misc-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { +.statblock.pathfinder-2e-quest-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { + margin-bottom: 0; +} +.statblock.pathfinder-2e-quest-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-quest-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { margin-top: 0; } -.statblock.pathfinder-2e-misc-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, -.rare_02, -.rare_03, -.rare_04, -.alignment, -.size, -.xp, -.kingdom_xp, -.trait_01, -.trait_02, -.trait_03, -.trait_04, -.trait_05, -.trait_06, -.trait_07) { +.statblock.pathfinder-2e-quest-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { row-gap: var(--statblock-traits-gap); margin-bottom: 0.5em; } - -.statblock.pathfinder-2e-quest-layout .statblock-content { +.statblock.pathfinder-2e-settlement-layout .statblock-content { background-color: var(--statblock-background-color); border: var(--statblock-border-size) var(--statblock-border-color) solid; box-shadow: none; @@ -1083,15 +1813,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se padding: 0.5em; gap: 1rem; } -.statblock.pathfinder-2e-quest-layout .statblock-content .statblock-detached { +.statblock.pathfinder-2e-settlement-layout .statblock-content .statblock-detached { position: absolute; top: -9999px; } -.statblock.pathfinder-2e-quest-layout .statblock-content .statblock-item-container { +.statblock.pathfinder-2e-settlement-layout .statblock-content .statblock-item-container { margin: 0; padding: 0; } -.statblock.pathfinder-2e-quest-layout .statblock-content .statblock-item-inline { +.statblock.pathfinder-2e-settlement-layout .statblock-content .statblock-item-inline { align-content: flex-start; align-items: baseline; display: flex; @@ -1101,51 +1831,38 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se margin: 0; padding: 0; } -.statblock.pathfinder-2e-quest-layout .statblock-content > .column { +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column { width: var(--statblock-column-width); - /* Hazard Block Specific */ } -.statblock.pathfinder-2e-quest-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { - margin-block: 0.25rem; -} -.statblock.pathfinder-2e-quest-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { - margin-bottom: 0; +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { + margin-left: 1em; } -.statblock.pathfinder-2e-quest-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line.name) { - margin: 0; +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > .property-container > .line > .property-name { + margin-left: -1em; } -.statblock.pathfinder-2e-quest-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line:has(.property-name)) { +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { margin-left: 1em; } -.statblock.pathfinder-2e-quest-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line) .property-name { +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { margin-left: -1em; } -.statblock.pathfinder-2e-quest-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { - margin-block: 0.25rem; +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { + margin-block: 0.25em; } -.statblock.pathfinder-2e-quest-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { + margin-bottom: 0; +} +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { margin-top: 0; } -.statblock.pathfinder-2e-quest-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, -.rare_02, -.rare_03, -.rare_04, -.alignment, -.size, -.xp, -.kingdom_xp, -.trait_01, -.trait_02, -.trait_03, -.trait_04, -.trait_05, -.trait_06, -.trait_07) { +.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { row-gap: var(--statblock-traits-gap); margin-bottom: 0.5em; } - -.statblock.pathfinder-2e-settlement-layout .statblock-content { +.statblock.pathfinder-2e-affliction-layout .statblock-content { background-color: var(--statblock-background-color); border: var(--statblock-border-size) var(--statblock-border-color) solid; box-shadow: none; @@ -1157,15 +1874,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se padding: 0.5em; gap: 1rem; } -.statblock.pathfinder-2e-settlement-layout .statblock-content .statblock-detached { +.statblock.pathfinder-2e-affliction-layout .statblock-content .statblock-detached { position: absolute; top: -9999px; } -.statblock.pathfinder-2e-settlement-layout .statblock-content .statblock-item-container { +.statblock.pathfinder-2e-affliction-layout .statblock-content .statblock-item-container { margin: 0; padding: 0; } -.statblock.pathfinder-2e-settlement-layout .statblock-content .statblock-item-inline { +.statblock.pathfinder-2e-affliction-layout .statblock-content .statblock-item-inline { align-content: flex-start; align-items: baseline; display: flex; @@ -1175,50 +1892,37 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se margin: 0; padding: 0; } -.statblock.pathfinder-2e-settlement-layout .statblock-content > .column { +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column { width: var(--statblock-column-width); - /* Hazard Block Specific */ -} -.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { - margin-block: 0.25rem; } -.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { - margin-bottom: 0; +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column > .property-container > .line:has(> .property-name) { + margin-left: 1em; } -.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line.name) { - margin: 0; +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column > .property-container > .line > .property-name { + margin-left: -1em; } -.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line:has(.property-name)) { +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property:has(> .property-name) { margin-left: 1em; } -.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline) > :is(.property, .line) .property-name { +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column .traits-container > .statblock-trait-prop > .property > .property-name { margin-left: -1em; } -.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { - margin-block: 0.25rem; +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property) { + margin-block: 0.25em; } -.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column > :is(.statblock-item-container, .statblock-item-inline):has(.line, .property):last-child { + margin-bottom: 0; +} +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column > .statblock-item-container:has(.tapered-rule) { + margin-block: 0.25em; +} +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column > .statblock-item-inline:has(.name) + .statblock-item-container:has(.tapered-rule) { margin-top: 0; } -.statblock.pathfinder-2e-settlement-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, -.rare_02, -.rare_03, -.rare_04, -.alignment, -.size, -.xp, -.kingdom_xp, -.trait_01, -.trait_02, -.trait_03, -.trait_04, -.trait_05, -.trait_06, -.trait_07) { +.statblock.pathfinder-2e-affliction-layout .statblock-content > .column > .statblock-item-inline:has(.rare_01, .rare_02, .rare_03, .rare_04, .alignment, .size, .xp, .kingdom_xp, .trait_01, .trait_02, .trait_03, .trait_04, .trait_05, .trait_06, .trait_07) { row-gap: var(--statblock-traits-gap); margin-bottom: 0.5em; } - .statblock.basic-pathfinder-2e-layout .bar { height: 1px; background: rgb(51, 51, 51); @@ -1234,7 +1938,21 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se clip-path: unset !important; -webkit-clip-path: unset; } - +.statblock.pathfinder-2e-creature-layout .bar { + height: 1px; + background: rgb(51, 51, 51); + border: 1px solid rgb(51, 51, 51); + z-index: 1; + width: fit-content; +} +.statblock.pathfinder-2e-creature-layout div.tapered-rule { + width: auto; + margin: 0; + height: 1px; + background: rgb(51, 51, 51); + clip-path: unset !important; + -webkit-clip-path: unset; +} .statblock.pathfinder-2e-action-layout .bar { height: 1px; background: rgb(51, 51, 51); @@ -1250,7 +1968,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se clip-path: unset !important; -webkit-clip-path: unset; } - .statblock.pathfinder-2e-hazard-layout .bar { height: 1px; background: rgb(51, 51, 51); @@ -1266,7 +1983,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se clip-path: unset !important; -webkit-clip-path: unset; } - .statblock.pathfinder-2e-influence-layout .bar { height: 1px; background: rgb(51, 51, 51); @@ -1282,7 +1998,21 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se clip-path: unset !important; -webkit-clip-path: unset; } - +.statblock.pathfinder-2e-item-layout .bar { + height: 1px; + background: rgb(51, 51, 51); + border: 1px solid rgb(51, 51, 51); + z-index: 1; + width: fit-content; +} +.statblock.pathfinder-2e-item-layout div.tapered-rule { + width: auto; + margin: 0; + height: 1px; + background: rgb(51, 51, 51); + clip-path: unset !important; + -webkit-clip-path: unset; +} .statblock.pathfinder-2e-misc-layout .bar { height: 1px; background: rgb(51, 51, 51); @@ -1298,7 +2028,21 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se clip-path: unset !important; -webkit-clip-path: unset; } - +.statblock.pathfinder-2e-plane-layout .bar { + height: 1px; + background: rgb(51, 51, 51); + border: 1px solid rgb(51, 51, 51); + z-index: 1; + width: fit-content; +} +.statblock.pathfinder-2e-plane-layout div.tapered-rule { + width: auto; + margin: 0; + height: 1px; + background: rgb(51, 51, 51); + clip-path: unset !important; + -webkit-clip-path: unset; +} .statblock.pathfinder-2e-quest-layout .bar { height: 1px; background: rgb(51, 51, 51); @@ -1314,7 +2058,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se clip-path: unset !important; -webkit-clip-path: unset; } - .statblock.pathfinder-2e-settlement-layout .bar { height: 1px; background: rgb(51, 51, 51); @@ -1330,7 +2073,21 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se clip-path: unset !important; -webkit-clip-path: unset; } - +.statblock.pathfinder-2e-affliction-layout .bar { + height: 1px; + background: rgb(51, 51, 51); + border: 1px solid rgb(51, 51, 51); + z-index: 1; + width: fit-content; +} +.statblock.pathfinder-2e-affliction-layout div.tapered-rule { + width: auto; + margin: 0; + height: 1px; + background: rgb(51, 51, 51); + clip-path: unset !important; + -webkit-clip-path: unset; +} .statblock.basic-pathfinder-2e-layout .flex-container { align-items: center; display: flex; @@ -1372,7 +2129,47 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se font-size: 1.25em; color: var(--statblock-section-heading-font-color); } - +.statblock.pathfinder-2e-creature-layout .flex-container { + align-items: center; + display: flex; + justify-content: space-between; +} +.statblock.pathfinder-2e-creature-layout .heading { + align-items: center; + color: var(--statblock-heading-font-color); + display: flex; + font-family: var(--statblock-heading-font); + font-size: 1.35em; + font-variant: small-caps; + font-weight: 700; + justify-content: space-between; + letter-spacing: 1px; + line-height: 1; + margin: 0; +} +.statblock.pathfinder-2e-creature-layout .section-header { + border: none; + color: var(--statblock-section-heading-font-color); + font-size: var(--statblock-section-heading-font-size); + font-variant: var(--statblock-section-heading-font-variant); + font-weight: var(--statblock-section-heading-font-weight); + letter-spacing: 1px; + margin-bottom: 0.3em; +} +.statblock.pathfinder-2e-creature-layout h3.section-header { + display: none; +} +.statblock.pathfinder-2e-creature-layout h3, +.statblock.pathfinder-2e-creature-layout .markdown-rendered h3, +.statblock.pathfinder-2e-creature-layout .HyperMD-header-3, +.statblock.pathfinder-2e-creature-layout .inline-title[data-level="3"], +.statblock.pathfinder-2e-creature-layout .HyperMD-list-line .cm-header-3 { + font-variant: petite-caps; + letter-spacing: 1px; + line-height: 1; + font-size: 1.25em; + color: var(--statblock-section-heading-font-color); +} .statblock.pathfinder-2e-action-layout .flex-container { align-items: center; display: flex; @@ -1414,7 +2211,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se font-size: 1.25em; color: var(--statblock-section-heading-font-color); } - .statblock.pathfinder-2e-hazard-layout .flex-container { align-items: center; display: flex; @@ -1456,13 +2252,94 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se font-size: 1.25em; color: var(--statblock-section-heading-font-color); } - .statblock.pathfinder-2e-influence-layout .flex-container { align-items: center; display: flex; justify-content: space-between; } -.statblock.pathfinder-2e-influence-layout .heading { +.statblock.pathfinder-2e-influence-layout .heading { + align-items: center; + color: var(--statblock-heading-font-color); + display: flex; + font-family: var(--statblock-heading-font); + font-size: 1.35em; + font-variant: small-caps; + font-weight: 700; + justify-content: space-between; + letter-spacing: 1px; + line-height: 1; + margin: 0; +} +.statblock.pathfinder-2e-influence-layout .section-header { + border: none; + color: var(--statblock-section-heading-font-color); + font-size: var(--statblock-section-heading-font-size); + font-variant: var(--statblock-section-heading-font-variant); + font-weight: var(--statblock-section-heading-font-weight); + letter-spacing: 1px; + margin-bottom: 0.3em; +} +.statblock.pathfinder-2e-influence-layout h3.section-header { + display: none; +} +.statblock.pathfinder-2e-influence-layout h3, +.statblock.pathfinder-2e-influence-layout .markdown-rendered h3, +.statblock.pathfinder-2e-influence-layout .HyperMD-header-3, +.statblock.pathfinder-2e-influence-layout .inline-title[data-level="3"], +.statblock.pathfinder-2e-influence-layout .HyperMD-list-line .cm-header-3 { + font-variant: petite-caps; + letter-spacing: 1px; + line-height: 1; + font-size: 1.25em; + color: var(--statblock-section-heading-font-color); +} +.statblock.pathfinder-2e-item-layout .flex-container { + align-items: center; + display: flex; + justify-content: space-between; +} +.statblock.pathfinder-2e-item-layout .heading { + align-items: center; + color: var(--statblock-heading-font-color); + display: flex; + font-family: var(--statblock-heading-font); + font-size: 1.35em; + font-variant: small-caps; + font-weight: 700; + justify-content: space-between; + letter-spacing: 1px; + line-height: 1; + margin: 0; +} +.statblock.pathfinder-2e-item-layout .section-header { + border: none; + color: var(--statblock-section-heading-font-color); + font-size: var(--statblock-section-heading-font-size); + font-variant: var(--statblock-section-heading-font-variant); + font-weight: var(--statblock-section-heading-font-weight); + letter-spacing: 1px; + margin-bottom: 0.3em; +} +.statblock.pathfinder-2e-item-layout h3.section-header { + display: none; +} +.statblock.pathfinder-2e-item-layout h3, +.statblock.pathfinder-2e-item-layout .markdown-rendered h3, +.statblock.pathfinder-2e-item-layout .HyperMD-header-3, +.statblock.pathfinder-2e-item-layout .inline-title[data-level="3"], +.statblock.pathfinder-2e-item-layout .HyperMD-list-line .cm-header-3 { + font-variant: petite-caps; + letter-spacing: 1px; + line-height: 1; + font-size: 1.25em; + color: var(--statblock-section-heading-font-color); +} +.statblock.pathfinder-2e-misc-layout .flex-container { + align-items: center; + display: flex; + justify-content: space-between; +} +.statblock.pathfinder-2e-misc-layout .heading { align-items: center; color: var(--statblock-heading-font-color); display: flex; @@ -1475,7 +2352,7 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se line-height: 1; margin: 0; } -.statblock.pathfinder-2e-influence-layout .section-header { +.statblock.pathfinder-2e-misc-layout .section-header { border: none; color: var(--statblock-section-heading-font-color); font-size: var(--statblock-section-heading-font-size); @@ -1484,27 +2361,26 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se letter-spacing: 1px; margin-bottom: 0.3em; } -.statblock.pathfinder-2e-influence-layout h3.section-header { +.statblock.pathfinder-2e-misc-layout h3.section-header { display: none; } -.statblock.pathfinder-2e-influence-layout h3, -.statblock.pathfinder-2e-influence-layout .markdown-rendered h3, -.statblock.pathfinder-2e-influence-layout .HyperMD-header-3, -.statblock.pathfinder-2e-influence-layout .inline-title[data-level="3"], -.statblock.pathfinder-2e-influence-layout .HyperMD-list-line .cm-header-3 { +.statblock.pathfinder-2e-misc-layout h3, +.statblock.pathfinder-2e-misc-layout .markdown-rendered h3, +.statblock.pathfinder-2e-misc-layout .HyperMD-header-3, +.statblock.pathfinder-2e-misc-layout .inline-title[data-level="3"], +.statblock.pathfinder-2e-misc-layout .HyperMD-list-line .cm-header-3 { font-variant: petite-caps; letter-spacing: 1px; line-height: 1; font-size: 1.25em; color: var(--statblock-section-heading-font-color); } - -.statblock.pathfinder-2e-misc-layout .flex-container { +.statblock.pathfinder-2e-plane-layout .flex-container { align-items: center; display: flex; justify-content: space-between; } -.statblock.pathfinder-2e-misc-layout .heading { +.statblock.pathfinder-2e-plane-layout .heading { align-items: center; color: var(--statblock-heading-font-color); display: flex; @@ -1517,7 +2393,7 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se line-height: 1; margin: 0; } -.statblock.pathfinder-2e-misc-layout .section-header { +.statblock.pathfinder-2e-plane-layout .section-header { border: none; color: var(--statblock-section-heading-font-color); font-size: var(--statblock-section-heading-font-size); @@ -1526,21 +2402,20 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se letter-spacing: 1px; margin-bottom: 0.3em; } -.statblock.pathfinder-2e-misc-layout h3.section-header { +.statblock.pathfinder-2e-plane-layout h3.section-header { display: none; } -.statblock.pathfinder-2e-misc-layout h3, -.statblock.pathfinder-2e-misc-layout .markdown-rendered h3, -.statblock.pathfinder-2e-misc-layout .HyperMD-header-3, -.statblock.pathfinder-2e-misc-layout .inline-title[data-level="3"], -.statblock.pathfinder-2e-misc-layout .HyperMD-list-line .cm-header-3 { +.statblock.pathfinder-2e-plane-layout h3, +.statblock.pathfinder-2e-plane-layout .markdown-rendered h3, +.statblock.pathfinder-2e-plane-layout .HyperMD-header-3, +.statblock.pathfinder-2e-plane-layout .inline-title[data-level="3"], +.statblock.pathfinder-2e-plane-layout .HyperMD-list-line .cm-header-3 { font-variant: petite-caps; letter-spacing: 1px; line-height: 1; font-size: 1.25em; color: var(--statblock-section-heading-font-color); } - .statblock.pathfinder-2e-quest-layout .flex-container { align-items: center; display: flex; @@ -1582,7 +2457,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se font-size: 1.25em; color: var(--statblock-section-heading-font-color); } - .statblock.pathfinder-2e-settlement-layout .flex-container { align-items: center; display: flex; @@ -1624,7 +2498,47 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se font-size: 1.25em; color: var(--statblock-section-heading-font-color); } - +.statblock.pathfinder-2e-affliction-layout .flex-container { + align-items: center; + display: flex; + justify-content: space-between; +} +.statblock.pathfinder-2e-affliction-layout .heading { + align-items: center; + color: var(--statblock-heading-font-color); + display: flex; + font-family: var(--statblock-heading-font); + font-size: 1.35em; + font-variant: small-caps; + font-weight: 700; + justify-content: space-between; + letter-spacing: 1px; + line-height: 1; + margin: 0; +} +.statblock.pathfinder-2e-affliction-layout .section-header { + border: none; + color: var(--statblock-section-heading-font-color); + font-size: var(--statblock-section-heading-font-size); + font-variant: var(--statblock-section-heading-font-variant); + font-weight: var(--statblock-section-heading-font-weight); + letter-spacing: 1px; + margin-bottom: 0.3em; +} +.statblock.pathfinder-2e-affliction-layout h3.section-header { + display: none; +} +.statblock.pathfinder-2e-affliction-layout h3, +.statblock.pathfinder-2e-affliction-layout .markdown-rendered h3, +.statblock.pathfinder-2e-affliction-layout .HyperMD-header-3, +.statblock.pathfinder-2e-affliction-layout .inline-title[data-level="3"], +.statblock.pathfinder-2e-affliction-layout .HyperMD-list-line .cm-header-3 { + font-variant: petite-caps; + letter-spacing: 1px; + line-height: 1; + font-size: 1.25em; + color: var(--statblock-section-heading-font-color); +} .statblock.basic-pathfinder-2e-layout a, .statblock.basic-pathfinder-2e-layout a:-webkit-any-link, .statblock.basic-pathfinder-2e-layout a.internal-link { @@ -1642,17 +2556,17 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.basic-pathfinder-2e-layout em, .statblock.basic-pathfinder-2e-layout .cm-em { font-style: italic; +} +:not(.property-name) .statblock.basic-pathfinder-2e-layout i, +:not(.property-name) .statblock.basic-pathfinder-2e-layout em, +:not(.property-name) .statblock.basic-pathfinder-2e-layout .cm-em { color: rgb(77, 27, 105); font-weight: 500; } .statblock.basic-pathfinder-2e-layout ul { - /* Corrects the UL/LI Coloration */ display: block; list-style-type: disc; - margin-block-start: 1em; - margin-block-end: 1em; - margin-inline-start: 0; - margin-inline-end: 0; + margin: 0 0.5em; padding-inline-start: 40px; } .statblock.basic-pathfinder-2e-layout .markdown-rendered ul, @@ -1686,7 +2600,66 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se text-align: start; text-align-last: start; } - +.statblock.pathfinder-2e-creature-layout a, +.statblock.pathfinder-2e-creature-layout a:-webkit-any-link, +.statblock.pathfinder-2e-creature-layout a.internal-link { + color: rgb(61, 102, 142); + text-decoration: underline; +} +.statblock.pathfinder-2e-creature-layout b, +.statblock.pathfinder-2e-creature-layout strong, +.statblock.pathfinder-2e-creature-layout .cm-strong { + font-weight: var(--statblock-property-name-font-weight); + color: var(--statblock-property-name-font-color); +} +.statblock.pathfinder-2e-creature-layout i, +.statblock.pathfinder-2e-creature-layout em, +.statblock.pathfinder-2e-creature-layout .cm-em { + font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-creature-layout i, +:not(.property-name) .statblock.pathfinder-2e-creature-layout em, +:not(.property-name) .statblock.pathfinder-2e-creature-layout .cm-em { + color: rgb(77, 27, 105); + font-weight: 500; +} +.statblock.pathfinder-2e-creature-layout ul { + display: block; + list-style-type: disc; + margin: 0 0.5em; + padding-inline-start: 40px; +} +.statblock.pathfinder-2e-creature-layout .markdown-rendered ul, +.statblock.pathfinder-2e-creature-layout .markdown-rendered ol { + padding-inline-start: 2em; +} +.statblock.pathfinder-2e-creature-layout li { + color: var(--statblock-content-font); + display: list-item; + text-align: -webkit-match-parent; +} +.statblock.pathfinder-2e-creature-layout .markdown-source-view ol > li, +.statblock.pathfinder-2e-creature-layout .markdown-source-view ul > li, +.statblock.pathfinder-2e-creature-layout .markdown-preview-view ol > li, +.statblock.pathfinder-2e-creature-layout .markdown-preview-view ul > li, +.statblock.pathfinder-2e-creature-layout .markdown-rendered ul > li, +.statblock.pathfinder-2e-creature-layout .mod-cm6 .HyperMD-list-line.cm-line { + padding-top: 0; + padding-bottom: 0; +} +.statblock.pathfinder-2e-creature-layout ol > li::marker, +.statblock.pathfinder-2e-creature-layout ul > li::marker, +.statblock.pathfinder-2e-creature-layout .cm-s-obsidian .cm-formatting-list { + color: var(--statblock-property-name-font-color); +} +.statblock.pathfinder-2e-creature-layout ::marker { + unicode-bidi: isolate; + font-variant-numeric: tabular-nums; + text-transform: none; + text-indent: 0; + text-align: start; + text-align-last: start; +} .statblock.pathfinder-2e-action-layout a, .statblock.pathfinder-2e-action-layout a:-webkit-any-link, .statblock.pathfinder-2e-action-layout a.internal-link { @@ -1704,17 +2677,17 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-action-layout em, .statblock.pathfinder-2e-action-layout .cm-em { font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-action-layout i, +:not(.property-name) .statblock.pathfinder-2e-action-layout em, +:not(.property-name) .statblock.pathfinder-2e-action-layout .cm-em { color: rgb(77, 27, 105); font-weight: 500; } .statblock.pathfinder-2e-action-layout ul { - /* Corrects the UL/LI Coloration */ display: block; list-style-type: disc; - margin-block-start: 1em; - margin-block-end: 1em; - margin-inline-start: 0; - margin-inline-end: 0; + margin: 0 0.5em; padding-inline-start: 40px; } .statblock.pathfinder-2e-action-layout .markdown-rendered ul, @@ -1748,7 +2721,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se text-align: start; text-align-last: start; } - .statblock.pathfinder-2e-hazard-layout a, .statblock.pathfinder-2e-hazard-layout a:-webkit-any-link, .statblock.pathfinder-2e-hazard-layout a.internal-link { @@ -1766,17 +2738,17 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-hazard-layout em, .statblock.pathfinder-2e-hazard-layout .cm-em { font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-hazard-layout i, +:not(.property-name) .statblock.pathfinder-2e-hazard-layout em, +:not(.property-name) .statblock.pathfinder-2e-hazard-layout .cm-em { color: rgb(77, 27, 105); font-weight: 500; } .statblock.pathfinder-2e-hazard-layout ul { - /* Corrects the UL/LI Coloration */ display: block; list-style-type: disc; - margin-block-start: 1em; - margin-block-end: 1em; - margin-inline-start: 0; - margin-inline-end: 0; + margin: 0 0.5em; padding-inline-start: 40px; } .statblock.pathfinder-2e-hazard-layout .markdown-rendered ul, @@ -1810,7 +2782,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se text-align: start; text-align-last: start; } - .statblock.pathfinder-2e-influence-layout a, .statblock.pathfinder-2e-influence-layout a:-webkit-any-link, .statblock.pathfinder-2e-influence-layout a.internal-link { @@ -1828,17 +2799,17 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-influence-layout em, .statblock.pathfinder-2e-influence-layout .cm-em { font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-influence-layout i, +:not(.property-name) .statblock.pathfinder-2e-influence-layout em, +:not(.property-name) .statblock.pathfinder-2e-influence-layout .cm-em { color: rgb(77, 27, 105); font-weight: 500; } .statblock.pathfinder-2e-influence-layout ul { - /* Corrects the UL/LI Coloration */ display: block; list-style-type: disc; - margin-block-start: 1em; - margin-block-end: 1em; - margin-inline-start: 0; - margin-inline-end: 0; + margin: 0 0.5em; padding-inline-start: 40px; } .statblock.pathfinder-2e-influence-layout .markdown-rendered ul, @@ -1872,7 +2843,67 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se text-align: start; text-align-last: start; } - +.statblock.pathfinder-2e-item-layout a, +.statblock.pathfinder-2e-item-layout a:-webkit-any-link, +.statblock.pathfinder-2e-item-layout a.internal-link { + color: rgb(61, 102, 142); + font-weight: var(--statblock-property-name-font-weight); + text-decoration: none; +} +.statblock.pathfinder-2e-item-layout b, +.statblock.pathfinder-2e-item-layout strong, +.statblock.pathfinder-2e-item-layout .cm-strong { + font-weight: var(--statblock-property-name-font-weight); + color: var(--statblock-property-name-font-color); +} +.statblock.pathfinder-2e-item-layout i, +.statblock.pathfinder-2e-item-layout em, +.statblock.pathfinder-2e-item-layout .cm-em { + font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-item-layout i, +:not(.property-name) .statblock.pathfinder-2e-item-layout em, +:not(.property-name) .statblock.pathfinder-2e-item-layout .cm-em { + color: rgb(77, 27, 105); + font-weight: 500; +} +.statblock.pathfinder-2e-item-layout ul { + display: block; + list-style-type: disc; + margin: 0 0.5em; + padding-inline-start: 40px; +} +.statblock.pathfinder-2e-item-layout .markdown-rendered ul, +.statblock.pathfinder-2e-item-layout .markdown-rendered ol { + padding-inline-start: 2em; +} +.statblock.pathfinder-2e-item-layout li { + color: var(--statblock-content-font); + display: list-item; + text-align: -webkit-match-parent; +} +.statblock.pathfinder-2e-item-layout .markdown-source-view ol > li, +.statblock.pathfinder-2e-item-layout .markdown-source-view ul > li, +.statblock.pathfinder-2e-item-layout .markdown-preview-view ol > li, +.statblock.pathfinder-2e-item-layout .markdown-preview-view ul > li, +.statblock.pathfinder-2e-item-layout .markdown-rendered ul > li, +.statblock.pathfinder-2e-item-layout .mod-cm6 .HyperMD-list-line.cm-line { + padding-top: 0; + padding-bottom: 0; +} +.statblock.pathfinder-2e-item-layout ol > li::marker, +.statblock.pathfinder-2e-item-layout ul > li::marker, +.statblock.pathfinder-2e-item-layout .cm-s-obsidian .cm-formatting-list { + color: var(--statblock-property-name-font-color); +} +.statblock.pathfinder-2e-item-layout ::marker { + unicode-bidi: isolate; + font-variant-numeric: tabular-nums; + text-transform: none; + text-indent: 0; + text-align: start; + text-align-last: start; +} .statblock.pathfinder-2e-misc-layout a, .statblock.pathfinder-2e-misc-layout a:-webkit-any-link, .statblock.pathfinder-2e-misc-layout a.internal-link { @@ -1890,17 +2921,17 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-misc-layout em, .statblock.pathfinder-2e-misc-layout .cm-em { font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-misc-layout i, +:not(.property-name) .statblock.pathfinder-2e-misc-layout em, +:not(.property-name) .statblock.pathfinder-2e-misc-layout .cm-em { color: rgb(77, 27, 105); font-weight: 500; } .statblock.pathfinder-2e-misc-layout ul { - /* Corrects the UL/LI Coloration */ display: block; list-style-type: disc; - margin-block-start: 1em; - margin-block-end: 1em; - margin-inline-start: 0; - margin-inline-end: 0; + margin: 0 0.5em; padding-inline-start: 40px; } .statblock.pathfinder-2e-misc-layout .markdown-rendered ul, @@ -1934,7 +2965,67 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se text-align: start; text-align-last: start; } - +.statblock.pathfinder-2e-plane-layout a, +.statblock.pathfinder-2e-plane-layout a:-webkit-any-link, +.statblock.pathfinder-2e-plane-layout a.internal-link { + color: rgb(61, 102, 142); + font-weight: var(--statblock-property-name-font-weight); + text-decoration: none; +} +.statblock.pathfinder-2e-plane-layout b, +.statblock.pathfinder-2e-plane-layout strong, +.statblock.pathfinder-2e-plane-layout .cm-strong { + font-weight: var(--statblock-property-name-font-weight); + color: var(--statblock-property-name-font-color); +} +.statblock.pathfinder-2e-plane-layout i, +.statblock.pathfinder-2e-plane-layout em, +.statblock.pathfinder-2e-plane-layout .cm-em { + font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-plane-layout i, +:not(.property-name) .statblock.pathfinder-2e-plane-layout em, +:not(.property-name) .statblock.pathfinder-2e-plane-layout .cm-em { + color: rgb(77, 27, 105); + font-weight: 500; +} +.statblock.pathfinder-2e-plane-layout ul { + display: block; + list-style-type: disc; + margin: 0 0.5em; + padding-inline-start: 40px; +} +.statblock.pathfinder-2e-plane-layout .markdown-rendered ul, +.statblock.pathfinder-2e-plane-layout .markdown-rendered ol { + padding-inline-start: 2em; +} +.statblock.pathfinder-2e-plane-layout li { + color: var(--statblock-content-font); + display: list-item; + text-align: -webkit-match-parent; +} +.statblock.pathfinder-2e-plane-layout .markdown-source-view ol > li, +.statblock.pathfinder-2e-plane-layout .markdown-source-view ul > li, +.statblock.pathfinder-2e-plane-layout .markdown-preview-view ol > li, +.statblock.pathfinder-2e-plane-layout .markdown-preview-view ul > li, +.statblock.pathfinder-2e-plane-layout .markdown-rendered ul > li, +.statblock.pathfinder-2e-plane-layout .mod-cm6 .HyperMD-list-line.cm-line { + padding-top: 0; + padding-bottom: 0; +} +.statblock.pathfinder-2e-plane-layout ol > li::marker, +.statblock.pathfinder-2e-plane-layout ul > li::marker, +.statblock.pathfinder-2e-plane-layout .cm-s-obsidian .cm-formatting-list { + color: var(--statblock-property-name-font-color); +} +.statblock.pathfinder-2e-plane-layout ::marker { + unicode-bidi: isolate; + font-variant-numeric: tabular-nums; + text-transform: none; + text-indent: 0; + text-align: start; + text-align-last: start; +} .statblock.pathfinder-2e-quest-layout a, .statblock.pathfinder-2e-quest-layout a:-webkit-any-link, .statblock.pathfinder-2e-quest-layout a.internal-link { @@ -1952,17 +3043,17 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-quest-layout em, .statblock.pathfinder-2e-quest-layout .cm-em { font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-quest-layout i, +:not(.property-name) .statblock.pathfinder-2e-quest-layout em, +:not(.property-name) .statblock.pathfinder-2e-quest-layout .cm-em { color: rgb(77, 27, 105); font-weight: 500; } .statblock.pathfinder-2e-quest-layout ul { - /* Corrects the UL/LI Coloration */ display: block; list-style-type: disc; - margin-block-start: 1em; - margin-block-end: 1em; - margin-inline-start: 0; - margin-inline-end: 0; + margin: 0 0.5em; padding-inline-start: 40px; } .statblock.pathfinder-2e-quest-layout .markdown-rendered ul, @@ -1996,7 +3087,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se text-align: start; text-align-last: start; } - .statblock.pathfinder-2e-settlement-layout a, .statblock.pathfinder-2e-settlement-layout a:-webkit-any-link, .statblock.pathfinder-2e-settlement-layout a.internal-link { @@ -2014,17 +3104,17 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-settlement-layout em, .statblock.pathfinder-2e-settlement-layout .cm-em { font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-settlement-layout i, +:not(.property-name) .statblock.pathfinder-2e-settlement-layout em, +:not(.property-name) .statblock.pathfinder-2e-settlement-layout .cm-em { color: rgb(77, 27, 105); font-weight: 500; } .statblock.pathfinder-2e-settlement-layout ul { - /* Corrects the UL/LI Coloration */ display: block; list-style-type: disc; - margin-block-start: 1em; - margin-block-end: 1em; - margin-inline-start: 0; - margin-inline-end: 0; + margin: 0 0.5em; padding-inline-start: 40px; } .statblock.pathfinder-2e-settlement-layout .markdown-rendered ul, @@ -2058,7 +3148,67 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se text-align: start; text-align-last: start; } - +.statblock.pathfinder-2e-affliction-layout a, +.statblock.pathfinder-2e-affliction-layout a:-webkit-any-link, +.statblock.pathfinder-2e-affliction-layout a.internal-link { + color: rgb(61, 102, 142); + font-weight: var(--statblock-property-name-font-weight); + text-decoration: none; +} +.statblock.pathfinder-2e-affliction-layout b, +.statblock.pathfinder-2e-affliction-layout strong, +.statblock.pathfinder-2e-affliction-layout .cm-strong { + font-weight: var(--statblock-property-name-font-weight); + color: var(--statblock-property-name-font-color); +} +.statblock.pathfinder-2e-affliction-layout i, +.statblock.pathfinder-2e-affliction-layout em, +.statblock.pathfinder-2e-affliction-layout .cm-em { + font-style: italic; +} +:not(.property-name) .statblock.pathfinder-2e-affliction-layout i, +:not(.property-name) .statblock.pathfinder-2e-affliction-layout em, +:not(.property-name) .statblock.pathfinder-2e-affliction-layout .cm-em { + color: rgb(77, 27, 105); + font-weight: 500; +} +.statblock.pathfinder-2e-affliction-layout ul { + display: block; + list-style-type: disc; + margin: 0 0.5em; + padding-inline-start: 40px; +} +.statblock.pathfinder-2e-affliction-layout .markdown-rendered ul, +.statblock.pathfinder-2e-affliction-layout .markdown-rendered ol { + padding-inline-start: 2em; +} +.statblock.pathfinder-2e-affliction-layout li { + color: var(--statblock-content-font); + display: list-item; + text-align: -webkit-match-parent; +} +.statblock.pathfinder-2e-affliction-layout .markdown-source-view ol > li, +.statblock.pathfinder-2e-affliction-layout .markdown-source-view ul > li, +.statblock.pathfinder-2e-affliction-layout .markdown-preview-view ol > li, +.statblock.pathfinder-2e-affliction-layout .markdown-preview-view ul > li, +.statblock.pathfinder-2e-affliction-layout .markdown-rendered ul > li, +.statblock.pathfinder-2e-affliction-layout .mod-cm6 .HyperMD-list-line.cm-line { + padding-top: 0; + padding-bottom: 0; +} +.statblock.pathfinder-2e-affliction-layout ol > li::marker, +.statblock.pathfinder-2e-affliction-layout ul > li::marker, +.statblock.pathfinder-2e-affliction-layout .cm-s-obsidian .cm-formatting-list { + color: var(--statblock-property-name-font-color); +} +.statblock.pathfinder-2e-affliction-layout ::marker { + unicode-bidi: isolate; + font-variant-numeric: tabular-nums; + text-transform: none; + text-indent: 0; + text-align: start; + text-align-last: start; +} .statblock.basic-pathfinder-2e-layout .line { line-height: var(--statblock-property-line-height); display: block; @@ -2067,12 +3217,34 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.basic-pathfinder-2e-layout .statblock-rendered-text-content { color: var(--statblock-property-name-font-color); font-weight: var(--statblock-property-name-font-weight); + font-style: normal; } .statblock.basic-pathfinder-2e-layout .statblock-markdown, .statblock.basic-pathfinder-2e-layout .property { line-height: var(--statblock-property-line-height); } - +.statblock.basic-pathfinder-2e-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} +.statblock.pathfinder-2e-creature-layout .line { + line-height: var(--statblock-property-line-height); + display: block; + color: var(--statblock-property-font-color); +} +.statblock.pathfinder-2e-creature-layout .statblock-rendered-text-content { + color: var(--statblock-property-name-font-color); + font-weight: var(--statblock-property-name-font-weight); + font-style: normal; +} +.statblock.pathfinder-2e-creature-layout .statblock-markdown, +.statblock.pathfinder-2e-creature-layout .property { + line-height: var(--statblock-property-line-height); +} +.statblock.pathfinder-2e-creature-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} .statblock.pathfinder-2e-action-layout .line { line-height: var(--statblock-property-line-height); display: block; @@ -2081,12 +3253,16 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-action-layout .statblock-rendered-text-content { color: var(--statblock-property-name-font-color); font-weight: var(--statblock-property-name-font-weight); + font-style: normal; } .statblock.pathfinder-2e-action-layout .statblock-markdown, .statblock.pathfinder-2e-action-layout .property { line-height: var(--statblock-property-line-height); } - +.statblock.pathfinder-2e-action-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} .statblock.pathfinder-2e-hazard-layout .line { line-height: var(--statblock-property-line-height); display: block; @@ -2095,40 +3271,88 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-hazard-layout .statblock-rendered-text-content { color: var(--statblock-property-name-font-color); font-weight: var(--statblock-property-name-font-weight); + font-style: normal; } .statblock.pathfinder-2e-hazard-layout .statblock-markdown, .statblock.pathfinder-2e-hazard-layout .property { line-height: var(--statblock-property-line-height); } - +.statblock.pathfinder-2e-hazard-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} .statblock.pathfinder-2e-influence-layout .line { line-height: var(--statblock-property-line-height); display: block; color: var(--statblock-property-font-color); } -.statblock.pathfinder-2e-influence-layout .statblock-rendered-text-content { +.statblock.pathfinder-2e-influence-layout .statblock-rendered-text-content { + color: var(--statblock-property-name-font-color); + font-weight: var(--statblock-property-name-font-weight); + font-style: normal; +} +.statblock.pathfinder-2e-influence-layout .statblock-markdown, +.statblock.pathfinder-2e-influence-layout .property { + line-height: var(--statblock-property-line-height); +} +.statblock.pathfinder-2e-influence-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} +.statblock.pathfinder-2e-item-layout .line { + line-height: var(--statblock-property-line-height); + display: block; + color: var(--statblock-property-font-color); +} +.statblock.pathfinder-2e-item-layout .statblock-rendered-text-content { + color: var(--statblock-property-name-font-color); + font-weight: var(--statblock-property-name-font-weight); + font-style: normal; +} +.statblock.pathfinder-2e-item-layout .statblock-markdown, +.statblock.pathfinder-2e-item-layout .property { + line-height: var(--statblock-property-line-height); +} +.statblock.pathfinder-2e-item-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} +.statblock.pathfinder-2e-misc-layout .line { + line-height: var(--statblock-property-line-height); + display: block; + color: var(--statblock-property-font-color); +} +.statblock.pathfinder-2e-misc-layout .statblock-rendered-text-content { color: var(--statblock-property-name-font-color); font-weight: var(--statblock-property-name-font-weight); + font-style: normal; } -.statblock.pathfinder-2e-influence-layout .statblock-markdown, -.statblock.pathfinder-2e-influence-layout .property { +.statblock.pathfinder-2e-misc-layout .statblock-markdown, +.statblock.pathfinder-2e-misc-layout .property { line-height: var(--statblock-property-line-height); } - -.statblock.pathfinder-2e-misc-layout .line { +.statblock.pathfinder-2e-misc-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} +.statblock.pathfinder-2e-plane-layout .line { line-height: var(--statblock-property-line-height); display: block; color: var(--statblock-property-font-color); } -.statblock.pathfinder-2e-misc-layout .statblock-rendered-text-content { +.statblock.pathfinder-2e-plane-layout .statblock-rendered-text-content { color: var(--statblock-property-name-font-color); font-weight: var(--statblock-property-name-font-weight); + font-style: normal; } -.statblock.pathfinder-2e-misc-layout .statblock-markdown, -.statblock.pathfinder-2e-misc-layout .property { +.statblock.pathfinder-2e-plane-layout .statblock-markdown, +.statblock.pathfinder-2e-plane-layout .property { line-height: var(--statblock-property-line-height); } - +.statblock.pathfinder-2e-plane-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} .statblock.pathfinder-2e-quest-layout .line { line-height: var(--statblock-property-line-height); display: block; @@ -2137,12 +3361,16 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-quest-layout .statblock-rendered-text-content { color: var(--statblock-property-name-font-color); font-weight: var(--statblock-property-name-font-weight); + font-style: normal; } .statblock.pathfinder-2e-quest-layout .statblock-markdown, .statblock.pathfinder-2e-quest-layout .property { line-height: var(--statblock-property-line-height); } - +.statblock.pathfinder-2e-quest-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} .statblock.pathfinder-2e-settlement-layout .line { line-height: var(--statblock-property-line-height); display: block; @@ -2151,14 +3379,50 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-settlement-layout .statblock-rendered-text-content { color: var(--statblock-property-name-font-color); font-weight: var(--statblock-property-name-font-weight); + font-style: normal; } .statblock.pathfinder-2e-settlement-layout .statblock-markdown, .statblock.pathfinder-2e-settlement-layout .property { line-height: var(--statblock-property-line-height); } - +.statblock.pathfinder-2e-settlement-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} +.statblock.pathfinder-2e-affliction-layout .line { + line-height: var(--statblock-property-line-height); + display: block; + color: var(--statblock-property-font-color); +} +.statblock.pathfinder-2e-affliction-layout .statblock-rendered-text-content { + color: var(--statblock-property-name-font-color); + font-weight: var(--statblock-property-name-font-weight); + font-style: normal; +} +.statblock.pathfinder-2e-affliction-layout .statblock-markdown, +.statblock.pathfinder-2e-affliction-layout .property { + line-height: var(--statblock-property-line-height); +} +.statblock.pathfinder-2e-affliction-layout .property-name strong > em { + color: var(--active-traits-name-font-color); + font-weight: var(--statblock-traits-name-font-weight); +} +.statblock.pathfinder-2e-creature-layout .property-name, +.statblock.pathfinder-2e-creature-layout .property-name:empty { + margin-right: 0; +} +.statblock.pathfinder-2e-creature-layout .saves-container .saves.line .save-name, +.statblock.pathfinder-2e-creature-layout .saves-container .attributes.line .save-name { + text-transform: capitalize; + font-weight: var(--statblock-property-name-font-weight); +} +.statblock.pathfinder-2e-creature-layout .saves-container .save-entry.save-note-entry .save-name { + display: none; +} +.statblock.pathfinder-2e-creature-layout .saves-container .save-entry:has(+ .save-entry.save-note-entry) .save-value::after { + content: "; "; +} .statblock.basic-pathfinder-2e-layout .statblock-item-inline:has(.statblock-inline-item .name) { - /* Formatting of the statblock heading */ display: flex; flex-direction: row; margin-inline: 0.25em; @@ -2187,9 +3451,36 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se max-width: unset; padding: var(--statblock-header-image-padding); } - +.statblock.pathfinder-2e-creature-layout .statblock-item-inline:has(.statblock-inline-item .name) { + display: flex; + flex-direction: row; + margin-inline: 0.25em; + gap: 0.25em; + align-items: center; +} +.statblock.pathfinder-2e-creature-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container:has(.name) { + flex: 1; +} +.statblock.pathfinder-2e-creature-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .name p, +.statblock.pathfinder-2e-creature-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .level p { + align-self: flex-start; + font-size: 1.3em; + font-weight: 900; + line-height: 1.5em; + text-transform: uppercase; +} +.statblock.pathfinder-2e-creature-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .name span.property-name, +.statblock.pathfinder-2e-creature-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .level span.property-name { + display: none; +} +.statblock.pathfinder-2e-creature-layout .statblock-item-inline:has(.statblock-inline-item .name) .pathfinder-2e-quest-icon { + display: block; + height: var(--statblock-header-image-height); + width: unset; + max-width: unset; + padding: var(--statblock-header-image-padding); +} .statblock.pathfinder-2e-action-layout .statblock-item-inline:has(.statblock-inline-item .name) { - /* Formatting of the statblock heading */ display: flex; flex-direction: row; margin-inline: 0.25em; @@ -2218,9 +3509,7 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se max-width: unset; padding: var(--statblock-header-image-padding); } - .statblock.pathfinder-2e-hazard-layout .statblock-item-inline:has(.statblock-inline-item .name) { - /* Formatting of the statblock heading */ display: flex; flex-direction: row; margin-inline: 0.25em; @@ -2249,9 +3538,7 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se max-width: unset; padding: var(--statblock-header-image-padding); } - .statblock.pathfinder-2e-influence-layout .statblock-item-inline:has(.statblock-inline-item .name) { - /* Formatting of the statblock heading */ display: flex; flex-direction: row; margin-inline: 0.25em; @@ -2280,9 +3567,36 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se max-width: unset; padding: var(--statblock-header-image-padding); } - +.statblock.pathfinder-2e-item-layout .statblock-item-inline:has(.statblock-inline-item .name) { + display: flex; + flex-direction: row; + margin-inline: 0.25em; + gap: 0.25em; + align-items: center; +} +.statblock.pathfinder-2e-item-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container:has(.name) { + flex: 1; +} +.statblock.pathfinder-2e-item-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .name p, +.statblock.pathfinder-2e-item-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .level p { + align-self: flex-start; + font-size: 1.3em; + font-weight: 900; + line-height: 1.5em; + text-transform: uppercase; +} +.statblock.pathfinder-2e-item-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .name span.property-name, +.statblock.pathfinder-2e-item-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .level span.property-name { + display: none; +} +.statblock.pathfinder-2e-item-layout .statblock-item-inline:has(.statblock-inline-item .name) .pathfinder-2e-quest-icon { + display: block; + height: var(--statblock-header-image-height); + width: unset; + max-width: unset; + padding: var(--statblock-header-image-padding); +} .statblock.pathfinder-2e-misc-layout .statblock-item-inline:has(.statblock-inline-item .name) { - /* Formatting of the statblock heading */ display: flex; flex-direction: row; margin-inline: 0.25em; @@ -2311,9 +3625,36 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se max-width: unset; padding: var(--statblock-header-image-padding); } - +.statblock.pathfinder-2e-plane-layout .statblock-item-inline:has(.statblock-inline-item .name) { + display: flex; + flex-direction: row; + margin-inline: 0.25em; + gap: 0.25em; + align-items: center; +} +.statblock.pathfinder-2e-plane-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container:has(.name) { + flex: 1; +} +.statblock.pathfinder-2e-plane-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .name p, +.statblock.pathfinder-2e-plane-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .level p { + align-self: flex-start; + font-size: 1.3em; + font-weight: 900; + line-height: 1.5em; + text-transform: uppercase; +} +.statblock.pathfinder-2e-plane-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .name span.property-name, +.statblock.pathfinder-2e-plane-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .level span.property-name { + display: none; +} +.statblock.pathfinder-2e-plane-layout .statblock-item-inline:has(.statblock-inline-item .name) .pathfinder-2e-quest-icon { + display: block; + height: var(--statblock-header-image-height); + width: unset; + max-width: unset; + padding: var(--statblock-header-image-padding); +} .statblock.pathfinder-2e-quest-layout .statblock-item-inline:has(.statblock-inline-item .name) { - /* Formatting of the statblock heading */ display: flex; flex-direction: row; margin-inline: 0.25em; @@ -2342,9 +3683,7 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se max-width: unset; padding: var(--statblock-header-image-padding); } - .statblock.pathfinder-2e-settlement-layout .statblock-item-inline:has(.statblock-inline-item .name) { - /* Formatting of the statblock heading */ display: flex; flex-direction: row; margin-inline: 0.25em; @@ -2373,7 +3712,35 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se max-width: unset; padding: var(--statblock-header-image-padding); } - +.statblock.pathfinder-2e-affliction-layout .statblock-item-inline:has(.statblock-inline-item .name) { + display: flex; + flex-direction: row; + margin-inline: 0.25em; + gap: 0.25em; + align-items: center; +} +.statblock.pathfinder-2e-affliction-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container:has(.name) { + flex: 1; +} +.statblock.pathfinder-2e-affliction-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .name p, +.statblock.pathfinder-2e-affliction-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .level p { + align-self: flex-start; + font-size: 1.3em; + font-weight: 900; + line-height: 1.5em; + text-transform: uppercase; +} +.statblock.pathfinder-2e-affliction-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .name span.property-name, +.statblock.pathfinder-2e-affliction-layout .statblock-item-inline:has(.statblock-inline-item .name) .statblock-inline-item.property-container .level span.property-name { + display: none; +} +.statblock.pathfinder-2e-affliction-layout .statblock-item-inline:has(.statblock-inline-item .name) .pathfinder-2e-quest-icon { + display: block; + height: var(--statblock-header-image-height); + width: unset; + max-width: unset; + padding: var(--statblock-header-image-padding); +} .statblock.basic-pathfinder-2e-layout img { display: inline; position: relative; @@ -2409,7 +3776,41 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.basic-pathfinder-2e-layout .statblock-inline-item .image .pointer { cursor: pointer; } - +.statblock.pathfinder-2e-creature-layout img { + display: inline; + position: relative; + border: none; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-creature-layout .image-container { + text-align: center; +} +.statblock.pathfinder-2e-creature-layout .token > a { + display: inline; +} +.statblock.pathfinder-2e-creature-layout .image { + width: var(--statblock-image-width); + height: var(--statblock-image-height); + display: inline; + max-height: fit-content; + max-width: fit-content; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-creature-layout .statblock-inline-item .image { + width: fit-content; + height: fit-content; +} +.statblock.pathfinder-2e-creature-layout .statblock-inline-item .image img { + border: none; + display: inline; + position: relative; + align-self: center; + object-fit: contain; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-creature-layout .statblock-inline-item .image .pointer { + cursor: pointer; +} .statblock.pathfinder-2e-action-layout img { display: inline; position: relative; @@ -2445,7 +3846,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-action-layout .statblock-inline-item .image .pointer { cursor: pointer; } - .statblock.pathfinder-2e-hazard-layout img { display: inline; position: relative; @@ -2481,7 +3881,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-hazard-layout .statblock-inline-item .image .pointer { cursor: pointer; } - .statblock.pathfinder-2e-influence-layout img { display: inline; position: relative; @@ -2517,7 +3916,41 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-influence-layout .statblock-inline-item .image .pointer { cursor: pointer; } - +.statblock.pathfinder-2e-item-layout img { + display: inline; + position: relative; + border: none; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-item-layout .image-container { + text-align: center; +} +.statblock.pathfinder-2e-item-layout .token > a { + display: inline; +} +.statblock.pathfinder-2e-item-layout .image { + width: var(--statblock-image-width); + height: var(--statblock-image-height); + display: inline; + max-height: fit-content; + max-width: fit-content; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-item-layout .statblock-inline-item .image { + width: fit-content; + height: fit-content; +} +.statblock.pathfinder-2e-item-layout .statblock-inline-item .image img { + border: none; + display: inline; + position: relative; + align-self: center; + object-fit: contain; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-item-layout .statblock-inline-item .image .pointer { + cursor: pointer; +} .statblock.pathfinder-2e-misc-layout img { display: inline; position: relative; @@ -2553,7 +3986,41 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-misc-layout .statblock-inline-item .image .pointer { cursor: pointer; } - +.statblock.pathfinder-2e-plane-layout img { + display: inline; + position: relative; + border: none; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-plane-layout .image-container { + text-align: center; +} +.statblock.pathfinder-2e-plane-layout .token > a { + display: inline; +} +.statblock.pathfinder-2e-plane-layout .image { + width: var(--statblock-image-width); + height: var(--statblock-image-height); + display: inline; + max-height: fit-content; + max-width: fit-content; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-plane-layout .statblock-inline-item .image { + width: fit-content; + height: fit-content; +} +.statblock.pathfinder-2e-plane-layout .statblock-inline-item .image img { + border: none; + display: inline; + position: relative; + align-self: center; + object-fit: contain; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-plane-layout .statblock-inline-item .image .pointer { + cursor: pointer; +} .statblock.pathfinder-2e-quest-layout img { display: inline; position: relative; @@ -2589,7 +4056,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-quest-layout .statblock-inline-item .image .pointer { cursor: pointer; } - .statblock.pathfinder-2e-settlement-layout img { display: inline; position: relative; @@ -2610,11 +4076,46 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se max-width: fit-content; transform: rotateY(180deg); } -.statblock.pathfinder-2e-settlement-layout .statblock-inline-item .image { +.statblock.pathfinder-2e-settlement-layout .statblock-inline-item .image { + width: fit-content; + height: fit-content; +} +.statblock.pathfinder-2e-settlement-layout .statblock-inline-item .image img { + border: none; + display: inline; + position: relative; + align-self: center; + object-fit: contain; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-settlement-layout .statblock-inline-item .image .pointer { + cursor: pointer; +} +.statblock.pathfinder-2e-affliction-layout img { + display: inline; + position: relative; + border: none; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-affliction-layout .image-container { + text-align: center; +} +.statblock.pathfinder-2e-affliction-layout .token > a { + display: inline; +} +.statblock.pathfinder-2e-affliction-layout .image { + width: var(--statblock-image-width); + height: var(--statblock-image-height); + display: inline; + max-height: fit-content; + max-width: fit-content; + transform: rotateY(180deg); +} +.statblock.pathfinder-2e-affliction-layout .statblock-inline-item .image { width: fit-content; height: fit-content; } -.statblock.pathfinder-2e-settlement-layout .statblock-inline-item .image img { +.statblock.pathfinder-2e-affliction-layout .statblock-inline-item .image img { border: none; display: inline; position: relative; @@ -2622,10 +4123,9 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se object-fit: contain; transform: rotateY(180deg); } -.statblock.pathfinder-2e-settlement-layout .statblock-inline-item .image .pointer { +.statblock.pathfinder-2e-affliction-layout .statblock-inline-item .image .pointer { cursor: pointer; } - .statblock.basic-pathfinder-2e-layout .traits { margin: 0 0.25em 0 0; display: inline; @@ -2634,19 +4134,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.basic-pathfinder-2e-layout .rare_01 { background-color: var(--statblock-color-common) !important; - /* common */ } .statblock.basic-pathfinder-2e-layout .rare_02 { background-color: var(--statblock-color-uncommon) !important; - /* uncommon */ } .statblock.basic-pathfinder-2e-layout .rare_03 { background-color: var(--statblock-color-rare) !important; - /* rare */ } .statblock.basic-pathfinder-2e-layout .rare_04 { background-color: var(--statblock-color-unique) !important; - /* unique */ } .statblock.basic-pathfinder-2e-layout .alignment { background-color: var(--statblock-color-alignment) !important; @@ -2708,7 +4204,91 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.basic-pathfinder-2e-layout .trait_07 span.property-name { display: none; } - +.statblock.pathfinder-2e-creature-layout .traits { + margin: 0 0.25em 0 0; + display: inline; + font-weight: 900 !important; + font-style: normal !important; +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container { + margin: 0; +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container > .line:has(.property-name) { + margin: 0; + display: block; +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container .property-name { + display: none; +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container ul { + row-gap: var(--statblock-traits-gap); + display: flex; + flex-flow: row wrap; + place-content: start; + justify-content: flex-start; + padding: 0; + margin: 0; + list-style: none; +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li { + display: block; + background-color: var(--statblock-color-trait); + margin: 0 var(--statblock-traits-gap) 0 0; + color: rgb(255, 255, 255) !important; + font-size: 12px; + font-style: normal !important; + font-weight: 900 !important; + letter-spacing: 0.01em; + min-width: 4em; + text-align: center; + text-transform: uppercase; + padding: 0; +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li:not(:has(> .alignment, > .rarity, > .size)), +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li > span:is(.alignment, .rarity, .size) { + padding: 0.4em 1.1em 0.2em; + line-height: var(--statblock-property-line-height); +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li > span:is(.alignment, .rarity, .size) { + width: 100%; + height: 100%; + display: block; +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li::before { + display: none; +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li strong, +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li i, +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li em, +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li b { + color: rgb(255, 255, 255); +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li a, +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li a:-webkit-any-link, +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li a.internal-link { + color: rgb(255, 255, 255); + text-decoration: none; + text-transform: uppercase; + font-style: normal; +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li > .common { + background-color: var(--statblock-color-common); +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li > .uncommon { + background-color: var(--statblock-color-uncommon); +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li > .rare { + background-color: var(--statblock-color-rare); +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li > .unique { + background-color: var(--statblock-color-unique); +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li > .alignment { + background-color: var(--statblock-color-alignment); +} +.statblock.pathfinder-2e-creature-layout .pf2e-traits.statblock-item-container.property-container li > .size { + background-color: var(--statblock-color-size); +} .statblock.pathfinder-2e-action-layout .traits { margin: 0 0.25em 0 0; display: inline; @@ -2717,19 +4297,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.pathfinder-2e-action-layout .rare_01 { background-color: var(--statblock-color-common) !important; - /* common */ } .statblock.pathfinder-2e-action-layout .rare_02 { background-color: var(--statblock-color-uncommon) !important; - /* uncommon */ } .statblock.pathfinder-2e-action-layout .rare_03 { background-color: var(--statblock-color-rare) !important; - /* rare */ } .statblock.pathfinder-2e-action-layout .rare_04 { background-color: var(--statblock-color-unique) !important; - /* unique */ } .statblock.pathfinder-2e-action-layout .alignment { background-color: var(--statblock-color-alignment) !important; @@ -2791,7 +4367,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-action-layout .trait_07 span.property-name { display: none; } - .statblock.pathfinder-2e-hazard-layout .traits { margin: 0 0.25em 0 0; display: inline; @@ -2800,19 +4375,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.pathfinder-2e-hazard-layout .rare_01 { background-color: var(--statblock-color-common) !important; - /* common */ } .statblock.pathfinder-2e-hazard-layout .rare_02 { background-color: var(--statblock-color-uncommon) !important; - /* uncommon */ } .statblock.pathfinder-2e-hazard-layout .rare_03 { background-color: var(--statblock-color-rare) !important; - /* rare */ } .statblock.pathfinder-2e-hazard-layout .rare_04 { background-color: var(--statblock-color-unique) !important; - /* unique */ } .statblock.pathfinder-2e-hazard-layout .alignment { background-color: var(--statblock-color-alignment) !important; @@ -2874,7 +4445,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-hazard-layout .trait_07 span.property-name { display: none; } - .statblock.pathfinder-2e-influence-layout .traits { margin: 0 0.25em 0 0; display: inline; @@ -2883,19 +4453,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.pathfinder-2e-influence-layout .rare_01 { background-color: var(--statblock-color-common) !important; - /* common */ } .statblock.pathfinder-2e-influence-layout .rare_02 { background-color: var(--statblock-color-uncommon) !important; - /* uncommon */ } .statblock.pathfinder-2e-influence-layout .rare_03 { background-color: var(--statblock-color-rare) !important; - /* rare */ } .statblock.pathfinder-2e-influence-layout .rare_04 { background-color: var(--statblock-color-unique) !important; - /* unique */ } .statblock.pathfinder-2e-influence-layout .alignment { background-color: var(--statblock-color-alignment) !important; @@ -2957,7 +4523,84 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-influence-layout .trait_07 span.property-name { display: none; } - +.statblock.pathfinder-2e-item-layout .traits { + margin: 0 0.25em 0 0; + display: inline; + font-weight: 900 !important; + font-style: normal !important; +} +.statblock.pathfinder-2e-item-layout .rare_01 { + background-color: var(--statblock-color-common) !important; +} +.statblock.pathfinder-2e-item-layout .rare_02 { + background-color: var(--statblock-color-uncommon) !important; +} +.statblock.pathfinder-2e-item-layout .rare_03 { + background-color: var(--statblock-color-rare) !important; +} +.statblock.pathfinder-2e-item-layout .rare_04 { + background-color: var(--statblock-color-unique) !important; +} +.statblock.pathfinder-2e-item-layout .alignment { + background-color: var(--statblock-color-alignment) !important; +} +.statblock.pathfinder-2e-item-layout .size { + background-color: var(--statblock-color-size) !important; +} +.statblock.pathfinder-2e-item-layout .xp, +.statblock.pathfinder-2e-item-layout .kingdom_xp, +.statblock.pathfinder-2e-item-layout .trait_01, +.statblock.pathfinder-2e-item-layout .trait_02, +.statblock.pathfinder-2e-item-layout .trait_03, +.statblock.pathfinder-2e-item-layout .trait_04, +.statblock.pathfinder-2e-item-layout .trait_05, +.statblock.pathfinder-2e-item-layout .trait_06, +.statblock.pathfinder-2e-item-layout .trait_07 { + background-color: var(--statblock-color-trait) !important; +} +.statblock.pathfinder-2e-item-layout .rare_01, +.statblock.pathfinder-2e-item-layout .rare_02, +.statblock.pathfinder-2e-item-layout .rare_03, +.statblock.pathfinder-2e-item-layout .rare_04, +.statblock.pathfinder-2e-item-layout .alignment, +.statblock.pathfinder-2e-item-layout .size, +.statblock.pathfinder-2e-item-layout .xp, +.statblock.pathfinder-2e-item-layout .kingdom_xp, +.statblock.pathfinder-2e-item-layout .trait_01, +.statblock.pathfinder-2e-item-layout .trait_02, +.statblock.pathfinder-2e-item-layout .trait_03, +.statblock.pathfinder-2e-item-layout .trait_04, +.statblock.pathfinder-2e-item-layout .trait_05, +.statblock.pathfinder-2e-item-layout .trait_06, +.statblock.pathfinder-2e-item-layout .trait_07 { + color: rgb(255, 255, 255) !important; + font-size: 12px; + font-style: normal !important; + font-weight: 900 !important; + letter-spacing: 0.01em; + min-width: 4em; + margin: 0 var(--statblock-traits-gap) 0 0; + padding: 0.4em 1.1em 0.2em; + text-align: center; + text-transform: uppercase; +} +.statblock.pathfinder-2e-item-layout .rare_01 span.property-name, +.statblock.pathfinder-2e-item-layout .rare_02 span.property-name, +.statblock.pathfinder-2e-item-layout .rare_03 span.property-name, +.statblock.pathfinder-2e-item-layout .rare_04 span.property-name, +.statblock.pathfinder-2e-item-layout .alignment span.property-name, +.statblock.pathfinder-2e-item-layout .size span.property-name, +.statblock.pathfinder-2e-item-layout .xp span.property-name, +.statblock.pathfinder-2e-item-layout .kingdom_xp span.property-name, +.statblock.pathfinder-2e-item-layout .trait_01 span.property-name, +.statblock.pathfinder-2e-item-layout .trait_02 span.property-name, +.statblock.pathfinder-2e-item-layout .trait_03 span.property-name, +.statblock.pathfinder-2e-item-layout .trait_04 span.property-name, +.statblock.pathfinder-2e-item-layout .trait_05 span.property-name, +.statblock.pathfinder-2e-item-layout .trait_06 span.property-name, +.statblock.pathfinder-2e-item-layout .trait_07 span.property-name { + display: none; +} .statblock.pathfinder-2e-misc-layout .traits { margin: 0 0.25em 0 0; display: inline; @@ -2966,19 +4609,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.pathfinder-2e-misc-layout .rare_01 { background-color: var(--statblock-color-common) !important; - /* common */ } .statblock.pathfinder-2e-misc-layout .rare_02 { background-color: var(--statblock-color-uncommon) !important; - /* uncommon */ } .statblock.pathfinder-2e-misc-layout .rare_03 { background-color: var(--statblock-color-rare) !important; - /* rare */ } .statblock.pathfinder-2e-misc-layout .rare_04 { background-color: var(--statblock-color-unique) !important; - /* unique */ } .statblock.pathfinder-2e-misc-layout .alignment { background-color: var(--statblock-color-alignment) !important; @@ -3040,7 +4679,84 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-misc-layout .trait_07 span.property-name { display: none; } - +.statblock.pathfinder-2e-plane-layout .traits { + margin: 0 0.25em 0 0; + display: inline; + font-weight: 900 !important; + font-style: normal !important; +} +.statblock.pathfinder-2e-plane-layout .rare_01 { + background-color: var(--statblock-color-common) !important; +} +.statblock.pathfinder-2e-plane-layout .rare_02 { + background-color: var(--statblock-color-uncommon) !important; +} +.statblock.pathfinder-2e-plane-layout .rare_03 { + background-color: var(--statblock-color-rare) !important; +} +.statblock.pathfinder-2e-plane-layout .rare_04 { + background-color: var(--statblock-color-unique) !important; +} +.statblock.pathfinder-2e-plane-layout .alignment { + background-color: var(--statblock-color-alignment) !important; +} +.statblock.pathfinder-2e-plane-layout .size { + background-color: var(--statblock-color-size) !important; +} +.statblock.pathfinder-2e-plane-layout .xp, +.statblock.pathfinder-2e-plane-layout .kingdom_xp, +.statblock.pathfinder-2e-plane-layout .trait_01, +.statblock.pathfinder-2e-plane-layout .trait_02, +.statblock.pathfinder-2e-plane-layout .trait_03, +.statblock.pathfinder-2e-plane-layout .trait_04, +.statblock.pathfinder-2e-plane-layout .trait_05, +.statblock.pathfinder-2e-plane-layout .trait_06, +.statblock.pathfinder-2e-plane-layout .trait_07 { + background-color: var(--statblock-color-trait) !important; +} +.statblock.pathfinder-2e-plane-layout .rare_01, +.statblock.pathfinder-2e-plane-layout .rare_02, +.statblock.pathfinder-2e-plane-layout .rare_03, +.statblock.pathfinder-2e-plane-layout .rare_04, +.statblock.pathfinder-2e-plane-layout .alignment, +.statblock.pathfinder-2e-plane-layout .size, +.statblock.pathfinder-2e-plane-layout .xp, +.statblock.pathfinder-2e-plane-layout .kingdom_xp, +.statblock.pathfinder-2e-plane-layout .trait_01, +.statblock.pathfinder-2e-plane-layout .trait_02, +.statblock.pathfinder-2e-plane-layout .trait_03, +.statblock.pathfinder-2e-plane-layout .trait_04, +.statblock.pathfinder-2e-plane-layout .trait_05, +.statblock.pathfinder-2e-plane-layout .trait_06, +.statblock.pathfinder-2e-plane-layout .trait_07 { + color: rgb(255, 255, 255) !important; + font-size: 12px; + font-style: normal !important; + font-weight: 900 !important; + letter-spacing: 0.01em; + min-width: 4em; + margin: 0 var(--statblock-traits-gap) 0 0; + padding: 0.4em 1.1em 0.2em; + text-align: center; + text-transform: uppercase; +} +.statblock.pathfinder-2e-plane-layout .rare_01 span.property-name, +.statblock.pathfinder-2e-plane-layout .rare_02 span.property-name, +.statblock.pathfinder-2e-plane-layout .rare_03 span.property-name, +.statblock.pathfinder-2e-plane-layout .rare_04 span.property-name, +.statblock.pathfinder-2e-plane-layout .alignment span.property-name, +.statblock.pathfinder-2e-plane-layout .size span.property-name, +.statblock.pathfinder-2e-plane-layout .xp span.property-name, +.statblock.pathfinder-2e-plane-layout .kingdom_xp span.property-name, +.statblock.pathfinder-2e-plane-layout .trait_01 span.property-name, +.statblock.pathfinder-2e-plane-layout .trait_02 span.property-name, +.statblock.pathfinder-2e-plane-layout .trait_03 span.property-name, +.statblock.pathfinder-2e-plane-layout .trait_04 span.property-name, +.statblock.pathfinder-2e-plane-layout .trait_05 span.property-name, +.statblock.pathfinder-2e-plane-layout .trait_06 span.property-name, +.statblock.pathfinder-2e-plane-layout .trait_07 span.property-name { + display: none; +} .statblock.pathfinder-2e-quest-layout .traits { margin: 0 0.25em 0 0; display: inline; @@ -3049,19 +4765,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.pathfinder-2e-quest-layout .rare_01 { background-color: var(--statblock-color-common) !important; - /* common */ } .statblock.pathfinder-2e-quest-layout .rare_02 { background-color: var(--statblock-color-uncommon) !important; - /* uncommon */ } .statblock.pathfinder-2e-quest-layout .rare_03 { background-color: var(--statblock-color-rare) !important; - /* rare */ } .statblock.pathfinder-2e-quest-layout .rare_04 { background-color: var(--statblock-color-unique) !important; - /* unique */ } .statblock.pathfinder-2e-quest-layout .alignment { background-color: var(--statblock-color-alignment) !important; @@ -3123,7 +4835,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-quest-layout .trait_07 span.property-name { display: none; } - .statblock.pathfinder-2e-settlement-layout .traits { margin: 0 0.25em 0 0; display: inline; @@ -3132,19 +4843,15 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se } .statblock.pathfinder-2e-settlement-layout .rare_01 { background-color: var(--statblock-color-common) !important; - /* common */ } .statblock.pathfinder-2e-settlement-layout .rare_02 { background-color: var(--statblock-color-uncommon) !important; - /* uncommon */ } .statblock.pathfinder-2e-settlement-layout .rare_03 { background-color: var(--statblock-color-rare) !important; - /* rare */ } .statblock.pathfinder-2e-settlement-layout .rare_04 { background-color: var(--statblock-color-unique) !important; - /* unique */ } .statblock.pathfinder-2e-settlement-layout .alignment { background-color: var(--statblock-color-alignment) !important; @@ -3206,56 +4913,150 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se .statblock.pathfinder-2e-settlement-layout .trait_07 span.property-name { display: none; } - +.statblock.pathfinder-2e-affliction-layout .traits { + margin: 0 0.25em 0 0; + display: inline; + font-weight: 900 !important; + font-style: normal !important; +} +.statblock.pathfinder-2e-affliction-layout .rare_01 { + background-color: var(--statblock-color-common) !important; +} +.statblock.pathfinder-2e-affliction-layout .rare_02 { + background-color: var(--statblock-color-uncommon) !important; +} +.statblock.pathfinder-2e-affliction-layout .rare_03 { + background-color: var(--statblock-color-rare) !important; +} +.statblock.pathfinder-2e-affliction-layout .rare_04 { + background-color: var(--statblock-color-unique) !important; +} +.statblock.pathfinder-2e-affliction-layout .alignment { + background-color: var(--statblock-color-alignment) !important; +} +.statblock.pathfinder-2e-affliction-layout .size { + background-color: var(--statblock-color-size) !important; +} +.statblock.pathfinder-2e-affliction-layout .xp, +.statblock.pathfinder-2e-affliction-layout .kingdom_xp, +.statblock.pathfinder-2e-affliction-layout .trait_01, +.statblock.pathfinder-2e-affliction-layout .trait_02, +.statblock.pathfinder-2e-affliction-layout .trait_03, +.statblock.pathfinder-2e-affliction-layout .trait_04, +.statblock.pathfinder-2e-affliction-layout .trait_05, +.statblock.pathfinder-2e-affliction-layout .trait_06, +.statblock.pathfinder-2e-affliction-layout .trait_07 { + background-color: var(--statblock-color-trait) !important; +} +.statblock.pathfinder-2e-affliction-layout .rare_01, +.statblock.pathfinder-2e-affliction-layout .rare_02, +.statblock.pathfinder-2e-affliction-layout .rare_03, +.statblock.pathfinder-2e-affliction-layout .rare_04, +.statblock.pathfinder-2e-affliction-layout .alignment, +.statblock.pathfinder-2e-affliction-layout .size, +.statblock.pathfinder-2e-affliction-layout .xp, +.statblock.pathfinder-2e-affliction-layout .kingdom_xp, +.statblock.pathfinder-2e-affliction-layout .trait_01, +.statblock.pathfinder-2e-affliction-layout .trait_02, +.statblock.pathfinder-2e-affliction-layout .trait_03, +.statblock.pathfinder-2e-affliction-layout .trait_04, +.statblock.pathfinder-2e-affliction-layout .trait_05, +.statblock.pathfinder-2e-affliction-layout .trait_06, +.statblock.pathfinder-2e-affliction-layout .trait_07 { + color: rgb(255, 255, 255) !important; + font-size: 12px; + font-style: normal !important; + font-weight: 900 !important; + letter-spacing: 0.01em; + min-width: 4em; + margin: 0 var(--statblock-traits-gap) 0 0; + padding: 0.4em 1.1em 0.2em; + text-align: center; + text-transform: uppercase; +} +.statblock.pathfinder-2e-affliction-layout .rare_01 span.property-name, +.statblock.pathfinder-2e-affliction-layout .rare_02 span.property-name, +.statblock.pathfinder-2e-affliction-layout .rare_03 span.property-name, +.statblock.pathfinder-2e-affliction-layout .rare_04 span.property-name, +.statblock.pathfinder-2e-affliction-layout .alignment span.property-name, +.statblock.pathfinder-2e-affliction-layout .size span.property-name, +.statblock.pathfinder-2e-affliction-layout .xp span.property-name, +.statblock.pathfinder-2e-affliction-layout .kingdom_xp span.property-name, +.statblock.pathfinder-2e-affliction-layout .trait_01 span.property-name, +.statblock.pathfinder-2e-affliction-layout .trait_02 span.property-name, +.statblock.pathfinder-2e-affliction-layout .trait_03 span.property-name, +.statblock.pathfinder-2e-affliction-layout .trait_04 span.property-name, +.statblock.pathfinder-2e-affliction-layout .trait_05 span.property-name, +.statblock.pathfinder-2e-affliction-layout .trait_06 span.property-name, +.statblock.pathfinder-2e-affliction-layout .trait_07 span.property-name { + display: none; +} .statblock.basic-pathfinder-2e-layout .dice-roller-result { font-weight: var(--statblock-font-weight); } .statblock.basic-pathfinder-2e-layout .roller-result { font-weight: var(--statblock-font-weight); } - +.statblock.pathfinder-2e-creature-layout .dice-roller-result { + font-weight: var(--statblock-font-weight); +} +.statblock.pathfinder-2e-creature-layout .roller-result { + font-weight: var(--statblock-font-weight); +} .statblock.pathfinder-2e-action-layout .dice-roller-result { font-weight: var(--statblock-font-weight); } .statblock.pathfinder-2e-action-layout .roller-result { font-weight: var(--statblock-font-weight); } - .statblock.pathfinder-2e-hazard-layout .dice-roller-result { font-weight: var(--statblock-font-weight); } .statblock.pathfinder-2e-hazard-layout .roller-result { font-weight: var(--statblock-font-weight); } - .statblock.pathfinder-2e-influence-layout .dice-roller-result { font-weight: var(--statblock-font-weight); } .statblock.pathfinder-2e-influence-layout .roller-result { font-weight: var(--statblock-font-weight); } - +.statblock.pathfinder-2e-item-layout .dice-roller-result { + font-weight: var(--statblock-font-weight); +} +.statblock.pathfinder-2e-item-layout .roller-result { + font-weight: var(--statblock-font-weight); +} .statblock.pathfinder-2e-misc-layout .dice-roller-result { font-weight: var(--statblock-font-weight); } .statblock.pathfinder-2e-misc-layout .roller-result { font-weight: var(--statblock-font-weight); } - +.statblock.pathfinder-2e-plane-layout .dice-roller-result { + font-weight: var(--statblock-font-weight); +} +.statblock.pathfinder-2e-plane-layout .roller-result { + font-weight: var(--statblock-font-weight); +} .statblock.pathfinder-2e-quest-layout .dice-roller-result { font-weight: var(--statblock-font-weight); } .statblock.pathfinder-2e-quest-layout .roller-result { font-weight: var(--statblock-font-weight); } - .statblock.pathfinder-2e-settlement-layout .dice-roller-result { font-weight: var(--statblock-font-weight); } .statblock.pathfinder-2e-settlement-layout .roller-result { font-weight: var(--statblock-font-weight); } - +.statblock.pathfinder-2e-affliction-layout .dice-roller-result { + font-weight: var(--statblock-font-weight); +} +.statblock.pathfinder-2e-affliction-layout .roller-result { + font-weight: var(--statblock-font-weight); +} @media screen and (max-width: 400px) { .statblock.basic-pathfinder-2e-layout .statblock-content > :global(.column) { width: 75vw; @@ -3279,7 +5080,29 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se align-items: center; flex-flow: column nowrap; } - +@media screen and (max-width: 400px) { + .statblock.pathfinder-2e-creature-layout .statblock-content > :global(.column) { + width: 75vw; + } +} +.statblock.pathfinder-2e-creature-layout .spell-line .spells { + font-style: var(--statblock-spells-font-style); +} +.statblock.pathfinder-2e-creature-layout .statblock-table-header { + font-weight: var(--statblock-table-header-font-weight); +} +.statblock.pathfinder-2e-creature-layout .table { + display: flex; + justify-content: space-evenly; + align-items: center; + flex-wrap: wrap; +} +.statblock.pathfinder-2e-creature-layout .table-item { + display: flex; + justify-content: center; + align-items: center; + flex-flow: column nowrap; +} @media screen and (max-width: 400px) { .statblock.pathfinder-2e-action-layout .statblock-content > :global(.column) { width: 75vw; @@ -3303,7 +5126,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se align-items: center; flex-flow: column nowrap; } - @media screen and (max-width: 400px) { .statblock.pathfinder-2e-hazard-layout .statblock-content > :global(.column) { width: 75vw; @@ -3327,7 +5149,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se align-items: center; flex-flow: column nowrap; } - @media screen and (max-width: 400px) { .statblock.pathfinder-2e-influence-layout .statblock-content > :global(.column) { width: 75vw; @@ -3351,7 +5172,29 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se align-items: center; flex-flow: column nowrap; } - +@media screen and (max-width: 400px) { + .statblock.pathfinder-2e-item-layout .statblock-content > :global(.column) { + width: 75vw; + } +} +.statblock.pathfinder-2e-item-layout .spell-line .spells { + font-style: var(--statblock-spells-font-style); +} +.statblock.pathfinder-2e-item-layout .statblock-table-header { + font-weight: var(--statblock-table-header-font-weight); +} +.statblock.pathfinder-2e-item-layout .table { + display: flex; + justify-content: space-evenly; + align-items: center; + flex-wrap: wrap; +} +.statblock.pathfinder-2e-item-layout .table-item { + display: flex; + justify-content: center; + align-items: center; + flex-flow: column nowrap; +} @media screen and (max-width: 400px) { .statblock.pathfinder-2e-misc-layout .statblock-content > :global(.column) { width: 75vw; @@ -3375,7 +5218,29 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se align-items: center; flex-flow: column nowrap; } - +@media screen and (max-width: 400px) { + .statblock.pathfinder-2e-plane-layout .statblock-content > :global(.column) { + width: 75vw; + } +} +.statblock.pathfinder-2e-plane-layout .spell-line .spells { + font-style: var(--statblock-spells-font-style); +} +.statblock.pathfinder-2e-plane-layout .statblock-table-header { + font-weight: var(--statblock-table-header-font-weight); +} +.statblock.pathfinder-2e-plane-layout .table { + display: flex; + justify-content: space-evenly; + align-items: center; + flex-wrap: wrap; +} +.statblock.pathfinder-2e-plane-layout .table-item { + display: flex; + justify-content: center; + align-items: center; + flex-flow: column nowrap; +} @media screen and (max-width: 400px) { .statblock.pathfinder-2e-quest-layout .statblock-content > :global(.column) { width: 75vw; @@ -3399,7 +5264,6 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se align-items: center; flex-flow: column nowrap; } - @media screen and (max-width: 400px) { .statblock.pathfinder-2e-settlement-layout .statblock-content > :global(.column) { width: 75vw; @@ -3423,3 +5287,26 @@ body.pathfinder-2e-settlement-layout-theme-kingmaker .statblock.pathfinder-2e-se align-items: center; flex-flow: column nowrap; } +@media screen and (max-width: 400px) { + .statblock.pathfinder-2e-affliction-layout .statblock-content > :global(.column) { + width: 75vw; + } +} +.statblock.pathfinder-2e-affliction-layout .spell-line .spells { + font-style: var(--statblock-spells-font-style); +} +.statblock.pathfinder-2e-affliction-layout .statblock-table-header { + font-weight: var(--statblock-table-header-font-weight); +} +.statblock.pathfinder-2e-affliction-layout .table { + display: flex; + justify-content: space-evenly; + align-items: center; + flex-wrap: wrap; +} +.statblock.pathfinder-2e-affliction-layout .table-item { + display: flex; + justify-content: center; + align-items: center; + flex-flow: column nowrap; +} diff --git a/src/settings/layout/blocks/ui/IfElseConditions.svelte b/src/settings/layout/blocks/ui/IfElseConditions.svelte index 98de85ed..5da44752 100644 --- a/src/settings/layout/blocks/ui/IfElseConditions.svelte +++ b/src/settings/layout/blocks/ui/IfElseConditions.svelte @@ -44,7 +44,12 @@ monster parameter, which can be used to access properties of the - monster being rendered. + monster being rendered, and the + + plugin + + parameter, which is a reference to the Fantasy Statblocks + plugin and can be used for accessing app and plugin settings.

diff --git a/src/settings/layout/blocks/ui/block.ts b/src/settings/layout/blocks/ui/block.ts index 84206428..1467d685 100644 --- a/src/settings/layout/blocks/ui/block.ts +++ b/src/settings/layout/blocks/ui/block.ts @@ -501,6 +501,19 @@ class ActionModal extends EditorEnabledModal { } } class BasicModal extends EditorEnabledModal { + addPropertyAsCssClassToggleSetting(el: HTMLDivElement) { + new Setting(el) + .setName("Add Property as CSS Class") + .setDesc( + "Disable this to prevent adding the property to the containing HTML element as a CSS class. This can be used to avoid collisions with native Obsidian CSS." + ) + .addToggle((t) => { + t.setValue(!this.block.doNotAddClass).onChange((v) => { + this.block.doNotAddClass = !v; + this.display(); + }); + }); + } buildProperties(el: HTMLDivElement) { el.empty(); const block = this.block; @@ -740,17 +753,7 @@ class PropertyModal extends MarkdownEnabledModal { } buildProperties(el: HTMLDivElement): void { super.buildProperties(el); - new Setting(el) - .setName("Do Not Add Property as CSS Class") - .setDesc( - "Enable this to prevent adding the property to the containing HTML element as a CSS class. This can be used to avoid collisions with native Obsidian CSS." - ) - .addToggle((t) => { - t.setValue(this.block.doNotAddClass).onChange((v) => { - this.block.doNotAddClass = v; - this.display(); - }); - }); + super.addPropertyAsCssClassToggleSetting(el); new Setting(el) .setName("Display Text") .setDesc("This text will be used for the property name.") @@ -764,6 +767,7 @@ class PropertyModal extends MarkdownEnabledModal { class SavesModal extends MarkdownEnabledModal { buildProperties(el: HTMLDivElement): void { super.buildProperties(el); + super.addPropertyAsCssClassToggleSetting(el); new Setting(el) .setName("Display Text") .setDesc("This text will be used for the property name.") @@ -773,6 +777,48 @@ class SavesModal extends MarkdownEnabledModal { ); }); } + buildAdvanced(el: HTMLDivElement): void { + super.buildAdvanced(el); + new Setting(el) + .setHeading() + .setName("Callback") + .setDesc( + createFragment((e) => { + e.createSpan({ + text: "The block will run the callback on each save object and use the returned object as the save." + }); + e.createEl("br"); + e.createSpan({ + text: "The callback will receive the " + }); + e.createEl("code", { text: "monster" }); + e.createSpan({ text: " and " }); + e.createEl("code", { text: "property" }); + e.createSpan({ + text: " parameters. The callback should return an object with a single key and value. For example: " + }); + + e.createEl("code", { text: "return {\"fort\": property.fortitude}" }); + e.createEl("br"); + e.createEl("strong", { + text: "Please Note: This will not run if a dice callback is provided." + }); + }) + ); + + const component = new TextAreaComponent(el).setValue( + this.block.callback + ); + component.inputEl.addClass("statblock-textarea"); + this.editor = editorFromTextArea( + component.inputEl, + EditorView.updateListener.of((update) => { + if (update.docChanged) { + this.block.callback = update.state.doc.toString(); + } + }) + ); + } } class SpellsModal extends MarkdownEnabledModal { buildProperties(el: HTMLDivElement): void { @@ -926,22 +972,13 @@ class TableModal extends BasicModal { this.block.calculate = v; }); }); + super.addPropertyAsCssClassToggleSetting(el); } } class TraitsModal extends MarkdownEnabledModal { buildProperties(el: HTMLDivElement): void { super.buildProperties(el); - new Setting(el) - .setName("Do Not Add Property as CSS Class") - .setDesc( - "Disable this to prevent adding the property to the containing HTML element as a CSS class. This can be used to avoid collisions with native Obsidian CSS." - ) - .addToggle((t) => { - t.setValue(this.block.doNotAddClass).onChange((v) => { - this.block.doNotAddClass = v; - this.display(); - }); - }); + super.addPropertyAsCssClassToggleSetting(el); new Setting(el) .setName("Use Monster Property for Heading") .setDesc( @@ -992,7 +1029,7 @@ class TraitsModal extends MarkdownEnabledModal { .setDesc( createFragment((e) => { e.createSpan({ - text: "The block will run the callback and use the returned string as the property." + text: "The block will run the callback on each trait and use the returned string as the trait description." }); e.createEl("br"); e.createSpan({ diff --git a/src/view/ui/ColumnContainer.svelte b/src/view/ui/ColumnContainer.svelte index a5bed5b6..a2e4343f 100644 --- a/src/view/ui/ColumnContainer.svelte +++ b/src/view/ui/ColumnContainer.svelte @@ -191,8 +191,8 @@ const funct = (frame.contentWindow as any).Function; let parsed: boolean = false; try { - const func = new funct("monster", condition); - parsed = func.call(undefined, monster) ?? false; + const func = new funct("monster", "plugin", condition); + parsed = func.call(undefined, monster, plugin) ?? false; } catch (e) { console.error(e); continue; diff --git a/src/view/ui/Saves.svelte b/src/view/ui/Saves.svelte index 8be5c7d2..edb2a9ac 100644 --- a/src/view/ui/Saves.svelte +++ b/src/view/ui/Saves.svelte @@ -1,7 +1,8 @@
-
+
{item.display ?? toTitleCase(item.properties[0])}
- + {#each saves as [name, value]} +
+
+ +
+
+ +
+
+ {/each}
@@ -59,4 +89,12 @@ display: inline; margin: 0; } + .save-entry, + .save-name, + .save-value { + display: inline; + } + .save-entry:not(:last-child) .save-value::after { + content: ", "; + } diff --git a/src/view/ui/Table.svelte b/src/view/ui/Table.svelte index 123f848b..7f9ff9f7 100644 --- a/src/view/ui/Table.svelte +++ b/src/view/ui/Table.svelte @@ -1,7 +1,7 @@ -
+
{#each [...valueMap.entries()].slice(0, headers.length) as [index, values]}
{headers[index]} @@ -58,7 +60,7 @@ {#if item.calculate} - + {getMod(value)} {/if} @@ -84,4 +86,10 @@ align-items: center; flex-flow: column nowrap; } + .calculated-modifier::before { + content: "("; + } + .calculated-modifier::after { + content: ")"; + }