From c1e9fb112ff6cf14f10907eee684eafa664b24cd Mon Sep 17 00:00:00 2001 From: Peter Bjerg Lidegaard Date: Wed, 18 Jan 2023 12:54:49 +0100 Subject: [PATCH] Improved styling of textarea for holding spell effect --- ADnD_2E_Revised/2ESheet.html | 121 +++++++++--------- ADnD_2E_Revised/2EStyle.css | 17 +++ ADnD_2E_Revised/css/2EStyle-base.css | 17 +++ .../html/shared/new-spell-template.html | 121 +++++++++--------- 4 files changed, 158 insertions(+), 118 deletions(-) diff --git a/ADnD_2E_Revised/2ESheet.html b/ADnD_2E_Revised/2ESheet.html index baaf76dbdc..5c7d0737c6 100644 --- a/ADnD_2E_Revised/2ESheet.html +++ b/ADnD_2E_Revised/2ESheet.html @@ -19193,34 +19193,34 @@ -
-
- +
+
+
- - - - + + + + - - - - - - + + + + + +
Spell name RangeArea of
effect
Area of effect Casting time Macro
- - +
+ @@ -19232,50 +19232,53 @@
Cast Memorized
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SchoolSphere
DurationSaving Throw
SubtletySensory
KnockdownCritical
DamageDamage Type
Healing
Reference
Materials
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
School:Sphere:
Duration:Saving Throw:
Subtlety:Sensory:
Knockdown:Critical:
Damage:Damage Type:
Healing:
Reference:
Materials:
+ +

diff --git a/ADnD_2E_Revised/2EStyle.css b/ADnD_2E_Revised/2EStyle.css index a1ad9b7db1..cba60cc68f 100644 --- a/ADnD_2E_Revised/2EStyle.css +++ b/ADnD_2E_Revised/2EStyle.css @@ -205,6 +205,16 @@ textarea { min-width: 90%; } +.charsheet th.sheet-td-dynamic20, +.charsheet td.sheet-td-dynamic20 { + width: 20%; +} + +.charsheet th.sheet-td-dynamic25, +.charsheet td.sheet-td-dynamic25 { + width: 25%; +} + .charsheet th.sheet-td-dynamic30, .charsheet td.sheet-td-dynamic30 { width: 30%; @@ -215,6 +225,11 @@ textarea { width: 50%; } +.charsheet th.sheet-td-dynamic60, +.charsheet td.sheet-td-dynamic60 { + width: 60%; +} + .charsheet th.sheet-td-dynamic70, .charsheet td.sheet-td-dynamic70 { width: 70%; @@ -1584,7 +1599,9 @@ table.sheet-default-header-every-third-row tr:nth-child(3n+1), table.sheet-default-header-first-column td:first-child, table.sheet-default-header-first-column th:first-child, table.sheet-default-header-even-column td:nth-child(even), +table.sheet-default-header-even-column th:nth-child(even), table.sheet-default-header-odd-column td:nth-child(odd), +table.sheet-default-header-odd-column th:nth-child(odd), table.sheet-default-header-every-third-column td:nth-child(3n+1), .sheet-default-header { background-color: #7C0303; diff --git a/ADnD_2E_Revised/css/2EStyle-base.css b/ADnD_2E_Revised/css/2EStyle-base.css index 2c1a0a9221..e17f179336 100644 --- a/ADnD_2E_Revised/css/2EStyle-base.css +++ b/ADnD_2E_Revised/css/2EStyle-base.css @@ -205,6 +205,16 @@ textarea { min-width: 90%; } +.charsheet th.sheet-td-dynamic20, +.charsheet td.sheet-td-dynamic20 { + width: 20%; +} + +.charsheet th.sheet-td-dynamic25, +.charsheet td.sheet-td-dynamic25 { + width: 25%; +} + .charsheet th.sheet-td-dynamic30, .charsheet td.sheet-td-dynamic30 { width: 30%; @@ -215,6 +225,11 @@ textarea { width: 50%; } +.charsheet th.sheet-td-dynamic60, +.charsheet td.sheet-td-dynamic60 { + width: 60%; +} + .charsheet th.sheet-td-dynamic70, .charsheet td.sheet-td-dynamic70 { width: 70%; @@ -890,7 +905,9 @@ table.sheet-default-header-every-third-row tr:nth-child(3n+1), table.sheet-default-header-first-column td:first-child, table.sheet-default-header-first-column th:first-child, table.sheet-default-header-even-column td:nth-child(even), +table.sheet-default-header-even-column th:nth-child(even), table.sheet-default-header-odd-column td:nth-child(odd), +table.sheet-default-header-odd-column th:nth-child(odd), table.sheet-default-header-every-third-column td:nth-child(3n+1), .sheet-default-header { background-color: #7C0303; diff --git a/ADnD_2E_Revised/html/shared/new-spell-template.html b/ADnD_2E_Revised/html/shared/new-spell-template.html index 73dd926e67..75b93f70c8 100644 --- a/ADnD_2E_Revised/html/shared/new-spell-template.html +++ b/ADnD_2E_Revised/html/shared/new-spell-template.html @@ -1,31 +1,31 @@ -
-
- +
+
+
- - - - + + + + - - - - - - + + + + + +
Spell name RangeArea of
effect
Area of effect Casting time Macro
- - +
+ @@ -37,48 +37,51 @@
Cast Memorized
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SchoolSphere
DurationSaving Throw
SubtletySensory
KnockdownCritical
DamageDamage Type
Healing
Reference
Materials
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
School:Sphere:
Duration:Saving Throw:
Subtlety:Sensory:
Knockdown:Critical:
Damage:Damage Type:
Healing:
Reference:
Materials:
+ +
\ No newline at end of file