{# A divider: the part's title set large on the theme's dark ground, low on the sheet where a slide's body ends, and the footer band, light, so the sheet still says where it sits in the deck. The title is the KPI value's size, the one token sized to be read across a room. Positioned rather than a valign'd cell: WeasyPrint ignores the attribute. Anchored higher (#355), the band spans the same height from under the title band, and a cell set by CSS `vertical-align` places the title in it. With an agenda (#350) the title takes a sidebar layout's main region and every part is listed in its side, the current one in the light ink, each with its first sheet. #} {% from "deck/bands.html" import footer_band with context %} {# The title's frame: the sheet, or a sidebar layout's main region beside the agenda. #} {% macro divider_frame(box, frames) -%} {% if frames %}left:{{ frames.main.left }}px; width:{{ frames.main.width }}px; padding:0 {{ frames.main.inset }}px;{% else %}width:{{ box.width }}px; padding:0 {{ box.inset }}px;{% endif %} {%- endmacro %}