Style Guide
Typography
Primary Font
Aa Raleway
Raleway is your base font. Paragraphs and all basic text are in this font. If you need to assign this font, use the class .font--primary
.
Secondary Font
Aa Play
Play is your secondary accent font. Header 1 other accents texts use this font. If you need to assign this font, use the class .font--secondary
.
Headers
h1. This is a very large header.
h2. This is a large header.
h3. This is a medium header.
h4. This is a moderate header.
h5. This is a small header.
h6. This is a tiny header.
<h1>
h1. This is a very large header.</h1>
<h2>
h2. This is a large header.</h2>
<h3>
h3. This is a medium header.</h3>
<h4>
h4. This is a moderate header.</h4>
<h5>
h5. This is a small header.</h5>
<h6>
h6. This is a tiny header.</h6>
Paragraphs
This is a paragraph. Paragraphs are preset with a font size, line height and spacing to match the overall vertical rhythm. You have several options for highlighting text. The <strong>
tag makes text bolder. The <em>
tag makes text italicized. You also have available the .underline
class to underline your text as well as the .uppercase
class to make your text uppercase.
<p>
You have several options for highlighting text. The strong tag <strong>
makes text bolder</strong>
. The em tag <em>
makes text italicized</em>
. You also have available the .underline class to <span class="underline">
underline your text</span>
as well as the .uppercase class to <span class="uppercase">
make your text uppercase.</span>
</p>
Links
The standard link colors are preset to the Primary and Secondary colors. This is an example of a link. If you'd like your link to have an arrow after it, add the class .link--more
to it, like this: Learn More
<a href="">
This is an example of a link</a>
.<a href="" class="link--more">
Learn More</a>
Dividers
Use dividers to define breaks between paragraphs or sections.
<hr />
Unordered Lists, Ordered Lists and Description Lists
Use an unordered list to list things if the order of the items doesn't matter. Use an ordered list when creating a list where the order of the items is important, like ranking something from best to worst. Use a Description List to define terms.
Unordered List
- List item number 1 that needs to be really long so we can see the spacing when it goes to another line
- List item number 2
- List item number 3
<ul>
<li>
List item number 1</li>
<li>
List item number 2</li>
<li>
List item number 3</li>
</ul>
Ordered List
- List item number 1 that needs to be really long so we can see the spacing when it goes to another line
- List item number 2
- List item number 3
<ol>
<li>
List item number 1</li>
<li>
List item number 2</li>
<li>
List item number 3</li>
</ol>
Description List
- Color
- List item number 1 that needs to be really long so we can see the spacing when it goes to another line
- Color Again
- List item number 2
<dl>
<dt>
Color</dt>
<dd>
List item number 1</dd>
<dt>
Color Again</dt>
<dd>
List item number 2</dd>
</dl>
Blockquotes
You gain strength, courage, and confidence by every experience in which you really stop to look fear in the face. You are able to say to yourself, 'I lived through this horror. I can take the next thing that comes along.'
Eleanor Roosevelt
<blockquote>
<p>
You gain strength, courage, and confidence by every experience in which you really stop to look fear in the face. You are able to say to yourself, 'I lived through this horror. I can take the next thing that comes along.'</p>
<cite>
Eleanor Roosevelt</cite>
</blockquote>
Text Alignment
Left Aligned Text
This the the standard alignment for text. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<p class="text--left">
This the the standard alignment for text. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
Right Aligned Text
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam quis nostrud.
<p class="text--right">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam quis nostrud.</p>
Center Aligned Text
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam quis nostrud.
<p class="text--center">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam quis nostrud.</p>
Justify Text
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam quis nostrud.
<p class="text--justify">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam quis nostrud.</p>
Colors
Using the color classes to switch out font colors is simple. Just assign that color class to your tag.
Heading 5 in Primary Color
This paragraph has a font color change in the very middle.
<h5 class="color--primary">
Heading 5 in Primary Color</h5>
<p>
This paragraph has a <span class="color--secondary">
font color change</span>
in the very middle.</p>
Buttons
A basic button can be created using the .btn
class. You may change the color of your button by adding .btn--secondary
. If you'd like your button to stand out a little more, you may also add the class .btn--large
.
Standard Button
<a class="btn">
Press Me</a>
Standard Button With Secondary Background
<a class="btn btn--secondary">
Press Me</a>
Large Button
<a class="btn btn--large">
Press Me</a>
Play Button
<a class="btn">
Press Me</a>
Images
There are several classes available to both size and position your images. If you would like your image to have style, add the class .img--styled
to your image tag. The available widths are .width--20
, .width--25
, .width--33
, .width--50
, and .width--100
.
Image Floated Left 20% Width with No Style
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum.
<p><img src="https://picsum.photos/200/300/?random" class="float--left width--25">
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas.</p>
Styled Image Floated Right 50% Width
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi.
<p><img src="https://picsum.photos/200/300/?random" class="img--styled float--right width--50">
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas.</p>
Styled Image Centered 100% Width
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
<p><img src="https://picsum.photos/200/300/?random" class="img--styled display--block position--center width--100"></p>
<p>
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.</p>
Responsive Videos
To make an embedded video responsive, add the class .flex__container
to the containing tag. To make your responsive video styled, add the class .flex__container--styled
to the containing tag.
<p class="flex__container flex__container--styled">
<iframe src="https://www.youtube.com/embed/doh7ZJyEfI0?rel=0" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
Tables
Use tables for tabular data. To make your table responsive and styled, add the class .table--styled
to your table tag.
Header 1 | Header 2 | Header 3 | Header 4 | Header 5 |
---|---|---|---|---|
Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
Item 1 | Item 2 | Item 3 | Item 4 | Item 5 |
<table class="table--styled">
<caption>
Your Table Title</caption>
<thead>
<tr>
<th>
Header 1</th>
<th>
Header 2</th>
<th>
Header 3</th>
<th>
Header 4</th>
<th>
Header 5</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Item 1</td>
<td>
Item 2</td>
<td>
Item 3</td>
<td>
Item 4</td>
<td>
Item 5</td>
</tr>
<tr>
<td>
Item 1</td>
<td>
Item 2</td>
<td>
Item 3</td>
<td>
Item 4</td>
<td>
Item 5</td>
</tr>
</tbody>
</table>
Accordion
Use tables for tabular data. To make your table responsive and styled, add the class .table--styled
to your table tag.