diff --git a/SharpSwordsAndSinisterSpells/README.md b/SharpSwordsAndSinisterSpells/README.md index 511903cab2..29e124c53c 100644 --- a/SharpSwordsAndSinisterSpells/README.md +++ b/SharpSwordsAndSinisterSpells/README.md @@ -1,3 +1 @@ -This is an unoficial character sheet for the Sharp Swords & Sinister Spells RPG game by Diogo Nogueira. - -Currently it is only in Portuguese language. +This is an unofficial character sheet for the Sharp Swords & Sinister Spells RPG game by Diogo Nogueira. diff --git a/SharpSwordsAndSinisterSpells/sharpswords.css b/SharpSwordsAndSinisterSpells/sharpswords.css index 5237e64523..3a9c073ba9 100644 --- a/SharpSwordsAndSinisterSpells/sharpswords.css +++ b/SharpSwordsAndSinisterSpells/sharpswords.css @@ -1,59 +1,63 @@ -/*----------------- GRID MAIN DEFINITIONS ------------------*/ -@import url('https://fonts.googleapis.com/css?family=New Rocker|Rosarivo&display=swap'); +/*----------------- MAIN CONTAINER DEFINITIONS ------------------*/ +@import url('https://fonts.googleapis.com/css?family=New+Rocker|Rosarivo&display=swap'); -.sheet-grid-main-container { - font-family: New Rocker; - font-size: 1em; - display: grid; - gap: 1.5em; - max-width: 800px; +.sheet-main-container { min-height: 600px; - /*justify-items: center;*/ - grid-template-columns: 0.5fr 1fr 1fr; - grid-template-rows: auto auto auto 1fr 1fr 1fr auto; - grid-template-areas: "header header header" - "defs defs defs" - "other-attr other-attr other-attr" - "main-attr weapons equipment" - "coins habilities spells" - "notes habilities spells" - "footer footer footer"; + min-width: 800px; + max-width: 1000px; } /*----------------- GENERAL CSS ------------------*/ +.sheet-main-font { + font-family: 'New Rocker'; + font-size: 1em; +} + +.sheet-second-font { + font-family: 'Rosarivo'; + font-size: 0.8em; +} + .sheet-flex-row { display: flex; flex-direction: row; - flex-wrap: wrap; + flex-wrap: wrap; } .sheet-flex-column { display: flex; - flex-direction: column; + flex-direction: column; + flex-wrap: wrap; } .sheet-nowrap { flex-wrap: nowrap; } -.sheet-grid-main-container input { - margin: 0 2px 0 2px; +.sheet-main-container input { + margin: 2px; } -.sheet-grid-main-container input[type=number] { - width: 40px; +.sheet-main-container input[type=number] { + width: 40px; } -.sheet-grid-main-container fieldset { +.sheet-main-container fieldset { min-width: 0; padding: 0; margin: 0; border: 0; } -.sheet-grid-main-container textarea { - width: 100%; +.sheet-main-container textarea { + width: 100%; + height: 5em; + margin: 2px; +} + +.sheet-section { + margin: 0.7em; } .sheet-section-title { @@ -75,18 +79,27 @@ padding: 2px; } -.sheet-second-font { - font-family: Rosarivo; - font-size: 0.8em; +.sheet-die-select { + width: auto; + margin: 2px; +} + +.sheet-big-margin-bottom { + margin-bottom: 20px; +} + +.sheet-repeatable-item { + margin-bottom: 5px; } /*------------- GRID SECTIONS -------------*/ .sheet-header { - grid-area: header; + align-items: center; } .sheet-header h1 { margin: 0px; + align-items: center; } .sheet-sharp-swords { @@ -103,9 +116,7 @@ border-style:solid; } - .sheet-char-definitions { - grid-area: defs; justify-content: space-between; } @@ -122,16 +133,31 @@ flex-grow: 1; } +.sheet-middle-section { + justify-content: flex-start; +} + +.sheet-left-column { + justify-content: stretch; + width: 20%; +} + +.sheet-middle-column { + width: 40%; +} + +.sheet-right-column { + width: 40%; +} + .sheet-main-attributes { - grid-area: main-attr; display: grid; - grid-template-columns: 1fr auto 1fr 2fr; - justify-items: stretch; - align-items: center; + grid-template-columns: auto auto auto auto; + justify-items: flex-start; + align-items: center; } .sheet-other-attributes { - grid-area: other-attr; justify-content: space-evenly; align-items: center; } @@ -140,32 +166,14 @@ align-items: center; } -.sheet-habilities { - grid-area: habilities; -} - -.sheet-equipment { - grid-area: equipment; -} - -.sheet-notes { - grid-area: notes; -} - -.sheet-spells { - grid-area: spells; -} - -.sheet-weapons { - grid-area: weapons; +.sheet-notes textarea{ + height: 10em; + margin: 0px; + width: max-content; } .sheet-weapons-damage { - width: 4em; -} - -.sheet-coins { - grid-area: coins; + width: 5em; } .sheet-coins-grid { @@ -175,7 +183,6 @@ } .sheet-footer { - grid-area: footer; font-style: italic; font-size: 0.7em; justify-content: flex-end; diff --git a/SharpSwordsAndSinisterSpells/sharpswords.html b/SharpSwordsAndSinisterSpells/sharpswords.html index fe9117d0d0..228254f02c 100644 --- a/SharpSwordsAndSinisterSpells/sharpswords.html +++ b/SharpSwordsAndSinisterSpells/sharpswords.html @@ -1,32 +1,33 @@ -
+
-
-

ESPADAS
AFIADAS

+
+

ESPADAS
AFIADAS

&

-

FEITIÇOS
SINISTROS

+

FEITIÇOS
SINISTROS

-
+ +
- Nome + Nome - Arquétipo + Arquétipo
- Vocação + Vocação - Complicação + Complicação
@@ -34,11 +35,11 @@
- Nível + Nível
- + Aventuras @@ -47,11 +48,12 @@
-
+ +
- Dado de sorte - @@ -65,7 +67,7 @@
- Pontos de Vida + Pontos de Vida
@@ -80,140 +82,158 @@
- -
- Físico - - - +
+
+ +
- Agilidade - - - + Físico + + + - Intelecto - - - + Agilidade + + + - Vontade - - - + Intelecto + + + -
+ Vontade + + + - -
-
- Anotações -
-
- -
-
- - -
-
- Habilidades Especiais -
-
-
-
-
-
- -
-
- Magias -
+ +
+
+ Moedas +
-
-
- +
+ mc + + + mp + + + mo + + + mpl + +
-
-
- -
- -
- Equipamentos -
- -
-
- - - - + +
+
+ Anotações +
+
+ +
-
-
- - -
- -
- Armas
-
-
- - - +
+ +
+ +
+ Armas +
+ +
+
+ + + + +
+
+
-
-
- - -
-
- Moedas + +
+
+ Habilidades Especiais +
+
+
+ + +
+
+
-
- mc - +
+ +
+ +
+ Equipamentos +
- mp - +
+
+ - mo - + + +
+
+
- mpl - + +
+
+ Magias +
+ +
+
+ + +
+
+
+
@@ -252,10 +274,13 @@ physique_label: getTranslationByKey("char-physique"), agility_label: getTranslationByKey("char-agility"), intellect_label: getTranslationByKey("char-intellect"), - will_label: getTranslationByKey("char-will") + will_label: getTranslationByKey("char-will"), + weapon: getTranslationByKey("weapon"), + item: getTranslationByKey("item"), + damage: getTranslationByKey("damage") }); }); - + \ No newline at end of file diff --git a/SharpSwordsAndSinisterSpells/sharpswords.png b/SharpSwordsAndSinisterSpells/sharpswords.png index f2775871c9..fdfa2bee12 100644 Binary files a/SharpSwordsAndSinisterSpells/sharpswords.png and b/SharpSwordsAndSinisterSpells/sharpswords.png differ diff --git a/SharpSwordsAndSinisterSpells/sheet.json b/SharpSwordsAndSinisterSpells/sheet.json index ebdc384f30..46ed68b17a 100644 --- a/SharpSwordsAndSinisterSpells/sheet.json +++ b/SharpSwordsAndSinisterSpells/sheet.json @@ -4,5 +4,5 @@ "authors": "Daniel Tschiedel", "roll20userid": "1408312", "preview": "sharpswords.png", - "instructions": "This is an unoficial character sheet for the Sharp Swords & Sinister Spells RPG game by Diogo Nogueira.\n Currently it is only in Portuguese language." + "instructions": "This is an unofficial character sheet for the Sharp Swords & Sinister Spells RPG game by Diogo Nogueira." } diff --git a/SharpSwordsAndSinisterSpells/test/test.css b/SharpSwordsAndSinisterSpells/test/test.css new file mode 100644 index 0000000000..c658642e8e --- /dev/null +++ b/SharpSwordsAndSinisterSpells/test/test.css @@ -0,0 +1,189 @@ +/*----------------- MAIN CONTAINER DEFINITIONS ------------------*/ +@import url('https://fonts.googleapis.com/css?family=New+Rocker|Rosarivo&display=swap'); + +.main-container { + min-height: 600px; + min-width: 800px; + max-width: 1000px; +} + +/*----------------- GENERAL CSS ------------------*/ + +.main-font { + font-family: 'New Rocker'; + font-size: 1em; +} + +.second-font { + font-family: 'Rosarivo'; + font-size: 0.8em; +} + +.flex-row { + display: flex; + flex-direction: row; + flex-wrap: wrap; +} + +.flex-column { + display: flex; + flex-direction: column; + flex-wrap: wrap; +} + +.nowrap { + flex-wrap: nowrap; +} + +.main-container input { + margin: 2px; +} + +.main-container input[type=number] { + width: 40px; +} + +.main-container fieldset { + min-width: 0; + padding: 0; + margin: 0; + border: 0; +} + +.main-container textarea { + width: 100%; + height: 5em; + margin: 2px; +} + +.section { + margin: 0.7em; +} + +.section-title { + margin-bottom: 10px; +} + +.grow { + flex-grow: 1; +} + +.center { + justify-content: center; + align-items: center; +} + +.border { + border-width: 1px; + border-style: outset; + padding: 2px; +} + +.die-select { + width: auto; + margin: 2px; +} + +.big-margin-bottom { + margin-bottom: 20px; +} + +.repeatable-item { + margin-bottom: 5px; +} + +/*------------- GRID SECTIONS -------------*/ + +.header { + align-items: center; +} + +.header h1 { + margin: 0px; +} + +.sharp-swords { + border-width:0px 0px 4px 0px; + border-style:solid; +} + +.and { + font-size: 4em; +} + +.sinister-spells { + border-width:4px 0px 0px 0px; + border-style:solid; +} + +.char-definitions { + justify-content: space-between; +} + +.char-definitions-margin { + margin: 4px; +} + +.char-definitions-input { + min-width: 15em; +} + +.char-level-row { + justify-content: space-evenly; + flex-grow: 1; +} + +.middle-section { + justify-content: flex-start; +} + +.left-column { + justify-content: stretch; + width: 20%; +} + +.middle-column { + width: 40%; +} + +.right-column { + width: 40%; +} + +.main-attributes { + display: grid; + grid-template-columns: auto auto auto auto; + justify-items: flex-start; + align-items: center; +} + +.other-attributes { + justify-content: space-evenly; + align-items: center; +} + +.health-points { + align-items: center; +} + +.notes textarea{ + height: 10em; + margin: 0px; + width: max-content; +} + +.weapons-damage { + width: 5em; +} + +.coins-grid { + display: grid; + grid-template-columns: auto 2fr; + gap: 4px; +} + +.footer { + font-style: italic; + font-size: 0.7em; + justify-content: flex-end; +} diff --git a/SharpSwordsAndSinisterSpells/test/test.html b/SharpSwordsAndSinisterSpells/test/test.html new file mode 100644 index 0000000000..1fa4237ad3 --- /dev/null +++ b/SharpSwordsAndSinisterSpells/test/test.html @@ -0,0 +1,300 @@ + + + + + + + My New Pen! + + + + + +
+ + +
+

ESPADAS
AFIADAS

+

&

+

FEITIÇOS
SINISTROS

+
+ + +
+ +
+
+ Nome + + + Arquétipo + +
+ +
+ Vocação + + + + Complicação + +
+
+ +
+
+ Nível + +
+
+ + + Aventuras + + +
+
+
+ + +
+ +
+ Dado de sorte + + +
+ +
+
+ Pontos de Vida +
+ +
+ Max + + +
+
+ Atuais + + +
+
+
+ +
+
+ +
+ + Físico + + + + + Agilidade + + + + + Intelecto + + + + + Vontade + + + + +
+ + +
+
+ Moedas +
+ +
+ mc + + + mp + + + mo + + + mpl + +
+
+ + +
+
+ Anotações +
+
+ +
+
+
+ +
+ +
+ +
+ Armas +
+ +
+
+ + + + +
+
+ +
+ + +
+
+ Habilidades Especiais +
+
+
+ + +
+
+
+
+ +
+ +
+ +
+ Equipamentos +
+ +
+
+ + + + +
+
+
+ + +
+
+ Magias +
+ +
+
+ + +
+
+
+
+ +
+ + +
+ + + +
+ Possui dado positivo ou negativo? + Normal + Positivo + Negativo + Modificador + Resultado + Teste + Arma + Item +
+ + + + + \ No newline at end of file diff --git a/SharpSwordsAndSinisterSpells/translation.json b/SharpSwordsAndSinisterSpells/translation.json index 6b21bd343e..afe824b2d1 100644 --- a/SharpSwordsAndSinisterSpells/translation.json +++ b/SharpSwordsAndSinisterSpells/translation.json @@ -1,7 +1,7 @@ { - "sharp-swords": "ESPADAS AFIADAS", + "sharp-swords": "ESPADAS
AFIADAS", "and": "&", - "sinister-spells": "FEITIÇOS SINISTROS", + "sinister-spells": "FEITIÇOS
SINISTROS", "char-name": "Nome", "char-archetype": "Arquétipo", "char-calling": "Vocação", @@ -22,7 +22,7 @@ "special-hability": "Habilidade Especial", "spells": "Magias", "spell": "Magia", - "equipment": "Equipamentos", + "equipments": "Equipamentos", "usage-die": "Dado de uso", "coins": "Moedas", "copper-coins": "mc", @@ -43,5 +43,8 @@ "negative":"Negativo", "modifier":"Modificador", "result":"Resultado", - "check":"Teste" + "check":"Teste", + "name": "Nome", + "weapon": "Arma", + "item": "Item" }