shinbun-components

<shinbun-nameplate>

Nameplate (title block) placed in the page grid. A direct `h1` is the title, `img` the logo and `p` the meta line.

Example

かみめん新聞

10月11日

<shinbun-paper dan="4" chars="8" font-size="0.8rem">
  <shinbun-page>
    <shinbun-nameplate span="2">
      <h1>かみめん新聞</h1>
      <p>10月11日</p>
    </shinbun-nameplate>
  </shinbun-page>
</shinbun-paper>

Attributes

NameTypeDescription
spannumberNumber of columns (1-15)
ynumberStart column (1-15)
xnumberStart position on the line axis (1-60)
wnumberLines occupied on the line axis (1-60)
horizontalbooleanSet the title horizontally inside a vertical paper

Properties

None

Methods

None

Slots

NameDescription
(default)h1, img and p

CSS custom properties

None