Skip to content

Commit

Permalink
Merge pull request #353 from chizmw/update-source-data
Browse files Browse the repository at this point in the history
Update source data; style fixes for very long Other Nights
  • Loading branch information
chizmw authored Feb 12, 2024
2 parents 709848d + 249aa2d commit 16c232f
Show file tree
Hide file tree
Showing 9 changed files with 1,135 additions and 3,197 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-mangos-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'arcane-scripts': patch
---

chore: prevent terraform/sls deploy running
5 changes: 5 additions & 0 deletions .changeset/perfect-otters-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'arcane-scripts': patch
---

chore: update combined JSON data source file
5 changes: 5 additions & 0 deletions .changeset/sweet-islands-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'arcane-scripts': patch
---

chore(deps): poetry update
5 changes: 5 additions & 0 deletions .changeset/tall-pens-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'arcane-scripts': patch
---

some styling changes in PDF (esp. very long Other Nights)
2 changes: 1 addition & 1 deletion .github/workflows/terraform-serverless-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Terraform and Serverless Deployment
# yamllint disable-line rule:truthy
on:
pull_request:
branches: [main]
branches: [mainXXdonotrunthis]
# only if we've changed terraform/ or botcpdf/ directories
paths:
- botcpdf/**
Expand Down
3 changes: 1 addition & 2 deletions botcpdf/tests/test_external_json.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Tests to make sure that the external JSON data we use is processed
correctly."""


import json

from botcpdf.roledata import RoleData
Expand Down Expand Up @@ -31,7 +30,7 @@ def test_top_level_keys(self):
"character_by_id",
"editions",
"jinxes",
"role_list",
"roles",
"teams",
]
)
Expand Down
3,319 changes: 610 additions & 2,709 deletions data/imported/roles-combined.json

Large diffs are not rendered by default.

975 changes: 496 additions & 479 deletions poetry.lock

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions templates/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
background-color: white;
margin-bottom: 5mm;
margin-left: 12mm;
margin-right: 12mm;
margin-right: 9mm;
margin-top: 5mm;
size: A5 landscape;
}
Expand Down Expand Up @@ -123,17 +123,18 @@ header {
.character-ability-reminder {
color: #708090;
font-family: 'Fira Sans', sans-serif;
font-size: 8pt;
font-size: 7pt;
font-weight: 200;
}
.character-block {
border: none;
break-inside: avoid-column;
margin-bottom: 2px;
margin-top: 2px;
/* this seems odd, but seems to help the player reference flow/line up better */
border: 2px solid #fff;
}
.character-block-nightinfo {
min-height: 40px;
min-height: 36px;
}
.character-block-player {
min-height: 55px;
Expand Down Expand Up @@ -184,8 +185,8 @@ header {
.character-reminder {
color: #000;
font-family: 'Fira Sans', sans-serif;
font-size: 8pt;
margin-top: 5px;
font-size: 7pt;
margin-top: 3px;
}
.character-type-demon,
.character-type-minion {
Expand Down

0 comments on commit 16c232f

Please sign in to comment.