Article

A full article with heading, lead and body text

Example

Lorem ipsum

Nulla et libero fermentum nisl tempor suscipit quis quis lacus. Sed lacus nisi, condimentum eget sem at, euismod vestibulum quam.

Integer dignissim, augue ac ornare viverra, nulla neque tincidunt ipsum, ac vulputate turpis eros scelerisque dolor. Integer at turpis quam.

Phasellus auctor malesuada diam, ac tincidunt neque venenatis eu. Nulla sit amet erat eleifend magna tincidunt faucibus at in lorem. Quisque nisi felis, vulputate non nibh a, euismod posuere ante. Morbi nec purus sed magna sollicitudin aliquet. Aliquam pulvinar sem at sagittis ullamcorper.

Maecenas bibendum suscipit ante, at pretium risus aliquet vel. Aenean efficitur diam et dui aliquam, eu scelerisque elit luctus. Praesent luctus varius felis sit amet tincidunt. In pharetra mattis tempus. Nullam bibendum id nisi hendrerit condimentum.

<article>
     <h1>Lorem ipsum</h1>
     <p class="lead">Nulla et libero fermentum nisl tempor suscipit quis quis lacus. Sed lacus nisi, condimentum eget sem at, euismod vestibulum quam.</p>
     <p>Integer dignissim, augue ac ornare viverra, nulla neque tincidunt ipsum, ac vulputate turpis eros scelerisque dolor. Integer at turpis quam.</p>
     <p>Phasellus auctor malesuada diam, ac tincidunt neque venenatis eu. <a href="#">Nulla sit amet</a> erat eleifend magna tincidunt faucibus at in lorem. Quisque nisi felis, vulputate non nibh a, euismod posuere ante. Morbi nec purus sed magna sollicitudin aliquet. Aliquam pulvinar sem at sagittis ullamcorper.</p>
     <p>Maecenas bibendum suscipit ante, at pretium risus aliquet vel. Aenean efficitur diam et dui aliquam, eu scelerisque elit luctus. Praesent luctus varius felis sit amet tincidunt. In pharetra mattis tempus. Nullam bibendum id nisi hendrerit condimentum.</p>
</article>
Source file: ~/source/sass/typography/article.scss

Headings

Headings for use within articles and more. Please always set the id attribute on headings to enable anchor-linking.

Modifiers

  • .text-highlight - Will highlight any heading in the current theme color
  • .underline - Underlines the heading

Example

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
<h1 id="anchor-1">Heading 1</h1>
<h2 id="anchor-2">Heading 2</h2>
<h3 id="anchor-3">Heading 3</h3>
<h4 id="anchor-4">Heading 4</h4>
<h5 id="anchor-5">Heading 5</h5>
<h6 id="anchor-6">Heading 6</h6>
Source file: ~/source/sass/typography/headings.scss

Label

Label a text with a filled background

Modifiers

  • .label-sm - Smaller label
  • .label-lg - Larger label
  • .label-theme - Uses the current theme color
  • .label-red-1 - First color in red stripe (color 1-5 available)
  • .label-blue-1 - First color in blue stripe (color 1-5 available)
  • .label-green-1 - First color in green stripe (color 1-5 available)
  • .label-purple-1 - First color in purple stripe (color 1-5 available)

Example

One of the words in this sentence is labelled.
One of the words in this sentence is <span class="label label-red-2">labelled</span>.
Source file: ~/source/sass/typography/label.scss

Lead

A large paragraph to use as article lead.

Example

Nulla et libero fermentum nisl tempor suscipit quis quis lacus. Sed lacus nisi, condimentum eget sem at, euismod vestibulum quam.

<p class="lead">Nulla et libero fermentum nisl tempor suscipit quis quis lacus. Sed lacus nisi, condimentum eget sem at, euismod vestibulum quam.</p>
Source file: ~/source/sass/typography/lead.scss

Unordered list

Stanrdard unordered list.

Modifiers

  • .unordered-list - Applies the style to lists used outside article. There's no need to apply this class when using ul inside an article

Example

  • First list item
  • Second list item
  • Third list item
<ul class="unordered-list">
    <li>First list item</li>
    <li>Second list item</li>
    <li>Third list item</li>
</ul>
Source file: ~/source/sass/typography/list.scss

Ordered list

Stanrdard ordered list.

Example

  1. First list item
  2. Second list item
  3. Third list item
<ol class="ordered-list">
    <li>First list item</li>
    <li>Second list item</li>
    <li>Third list item</li>
</ol>
Source file: ~/source/sass/typography/list.scss

Text alignment

Aligns text.

Example

Left aligned text
Center aligned text
Right aligned text
Justified text
<div class="text-left">Left aligned text</div>
<div class="text-center">Center aligned text</div>
<div class="text-right">Right aligned text</div>
<div class="text-justify">Justified text</div>
Source file: ~/source/sass/utility/text.scss

Front size

Font size

Modifiers

  • .text-sm - Small
  • .text-md - Medium (default)
  • .text-lg - Large
  • .text-xl - Extra Large

Example

Left aligned text
<div class="text-left">Left aligned text</div>
Source file: ~/source/sass/utility/text.scss

Highlight

Highlights text.

Example

Highlighted
<span class="text-highlight">Highlighted</span>
Source file: ~/source/sass/utility/text.scss

Underline

Underlines text.

Example

Underlined
<span class="text-underline">Underlined</span>
Source file: ~/source/sass/utility/text.scss

Mark

Mark text to make it stand out.

Modifiers

  • .mark-yellow - Mark with yellow color
  • .mark-blue - Mark with blue color
  • .mark-green - Mark with green color
  • .mark-red - Mark with red color
  • .mark-purple - Mark with purple color

Example

One of the words in this sentence is marked.
One of the words in this sentence is marked.
One of the words in this sentence is marked.
One of the words in this sentence is marked.
One of the words in this sentence is marked.
One of the words in this sentence is marked.
One of the words in this sentence is <mark>marked</mark>.<br>
One of the words in this sentence is <mark class="mark-yellow">marked</mark>.<br>
One of the words in this sentence is <mark class="mark-blue">marked</mark>.<br>
One of the words in this sentence is <mark class="mark-green">marked</mark>.<br>
One of the words in this sentence is <mark class="mark-red">marked</mark>.<br>
One of the words in this sentence is <mark class="mark-purple">marked</mark>.
Source file: ~/source/sass/utility/text.scss

Small

Small text. Can be used with the <small> element or by applying the .small class to any element.

Example

This is a small text
<small>This is a small text</small>
Source file: ~/source/sass/utility/text.scss