Style Guide

Style Guide for inputting content

Typography

Headings

The following codes can be used to insert headings into your content if you are using the ‘Text’ view mode.

Heading 2

<h2>Heading 2</h2>

 

Heading 3

<h3>Heading 3</h3>

 

Heading 4

<h4>Heading 4</h4>

 

Colours

#F5F5F5
#DEDEDE
#C9F0F4
#0270AD
#005EB8
#044188
#058089
#027795
#844A71
#BC2C6F

Font Sizes

Heading 2 is 26px
Heading 3 is 20px
Heading 4 is 17px


Blockquote

The blockquote element represents a section that is quoted from another source. You can use the following code within the ‘Text’ view mode to insert a block quote.

Corrupti quos dolores et quas molestias excepturi sint occaecati. Fugiat quo voluptas nulla pariatur?Jane SmithJob title

 

[blockquote line1='Jane Smith' line2='Job title']Corrupti quos dolores et quas molestias excepturi sint occaecati. Fugiat quo voluptas nulla pariatur?[/blockquote]

Inline external links

Use this code to insert a link within your content.

View all links

 

<a href="www.google.com">View all links</a>

Lists

Bullet list

Include the following code within the ‘Text’ view mode to insert a bullet point list into your content.

  • Your text goes here
  • Your text goes here
  • Your text goes here

 

<ul>
<li>Your text goes here</li>
<li>Your text goes here</li>
<li>Your text goes here</li>
</ul>

 

Numbered List

Include the following code within the ‘Text’ view mode to insert a numbered list into your content.

  1. Your text goes here
  2. Your text goes here
  3. Your text goes here

 

<ol>
<li>Your text goes here</li>
<li>Your text goes here</li>
<li>Your text goes here</li>
</ol>

Buttons

To draw a visitor’s attention to a certain link, you can include this shortcode within the ‘Text’ view mode to insert a call to action button.

Button

 

[button label="Button" link="http://google.co.uk"][/button]

Downloads

The ‘pdf’ shortcode provides a suitable icon to indicate a downloadable file to the user.

PDF Download

In order to view PDF documents you will need Adobe PDF Reader

 

[pdf]<a href="www.google.com/pdf">PDF Download</a>[/pdf]

 


Messages

Strapline

The ‘strapline’ shortcode provides the ability to create a Strapline.

This is a Strapline

 

[strapline]This is a Strapline[/strapline]

 

Adobe Prompt

The ‘adobe’ shortcode will display a notice to the user informing them that Adobe Reader may be required to view the PDF.

Viewing PDFs

In order to view PDF documents you will need Adobe PDF Reader

 

[adobe][/adobe]

 

Panels

The ‘panel’ shortcode can be used to highlight a selection of content and contain within it other html code like headings and buttons. Wrap this around some existing content using the ‘Text’ view mode.

This is a Panel message

 

[panel]This is a Panel message[/panel]

Media

The ‘video’ shortcode will allow you to embed YouTube or Vimeo videos responsively into your content.

 

[video url="https://youtu.be/8tPnX7OPo0Q"]

Block

The ‘block’ shortcode will allow you to present a featured link with an icon. An icon can be specified using the icon attribute, similarly for the link. The block’s content can then be wrapped in this shortcode.

The available icons are ‘video’, ‘pen’ and ‘info’.

 

[block icon="video" link="https://www.youtube.com/"]MINAB Friday sermon (khutbah) text for mosques[/block]

Block group

To present the blocks in a group of 3 columns, you can wrap the blocks with the ‘block_group’ shortcode.

 

[block_group] [block icon="video" link="https://www.youtube.com/"]MINAB Friday sermon (khutbah) text for mosques[/block] [block icon="info" link="http://bbc.co.uk"]Leeds Grand Mosque confirms vaccine is permissible in this regigious ruling (fatwa)[/block] [block icon="pen" link="https://leedsccg.nhs.uk/news/"]Blog post from Qari Asim, Iman of Makkah Mosque[/block] [/block_group]

© Copyright 2024 Leeds Health and Care Partnership | Lovingly crafted by Mixd