Website Style Guide
Go to Homepage

Introduction

Welcome to the style guide for your website. You can use this page to quickly make changes to things such as fonts, text sizes, colours, buttons, and more. These changes will then be applied across your website.

To ensure your site is responsive and adapts to all devices, some elements will have different stylings across different breakpoints. For example, heading sizes on desktop breakpoints are slightly different to those on mobile breakpoints.

Your style guide is not viewable to the public, and can only be accessed with a password.

If you have any questions about this style guide or your website in general, then please do not hesitate to email me - example@domain.com

Colours

Primary Colours

Primary Dark
#99999A
Primary Lite
#777778
Primary
#FF6525
Secondary
#0F1222
Shade 2
#333334

Greyscale

White
#EEEEEE
Black
#222222
Border
#f0f0f0
Grey
#444444
Light Grey
#575757

Other Colours

Success
#00b04f
Error
#b00020

If you want to add these colours to elements you can use the following classes -

.primary changes the text colour
.primary-bg changes the background colour

Actual styles in this block ->

Typography

The primary colour for all typography on your website is #EEEEEE.

As mentioned in the introduction, the sizing of your headings differ between desktop and mobile breakpoints. Both desktop and mobile breakpoints have a base font size of 18px (1em). All pixel values have been rounded.

Desktop - Major Third Scale (1.25)
44px | 35px | 28px | 23px | 18px | 14px | 12px

Mobile - Minor Third Scale (1.20)
37px | 31px | 26px | 22px | 18px | 15px | 12px

H1

The quick brown fox jumps over the lazy dog.

Desktop: Arial | 44px / 2.44em | 110% | Bold
Mobile: Arial | 37px / 2.05em | 110% | Bold
H2

The quick brown fox jumps over the lazy dog.

Desktop: Arial | 35px / 1.94em | 120% | Bold
Mobile: Arial | 31px / 1.72em | 120% | Bold
H3

The quick brown fox jumps over the lazy dog.

Desktop: Arial | 28px / 1.56em | 120% | Bold
Mobile: Arial | 26px / 1.44em | 120% | Bold
H4

The quick brown fox jumps over the lazy dog.

Desktop: Arial | 23px / 1.28em | 130% | Bold
Mobile: Arial | 22px / 1.22em | 130% | Bold
H5
The quick brown fox jumps over the lazy dog.
Desktop & Mobile: Arial | 18px / 1em | 140% | Bold
H6
The quick brown fox jumps over the lazy dog.
Desktop & Mobile: Arial | 14px / 0.78em | 140% | Bold | All Caps
Paragraph

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat.

Desktop & Mobile: Arial | 18px / 1em | 150% | Normal

The .p1 class can have a number of combo-classes applied to it, such as -

.small (reduces font size to 14px / 0.78em).
.tiny (reduces font size to 12px / 0.67em).
.centred (centre aligns the text).
.capitals (makes the the text all CAPS).
.no-max-width (disables the 65ch max-width setting).
.desktop-only (texts only displays on desktop breakpoints).
.mobile-only (text only displays on tablet & mobile breakpoints).

Text
This is a piece of text. Not quite the same as a paragraph element.
Desktop & Mobile: Arial | 18px / 1em | 150% | Normal

The .text class can also have the same combo-classes applied to it as the .p1 class.

Logos & Assets

Logo - White
Logo - Black
Favicon - 32x32px
Webclip - 256x256px

Buttons & CTAs

Filled Button - Primary
Filled Button - Secondary
Filled Button - Icon
Outlined Button - Primary
Outlined Button - Secondary
Outlined Button - Icon

Rich Text - Blog Posts

Rich text blocks (RTBs) are different from regular paragraph and text elements. RTBs allow you to format headings, paragraphs, quotes, images, videos, captions, and lists all within the one element.

RTBs are what will be used for the primary body of your blog posts.

L

orem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

This is a H2 heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat.

Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

This is a H3 heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat.

This is a H4 heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.

This is a H5 heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.

This is a H6 heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique.

This is a figure/image caption

This is an ordered list -

  1. Fully responsive
  2. Cloneable
  3. Swap in with your client's styles

This an unordered list -

  • Fully responsive
  • Cloneable
  • Swap in with your client's styles

Below is what block quotes will look like in your blog posts -

"Lorem ipsum dolor sit amet, consectetur adipiscing elit."

Global Classes

Any element can have one or multiple combo-classes applied to it.

Typography globals

The following global classes are for text elements:

.regular (makes the the text regular).
.medium (makes the the text medium).
.semibold (makes the the text semibold).
.bold (makes the the text bold).
.extrabold (makes the the text extrabold).
.italics (makes the the text all italics).
.poppins (sets the font to poppins).
.inter (sets the font to inter).
.uppercase (makes the text uppercase).
.lowercase (makes the text lowercase).
.camelcase (makes the text camel case).
.left (text left aligned).
.centred (text centre aligned).
.right (text right aligned).

Sizing globals

The following global classes are for adding spacing beneath an element:

.B-Margin-XXL

Desktop & Mobile: 3 rem

.B-Margin-XL

Desktop & Mobile: 2.5 rem

.B-Margin-LG

Desktop & Mobile: 2 rem

.B-Margin-MD

Desktop & Mobile: 1.5 rem

.B-Margin-SM

Desktop & Mobile: 1 rem

.B-Margin-XS

Desktop & Mobile: 0.75 rem

.B-Margin-XSS

Desktop & Mobile: 0.5 rem

Actual styles in this block ->

Sizing globals

The following global classes are for adding spacing beneath an element:

.B-Margin-XXL

Desktop & Mobile: 3 rem

.B-Margin-XL

Desktop & Mobile: 2.5 rem

.B-Margin-LG

Desktop & Mobile: 2 rem

.B-Margin-MD

Desktop & Mobile: 1.5 rem

.B-Margin-SM

Desktop & Mobile: 1 rem

.B-Margin-XS

Desktop & Mobile: 0.75 rem

.B-Margin-XSS

Desktop & Mobile: 0.5 rem

Other

You can use this section for any other important elements that you'll use throughout your client's website, such as -

• Navigation
• Footer
• Icons
• Cards
• Form elements
• Social media share buttons

Thank you for checking out this style guide template. You can clone it here. If you have any questions about it, please feel free to message me on Twitter.

Go to Homepage