Site theme elements

Links - automatic icons

These will happen automatically, provided your path meets the requirements (email contains mailto: in the path, .pdf is in the url of the PDF document)

 

Regular styles

Style Example Icon to click Code
Bold This text has bold applied This text has <strong>bold</strong> applied
Italics This text has italics applied This text has <em>italics</em> applied
Underline This text has underline applied This text has <u>underline</u> applied
Strikethrough This text has strikethrough applied This text has <s>strikethrough</s> applied
Superscript This text has superscript1 applied This text has superscript<sup>1</sup> applied
Subscript This text has subscript2 applied This text has subscript<sub>2</sub> applied
Bullet list
  • Item 1
  • Item 2
  • Item 3
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
Numbered list
  1. Item 1
  2. Item 2
  3. Item 3
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
Highlight (from the Styles dropdown) This text has highlight applied This text has <mark>highlight</mark> applied

 

Headings

 Headings are available from the dropdown in the editor.

Example Code

Heading 2

This text is used to show spacing between paragraphs and the headings themselves.

<h2>Heading 2</h2>

Heading 3

This text is used to show spacing between paragraphs and the headings themselves.

<h3>Heading 3</h3>

Heading 4

This text is used to show spacing between paragraphs and the headings themselves.

<h4>Heading 4</h4>
Heading 5

This text is used to show spacing between paragraphs and the headings themselves.

<h5>Heading 5</h5>
Heading 6

This text is used to show spacing between paragraphs and the headings themselves.

<h6>Heading 6</h6>

 

Footnotes

Footnotes are classes to adjust the size of text below the standard 14 pixels and should be used sparingly.

Example Code

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="footnotes-13"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div>

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="footnotes-12"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div>

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

<div class="footnotes-11"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div>

Bullets / Numbered Lists

Indenting like for like

To indent of the same type, so bullets on bullets, or subnumbers off numbers, press Tab to indent a list to the right.

When you are done with your indented list, press Shift + Tab to move the indent back one to the left.

Type Presented on screen Code
Default bullet list
  • Item 1
  • Item 2
  • Item 3
    • Item 3 a 
    • Item 3 b
  • Item 4
  • Item 5
<ul>
    <li>Item 1</li>
    <li>Item 2</li>
    <li>Item 3
    <ul>
        <li>Item 3 a</li>
        <li>Item 3 b</li>
    </ul>
    </li>
    <li>Item 4</li>
    <li>Item 5</li>
</ul>
Default number list
  1. No 1
  2. No 2
  3. No 3
    1. No 3 a 
    2. No 3 b
  4. No 4
  5. No 5
<ol>
    <li>No 1</li>
    <li>No 2</li>
    <li>No 3
    <ol>
        <li>No 3 a</li>
        <li>No 3 b</li>
    </ol>
    </li>
    <li>No 4</li>
    <li>No 5</li>
</ol>
Alphabetical, lowercase
  1. First entry
  2. Second entry   
  3. Third entry 
  4. Fourth entry
<ol type="a">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ol>
Alphabetical, lowercase with bracket
  1. First entry
  2. Second entry
  3. Third entry
  4. Fourth entry
<ol class="bracketed lower-alpha" type="a">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ol>
Alphabetical, uppercase
  1. First entry
  2. Second entry
  3. Yhird entry  
  4. Fourth entry
<ol type="A">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ol>
Alphabetical, uppercase with bracket
  1. First entry  
  2. Second entry  
  3. Third entry
  4. Fourth entry
<ol class="bracketed upper-alpha" type="A">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ol>
Roman numerals, lowercase
  1. First entry 
  2. Second entry  
  3. Third entry
  4. Fourth entry
<ol type="i">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ol>
Roman numerals, lowercase with bracket
  1. First entry
  2. Second entry
  3. Third entry
  4. Fourth entry
<ol class="bracketed lower-roman" type="i">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ol>
Roman numerals, uppercase
  1. First entry
  2. Second entry 
  3. Third entry
  4. Fourth entry
<ol type="I">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ol>
Roman numerals, uppercase with bracket
  1. First entry
  2. Second entry
  3. Third entry
  4. Fourth entry
<ol class="bracketed upper-roman" type="I">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ol>
ClauseBank specific list styles

X symbol

Used specifically for clauses that users might generate after taking content from the site, hence why the X is really close to the text. Most content would read X.1 X.2 and so on.

  • First entry
  • Second entry
  • Third entry
  • Fourth entry
<ul class="xsymbol">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ul>
Arrow symbol
  • First entry
  • Second entry
  • Third entry
  • Fourth entry
<ul class="arrowsymbol">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ul>
Plus symbol
  • First entry
  • Second entry
  • Third entry
  • Fourth entry
<ul class="plussymbol">
    <li>First entry</li>
    <li>Second entry</li>
    <li>Third entry</li>
    <li>Fourth entry</li>
</ul>

 

Indenting with different types of lists

Lists can be indented between the different styles of lists. It is very similar to the indented examples in the above table, but it is important to take note of the anatomy in how 

Type Example Code
Numbers with bullets
  1. First entry
  2. Second entry
    • Bullet one
    • Bullet two
  3. Third entry

<ol>
<li>First entry</li>
<li>Second entry
      <ul>
      <li>Bullet one</li>
       <li>Bullet two</li>
      </ul>
</li>
<li>Third entry</li>
</ol>

Bullets with numbers
  • First entry
  • Second entry
    1. Bullet one
    2. Bullet two
  • Third entry
<ul>
<li>First entry</li>
<li>Second entry
      <ol>
      <li>Bullet one</li>
      <li>Bullet two</li>
      </ol>
</li>
<li>Third entry</li>
</ul>
Numbers with bullets then more bullets
  1. First entry
  2. Second entry
    • Bullet one
    • Bullet two
      • Bullet two A
      • Bullet two B
  3. Third entry
<ol>
<li>First entry</li>
<li>Second entry
      <ul>
      <li>Bullet one</li>
       <li>Bullet two
             <ul>
             <li>Bullet two A</li>
             <li>Bullet two B</li>
              </ul>
         </li>
         </ul>
</li>
<li>Third entry</li>
</ol>
Numbers with lowercase letters then bullets
  1. First entry
  2. Second entry
    1. First letter
    2. Second letter
      • Bullet one
      • Bullet two
  3. Third entry
<ol>
<li>First entry</li>
<li>Second entry
     <ol type="a">
     <li>First letter</li>
      <li>Second letter
            <ul>
            <li>Bullet one</li>
            <li>Bullet two</li>
             </ul>
       </li>
       </ol>
</li>
<li>Third entry</li>
</ol>

The easiest way to switch between bullet/numbers is to add in your entries, then press Tab to indent where you want to change, click the bullet or number list and the indented entry will change, leaving the rest of the list in the other format.

 

When a list isn't a list

Sometimes a list looks like a list, but isn't actually a list. This normally happens when:

  • Lists don't come over properly from products like Word or Outlook
  • Lists weren't actually made with bullet points or numbered lists to begin with

The easiest way to check if a list is a list in HTML or not, is to select the text on the page. Bullet and numbered lists, when selected, will not highlight the bullets or numbers.

These are lists:

 

When a list is not an actual list, selecting the text will also select the bullets and numbers.

These are not lists and need to be corrected:

 

They also don't provide spacing for these lists, where the text wraps and appears under the number and bullet across new lines.

These are not lists and need to be corrected:

 

Where a list or bullet will most likely have spacing, so the text wraps before the number or bullet.

These are lists:

 

 

Alerts

Alerts are available from the Styles dropdown:

 

Alert Primary - Placerat in egestas erat imperdiet sed euismod. Facilisis gravida neque convallis a cras semper auctor neque. Morbi leo urna molestie at elementum. Ultricies lacus sed turpis tincidunt id.

Colour Contrast Check: Text AA & AAA PASS | Link AA & AAA PASS

 

Alert Secondary - Nulla posuere sollicitudin aliquam ultrices. Convallis tellus id interdum velit laoreet id donec ultrices. Aliquam etiam erat velit scelerisque.

Colour Contrast Check: Text AA & AAA PASS | Link AA & AAA PASS

 

Alert Success - Diam maecenas sed enim ut. Luctus accumsan tortor posuere ac ut consequat semper viverra nam. Sed risus pretium quam vulputate dignissim suspendisse. Eleifend mi in nulla posuere sollicitudin aliquam ultrices.

Colour Contrast Check: Text AA PASS ONLY | Link AA & AAA PASS

 

Alert Info - Turpis in eu mi bibendum neque egestas congue quisque egestas. Id interdum velit laoreet id donec ultrices tincidunt. Vehicula ipsum a arcu cursus vitae. Eu nisl nunc mi ipsum faucibus vitae aliquet nec.

Colour Contrast Check: Text AA PASS ONLY | Link AA & AAA PASS

 

Alert Warning - Turpis egestas integer eget aliquet nibh praesent tristique magna. Mattis vulputate enim nulla aliquet porttitor.

Colour Contrast Check: Text AA PASS ONLY | Link AA & AAA PASS

 

Alert Danger - Lacus luctus accumsan tortor posuere.

Colour Contrast Check: Text AA & AAA PASS | Link AA & AAA PASS

 

Alert Dark - Venenatis a condimentum vitae sapien pellentesque habitant. Venenatis tellus in metus vulputate eu scelerisque felis imperdiet proin. Pulvinar neque laoreet suspendisse interdum consectetur libero id.

Colour Contrast Check: Text AA & AAA PASS | Link AA & AAA PASS

 

Alert Light - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Malesuada fames ac turpis egestas integer. Blandit turpis cursus in hac habitasse.

Colour Contrast Check: Text AA & AAA PASS | Link AA & AAA PASS

 

Alert RMG Note - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Malesuada fames ac turpis egestas integer. Blandit turpis cursus in hac habitasse.

Colour Contrast Check: Text AA & AAA PASS | Link AA & AAA PASS

 

Alert Purple - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Malesuada fames ac turpis egestas integer. Blandit turpis cursus in hac habitasse.

Colour Contrast Check: Text AA ONLY | Link AA & AAA PASS 

 

Cards

Cards can be used similar to alerts, helping delineate pieces of content, but aren't as prominent as alerts.

  • card is the overall container class
  • card-header is where the title for the card goes
  • card-body is where we put the content

Code

<div class="card">
<div class="card-header">Practical guidance</div>

<div class="card-body">
<p>As demonstrated above, the value of the concessional loan comprises of a market based loan and a loan discount component.</p>
</div>
</div>

Output

Practical guidance

As demonstrated above, the value of the concessional loan comprises of a market based loan and a loan discount component.

 

Tables

Default table

Site default, unless you define a class for the table

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

Purple with zebra striping

<table class="table-alt-purple">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

No hover - purple

<table class="no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

No hover - Purple with zebra striping

<table class="table-alt-purple no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

Table - Black with no striping

<table class="table-black">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

Black with zebra striping

<table class="table-alt-black">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

No hover - black with no striping

<table class="table-black no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

No hover - black with zebra striping

<table class="table-alt-black no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

Table - Green with no striping

<table class="table-green">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

Green with zebra striping

<table class="table-alt-green">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

No hover - green with no striping

<table class="table-green no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

No hover - green with zebra striping

<table class="table-alt-green no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

Table - salmon with no striping

<table class="table-salmon">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

Salmon with zebra striping

<table class="table-alt-salmon">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

Table - salmon with no striping

<table class="table-salmon no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

Salmon with zebra striping

<table class="table-alt-salmon no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

Table - Citrus with no striping

<table class="table-citrus">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

Citrus with zebra striping

<table class="table-alt-citrus">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

No hover - citrus with no striping

<table class="table-citrus no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

No hover - citrus with zebra striping

<table class="table-alt-citrus no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

Table - Blue with no striping

<table class="table-blue">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

Blue with zebra striping

<table class="table-alt-blue">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

No hover - blue with no striping

<table class="table-blue no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

No hover - blue with zebra striping

<table class="table-alt-blue no-row-hover">

See background colours for contrast check.

Heading 1Heading 2Heading 3 (Link)
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell
CellCellCell

 

EXAMPLE 1
Grade.Yield Point.Ultimate tensile strengthPer cent elong. 50.8 mm or 2 in.Per cent reduct. area.
kg/mm2lb/in2
Hard0.45 ultimate56.280,0001520
Medium0.45 ultimate49.270,0001825
Soft0.45 ultimate42.260,0002230
EXAMPLE 2
 200820072006
Net sales$ 32,479$ 24,006$ 19,315
Cost of sales21,33415,85213,717
Gross margin$ 11,145$ 8,154$ 5,598
Gross margin percentage34.3%34.0%29.0%

Background Colours

These can be used where there is a specific need to colour cells, specific divs and similar.

Purple

Dark
class="bg-purple-dark "
Colour Contrast Check:
- Text AA ONLY
- Link AA ONLY
 
Text and Link
Medium
class=" bg-purple-medium "
Colour Contrast Check:
- Text AA ONLY
- Link AA & AAA PASS
Text and Link
Light
class=" bg-purple-light "
Colour Contrast Check:
- Text AA & AAA PASS
- Link AA & AAA PASS
Text and Link

 

Blue

Dark
class="bg-blue-dark "
Colour Contrast Check:
- Text AA ONLY
- Link AA ONLY
 
Text and Link
Medium
class=" bg-blue-medium "
Colour Contrast Check:
- Text AA ONLY
- Link AA & AAA PASS
Text and Link
Light
class=" bg-blue-light "
Colour Contrast Check:
- Text  AA & AAA PASS
- Link  AA & AAA PASS
Text and Link

 

Black

Dark
class="bg-black-dark "
Colour Contrast Check:
- Text AA & AAA PASS
- Link AA & AAA PASS
Text and Link
Medium
class=" bg-black-medium "
Colour Contrast Check:
- Text AA ONLY
- Link AA & AAA PASS
Text and Link
Light
class=" bg-black-light "
Colour Contrast Check:
- Text AA & AAA PASS
- Link AA & AAA PASS
Text and Link

 

Citrus

Dark
class="bg-citrus-dark "
Colour Contrast Check:
- Text AA ONLY
- Link AA & AAA PASS
Text and Link
Medium
class=" bg-citrus-medium "
Colour Contrast Check:
- Text AA & AAA PASS
- Link AA & AAA PASS
Text and Link
Light
class=" bg-citrus-light "
Colour Contrast Check:
- Text AA & AAA PASS
- Link AA & AAA PASS
Text and Link

 

Green

Dark
class="bg-green-dark "
Colour Contrast Check:
- Text AA ONLY
- Link AA ONLY
Text and Link
Medium
class=" bg-green-medium "
Colour Contrast Check:
- Text AA & AAA PASS
- Link AA & AAA PASS
Text and Link
Light
class=" bg-green-light "
Colour Contrast Check:
- Text AA & AAA PASS
- Link AA & AAA PASS
Text and Link

 

Salmon

Dark
class="bg-salmon-dark"
Colour Contrast Check:
- Text AA ONLY
- Link AA ONLY
Text and Link
Medium
class=" bg-salmon-medium "
Colour Contrast Check:
- Text AA ONLY
- Link AA & AAA PASS
Text and Link
Light
class=" bg-salmon-light "
Colour Contrast Check:
- Text AA & AAA PASS
- Link AA & AAA PASS
Text and Link

 

Images

These image styles manipulate the presentation of the image they are applied to in the browser. It does not transform the attributes of the file itself.

These classes come included with Bootstrap 4.

Image style Example

Image without any style

Image position - left

Positions the image to the left of its parent container

Image sit to the left by default, so shouldn't be needed too often.

<img src="image.jpg" class="float-left" />

Image position - right

Positions the image to the right of it parent container

<img src="image.jpg" class="float-right" />

Image position - centre

Positions the image in the centre of its parent container

<img src="image.jpg" class="mx-auto d-block" />

Responsive image

Makes the image fill the height of its parent container, and scale the image relative to its dimensions

Image will scale up and down relative to the screen and container heights and widths

<img src="image.jpg" class="img-fluid" />

Image shape - rounded corners

Adds rounded corners to the image

<img src="image.jpg" class="rounded" />

Image shape - circle

Adds a circle overlay to the image

<img src="image.jpg" class="rounded-circle" />

Image shape - thumbnail

Adda small border and some white space padding around the image

<img src="image.jpg" class="img-thumbnail" />

Combining position and shape

You can use a combination of shape and position to create an effect

<img src="image.jpg" class="float-right rounded-circle" />

Purus sit amet volutpat consequat. Viverra suspendisse potenti nullam ac tortor. Lacus suspendisse faucibus interdum posuere lorem ipsum dolor sit amet. Elementum integer enim neque volutpat ac tincidunt vitae semper quis. Venenatis a condimentum vitae sapien pellentesque habitant. Venenatis tellus in metus vulputate eu scelerisque felis imperdiet proin. Pulvinar neque laoreet suspendisse interdum consectetur libero id. Faucibus ornare suspendisse sed nisi lacus sed viverra. Id eu nisl nunc mi ipsum faucibus vitae aliquet. Iaculis nunc sed augue lacus. Sed enim ut sem viverra aliquet eget sit amet tellus.

 

Buttons

Buttons are styled from Bootstrap. They allow a set of styles 

Name Normal Style Disabled Style

Bootstrap Button Primary

Contrast Check

  • Active
  • Active Hover
  • Disabled
  • Disabled Hover

Default

Default

<a href="#" class="btn btn-bs4-primary">Default</a>

Default

Default

<a href="#" class="btn btn-bs4-primary disabled">Default</a>

Button Primary

Contrast Check

  • Active
  • Active Hover
  • Disabled
  • Disabled Hover

Primary

<a href="#" class="btn btn-primary">Primary</a>

Primary

<a href="#" class="btn btn-primary disabled">Primary</a>

Button Secondary

Contrast Check

  • Active
  • Active Hover
  • Disabled
  • Disabled Hover

Secondary

<a href="#" class="btn btn-secondary">Secondary</a>

Secondary

<a href="#" class="btn btn-secondary disabled">Secondary</a>

Button Success

Contrast Check

  • Active
  • Active Hover
  • Disabled
  • Disabled Hover

Success

<a href="#" class="btn btn-success">Success</a>

Success

<a href="#" class="btn btn-success disabled">Success</a>

Button Danger

Contrast Check

  • Active
  • Active Hover
  • Disabled
  • Disabled Hover

Danger

<a href="#" class="btn btn-danger">Danger</a>

Danger

<a href="#" class="btn btn-danger disabled">Danger</a>

Button Warning

Contrast Check

  • Active
  • Active Hover
  • Disabled
  • Disabled Hover

Warning

<a href="#" class="btn btn-warning">Warning</a>

Warning

<a href="#" class="btn btn-warning disabled">Warning</a>

Button Info

Contrast Check

  • Active
  • Active Hover
  • Disabled
  • Disabled Hover

Info

<a href="#" class="btn btn-info">Info</a>

Info

<a href="#" class="btn btn-info disabled">Info</a>

Button Light

Contrast Check

  • Active
  • Active Hover
  • Disabled
  • Disabled Hover

Light

<a href="#" class="btn btn-light">Light</a>

Light

<a href="#" class="btn btn-light disabled">Light</a>

Button Dark

Contrast Check

  • Active
  • Active Hover
  • Disabled
  • Disabled Hover

Dark

<a href="#" class="btn btn-dark">Dark</a>

Dark

<a href="#" class="btn btn-dark disabled">Dark</a>

Magna fringilla urna porttitor rhoncus. Mauris vitae ultricies leo integer malesuada nunc vel risus. Eget velit aliquet sagittis id consectetur purus ut. Egestas fringilla phasellus faucibus scelerisque eleifend donec pretium vulputate sapien.

 

Rows, cells and offsets

Bootstrap 4 (on this site) uses a grid system for positioning content. Information and examples can be found on the Grid system page on the Bootstrap 4 website.

 

Modals

Modals should be used when pages utilise the left and/or right hand side columns, but there isn't enough space on screen to best represent information. It can also be used to highlight specific content.

<div class="content-modal-button" data-target-cm="#cm-full-width">content to appear in modal</div>

Table

Heading 1 Heading 2 Heading 3 (Link)
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell

Images

Commonwealth Investment Framework and Decision-Making Process for Major Projects

 

Text

This paragraph does not have the class around it - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut porttitor leo a diam sollicitudin tempor id eu. Scelerisque varius morbi enim nunc faucibus. Semper eget duis at tellus at. Interdum velit laoreet id donec ultrices tincidunt arcu. Odio euismod lacinia at quis risus sed. Tristique senectus et netus et malesuada.

This paragraph DOES have the class around it - Et pharetra pharetra massa massa ultricies mi quis hendrerit dolor. Quis risus sed vulputate odio ut enim blandit. Adipiscing elit ut aliquam purus sit amet luctus. Vel pretium lectus quam id leo in. Tortor posuere ac ut consequat. Adipiscing elit duis tristique sollicitudin nibh sit amet commodo nulla. Sit amet consectetur adipiscing elit duis tristique sollicitudin nibh. Aliquet lectus proin nibh nisl condimentum. Fringilla ut morbi tincidunt augue interdum velit euismod in pellentesque. Tempus egestas sed sed risus pretium. Justo donec enim diam vulputate ut. Maecenas accumsan lacus vel facilisis volutpat est.

This paragraph does not have the class around it - Sollicitudin aliquam ultrices sagittis orci. Tincidunt dui ut ornare lectus. Sem viverra aliquet eget sit. Donec adipiscing tristique risus nec feugiat in fermentum. In egestas erat imperdiet sed. Quisque egestas diam in arcu. Quis viverra nibh cras pulvinar mattis. Tellus id interdum velit laoreet id. Dignissim convallis aenean et tortor at risus. Risus sed vulputate odio ut enim blandit. Volutpat consequat mauris nunc congue nisi vitae suscipit tellus mauris. In est ante in nibh mauris.

 

Glossary

PGPA Guidance / RMG content

RMG tables have a different default style compared to the rest of the site. This is based around the traditional table styles found in the print versions of these documents

Default RMG table

Site default for PGPA Guidance content type, unless you define a class for the table.

See RMG background colours for contrast check.

Heading 1 Heading 2 Heading 3 (Link)
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell

Default RMG table - no heading

Site default for PGPA Guidance content type, unless you define a class for the table.

See RMG background colours for contrast check.

Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell
Cell Cell Cell

 

Padding

The following classes allow us to providing padding to cells, containers and content

Left or Right

Left code Left example Right code Right example
<p class="padding-left-5"> 5 pixels over from left <p class="padding-right-5">

5 pixels over from right

<p class="padding-left-10">

10 pixels over from left

<p class="padding-right-10">

10 pixels over from right

<p class="padding-left-15">

15 pixels over from left

<p class="padding-right-15">

15 pixels over from right

<p class="padding-left-20">

20 pixels over from left

<p class="padding-right-20">

20 pixels over from right

<p class="padding-left-25">

25 pixels over from left

<p class="padding-right-25">

25 pixels over from right

<p class="padding-left-30">

30 pixels over from left

<p class="padding-right-30">

30 pixels over from right

<p class="padding-left-35">

35 pixels over from left

<p class="padding-right-35">

35 pixels over from right

<p class="padding-left-40">

40 pixels over from left

<p class="padding-right-40">

40 pixels over from right

<p class="padding-left-45">

45 pixels over from left

<p class="padding-right-45">

45 pixels over from right

<p class="padding-left-50">

50 pixels over from left

<p class="padding-right-50">

50 pixels over from right

 

Top or Bottom

Left code Left example Right code Right example
<p class="padding-top-5"> 5 pixels from top <p class="padding-bottom-5">

5 pixels from bottom

<p class="padding-top-10">

10 pixels from top

<p class="padding-bottom-10">

10 pixels from bottom

<p class="padding-top-15">

15 pixels from top

<p class="padding-bottom-15">

15 pixels from bottom

<p class="padding-top-20">

20 pixels from top

<p class="padding-bottom-20">

20 pixels from bottom

<p class="padding-top-25">

25 pixels from top

<p class="padding-bottom-25">

25 pixels from bottom

<p class="padding-top-30">

30 pixels from top

<p class="padding-bottom-30">

30 pixels from bottom

<p class="padding-top-35">

35 pixels from top

<p class="padding-bottom-35">

35 pixels from bottom

<p class="padding-top-40">

40 pixels from top

<p class="padding-bottom-40">

40 pixels from bottom

<p class="padding-top-45">

45 pixels from top

<p class="padding-bottom-45">

45 pixels from bottom

<p class="padding-top-50">

50 pixels from top

<p class="padding-bottom-50">

50 pixels from bottom

 

Icons

Heading Icon name Icon
Audience users
 
Key points key
 
Resources tools
 
Introduction door-open
 
Copyright copyright
 

See all icons - Font Awesome | Uploaded Icons

 

Link Overrides

Only use when there is a colour conflict in the content for things like tables/cells. Even then, use sparingly.

These are good for scenarios where there a table row colours that might not work with default green. Check the tables and cell styling above first - all of those have been checked for accessibility purposes and should server most situations.

  • Black - <a href=#" class="link-override-black">Link</a>
  • Blue - <a href=#" class="link-override-blue">Link</a>
  • Citrus - <a href=#" class="link-override-citrus">Link</a>
  • Purple - <a href=#" class="link-override-purple">Link</a>
  • Salmon - <a href=#" class="link-override-salmon">Link</a>

Accordions

Accordions can be used to stop pages from getting too large by hiding the biggest offenders, such as images and tables, inside a tab you have to click to open.

<div class="dynamic-accordion">
<div data-accordion-header="Test Accordion 1">
<p>Test Paragraph</p>
</div>
<div data-accordion-header="Test Accordion 2">
<p>Test Paragraph</p>
</div>

Test Paragraph 1

Test Paragraph 2

Bootstrap Accordion

 

Codes

<p> 
   Start of accordion 
</p> 
<div class="paragraph-accordion"> 
   <p> 
       <a class="btn btn-primary btn-accordion collapsed" href="#collapseExample" data-toggle="collapse" aria-expanded="false" role="button" aria-controls="collapseExample">This is accordion heading</a> 
   </p> 
   <div class="collapse accordion-content" id="collapseExample"> 
       <div class="card card-body"> 
           <p> 
               This is accordion content 
           </p> 
       </div> 
   </div> 
</div> 
<p> 
   End of accordion 
</p>

Presentation 

Start of accordion

This is accordion heading

This is accordion content

End of accordion


Did you find this content useful?