From bcbf81fa51045c27d4166aab02fafcaa6cc8a9a0 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 21 Mar 2015 23:42:22 +0100 Subject: [PATCH] NPC sheet is now integrated into the PC sheet with some items being optional --- D&D_5e/D&D_5e.css | 66 ++++++-- D&D_5e/D&D_5e.html | 388 ++++++++++++++++++++++++++++++--------------- 2 files changed, 317 insertions(+), 137 deletions(-) diff --git a/D&D_5e/D&D_5e.css b/D&D_5e/D&D_5e.css index 47b91b2001..bc6affd0b9 100644 --- a/D&D_5e/D&D_5e.css +++ b/D&D_5e/D&D_5e.css @@ -53,6 +53,9 @@ button[type=roll]:before { .sheet-pad-t-heart { padding-top: 17px; } +.sheet-mar-t-lg { + margin-top: 10px; +} .sheet-mar-b-md { margin-bottom: 5px; } @@ -61,6 +64,16 @@ button[type=roll]:before { background: url('http://i.imgur.com/RggDtsN.png'); } +.sheet-is-npc:checked ~ div .sheet-npc-version, +.sheet-is-npc:not(:checked) ~ div .sheet-pc-version { + display: block !important; +} + +.sheet-pc-version, +.sheet-npc-version { + display: none !important; +} + .sheet-small-note { text-align: center; font-family: Arial; @@ -74,6 +87,23 @@ button[type=roll]:before { padding: 2px; } +.sheet-checkbox-label { + font-weight: normal; + font-size: 80%; + margin-bottom: 0; + padding-right: 0; + line-height: 100%; + height: 10px; + cursor: pointer; +} + +.sheet-checkbox-label input[type=checkbox] { + -ms-transform: scale(.8); /* IE */ + -moz-transform: scale(.8); /* FF */ + -webkit-transform: scale(.8); /* Safari and Chrome */ + -o-transform: scale(.8); /* Opera */ +} + .sheet-character-name { border-top-width: 1px !important; border-left-width: 1px !important; @@ -144,9 +174,8 @@ button[type=roll]:before { } .sheet-jack-of-all-trades { position: absolute; - top: -5px; + top: 2px; right: 0; - font-size: 70%; } .sheet-skills select { @@ -203,10 +232,7 @@ button[type=roll]:before { margin-top: 8px; } .sheet-speed { - height: 60px; -} -.sheet-speed input { - margin-top: 9px; + height: 64px; } .sheet-wrap-box-label { @@ -368,8 +394,27 @@ input.sheet-inspiration:checked + span.sheet-inspiration-tab::before { /* END Inspiration button Settings */ +.sheet-resistances-immunities textarea { + width: 100%; + height: auto; + font-size: 68%; + line-height: 100%; + margin-bottom: 0; +} +.sheet-resistances-immunities input { + font-size: 68%; +} - +.sheet-resistances-immunities .sheet-small-label { + margin-bottom: 5px; +} +.sheet-npc-traits textarea { + width: 100%; + font-size: 80%; + line-height: 100%; + margin-bottom: 0; + margin-bottom: 0; +} @@ -603,12 +648,11 @@ div[class="repcontainer editmode"] ~ div[class^="repcontrol"] button[class="btn /* player/npc button Settings */ -div.sheet-player, div.sheet-npc { + div.sheet-npc { display: none; } -input.sheet-is-npc:checked ~ div.sheet-npc, -input.sheet-is-npc:not(:checked )~ div.sheet-player +input.sheet-is-npc:checked ~ div.sheet-npc { display: block; } @@ -1109,7 +1153,7 @@ button, input, select, textarea, border-bottom: 1px dotted #000; } -input[type=number], input[type=text], select { +input[type=number], input[type=text], select, .sheet-border-bottom-only { width: 100%!important; margin-bottom:2px!important; border-top-width: 0; diff --git a/D&D_5e/D&D_5e.html b/D&D_5e/D&D_5e.html index 23f36cfea5..880c2daea4 100644 --- a/D&D_5e/D&D_5e.html +++ b/D&D_5e/D&D_5e.html @@ -10,59 +10,56 @@
-
Character Name
+
Character Name
+
Creature Name
-
-
- -
Race
-
-
-
-
+
+
Class
-
-
- -
Level
-
-
-
- -
Background
+
+ +
Size
+
+ +
Alignment
+
+
+ +
Languages
+
-
-
- -
Alignment
+
+ +
Race
+
Type
+
+
+ +
Senses
+
+
+
+ +
Level
+
+
+ +
Challenge
-
-
- -
Vision
-
-
-
-
- -
Current XP
-
-
-
-
- -
XP for next level
-
+
+ +
Experience Points
+
XP
@@ -997,8 +994,10 @@
Skills
- - Jack of all trades +
@@ -1012,13 +1011,16 @@
-
-
+
+
-
-
Armor
-
Class
-
+
+
+ +
+
+
Armor
+
Class
@@ -1037,7 +1039,7 @@
- +
Speed
@@ -1069,6 +1071,145 @@
+
+
+
+
+
+ +
HD Note
+
+
+
+
Classes
+
Hit Die
+
Current
+
Max
+
+
+
+ Tiny +
+
+ +
+
+ +
+
+ +
+
+
+
+ Sorcerer, Wizard + Small +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+ Bard, Cleric, Druid, Rogue, Monk, Warlock + Medium +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+ Fighter, Paladin, Ranger + Large +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+ Barbarian + Large +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+ Gargantuan +
+
+ +
+
+ +
+
+ +
+
+
Hit Dice
+
+
+
@@ -1112,80 +1253,11 @@
-
-
-
-
-
Classes
-
Hit Die
-
Current
-
Max
-
-
-
Sorcerer, Wizard
-
- -
-
- -
-
- -
-
-
-
Bard, Cleric, Druid, Rogue, Monk, Warlock
-
- -
-
- -
-
- -
-
-
-
Fighter, Paladin, Ranger
-
- -
-
- -
-
- -
-
-
-
Barbarian
-
- -
-
- -
-
- -
-
-
Hit Dice
-
-
-
-
+
-
+
@@ -1194,7 +1266,7 @@
-
+
@@ -1204,6 +1276,76 @@
+
+
+
+
+
+ + +
Fly
+
+
+ +
Climb
+
+
+ +
Swim
+
+
+ +
Burrow
+
+
+
+
+
+
+
+
+
+
+ +
Damage Resistances
+
+
+
+
+ +
Damage Vulnerabilities
+
+
+
+
+ +
Damage Immunities
+
+
+
+
+ +
Condition Immunities
+
+
+
Resistances and Immunities
+
+
+
+
+
+
+
+ +
+
Traits
+
+
+
+
@@ -1305,12 +1447,6 @@
Size
-
-
- -
Known Languages
-
-

Background, Traits, Ideals, Bonds and Flaws g