Pattern Library

This is a test announcement; of very high importance...of course.

Colour

  • $colour-primary
  • $colour-primary-dark
  • $colour-secondary
  • $dark
  • $grey
  • $light
  • $grey-dark
  • $grey-darker
  • $grey-light
  • $grey-lighter
  • $grey-lightest
  • $green
  • $green-dark

Typography

Fonts

  • Roboto Slab, Merriweather, Cambria, Baskerville, Georgia, serif
    ABCDEFGHIJKLMNOPQRSTUVWXYZ
    abcdefghijklmnopqrstuvwxyz
    0123456789

  • Roboto, Helvetica Neue, Helvetica, Arial, sans-serif
    ABCDEFGHIJKLMNOPQRSTUVWXYZ
    abcdefghijklmnopqrstuvwxyz
    0123456789

  • Source Code Pro, Courier New, monospace
    ABCDEFGHIJKLMNOPQRSTUVWXYZ
    abcdefghijklmnopqrstuvwxyz
    0123456789

Headings

  • Heading 1 <h1>

  • Heading 2 <h2>

  • Heading 3 <h3>

  • Heading 4 <h4>

  • Heading 5 <h5>
  • Heading 6 <h6>

Body

  • A lead, or lede paragraph in literature is the opening paragraph of an article, essay, news story or book chapter. Often called the lead, it usually occurs together with the headline or title. It precedes the main body of the article, and it gives the reader the main idea of the story. In both spellings, the word rhymes with the word need.

  • The HTML <p> element (or HTML Paragraph Element) represents a paragraph of text. Paragraphs are usually represented in visual media as blocks of text that are separated from adjacent blocks by vertical blank space and/or first-line indentation. Paragraphs are block-level elements.

Vertical rhythm

A sub heading which is not as important as the first, but is quite imporant overall

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

A sub heading which is not as important as the second, but should be used with consideration

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

A sub heading which is not as important as the second, but should be used with consideration

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

A sub heading which is not as important as the second, but should be used with consideration

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

This heading plays a relatively small bit part role, if you use it at all

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

Inline Elements

  • <a>- This is a text link
  • <strong>- Strong is used to indicate strong importance
  • <em>- This text has added emphasis
  • <b>- The b element is stylistically different text from normal text, without any special importance
  • <i>- The i element is text that is set off from the normal text
  • <u>- The u element is text with an unarticulated, though explicitly rendered, non-textual annotation
  • <del> & <ins>- This text is deleted and This text is inserted
  • <s>- This text has a strikethrough
  • <sup>- Superscript®
  • <sub>- Subscript for things like H2O
  • <abbr>- Abbreviation: HTML
  • <kbd>- Keybord input: Cmd
  • <q>- This text is a short inline quotation
  • <cite>- This is a citation
  • <dfn>- The dfn element indicates a definition.
  • <mark>- The mark element indicates a highlight
  • <var>- The var element defines a variable
  • <address>
    Address Name
    1234 Main St.
    Anywhere, US 12345
  • <tel>- 1-800-851-9530
  • <time>-
  • <blockquote>
    One small step for man, one giant leap for mankind.
  • .text-info - This text is informative
  • .text-error - This text is an error
  • .text-success - This text is a success

Text Alignment

  • .text-left

  • .text-center

  • .text-right

  • .text-justify

Blockquotes <blockquote>

Ooh - a blockquote! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.

Quote Source

Lists

Unordered List

  • This is a list item
  • So is this - there could be more
  • Make sure to style list items to:
    • Not forgetting child list items
    • Not forgetting child list items
    • Not forgetting child list items
    • Not forgetting child list items
  • A couple more
  • top level list items

Ordered List

  1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  2. Aliquam tincidunt mauris eu risus.
    1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
    2. Aliquam tincidunt mauris eu risus.
  3. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
  4. Aliquam tincidunt mauris eu risus.

Definition/Description List

List term
List description consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
List term lorem ipsum dolor sit amet
List description consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Images

London
I'm a figcaption - I tell a bit about the image

Tables

Table Heading Table Heading
table data table data
table data table data
table data table data
table data table data

Code Blocks

We may want to add some generic inline code mid-sentence.

We may want to add some CSS inline code display:block; mid-sentence.

HTML Code

<h4>HTML Code</h4>
    
<p class="myClass" id="myId">This is a paragraph!</p>
      
<!-- Comment -->

CSS Code

#header h1 a { 
    display: block; 
    width: 300px; 
    height: 80px; 
}
/*
   Block Comment
*/

SASS Code

$variable: #000;
@include mixin('param1', param2);
#header{
   .content{
      display: block; 
      width: 300px; 
      height: 80px; 
   }
}

// Comment

/*
  Block Comment
*/

JavaScript Code

var x = 'test';
function Sorcerer(){
  this.canFly = true;
  this.magic = 5; 
  this.sanity= 10;
} 

// Comment 

var kefka = new Sorcerer();
   kefka.magic = 9;
   kefka.sanity = 0;

/*
  Block Comment
*/

Grid