Restauranti Style Guide

Welcome to the style guide for Restauranti! On this page you'll find a visual list of all of the main styling classes that can be used across the website, from colors to font styles to box shadows.

Not all of the classes you find here will be used in the pre-created layouts on the templates pages, but they're set up and available to you should you want to try your hand at creating some new content, or make some adjustments to what's already there.

You can use these classes on their own, or in combination to add styling to containers, change the color of text and set spacing amounts between content.

Colors

Color Palette

Restauranti uses a three color system; Lightest, Accent and Darkest. There are also shades of these colors available to make up any gaps in the palette you might need! You can see the colors set on the swatches below.

Lightest
Accent 300
Accent 600
Accent 900
Accent
Darkest 300
Darkest 600
Darkest 900
Darkest

Set Background Color

You can set the background color of a Div using the class name Background 'Color Name', for example: Background Accent will change the background color to the color set as Accent.

Background Lightest
Background Accent 300
Background Accent 600
Background Accent 900
Background Accent
Background Darkest 300
Background Darkest 600
Background Darkest 900
Background Darkest

Set Text Color

You can set the text color of any text content using the class name Text Color 'Color Name', for example: Text Color Dark will change the text color to the color set as Dark.

Text Color Lightest
Text Color Accent 300
Text Color Accent 600
Text Color Accent 900
Text Color Accent
Text Color Darkest 300
Text Color Darkest 600
Text Color Darkest 900
Text Color Darkest

Typography

Headings

Remember to follow correct heading hierarchy when placing them onto pages:

  • Only have one H1 tag on each page (use the cog icon on the heading element to change this)
  • From them on keep heading tags in descending order within nested content. Use classes to adjust styling away from the default heading style when necessary, simply use the name of the desired heading as the class, such as Heading Four. This will make a heading look like a 'heading four' even if it is tagged as a H1, preserving structure and hierarchy while allowing for more flexible design.

Heading One

Heading Two

Heading Three

Heading Four

Heading Five

Body Text (Paragraphs)

Use these classes to adjust the sizing and design of the main body text of the site.

Text Size Large

Text Size Medium

Text Size Small

Text Style Italic

Text Style Bold

Text Style Uppercase

Text Style Underline

Lists

  • This is an unordered list
  • This is an unordered list
  • This is an unordered list
  1. This is an ordered list
  2. This is an ordered list
  3. This is an ordered list

Quote Blocks

"This is the text inside a quote block"

Rich Text Content

Below is the styling for all the content inside a Rich Text block, this is used to format a lot of text content in one place easily. Simply add the class Rich Text Block to a Rich Text element in order to apply these styles.

Heading One

Heading Two

Heading Three

Heading Four

Heading Five

Heading Six

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Image Caption

  • Unordered List
  • Unordered List
  • Unordered List

  1. Ordered List
  2. Ordered List
  3. Ordered List

"This is a quote in a rich text container"

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

This is some italic content

This is some bold content

This is some superscript content

This is some subscript content

This is a linked piece of text

Text Alignment

Use these classes on a Div wrapping text content to change the alignment of all the text within that container.

Text Align Left
Text Align Center
Text Align Right

Buttons & Links

Buttons

Buttons come in two styles, Primary, and Secondary. These styles also come with a Light and Dark variant to match any background or design you might need.

Buttons are created as components, so to create one, simply drag it from the components sidebar. Then you can adjust the text and link on a per button basis in the buttons settings.

Primary Button
Primary Button Lightest
Primary Button
Primary Button Darkest
Secondary Button
Secondary Button Lightest
Secondary Button
Secondary Button Darkest

Linked Text

Use these classes to style regular, inline text links. Simply apply any of the below 'Link Style' classes to apply the style. For example, Link Style One.

If you wish to change the text color of the link, you can also use a regular text color class as a combo class. Such as Text Color Lightest.

This is some text containing the default link styling.
This is some text that contains Link Style One.

Container Styles

Borders

Use these classes to add borders to containers, the class name contains, 'Border' followed by the color from the color palette, eg. 'Accent 300'. A full border class might look something like: Border Dark 300.

Border Lightest
Border Accent 300
Border Accent 600
Border Accent 900
Border Accent
Border Darkest 300
Border Darkest 600
Border Darkest 900
Border Darkest

Divider Lines

Use these classes to create a divider line between content, simply add a Div and give it a class of Divider Line, then a combo class of a background color to make it a color of your choice. A full class might look like Divider Line Background Accent. By default the background color is set to Darkest.

Divider Line

Corners

Use these classes to add rounded corners to a container. The class should be the word 'Corners' followed by the strength value, eg. None. A full class might look like: Corners S

Corners None
Corners S
Corners M
Corners L
Corners XL

Box Shadows

Use these classes to add box shadows to a container. The class contains the word 'Shadow' followed by a strength value, eg. S. A full class might look like Shadow M.

Shadow None
Shadow S
Shadow M
Shadow L

Backdrop Filters

Use these classes to add backdrop filters to a container. The class contains the word 'Backdrop' followed by the filter name, eg. Blur. A full class might then look like Backdrop Blur.

Backdrop Blur
Backdrop Invert
Backdrop Greyscale

Images

Background Images

If you wish to give an element a background image, you must first apply the class Image BG to the desired element. You may then place a Div with a class of Background Image inside this element. Then nest an image element inside the Background Image with a class of Image. This is where you would upload your image of choice.

If you wish to add an overlay to this image, simply set a Div with a class of Image Overlay, next to the Image element followed by a combo class stating which style of overlay you wish to use. For example, Image Overlay Darkest 300

For a parallax effect, add the combo class Parallax to the Image element.

Background Image
Parallax
Image Overlay Darkest 600
Image Overlay Darkest 300
Image Overlay Lightest 600
Image Overlay Lightest 300
Image Overlay Accent 600
Image Overlay Accent 300

Forms

Form Elements

Use the classes below to apply the styles to the following form elements. Remember to add the classes Form Success and Form Error, to their respective fields to style them.

This is how a form success message will be formatted
This is how a form error message will be formatted
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Spacing

Global Padding

After placing a section the first element inside should be a Div with the Global Padding class, this dictates the max width of the site, as well as the site margins from the edge of the page. By default, this is set to a max width of 1440px and margins of 6 REM. This can also be adjusted at different breakpoints, with tablet set to 4 REM, and mobile landscape and below set to 2 REM.

Global Padding

Padding Blocks

To add spacing inside of a block (padding), use a Div with a 'Padding' class. This consists of the word 'Padding' followed by a sizing. For example, 'S'. An example of a full padding block class might be Padding XL.

To add padding in a single direction, add a 'Padding (direction)' class before the main padding class. An example of this might be Padding Top Padding L.

You can add padding to the Top, Bottom, Left, Right, Vertical and Horizontal sides of an element.

Padding XXS
Padding XS
Padding S
Padding M
Padding L
Padding XL
Padding XXL
Padding XXXL

Margin Blocks

To add spacing outside of a block (margin), use a Div with a 'Margin' class. This consists of the word 'Margin' followed by a sizing. For example, 'S'. An example of a full padding block class might be Margin XL.

To add Margin in a single direction, add a 'Margin (direction)' class before the main margin class. An example of this might be Margin Top Margin L.

You can add margin to the Top, Bottom, Left, Right, Vertical and Horizontal sides of an element.

Margin XXS
Margin XS
Margin S
Margin M
Margin L
Margin XL
Margin XXL
Margin XXL