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 @@