Label Matins nocturns and the Invitatory in the rendered ordo
Deploy / deploy (push) Successful in 1m17s
Deploy / deploy (push) Successful in 1m17s
Adds a section-heading ResolvedPart kind and emits "Invitatory" and "Nocturn I/II/III" headings in matins.ts, so the hour's structural boundaries are visible instead of rendering as one undifferentiated stream of parts. Ferial (1-nocturn) days get no Nocturn heading, matching their existing single-unnumbered-nocturn design. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -122,6 +122,8 @@ function renderPart(part: ResolvedPart, languages: readonly string[]): string {
|
||||
${part.psalms.map((p) => renderPart(p, languages)).join('')}
|
||||
</section>
|
||||
`;
|
||||
case 'section-heading':
|
||||
return `<h2 class="section-heading">${escapeHtml(part.label)}</h2>`;
|
||||
case 'te-deum':
|
||||
return `
|
||||
<section class="ordo-part ordo-part-te-deum">
|
||||
|
||||
@@ -275,6 +275,15 @@ button:focus-visible {
|
||||
margin: 0 0 var(--space-1);
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
font-size: 1.2rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
color: var(--color-brass);
|
||||
font-family: var(--font-ui);
|
||||
margin: var(--space-4) 0 var(--space-2);
|
||||
}
|
||||
|
||||
.ordo-part-citation {
|
||||
font-family: var(--font-ui);
|
||||
font-size: 0.85em;
|
||||
|
||||
Reference in New Issue
Block a user