Toolkit [ How To … ]

Base Styles

Grid Code

Your starting point is a universal grid, divided into equal parts. It should be applied across all devices. This grid show is fluid and proportionally scales to fit any screen size.

974

Use this grid if your website is not ready to move onto the new 1140px width, that is if most sites in your vertical are not using the this 'toolkit' version of the grid.

 
 
 
 
 
 
 
 
 
 
 
 

Wide Grid 1140px

 
 
 
 
 
 
 
 
 
 
 
 

lightbox Grid

 
 
 
 
 
 
 
 
 
 
 
 

Grid on a Portrait Tablet 696px

 
 
 
 
 
 
 
 
 
 
 
 

Colours Code

These colours are for designer reference only. For accessibility reasons, please also note the colour of the text being used.

Backgrounds + Key Line

Dark Background
#eaeaea
Light Background
#f4f4f4
Key Line
#dcdcdc

Buttons + Icons

Primary Buttons or icons
#0073c5
Secondary Buttons only
#eaeaea
Success Icons only
#6dbb00
Sky Go Icons only
#44ad3a
Remote Record Icons only
#ed1c24
Never Miss Icons only
#0077ae

Channels

Sky 1
#0076be
Sky Atlantic
#003663
Sky Arts
#734993
Sky Living
#87a0af
Sky Movies
#a51d4d

Shop

Original
#ff6000
Family
#1998f2
Movies
#a51d4d
Sports
#d92231
Complete
#29c1ad

Typography

Primary Main page text
#333333
Secondary Supporting text i.e. legal
#666666
Inactive
#999999
Error i.e. Warnings or form errors
#D21717
Links
#0070a5

V3 Brand

Red
#ed1c24
Pink
#ed0677
Yellow Use primary text colour
#fdb913
Green Use primary text colour
#a6ce39
Blue Do not put text on top (it's not Accessible)
#00aeef

Typography Code

Only a single Page Title can exist on a page at one time. All other titles can be used multiple times. Helvetica/Arial/Verdana should be used as fallback for when Sky fonts aren't available within the browser. When mixing SkyTextMedium and skyTextRegular weights, Medium should always come first.

Page Title (Sky Text Regular 52px 32px* )
Line-height 56px 36px*

Section Title (Sky Text Regular 44px 28px*)
Line-height 48px 32px*

Smaller Section Title (Sky Text Medium / Regular 36px 28px*)
Line-height 40px 32px*

Pod Title (Sky Text Medium / Regular 32px 28px*)
Line-height 36px 32px*

Smaller Pod Title (Sky Text Medium / Regular 28px 24px*)
Line-height 32px 28px*

Intro Copy (Sky Text Medium / Regular 24px 20px*)
Line-height 28px 24px*

Smaller Intro Copy (Sky Text Medium / Regular 20px)
Line-height 24px

Body text (Sky Text Medium / Regular 16px)
Line-height 20px

Smaller text (relative to container) Supportive text (fixed size) Legal copy

Instructional copy (Luna 24px)
Line-height 40px

This is the SkyTextMedium medium font
This is the SkyTextRegular default font
This is the instructions font

Error

Secondary

Inactive

Quotes
'Strong' tags go to medium automatically

Text on dark background is white

Links next to normal text need chevrons

Text on light background is black

Links next to normal text need chevrons

Icons Code

Skycons

These icons will look good on Retina devices and can be any size or (single) colour.

CSS Class How it looks with .colour with .hover-colour for designers
skycon-arrow-down-leftview
skycon-arrow-leftview
skycon-arrow-rightview
skycon-atview
skycon-carousel-pauseview
skycon-carousel-playview
skycon-chevron-downview
skycon-chevron-leftview
skycon-chevron-upview
skycon-chevronview
skycon-closeview
skycon-cloudview
skycon-downloadview
skycon-expandview
skycon-facebookview
skycon-google-plusview
skycon-infoview
skycon-mailview
skycon-menuview
skycon-minifyview
skycon-mouseview
skycon-never-missview
skycon-on-demandview
skycon-pendingview
skycon-phoneview
skycon-plus-circleview
skycon-remote-recordview
skycon-searchview
skycon-shareview
skycon-sky-goview
skycon-sky-plusview
skycon-skyview
skycon-speech-bubbleview
skycon-tickview
skycon-tvview
skycon-twitter-favouriteview
skycon-twitter-followview
skycon-twitter-replyview
skycon-twitter-retweetview
skycon-twitterview
skycon-user-profileview
skycon-video-playview
skycon-volumeview
skycon-warningview

Sprite

These are not likely to look good on Retina devices

Icon CSS Class How it looks
watch-now icon-watch-now
curved-arrow-bottom-left icon-curved-arrow-bottom-left
curved-arrow-down icon-curved-arrow-down
curved-arrow-right icon-curved-arrow-right
curved-arrow-top-right icon-curved-arrow-top-right
video-play icon-video-play

Buttons Code

Primary

Primary Link

Secondary

Secondary Link

Spinners Code

Please wait...

Components

Accordion Code

  • First Accordion Item

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla eget commodo nulla. Sed nec magna pellentesque, aliquam orci eu, cursus augue. Morbi eget hendrerit nunc. Aliquam interdum non sem a scelerisque. In convallis est augue, eget dictum tortor posuere et. Vivamus neque dolor, elementum sed porttitor ac, aliquet sit amet lectus. Nullam libero arcu, auctor ut neque id, varius tempus arcu. Mauris rhoncus eros egestas facilisis convallis. Phasellus elementum elit eget ligula posuere malesuada

  • Second Accordion Item

    Second Accordion content

  • Third Accordion Item

    Third Accordion content

Form Code

Select a payment type

- -
- -

In-page Nav Code

These modules are not yet complete. If you need them, please complete 'accessibility' checks an re-submit.

Sleek Nav

This module should be used when only a small section of the page changes after an item click.

Whole Page Nav

This module should be used when the entire (or most of) the page changes after an item click.

Lightbox Code

A lightbox should be used when providing auxiliary information that needs to focus the all of the users attention. The Lightbox is centered and covers 10 columns of the grid. The lightbox should then contain a new 12 column grid. The lightbox goes full-width in mobile view.

Default Lightbox (Large)

If the content goes below the fold (on a desktop (fold considered 768) then use a new page.

Show Lightbox from DOM | Show Lightbox with callback

Lightbox using AJAX

This example allows the content of an external page be shown in a lightbox.

Small Lightbox (under 350x350 pixels)

The lightbox fades in to the centre of the browser.

Show a small Lightbox from DOM

Share Code

A component to share external articles.

Bar

Tooltip Code

A tooltip should be used when providing auxiliary information that doesn't need all of the users attention. Activated via a hover over an element.

Hover

Video Code

A wrapper for the Sky video player, The video will expand to fit the ratio of the video.

Utils

Detect Code

CSS

You can detect many css style capabilities, including:

  • transition:
  • transform: i.e. transform: translate(...)
  • support3D: i.e. transform: translate3d

You can return the value associated with a css property:

  • transform:
Pull me! detecting height and width using .css doesn't work, use jQuery.

Touch

  • Is touch supported:

Orientation

  • current orientation:
  • is landscape:
  • is portrait:

View

  • current view:
  • is desktop:
  • is mobile:

Event Code

Ready

You can detect when the document has finished loading everything except images:

.ready: document loading...

true

You can listen for standard and custom (non-jQuery) JS events

.on: ...off. click here to see

Off event

You can turn off events that were previously applied using the on method above.

.off: turn off the 'on' event (above)

Resize End

You can know the moment (200ms) a user has finished resizing the browser

resizeend: not re-sized.

Hash Manager Code

This is useful for maintaining state i.e. ensuring clicks, page refreshes and bookmarked links all arrive in the same state.

Libraries Code

The toolkit provides static urls to a number of external libraries.

jQuery

You can include jQuery of different versions.

RequireJS

You can include RequireJS.

Other

We also host versions of SessionCam and Test & Target javascript files.

Responsive Images Code

Toggle Code

Closed Element

Show

text with margins

1st content of 2 lines
2nd line Some more content for element toggling

Open Element

Hide

text with margins

1st content of 2 lines
2nd line Some more content for element toggling

Examples

Error Page Code

The page you're looking for could not be found

The link you used may be out of date or the address (url) may have been typed incorrectly. Please check and try again.

Go to Sky.com

try one of these links