diff --git a/Cairn/cairn.css b/Cairn/cairn.css index 11ba0c0a46..1ed62de46b 100644 --- a/Cairn/cairn.css +++ b/Cairn/cairn.css @@ -13,7 +13,7 @@ label { .flex-container { display: flex; - column-gap: 12px; + gap: 12px; justify-content: left; align-items: center; } @@ -22,33 +22,30 @@ label { flex: 1 1 auto; } +.flex-container.inputs { + flex-basis: auto; + column-gap: 0; +} + .flex-container.top { - align-items: top; + align-items: start; } -.flex-container-inputs { - display: flex; - flex-basis: auto; - column-gap: 0; - justify-content: left; - align-items: center; -} - -.flex-container-stats { - display: flex; - flex-basis: auto; - column-gap: 0; - justify-content: left; - align-items: center; -} - -.flex-container-list { - display: flex; +.flex-container.column { flex-direction: column; + align-items: start; +} + +.flex-container.column.bottom { + align-self: flex-end; +} + +.flex-container.list { + flex-direction: column; + align-items: start; + justify-content: start; flex-basis: auto; gap: 6px; - justify-content: left; - align-items: center; } .flex-container.content-row { @@ -58,6 +55,16 @@ label { .flex-container.top.content-row { align-items: start; + margin-top: 12px; + margin-bottom: 12px; +} + +.flex-container-stats { + display: flex; + flex-basis: auto; + column-gap: 0; + justify-content: left; + align-items: center; } .horizontal-separator { @@ -70,20 +77,56 @@ label { min-height: 5px; } -/* Title of the sheet */ +/* Grid layout styles */ -.title { +.grid-offense { + display: grid; + grid-template-columns: repeat(3, auto); + grid-template-rows: repeat(3, auto); + column-gap: 12px; + row-gap: 6px; +} + +.grid-inventory { + display: grid; + grid-template-columns: repeat(3, auto); + grid-template-rows: repeat(11, auto); + column-gap: 12px; + row-gap: 6px; +} + +/* Character styles */ + +h1 { color: black; font-family: "Pirata One"; font-size: 30px; } -.characterviewer label { - font-size: 1em; +h2 { + color: black; + font-family: "Pirata One"; + font-weight: 400; + font-size: 18px; + margin-top: 24px; +} + +.charsheet label { + font-size: 14px; margin-bottom: 0; line-height: normal; } +.charsheet input[type="checkbox"] { + height: 14px; +} + +select { + width: auto; + height: auto; + margin-bottom: 0; +} + /* Stats column containing hit points and abilities */ .stat-input { @@ -99,7 +142,7 @@ label { rgba(0, 0, 0, 0) calc(50% + 0.8px), rgba(0, 0, 0, 0) 100% ); - width: 10px; + min-width: 10px; } /* Templates */ @@ -111,7 +154,6 @@ label { .sheet-rolltemplate-test-under .sheet-template-header { background-color: black; color: white; - font-family: 'Open Sans', sans-serif; padding: 5px; } @@ -131,14 +173,12 @@ label { .sheet-rolltemplate-test-under .sheet-template-outcome-success { background-color: black; color: #01ff70; - font-family: 'Open Sans', sans-serif; padding: 5px; } .sheet-rolltemplate-test-under .sheet-template-outcome-failure { background-color: black; color: #ff4136; - font-family: 'Open Sans', sans-serif; padding: 5px; } @@ -149,3 +189,18 @@ label { .sheet-rolltemplate-test-under .inlinerollresult.fullcrit { border: 2px solid #ff4136; } + +.sheet-rolltemplate-attack { + border: 1px solid black; +} + +.sheet-rolltemplate-attack .sheet-template-header { + background-color: black; + color: white; + padding: 5px; +} + +.sheet-rolltemplate-attack .sheet-template-result { + background-color: white; + padding: 5px; +} \ No newline at end of file diff --git a/Cairn/cairn.html b/Cairn/cairn.html index 521ff633c6..9827b756d1 100644 --- a/Cairn/cairn.html +++ b/Cairn/cairn.html @@ -1,10 +1,10 @@ -Cairn +

- - + +
@@ -23,13 +23,15 @@
- +

+ +
-
+
-
+
 
- -
-
- - -
-
- -
- -
- -
-
-
- - -
-
- +
- -
+ +
+

- - +
+ + +
+
+ +
+ +
 
+ +
+
-
+ +

+
+ + + - -
-
+ + - + + +
+ +

+
+ +
-
+
- - - +

-
+
+ + + + - + -
-
+ - + -
-
+ - + -
-
+ - + -
-
+ - + -
-
+ - + -
-
+ - + -
-
+ - + -
-
+ - + -
-
+ - +
-
+

+
-
+
@@ -182,4 +197,13 @@ {{#rollGreater() result target}}
Failure
{{/rollGreater() result target}}
+ + + +
+
{{rollname}}
+
+ {{result}} +
+
\ No newline at end of file diff --git a/Cairn/translation.json b/Cairn/translation.json index 965ca5a501..2f211fe31b 100644 --- a/Cairn/translation.json +++ b/Cairn/translation.json @@ -1,4 +1,5 @@ { + "title": "Cairn", "hit-protection": "HP", "dexterity": "Dexterity", "strength": "Strength", @@ -12,8 +13,14 @@ "gp": "Gold", "deprived": "Deprived", "fatigue": "Fatigue", - "name": "Name", + "character-name": "Name", "pronouns": "Pronouns", "background": "Background", - "traits": "Description and Traits" + "traits": "Description and Traits", + "saves": "Saves", + "defense": "Defense", + "offense": "Offense", + "conditions": "Conditions", + "everything-else": "Everything Else", + "inventory": "Inventory" }