Files
jcoffey-dev 6fb7e82f94
ci / editor-ui (pull_request) Successful in 58s
ci / go (pull_request) Successful in 1m47s
Five more packs: docs, downloads, menu-and-prices, portfolio, share-links
The second batch of WordPress add-ons rebuilt as packs, templates and styles only:

- docs: a documentation section with a sidebar, part pages and previous/next, in the order data/docs-nav.yaml gives (the layout behind hotdogcms.org/docs, without its search script).
- downloads: files to download, with their type and size read from the file at build time.
- menu-and-prices: a price list in groups (a menu, services) and plans side by side.
- portfolio: a work collection with a cover, details and pictures per project, a list page and a section.
- share-links: plain links to Mastodon, Bluesky, LinkedIn and email share pages; nothing loads from those sites until someone chooses one.

Also a fileSize template function ("1.2 MB" for a file in static/, "" if it isn't there). The bundled-packs test covers all ten.
2026-10-11 17:16:07 -07:00

8 lines
694 B
CSS

/* The downloads pack. Colors come from the theme's variables. */
.dl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 760px; }
.dl-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.dl-type { display: grid; place-items: center; height: 64px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.dl-title { font-weight: 650; }
.dl-meta { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.dl-desc { margin: 6px 0 0; }