Website pieces
Article and legal page
Two page layouts for long text. .kui-article is a blog post or a help article, with a table of contents beside the text on a laptop. .kui-legal is terms, a privacy policy or an imprint, with numbered sections and the dates it applies from.
Examples
Article
The head holds the eyebrow, the title and the meta line (author, date, reading time). .kui-article__layout puts the table of contents in a sticky column from 1024 pixels; below that it comes first, above the text. On a real page the title is the h1.
How to move from paper to e-invoices in one month
Most offices switch in four weeks. Here is the order that works, with what to check before each step.
Week 1: the clients
Import the clients from your old program as a CSV file. Check that every client has a PIB and a matični broj; e-invoices are refused without them.
Week 2: the first invoices
Send the first invoices to clients you know well, and ask them whether everything arrived. Fix the template before you send to everyone.
Week 3: the bank
Connect the bank account. From then on payments are matched to invoices by the poziv na broj, and you only look at the ones that do not match.
<article class="kui-article">
<div class="kui-container">
<header class="kui-article__head">
<span class="kui-eyebrow">Guide</span>
<h2 class="kui-article__title">How to move from paper to e-invoices in one month</h2>
<p class="kui-article__meta"><span>Milica Petrović</span><time datetime="2026-11-18">18 November 2026</time><span>6 min read</span></p>
</header>
<div class="kui-article__layout">
<aside class="kui-article__aside">
<nav class="kui-toc" aria-label="In this article">
<p class="kui-toc__title">In this article</p>
<ol>
<li><a href="#article-week-1" aria-current="true">Week 1: the clients</a></li>
<li><a href="#article-week-2">Week 2: the first invoices</a></li>
<li><a href="#article-week-3">Week 3: the bank</a></li>
</ol>
</nav>
</aside>
<div class="kui-prose">
<p class="kui-lead">Most offices switch in four weeks. Here is the order that works, with what to check before each step.</p>
<h3 id="article-week-1">Week 1: the clients</h3>
<p>Import the clients from your old program as a CSV file. Check that every client has a PIB and a matični broj; e-invoices are refused without them.</p>
<h3 id="article-week-2">Week 2: the first invoices</h3>
<p>Send the first invoices to clients you know well, and ask them whether everything arrived. Fix the template before you send to everyone.</p>
<h3 id="article-week-3">Week 3: the bank</h3>
<p>Connect the bank account. From then on payments are matched to invoices by the poziv na broj, and you only look at the ones that do not match.</p>
</div>
</div>
</div>
</article>
Legal page
.kui-legal numbers its h2 sections by CSS and sets the text one step larger, so long terms stay readable. The dates say when the text was changed and from when it applies.
Privacy policy
Changed on . Applies from .
Who we are
Inzynk d.o.o., Bulevar oslobođenja 12, 21000 Novi Sad, Serbia, is responsible for the data described here.
What we keep
Your name, email address, and the invoices you write. We keep no record of the pages you visit, and we set no cookies.
Your rights
You can see, correct, export and delete your data at any time in the settings, or by writing to privacy@example.com.
<article class="kui-legal">
<div class="kui-container kui-container--prose">
<header class="kui-legal__head">
<h2 class="kui-legal__title">Privacy policy</h2>
<p class="kui-legal__dates">Changed on <time datetime="2026-11-01">1 November 2026</time>. Applies from <time datetime="2026-12-01">1 December 2026</time>.</p>
</header>
<div class="kui-prose">
<h2>Who we are</h2>
<p>Inzynk d.o.o., Bulevar oslobođenja 12, 21000 Novi Sad, Serbia, is responsible for the data described here.</p>
<h2>What we keep</h2>
<p>Your name, email address, and the invoices you write. We keep no record of the pages you visit, and we set no cookies.</p>
<h2>Your rights</h2>
<p>You can see, correct, export and delete your data at any time in the settings, or by writing to privacy@example.com.</p>
</div>
</div>
</article>
Classes and attributes
.kui-article- The article page: vertical space and the parts below.
.kui-article__head, __title, __meta- The head with the title and a meta line; the items of the meta line are separated by dots.
.kui-article__cover- A rounded picture under the head.
.kui-article__layout, __aside- The text and the sticky table of contents beside it from a laptop up.
.kui-legal, __head, __title, __dates- The legal page and its head.
.kui-legal .kui-prose h2- Each section heading, numbered 1., 2., 3. by CSS.
Accessibility
- The article is an article element with its title as the h1; the sections are h2 and below, in order.
- The table of contents is a nav with its own name, so it is a landmark of its own.
- Dates are
<time datetime>, so they can be read by machines and translated. - The text column is at most about 70 characters wide, for comfortable reading.
Do and do not
Do
- Say at the top of a legal page from when it applies.
- Put the most asked question of a help article first.
Do not
- Do not justify the text; the ragged edge is easier to read.
- Do not set legal text smaller than the rest of the site.