Cogency Web Style Guide
Using Bootstrap 2.3.2 Framework

Type

Typography

The entire site uses two weights of Brandon Grotesque: bold(700) and regular(300). Brandon Grotesque has been purchased and supplied to Impulse by the client. The kit can be downloaded here

Paragraphs

A regular paragraph.

The try-works are planted between the foremast and mainmast, the most roomy part of the deck. The timbers beneath are of a peculiar strength, fitted to sustain the weight of an almost solid mass of brick and mortar, some ten feet by eight square, and five in height. The foundation does not penetrate the deck, but the masonry is firmly secured to the surface by ponderous knees of iron bracing it on all sides, and screwing it down to the timbers.

Lead Paragraph

Lead paragraphs are used for the "elevator pitch" of a page.

The page should be understood by reading this paragraph alone.

Text basics

Do not use underline except for hyperlinks.

Text in all cases should be left-aligned, with the small exception of several specifically-designed headers on the homepage. Centering or right-aligning text can cause issues for users translating pages to right-aligned languages, and breaks visual flow for users on mobile devices, especially when re-flowing table structures into visual linear lists.

Strong text, Emphasized text, Deleted/Redacted text, Underlined text,
Superscript: 3rd, 4th, and 5th
Subscript: H2O and C8H10N4O2

Links

Links should have underlines, and where possible, use Smart Underline for more beautiful lines.

This is a link to Cogency Global.

Unordered lists

  • Item A
  • Item B
  • Item C

Ordered lists

  1. Item A
  2. Item B
  3. Item C

Emphasis Classes

Convey meaning through color with a handful of emphasis utility classes.

Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.

Etiam porta sem malesuada magna mollis euismod.

Donec ullamcorper nulla non metus auctor fringilla.

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.

Duis mollis, est non commodo luctus, nisi erat porttitor ligula.

Blockquote

Blockquotes for testimonials or quoting.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Naming a source

Source citing should be wrapped in a blockquote element.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Source Title

Document links

Links to documents should be visibly distinct to show the user that a different action will happen when the select it.

Colors

Color NameHexUsesSample
Dark Blue #071689 Gradient Overlay, Logo, Headline 1
Light Blue #6BABE5 Gradient Overlay, CTA Buttons, Navigation
Green #96d425 CTA Buttons, Navigation
Orange #FF682E CTA Buttons, Navigation
Dark Grey #5A5A5A Body Text, Footer, Headline 2
White #fff Some Headlines, Body Text on Overlays, Footer
Black #000 Some Headlines

Forms

Forms are based on the core Boostrap form elements, and should follow the Boostrap conventions.

Supported Form Elements

Examples of standard form controls supported in an example form layout.

Inputs

Textarea

Checkboxes and radios (stacked)

Checkboxes and radios (inline)

Selects


Horizontal Form

Right align labels and float them to the left to make them appear on the same line as controls. Requires the most markup changes from a default form:

  • Add .form-horizontal to the form
  • Wrap labels and controls in .control-group
  • Add .control-label to the label
  • Wrap any associated controls in .controls for proper alignment

Inline Form

Add .form-inline for left-aligned labels and inline-block controls for a compact layout.

Search Form

Add .form-search to the form and .search-query to the <input> for an extra-rounded text input.

Control sizing

For form field layout and relative sizing.

Block Input

Make any <input> or <textarea> element behave like a block level element.

Relative Input Sizing






Grid Input Sizing

Use .span1 to .span12 for inputs that match the same sizes of the grid columns.






Required Form Elements

For accessibility, required form elements should have a visible marker with a readable element that contains the word "Required." A floating tooltip for visual users with mice is also helpful.

Prepended and Appended Inputs

Add text or buttons before or after any text-based input. Do note that select elements are not supported here.

@

.00

Headings

Heading levels

Headings of level 1 are reserved for the main page heading.

Heading level 2

Heading level 3

Heading level 4

Heading level 5
Heading level 6

Headings with links

Headings may also contain links

Collapsible headers

Collapse headings to make content more scannable.

Heading level 2

Heading level 3

Heading level 4

Quick anchor links

On hover, users should be able to access a quick anchor link to the header. The ID of the header should consist of only alphanumeric characters and hyphens.

A heading with an anchor

Images

Full-width images

Images with a non-square aspect ratio should fill the entirety of the parent container or page. Two sizes should be available to save download size for mobile users.

Kitten Kitten

Square images

Square images should float to the right on desktop breakpoints, then center on smaller screens.

Kitten Kitten

Navigation

Pagination

Pagers should be used for long lists.

Breadcrumbs

The current page should be not linked but also available in the breadcrumbs. The first item should always link to the homepage.

Buttons

Login Button

Button for login

Watch Video Button #1

Button for viewing video used on dark backgrounds

Watch Video Button #2

Button for viewing video used on light backgrounds

CTA Button 1

Call to action button #1

CTA Button 2

Call to action button #2

Widgets

Widgets are small content blocks of information. They should display short, terse, information, and provide the option to expand for more or link out.

Large Card

Large card for use with services and blog posts content.

Card Example 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in nisl augue. Suspendisse vestibulum vehicula ipsum et lobortis.

Card Example 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in nisl augue. Suspendisse vestibulum vehicula ipsum et lobortis.

Small Card

Small card for use with sub services on service pages.

Small Card Example 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in nisl augue. Suspendisse vestibulum vehicula ipsum et lobortis.

Small Card Example 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec in nisl augue. Suspendisse vestibulum vehicula ipsum et lobortis.

Application Block

Small block used for applications on dashboard.

Miscellaneous

Horizontal rules

Use horizontal rules to visually break up different sections of the page.


Header HTML