diff --git a/deadsands/deadsands-theme/static/deadsands/css/style.css b/deadsands/deadsands-theme/static/deadsands/css/style.css index 6cb2914..4aa2b32 100644 --- a/deadsands/deadsands-theme/static/deadsands/css/style.css +++ b/deadsands/deadsands-theme/static/deadsands/css/style.css @@ -677,9 +677,11 @@ a.disabled:hover { } .statblock table tr td:first-of-type { font-weight: bold; + white-space: nowrap; } -.statblock table tr td:first-child:nth-last-child(1) { +.statblock table tr td:first-of-type:last-of-type { font-weight: normal; + white-space: wrap; } .statblock table tr:last-child, @@ -711,6 +713,7 @@ a.disabled:hover { .statblock dl dd { flex:0 0 75%; margin-left: auto; + margin-bottom: 3em; text-align: left; text-overflow: ellipsis; overflow: hidden; diff --git a/deadsands/deadsands-theme/templates/macros.html b/deadsands/deadsands-theme/templates/macros.html index 531b9fa..087c34b 100644 --- a/deadsands/deadsands-theme/templates/macros.html +++ b/deadsands/deadsands-theme/templates/macros.html @@ -11,8 +11,8 @@ {% for key in l if key in headers%} {{ list_to_cols(l[key], headers) }} {% endfor %} - {% else %} - {{ l if l else "" }} + {% elif l %} + {{ l }} {% endif %} {% endmacro %} diff --git a/deadsands/markdown-templates/region.md b/deadsands/markdown-templates/region.md index 6da28e3..71bc59f 100644 --- a/deadsands/markdown-templates/region.md +++ b/deadsands/markdown-templates/region.md @@ -18,29 +18,28 @@ region: description: | description skills: - travel: - dc: 10 - notes: - forage: - dc: 10 - notes: - track: - dc: 10 - notes: - evade: - dc: 10 - notes: - survey: - dc: 10 - notes: + Travel: + DC: 10 + Notes: + Rorage: + DC: 10 + Notes: + Track: + DC: 10 + Notes: + Evade: + DC: 10 + Notes: + Survey: + DC: 10 + Notes: cr: 4 encounters: -{% rolltable ['encounters'], indent=4 %} +{% rolltable ['encounters'], die=20, indent=4 %} weather: {% rolltable ['weather'], indent=4 %} regional_effects: - - - - +{% rolltable ['regional_effects'], die=1, indent=4 %} status: {{ status if status else 'draft' }} --- diff --git a/deadsands/sources/regional_effects.yaml b/deadsands/sources/regional_effects.yaml new file mode 100644 index 0000000..b61b43b --- /dev/null +++ b/deadsands/sources/regional_effects.yaml @@ -0,0 +1,14 @@ +metadata: + headers: + - None + - Effect + frequencies: + default: + Effect: 1 +Effect: + - Add 1d6 to radiant damage + - Nightvision not functional + - When a spell attack misses, it hits a random creature within 5 feet instead + - On a spell attack critical hit or miss, roll on the Wild Magic Table + - 1d4 piercing damage for every 30ft of movement during the Dash action +