From 4fcd2b693c02056081aefb7f7f5b434824643f31 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Fri, 12 Jun 2026 01:42:15 -0700 Subject: [PATCH] Make the rulebook's obstacle reference section collapsible The Obstacle List & Type Charts section is long reference material the app already implements, so wrap it in a
element. A small script expands it when the TOC link or a deep link targets #obstacles. Co-Authored-By: Claude Fable 5 --- src/pirats/rules.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/pirats/rules.html b/src/pirats/rules.html index b531717..895d37a 100644 --- a/src/pirats/rules.html +++ b/src/pirats/rules.html @@ -165,6 +165,9 @@ a { color: var(--neon-cyan); } .rules-body details[open] summary { margin-bottom: 0.75rem; } +.rules-body details { scroll-margin-top: 1rem; } +.rules-body summary h3 { display: inline; margin: 0; } + .signature { color: var(--gold); font-style: italic; } .back-to-top { text-align: center; } @@ -669,7 +672,8 @@ a { color: var(--neon-cyan); } pile! Players are encouraged to have a real life party as well! An absolute rager would be preferred, but a small celebration is acceptable.

-

The Obstacle List & Type Charts

+
+

The Obstacle List & Type Charts

(click to expand — the app handles these automatically)

The Obstacle List tracks all potential threats and difficulties facing the Pi-Rats, and is made up of one or more cards from the deck that have been placed face up on a surface visible to all Players. After a Player plays a card during a Challenge, that card is placed in a column @@ -764,6 +768,7 @@ a { color: var(--neon-cyan); } KIt's Alive — The ship is brought to life through magical means. It's not going to cooperate without an incentive, now that it has its own wants and needs. +

Resolving Challenges

During the course of a Scene, Pi-Rats will eventually be challenged by the Deep using the @@ -1300,5 +1305,15 @@ a { color: var(--neon-cyan); }

⬆ Back to top

+