Files
jcoffey-dev d90fdc9d0b
ci / go (pull_request) Successful in 54s
ci / editor-ui (pull_request) Successful in 1m19s
Five more packs: faq, gallery, location-and-hours, team, testimonials
The first batch of WordPress add-ons rebuilt as packs: templates and styles only, no script.

- faq: questions that open to show their answers (<details>), written in the section or shared from data/.
- gallery: a picture grid; each opens full size with previous and next, using #links and :target, no script.
- location-and-hours: address with an OpenStreetMap link, phone, email, opening hours and a note, from data/location.yaml, as a section or a partial for any layout.
- team: a people collection with a page per person (photo, role, email, links), a list page and a Team section.
- testimonials: quotes with a name and a role.

Also: sections get .Index, their place on the page, so two galleries on a page don't share ids; pack templates may use tel: links; docs/packs.md lists the bundled packs. A new test installs each into the starter with real content, builds it, and runs the checks expecting no errors.
2026-10-11 17:11:40 -07:00

12 lines
944 B
CSS

/* The location and hours pack. Colors come from the theme's variables. */
.loc { display: grid; gap: 20px 40px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.loc-name { font-weight: 700; font-size: 1.1rem; margin: 0 0 6px; }
.loc-address { font-style: normal; white-space: pre-line; margin: 0 0 12px; }
.loc-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.loc-hours { border-collapse: collapse; width: 100%; max-width: 420px; }
.loc-hours caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.loc-hours th, .loc-hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.loc-hours th { font-weight: 600; padding-right: 20px; }
.loc-note { grid-column: 1 / -1; padding: 12px 16px; border-radius: var(--radius); background: var(--accent-soft); }
.loc-note > :first-child { margin-top: 0; } .loc-note > :last-child { margin-bottom: 0; }