From cd5ff4b927a7abddcdbf16ede6ea25c8dc5a2c27 Mon Sep 17 00:00:00 2001 From: Ryan Sturt Date: Wed, 6 Sep 2023 10:52:24 -0400 Subject: [PATCH] changelog, class selector, labels --- DCC/DCC.css | 208 ++++++++------------------------------------------ DCC/DCC.html | 89 +++++++++++---------- DCC/README.md | 15 +++- 3 files changed, 89 insertions(+), 223 deletions(-) diff --git a/DCC/DCC.css b/DCC/DCC.css index 83980e3cfd..f932284ae8 100644 --- a/DCC/DCC.css +++ b/DCC/DCC.css @@ -46,14 +46,14 @@ font-family: 'Corben'; font-style: normal; font-weight: 700; - src: local('Corben'), url(http://themes.googleusercontent.com/static/fonts/corben/v6/ljkAb4w-83fUltRn9aENdbO3LdcAZYWl9Si6vvxL-qU.woff) format('woff'); + src: local('Corben'), url(https://themes.googleusercontent.com/static/fonts/corben/v6/ljkAb4w-83fUltRn9aENdbO3LdcAZYWl9Si6vvxL-qU.woff) format('woff'); } @font-face { font-family: 'Corben Regular'; font-style: normal; font-weight: 400; - src: local('Corben Regular'), local('Corben-Regular'), url(http://themes.googleusercontent.com/static/fonts/corben/v6/uWWoJk4JhWoRrYEm4mc4D-vvDin1pK8aKteLpeZ5c0A.woff) format('woff'); + src: local('Corben Regular'), local('Corben-Regular'), url(https://themes.googleusercontent.com/static/fonts/corben/v6/uWWoJk4JhWoRrYEm4mc4D-vvDin1pK8aKteLpeZ5c0A.woff) format('woff'); } .charsheet { @@ -434,187 +434,41 @@ input.sheet-baseinfo, height: 22px; } -/* TABS */ - -.sheet-wrapper input.sheet-isWarrior, -.sheet-wrapper input.sheet-isWizard, -.sheet-wrapper input.sheet-isCleric, -.sheet-wrapper input.sheet-isThief, -.sheet-wrapper input.sheet-isHalfling, -.sheet-wrapper input.sheet-isDwarf, -.sheet-wrapper input.sheet-isElf, -.sheet-wrapper input.sheet-isNPC, -.charsheet .sheet-wrapper label.sheet-tab { - display: inline; - width:24px; -} .charsheet .sheet-wrapper label.sheet-tab { width:40px; } -.sheet-wrapper .sheet-isWarrior:checked~.sheet-wizard, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-cleric, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-thief, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-halfling, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-elf, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-npc, -.sheet-wrapper .sheet-isWizard:checked~.sheet-warrior, -.sheet-wrapper .sheet-isWizard:checked~.sheet-cleric, -.sheet-wrapper .sheet-isWizard:checked~.sheet-thief, -.sheet-wrapper .sheet-isWizard:checked~.sheet-halfling, -.sheet-wrapper .sheet-isWizard:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isWizard:checked~.sheet-elf, -.sheet-wrapper .sheet-isWizard:checked~.sheet-npc, -.sheet-wrapper .sheet-isCleric:checked~.sheet-warrior, -.sheet-wrapper .sheet-isCleric:checked~.sheet-wizard, -.sheet-wrapper .sheet-isCleric:checked~.sheet-thief, -.sheet-wrapper .sheet-isCleric:checked~.sheet-halfling, -.sheet-wrapper .sheet-isCleric:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isCleric:checked~.sheet-elf, -.sheet-wrapper .sheet-isCleric:checked~.sheet-npc, -.sheet-wrapper .sheet-isThief:checked~.sheet-warrior, -.sheet-wrapper .sheet-isThief:checked~.sheet-wizard, -.sheet-wrapper .sheet-isThief:checked~.sheet-cleric, -.sheet-wrapper .sheet-isThief:checked~.sheet-halfling, -.sheet-wrapper .sheet-isThief:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isThief:checked~.sheet-elf, -.sheet-wrapper .sheet-isThief:checked~.sheet-npc, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-warrior, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-wizard, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-cleric, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-thief, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-elf, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-npc, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-warrior, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-wizard, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-cleric, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-thief, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-halfling, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-elf, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-npc, -.sheet-wrapper .sheet-isElf:checked~.sheet-warrior, -.sheet-wrapper .sheet-isElf:checked~.sheet-wizard, -.sheet-wrapper .sheet-isElf:checked~.sheet-cleric, -.sheet-wrapper .sheet-isElf:checked~.sheet-thief, -.sheet-wrapper .sheet-isElf:checked~.sheet-halfling, -.sheet-wrapper .sheet-isElf:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isElf:checked~.sheet-npc { + + +.charsheet .sheet-wrapper .sheet-warrior, +.charsheet .sheet-wrapper .sheet-wizard, +.charsheet .sheet-wrapper .sheet-cleric, +.charsheet .sheet-wrapper .sheet-thief, +.charsheet .sheet-wrapper .sheet-halfling, +.charsheet .sheet-wrapper .sheet-dwarf, +.charsheet .sheet-wrapper .sheet-elf, +.charsheet .sheet-wrapper .sheet-bard, +.charsheet .sheet-wrapper .sheet-gnome, +.charsheet .sheet-wrapper .sheet-paladin, +.charsheet .sheet-wrapper .sheet-ranger, +.charsheet .sheet-wrapper .sheet-kith { display: none; } -.sheet-wrapper .sheet-isNPC:checked~.sheet-pc, -.sheet-wrapper .sheet-isPC:checked~.sheet-npc { - display: none; -} - - -/* Extra Classes */ - -.sheet-wrapper input.sheet-isBard, -.sheet-wrapper input.sheet-isGnome, -.sheet-wrapper input.sheet-isPaladin, -.sheet-wrapper input.sheet-isRanger, -.sheet-wrapper input.sheet-isKith, -.sheet-wrapper input.sheet-isNPC, -.charsheet .sheet-wrapper label.sheet-tab { - display: inline; - width:24px; -} - - -.sheet-wrapper .sheet-isBard:checked~.sheet-warrior, -.sheet-wrapper .sheet-isBard:checked~.sheet-wizard, -.sheet-wrapper .sheet-isBard:checked~.sheet-cleric, -.sheet-wrapper .sheet-isBard:checked~.sheet-thief, -.sheet-wrapper .sheet-isBard:checked~.sheet-halfling, -.sheet-wrapper .sheet-isBard:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isBard:checked~.sheet-elf, -.sheet-wrapper .sheet-isBard:checked~.sheet-gnome, -.sheet-wrapper .sheet-isBard:checked~.sheet-paladin, -.sheet-wrapper .sheet-isBard:checked~.sheet-ranger, -.sheet-wrapper .sheet-isBard:checked~.sheet-kith, -.sheet-wrapper .sheet-isGnome:checked~.sheet-warrior, -.sheet-wrapper .sheet-isGnome:checked~.sheet-wizard, -.sheet-wrapper .sheet-isGnome:checked~.sheet-cleric, -.sheet-wrapper .sheet-isGnome:checked~.sheet-thief, -.sheet-wrapper .sheet-isGnome:checked~.sheet-halfling, -.sheet-wrapper .sheet-isGnome:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isGnome:checked~.sheet-elf, -.sheet-wrapper .sheet-isGnome:checked~.sheet-bard, -.sheet-wrapper .sheet-isGnome:checked~.sheet-paladin, -.sheet-wrapper .sheet-isGnome:checked~.sheet-ranger, -.sheet-wrapper .sheet-isGnome:checked~.sheet-kith, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-warrior, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-wizard, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-cleric, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-thief, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-halfling, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-elf, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-bard, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-gnome, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-ranger, -.sheet-wrapper .sheet-isPaladin:checked~.sheet-kith, -.sheet-wrapper .sheet-isRanger:checked~.sheet-warrior, -.sheet-wrapper .sheet-isRanger:checked~.sheet-wizard, -.sheet-wrapper .sheet-isRanger:checked~.sheet-cleric, -.sheet-wrapper .sheet-isRanger:checked~.sheet-thief, -.sheet-wrapper .sheet-isRanger:checked~.sheet-halfling, -.sheet-wrapper .sheet-isRanger:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isRanger:checked~.sheet-elf, -.sheet-wrapper .sheet-isRanger:checked~.sheet-bard, -.sheet-wrapper .sheet-isRanger:checked~.sheet-gnome, -.sheet-wrapper .sheet-isRanger:checked~.sheet-paladin, -.sheet-wrapper .sheet-isRanger:checked~.sheet-kith, -.sheet-wrapper .sheet-isKith:checked~.sheet-warrior, -.sheet-wrapper .sheet-isKith:checked~.sheet-wizard, -.sheet-wrapper .sheet-isKith:checked~.sheet-cleric, -.sheet-wrapper .sheet-isKith:checked~.sheet-thief, -.sheet-wrapper .sheet-isKith:checked~.sheet-halfling, -.sheet-wrapper .sheet-isKith:checked~.sheet-dwarf, -.sheet-wrapper .sheet-isKith:checked~.sheet-elf, -.sheet-wrapper .sheet-isKith:checked~.sheet-bard, -.sheet-wrapper .sheet-isKith:checked~.sheet-gnome, -.sheet-wrapper .sheet-isKith:checked~.sheet-paladin, -.sheet-wrapper .sheet-isKith:checked~.sheet-ranger, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-ranger, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-bard, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-gnome, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-paladin, -.sheet-wrapper .sheet-isWarrior:checked~.sheet-kith, -.sheet-wrapper .sheet-isWizard:checked~.sheet-ranger, -.sheet-wrapper .sheet-isWizard:checked~.sheet-bard, -.sheet-wrapper .sheet-isWizard:checked~.sheet-gnome, -.sheet-wrapper .sheet-isWizard:checked~.sheet-paladin, -.sheet-wrapper .sheet-isWizard:checked~.sheet-kith, -.sheet-wrapper .sheet-isCleric:checked~.sheet-ranger, -.sheet-wrapper .sheet-isCleric:checked~.sheet-bard, -.sheet-wrapper .sheet-isCleric:checked~.sheet-gnome, -.sheet-wrapper .sheet-isCleric:checked~.sheet-paladin, -.sheet-wrapper .sheet-isCleric:checked~.sheet-kith, -.sheet-wrapper .sheet-isThief:checked~.sheet-ranger, -.sheet-wrapper .sheet-isThief:checked~.sheet-bard, -.sheet-wrapper .sheet-isThief:checked~.sheet-gnome, -.sheet-wrapper .sheet-isThief:checked~.sheet-paladin, -.sheet-wrapper .sheet-isThief:checked~.sheet-kith, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-ranger, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-bard, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-gnome, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-paladin, -.sheet-wrapper .sheet-isHalfling:checked~.sheet-kith, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-ranger, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-bard, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-gnome, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-paladin, -.sheet-wrapper .sheet-isDwarf:checked~.sheet-kith, -.sheet-wrapper .sheet-isElf:checked~.sheet-ranger, -.sheet-wrapper .sheet-isElf:checked~.sheet-bard, -.sheet-wrapper .sheet-isElf:checked~.sheet-gnome, -.sheet-wrapper .sheet-isElf:checked~.sheet-kith, -.sheet-wrapper .sheet-isElf:checked~.sheet-paladin { - display: none; -} +/* show the selected archetype */ +.charsheet .sheet-wrapper .sheet-classtoggle[value="warrior"] ~ div.sheet-warrior, +.charsheet .sheet-wrapper .sheet-classtoggle[value="wizard"] ~ div.sheet-wizard, +.charsheet .sheet-wrapper .sheet-classtoggle[value="cleric"] ~ div.sheet-cleric, +.charsheet .sheet-wrapper .sheet-classtoggle[value="thief"] ~ div.sheet-thief, +.charsheet .sheet-wrapper .sheet-classtoggle[value="halfling"] ~ div.sheet-halfling, +.charsheet .sheet-wrapper .sheet-classtoggle[value="dwarf"] ~ div.sheet-dwarf, +.charsheet .sheet-wrapper .sheet-classtoggle[value="elf"] ~ div.sheet-elf, +.charsheet .sheet-wrapper .sheet-classtoggle[value="bard"] ~ div.sheet-bard, +.charsheet .sheet-wrapper .sheet-classtoggle[value="gnome"] ~ div.sheet-gnome, +.charsheet .sheet-wrapper .sheet-classtoggle[value="paladin"] ~ div.sheet-paladin, +.charsheet .sheet-wrapper .sheet-classtoggle[value="ranger"] ~ div.sheet-ranger, +.charsheet .sheet-wrapper .sheet-classtoggle[value="kith"] ~ div.sheet-kith { + display: block; +} \ No newline at end of file diff --git a/DCC/DCC.html b/DCC/DCC.html index 088601e828..8873029d14 100644 --- a/DCC/DCC.html +++ b/DCC/DCC.html @@ -475,10 +475,10 @@
- +
- +
@@ -518,10 +518,10 @@
- +
- +
@@ -530,7 +530,7 @@
- +
@@ -542,16 +542,21 @@
- +
- +
- +
- +
@@ -626,18 +631,24 @@

- - - - - - - - - - - - +
+

Class

+ +
+

Warrior Abilities

@@ -690,7 +701,7 @@
- +

Wizard Spells & Abilities

@@ -797,8 +808,9 @@
+
- +

Cleric Spells & Abilities

@@ -996,8 +1008,9 @@
+
- +

Thief Abilities

@@ -1188,8 +1201,9 @@
+
- +

Halfling Abilities

@@ -1223,8 +1237,9 @@
+
- +

Dwarf Abilities

@@ -1275,8 +1290,8 @@
+
-

Elf Spells & Abilities

@@ -1422,9 +1437,7 @@
- - - +

Bard Spells & Abilities

@@ -1583,10 +1596,6 @@ The Bard class is from Crawl! No.6: Classic Class Collection
- - - -

Gnome Spells & Abilities

@@ -1741,9 +1750,8 @@ The Gnome class is from Crawl! No.6: Classic Class Collection
- +
-

Paladin Spells & Abilities

@@ -2017,10 +2025,9 @@
The Paladin class is from Crawl! No.6: Classic Class Collection
-
- +
+
-

Ranger Abilities

@@ -2146,9 +2153,8 @@ The Ranger class is from Crawl! No.6: Classic Class Collection
- -
+

Kith Abilities

@@ -2208,5 +2214,4 @@
-
diff --git a/DCC/README.md b/DCC/README.md index 42591f7797..717374debd 100644 --- a/DCC/README.md +++ b/DCC/README.md @@ -3,14 +3,21 @@ Character Sheet for Dungeon Crawl Classics by bripod and sturtus =============================================== -Roadmap/Unfinished -- Armor Check Penalty resolution -- mighty deed resolution -- optional API checkbox in case of DCC HELPER usage, change buttons to API compatible buttons + +9/6/23 +- opts for using roll buttons without nested inputs to satisfy HTML standards and to fix buttons not - working +- formatting fixes to introduce new roll buttons +- adds sources for gnome, ranger, paladin, and bard classes +- adds agility to initiative roll +- adds field to set initiative die to d16 for two handed weapons +- updates class radio input tabs to a dropdown menu 8/31/23 - switched out disabled attribute for readonly +SOMEWHERE IN BETWEEN +- somebody added sheet worker and Kith class (whatever that is) + 7/17/14 - Added ranger, paladin, gnome, bard - fixed typos