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.
8 lines
728 B
CSS
8 lines
728 B
CSS
/* The testimonials pack. Colors come from the theme's variables. */
|
|
.tm-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
|
|
.tm-item { margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
|
|
.tm-item blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; white-space: pre-line; }
|
|
.tm-item blockquote::before { content: "\201C"; display: block; font-size: 2.6rem; line-height: .8; color: var(--accent); font-weight: 750; }
|
|
.tm-item figcaption { margin-top: auto; display: grid; gap: 2px; }
|
|
.tm-item figcaption span { color: var(--muted); font-size: .92rem; }
|