From 572b18ecad8859ef1dc42b04b65d486b504484ea Mon Sep 17 00:00:00 2001 From: Batziy <55130783+Batziy@users.noreply.github.com> Date: Tue, 2 Nov 2021 12:59:05 +0100 Subject: [PATCH 1/2] Top bit of Items Changed the top bit of the item sheets to look a bit better. More changes will be made. this is just a first step. --- lang/en.json | 3 +- styles/item-sheets.css | 22 ++++++ styles/witcher-styles.css | 1 + templates/sheets/alchemical-sheet.html | 27 +++---- templates/sheets/armor-sheet.html | 26 +++---- templates/sheets/component-sheet.html | 66 ++++++++++-------- templates/sheets/diagrams-sheet.html | 78 +++++++++++---------- templates/sheets/enhancement-sheet.html | 44 ++++++------ templates/sheets/mount-sheet.html | 13 ++-- templates/sheets/mutagen-sheet.html | 38 +++++----- templates/sheets/spell-sheet.html | 93 ++++++++++++++----------- templates/sheets/valuable-sheet.html | 18 +++-- templates/sheets/weapon-sheet.html | 60 ++++++++-------- 13 files changed, 282 insertions(+), 207 deletions(-) create mode 100644 styles/item-sheets.css diff --git a/lang/en.json b/lang/en.json index b76b1763..de1edb8e 100644 --- a/lang/en.json +++ b/lang/en.json @@ -114,7 +114,7 @@ "WITCHER.Diagram.otherComponents": "Other Components", "WITCHER.Diagram.investment": "Investment", "WITCHER.Diagram.Learned": "Learned", - "WITCHER.Diagram.Formulae": "Formuale", + "WITCHER.Diagram.Formulae": "Formulae", "WITCHER.Diagram.Ingredient": "Ingredient", "WITCHER.Diagram.Weapon": "Weapon", @@ -591,6 +591,7 @@ "WITCHER.Spell.Effect": "Effect", "WITCHER.Spell.AlternateComponents": "Alternate Components", "WITCHER.SPell.Signs": "Signs", + "WITCHER.Spell.Element": "Element", "WITCHER.Spell.StaCost": "STA Cost", "WITCHER.Spell.Variable": "STA Variable", diff --git a/styles/item-sheets.css b/styles/item-sheets.css new file mode 100644 index 00000000..0475c8a2 --- /dev/null +++ b/styles/item-sheets.css @@ -0,0 +1,22 @@ +.item-collum { + display: table-cell; + text-align: center; + width: 100px; +} + +.item-row { + display: table; + text-align: center; +} + +.item-collum input { + width: 75px; + height: 27px; + margin-right: 5px; + margin-left: 5px; +} + +.item-selector select{ + margin-right: 5px; + margin-left: 5px; +} \ No newline at end of file diff --git a/styles/witcher-styles.css b/styles/witcher-styles.css index d8c6860c..610ba501 100644 --- a/styles/witcher-styles.css +++ b/styles/witcher-styles.css @@ -9,6 +9,7 @@ @import "./loot-sheet.css"; @import "./profession-sheet.css"; @import "./crit-wounds-table.css"; +@import "./item-sheets.css"; @font-face { font-family:'Thewitcher'; diff --git a/templates/sheets/alchemical-sheet.html b/templates/sheets/alchemical-sheet.html index 15201836..12b6bcf4 100644 --- a/templates/sheets/alchemical-sheet.html +++ b/templates/sheets/alchemical-sheet.html @@ -1,19 +1,22 @@