On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.
+{{_i}}On top of the scaffolding, basic HTML elements are styled and enhanced with extensible classes to provide a fresh, consistent look and feel.{{/i}}
The entire typographic grid is based on two Less variables in our preboot.less file: @baseFontSize
and @baseLineHeight
. The first is the base font-size used throughout and the second is the base line-height.
We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.
+{{_i}}The entire typographic grid is based on two Less variables in our preboot.less file: @baseFontSize
and @baseLineHeight
. The first is the base font-size used throughout and the second is the base line-height.{{/i}}
{{_i}}We use those variables, and some math, to create the margins, paddings, and line-heights of all our type and more.{{/i}}
Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec sed odio dui.
Element | -Usage | -Optional | +{{_i}}Element{{/i}} | +{{_i}}Usage{{/i}} | +{{_i}}Optional{{/i}} | - For emphasizing a snippet of text with important + {{_i}}For emphasizing a snippet of text with important{{/i}} | - None + {{_i}}None{{/i}} |
---|---|---|---|---|---|
- For emphasizing a snippet of text with stress + {{_i}}For emphasizing a snippet of text with stress{{/i}} | - None + {{_i}}None{{/i}} | ||||
- Wraps abbreviations and acronyms to show the expanded version on hover + {{_i}}Wraps abbreviations and acronyms to show the expanded version on hover{{/i}} |
- Include optional title for expanded text
+ {{_i}}Include optional title for expanded text{{/i}}
|
||||
- For contact information for its nearest ancestor or the entire body of work + {{_i}}For contact information for its nearest ancestor or the entire body of work{{/i}} |
- Preserve formatting by ending all lines with <br>
+ {{_i}}Preserve formatting by ending all lines with <br> {{/i}}
|
Element | -Usage | -Optional | +{{_i}}Element{{/i}} | +{{_i}}Usage{{/i}} | +{{_i}}Optional{{/i}} | - Block-level element for quoting content from another source + {{_i}}Block-level element for quoting content from another source{{/i}} |
- Add .pull-left and .pull-right classes for floated options
+ {{_i}}Add .pull-left and .pull-right classes for floated options{{/i}}
|
---|---|---|---|---|---|
- Optional element for adding a user-facing citation, typically an author with title of work + {{_i}}Optional element for adding a user-facing citation, typically an author with title of work{{/i}} |
- Place the <cite> around the title or name of source
+ {{_i}}Place the <cite> around the title or name of source{{/i}}
|
To include a blockquote, wrap <blockquote>
around any HTML as the quote. For straight quotes we recommend a <p>
.
Include an optional <small>
element to cite your source and you'll get an em dash —
before it for styling purposes.
{{_i}}To include a blockquote, wrap <blockquote>
around any HTML as the quote. For straight quotes we recommend a <p>
.{{/i}}
{{_i}}Include an optional <small>
element to cite your source and you'll get an em dash —
before it for styling purposes.{{/i}}
<blockquote> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.</p> - <small>Someone famous</small> + <small>{{_i}}Someone famous{{/i}}</small> </blockquote>
Default blockquotes are styled as such:
+{{_i}}Default blockquotes are styled as such:{{/i}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
- Someone famous in Body of work + {{_i}}Someone famous in Body of work{{/i}}
To float your blockquote to the right, add class="pull-right"
:
{{_i}}To float your blockquote to the right, add class="pull-right"
:{{/i}}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante venenatis.
- Someone famous in Body of work + {{_i}}Someone famous in Body of work{{/i}}
<ul>
<ul class="unstyled">
<ol>
<dl>
Element | -Result | +{{_i}}Element{{/i}} | +{{_i}}Result{{/i}} |
---|---|---|---|
<code> |
- In a line of text like this, your wrapped code will look like this <html> element. |
+ {{_i}}In a line of text like this, your wrapped code will look like this <html> element.{{/i}} |
|
<pre> |
<div> - <h1>Heading</h1> - <p>Something right here...</p> + <h1>{{_i}}Heading{{/i}}</h1> + <p>{{_i}}Something right here…{{/i}}</p> </div>- Note: Be sure to keep code within {{_i}}Note: Be sure to keep code within |
||
<pre class="prettyprint"> |
- Using the google-code-prettify library, you're blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers. +{{_i}}Using the google-code-prettify library, you're blocks of code get a slightly different visual style and automatic syntax highlighting. You can also add an additional class to add line numbers.{{/i}} <div> - <h1>Heading</h1> - <p>Something right here...</p> + <h1>{{_i}}Heading{{/i}}</h1> + <p>{{_i}}Something right here…{{/i}}</p> </div> <div> - <h1>Heading</h1> - <p>Something right here...</p> + <h1>{{_i}}Heading{{/i}}</h1> + <p>{{_i}}Something right here…{{/i}}</p> </div>- Download google-code-prettify and view the readme for how to use. +{{_i}}Download google-code-prettify and view the readme for how to use.{{/i}} |