Digital pattern library

Typography

Use of appropriate typography should be used in combination with the house style.


Headers

It is important to think about the structure of content on a page before choosing the appropriate heading. It is not about choosing the one that looks right, rather to think about where does the heading fit into the overall content hierarchy so that it makes sense.

Keep the implementation consistent across the entire site to maximise usability.

Do not skip headings in the structure e.g. going from heading 2 to heading 4.

Example

Heading 1

Heading 2

Heading 3

Heading 4

Code

Heading 1

Heading 2

Heading 3

Heading 4


Body text

Example

Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.

The following snippet of text is rendered as bold text.

The following snippet of text is rendered as italicized text.

Code

Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.

The following snippet of text is rendered as bold text.

The following snippet of text is rendered as italicized text.


Abbreviated text

The abbr tag is used to define an abbreviation or an ancronym. This can give useful information to browser, translation systems and search engines.

Example

The WHO was founded in 1948.

Code

The WHO was founded in 1948.


Paragraph lead

Paragraph lead fields are to be used to provide an introduction at the top of subject and course pages.

Example

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

Code

Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.


Blockquotes - left alignment

Example

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title
Code

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title

Blockquotes - right alignment

Right aligned blockquotes are available as a flexible alternative for pages which wrap their text fields around additional content.

Example

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title
Code

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title