IE Not suppported

Sorry, but Internet Explorer is no longer supported.

For the best D2L.com experience, it's important to use a modern browser.

To view the D2L.com website, please download another browser such as Google Chrome or Mozilla Firefox.

Style Guide

Colours

Primary Colours

Not accessible with white text

color-green

#34E82A

color-orange

#FF812C

color-blue

#06A6FF

color-purple

#BAA5FF

Secondary Colours – accessible with white text

These can be both background colours with text on top and text colours

color-tourmaline

#D40067

color-cinnabar

#CD2026

color-fluorite

#9D1FD4

color-amethyst

#6038FF

color-celestine

#006FBF

color-sodalite

#023280

Secondary Colours – not accessible with white text

These can be accent colours or background colours with dark text or no text

color-citrine

#FFBA59

color-tourmaline-p1

#FD4E9D

color-cinnabar-p1

#FF575A

color-fluorite-p1

#CE68FA

color-amethyst-p1

#8982FF

color-zircon-p1

#00D2ED

color-celestine-p1

#29A6FF

color-malachite

#2DE2C0

color-malachite-n1

#00A490

color-peridot

#8AD934

color-coolmint

#B7E0EB

Greyscale

color-sylvite

#F1F5FB

color-gypsum

#E3E9F1

color-mica

#CDD5DC

color-corundum

#B5BDC2

color-chromite

#9EA5A9

color-galena

#868C8F

color-tungsten

#6E7376

color-ferrite

#494C4E

color-onyx

#262626


Typography

Header Class One

    • font family: ARS Maquette Bold
    • font size: 40px with 50px leading
Code

Header Class One Alternate

    • font family: ARS Maquette Light
    • font size: 40px with 50px leading
Code

Header Class One Large Caps

    • font family: ARS Maquette Light All Caps
    • font size: 40px with 50px leading
Code

Header Class One Large

    • font family: ARS Maquette Light
    • font size: 46px with 46px leading
Code

Header Class One Large Bold

    • font family: ARS Maquette Bold
    • font size: 40px with 50px leading
Code

Header Class One 60

    • font family: ARS Maquette Light
    • font size: 60px with 60px leading
Code

Header Class One Home

    • font family: ARS Maquette Light All Caps
    • font size: 75px with 75px leading
Code

Header Class Two

    • font family: ARS Maquette Bold
    • font size: 30px with 35px leading
Code

Header Class Two Alternate

    • font family: ARS Maquette Light
    • font size: 30px with 35px leading
Code

Header Class Three

    • font family: ARS Maquette Bold
    • font size: 25px with 30px leading
Code

Header Class Three Alternate

    • font family: ARS Maquette Light
    • font size: 25px with 30px leading
Code

Header Class Four / Subhead

    • font family: ARS Maquette Bold All Caps
    • font size: 16px with 18px leading
Code

Tags

    • font family: ARS Maquette Regular All Caps
    • font size: 12px with 1px letter spacing
    • colour: d2lGrey
Code
    • font family: ARS Maquette Bold
    • font size: 18px with 22px leading
Code
    • font family: ARS Maquette
    • font size: 16px with 22px leading
Code
    • font family: ARS Maquette Bold
    • font size: 16px with 22px leading
Code
Leading Text
    • font family: ARS Maquette Regular
    • font size: 19px with 30px leading
Code
“I am a pull quote! …. and retention because it has moved beyond basic reporting and alerts, and no other OLP vendor has grasped predictive analytics in the way D2L has.”
This is the quotee, ARS Maquette at 26px with 42px leading
    • font family: ARS Maquette Italic
    • font size: 20px with 40px leading
Code

Body copy

    • font family: ARS Maquette
    • font size: 15px with 22px leading
    • color: d2lGrey
Code


Lists

List bullets will display theme colour

Check Mark List

  • Integrate your solutions within Brightspace, the world’s first truly integrated learning platform
  • Work with D2L to develop superior solutions together—solutions that will ultimately drive success for individual learners
  • Deliver the right content at the right time with adaptive learning
Code

Fancy List

  • Add courses, content, or discussions with a single click
  • Run online, blended, and CBE programs on the same platform
  • Deliver the right content at the right time with adaptive learning
Code

Bullet List

  • Add courses, content, or discussions with a single click
  • Run online, blended, and CBE programs on the same platform
  • Deliver the right content at the right time with adaptive learning
Code

Buttons

Buttons
Button
Code
Inverted Button
Code

Helpful Classes

Class Description Example
{colour}_bg Set the background colour of an object d2lWhite_bg
{colour}_txt Set text colour d2lWhite_txt
{colour}_brd(––top|right|bottom|left) Set the border colour of an object (optional side variants) d2lWhite_brd (All sides are white)
d2lWhite_brd––top (Only top border is white)
no-[padding|margin](-x|y) Remove all padding or margin
(optional x or y)
no-padding (Remove all padding or margin)
no-padding-y (remove from top and bottom)
no-[padding|margin]-[top|right|bottom|left] Remove padding or margin from a specific side no-padding-top
[padding|margin]-[bottom|top](-2|3|4) Add margin or padding to the top or bottom in increments of our base padding. padding-bottom (add base padding to bottom)
padding-bottom-2 (add 2 * base padding to bottom)
text-[viewportSize]-[left|center|right] Align text based on the screen size. Class must be applied to the parent of the element you are trying to change the alignment of text-center (smallest screen size and up) text-md-right (align right on md screen size and up)
hidden|visible Hide or show an element
hidden-[viewportSize]|visible-[viewportSize] Hide or show an element on a specific viewport size hidden-sm hidden-lg (hide on small and large viewport sizes, all other sizes xs, md and xl will be visible)
width-100 Forces the element to have 100% width of it’s parent
height-100 Forces the element to have 100% height of it’s parent
filter-grayscale Converts images into grayscale, class must be placed directly on the image element
img-[contain|cover] Positions an image within the img tag while retaining scale. Cover will make the image fill the entire img element and contain will max out the image size along the X or Y axis, whichever side makes contact with the edge of the tag first

<img src="..."
class="img-contain"
alt="...">
anchor-offset Offsets the height of the main navigation for headings or elements with on-page anchors

<div id="my-anchor" class="anchor-offset"></div>
...
rounded-corners Rounds the corners of any element
circle-image Turns any image into a circle although the image must already be a perfect square to be a perfect circle

<img src="..." class="circle-image">
text-underline Add an underline to any text
no-list-style Remove the default styling from a >ul< list
no-line-break Prevent the text inside from forcefully breaking on to the line below

Flex Classes

Flex classes allow for special alignment of elements within the parent element that the flex classes are applied to.

Class Description Example
flex Enable flex on an element and it’s children. All other classes require the flex class to be present on the same element for flex to take effect.
flex-wrap Forces flex items (the elements contained within the element with the flex class present) onto multiple lines. Example
flex-col Display flex items in a column
flex-row Display flex items in a row
justify-[center|evenly|around|between] Align flex items horizontally

justify-center

justify-evenly

justify-around

justify-between

items-[center|evenly|around|between] Align flex items horizontally

items-start

items-center

items-end

flex-grow-1 Forces the element to take up the remaining space of the parent flex container
flex grow element


Image sizes

Page Type Width Height
Curved hero 1325 px 400 px
Full width hero 1440 px 633 px
Blog post hero 1325 px 400 px
Full width background image 1440 px 633 px

Breakpoint Examples

Responsive-Breakpoint-Examples

Carousel

Code

      
        
      


Pop ups

Pop up video

Play video Code

Pop up box

Learn more about John

Code

Pop up Marketo Form

Marketo form popup

Code


Useful Shortcodes

Video

Code

Trial

Code


Let’s Talk

Code

If you have any questions, we're ready to help.

Markup

Rows and Columns

Creating a Row

Code

Creating a Column

Code

Putting it together

Code

Don’ts with Rows and Columns

The pattern to follow with rows and columns should be as such:

Code

Remember rows always come first!

Rows or columns should never be direct ancestors of one another:

Code

Rows are self-clearing and therefore no “clearfix” is required.

If you have any questions, we're ready to help.

John Baker

John founded D2L in 1999, at the age of twenty-two, while attending the University of Waterloo as a Systems Design Engineering student.

He saw that online digital tools could open the door to entirely new and more effective models, and create learning experiences that are more personal, engaging and inspiring. The company is on the journey of transforming the way the world learns.