underoos 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. data/Gemfile +5 -0
  2. data/Gemfile.lock +21 -7
  3. data/README.md +85 -10
  4. data/Rakefile +36 -1
  5. data/app/assets/javascripts/docs.js +6 -0
  6. data/app/assets/javascripts/styleguide.coffee +162 -0
  7. data/app/assets/javascripts/underoos.js +0 -1
  8. data/app/assets/stylesheets/base/_base.sass +14 -0
  9. data/app/assets/stylesheets/base/_buttons.sass +68 -0
  10. data/app/assets/stylesheets/base/_forms.sass +313 -24
  11. data/app/assets/stylesheets/base/_helpers.sass +27 -13
  12. data/app/assets/stylesheets/base/_normalize.sass +17 -9
  13. data/app/assets/stylesheets/base/_scaffold.sass +85 -0
  14. data/app/assets/stylesheets/base/_tables.sass +77 -0
  15. data/app/assets/stylesheets/base/_transitions.sass +10 -2
  16. data/app/assets/stylesheets/base/_typography.sass +183 -21
  17. data/app/assets/stylesheets/components/_accordions.sass +38 -0
  18. data/app/assets/stylesheets/components/_breadcrumbs.sass +19 -5
  19. data/app/assets/stylesheets/components/_button-groups.sass +43 -0
  20. data/app/assets/stylesheets/components/_carets.sass +13 -2
  21. data/app/assets/stylesheets/components/_carousels.sass +32 -0
  22. data/app/assets/stylesheets/components/_close.sass +15 -2
  23. data/app/assets/stylesheets/components/_components.sass +28 -0
  24. data/app/assets/stylesheets/components/_decals.sass +14 -0
  25. data/app/assets/stylesheets/components/_dropdowns.sass +88 -4
  26. data/app/assets/stylesheets/components/_media.sass +36 -0
  27. data/app/assets/stylesheets/components/_modals.sass +29 -0
  28. data/app/assets/stylesheets/components/_nav-lists.sass +20 -0
  29. data/app/assets/stylesheets/components/_navbars.sass +64 -3
  30. data/app/assets/stylesheets/components/_notifications.sass +112 -16
  31. data/app/assets/stylesheets/components/_paddles.sass +26 -0
  32. data/app/assets/stylesheets/components/_pagination.sass +23 -3
  33. data/app/assets/stylesheets/components/_pills.sass +80 -0
  34. data/app/assets/stylesheets/components/_popovers.sass +28 -0
  35. data/app/assets/stylesheets/components/_progress-bars.sass +33 -1
  36. data/app/assets/stylesheets/components/_tabs.sass +79 -0
  37. data/app/assets/stylesheets/components/_tooltips.sass +26 -0
  38. data/app/assets/stylesheets/components/_wells.sass +9 -0
  39. data/app/assets/stylesheets/layouts/_containers.sass +12 -0
  40. data/app/assets/stylesheets/layouts/_layouts.sass +5 -0
  41. data/app/assets/stylesheets/layouts/_print.sass +5 -1
  42. data/app/assets/stylesheets/layouts/_queries.sass +18 -15
  43. data/app/assets/stylesheets/layouts/_upgrades.sass +51 -40
  44. data/app/assets/stylesheets/mixins/_arrows.sass +13 -1
  45. data/app/assets/stylesheets/mixins/_clearfixins.sass +18 -4
  46. data/app/assets/stylesheets/mixins/_coloring.sass +10 -1
  47. data/app/assets/stylesheets/mixins/_columns.sass +16 -3
  48. data/app/assets/stylesheets/mixins/_conversions.sass +18 -6
  49. data/app/assets/stylesheets/mixins/_font-size.sass +16 -1
  50. data/app/assets/stylesheets/mixins/_image-tools.sass +12 -1
  51. data/app/assets/stylesheets/mixins/_inline-block.sass +21 -0
  52. data/app/assets/stylesheets/mixins/_ir.sass +14 -1
  53. data/app/assets/stylesheets/mixins/_mixins.sass +6 -0
  54. data/app/assets/stylesheets/mixins/_responsive.sass +16 -0
  55. data/app/assets/stylesheets/mixins/_sticky-footer.sass +52 -0
  56. data/app/assets/stylesheets/mixins/_tab-focus.sass +8 -1
  57. data/app/assets/stylesheets/mixins/_timing-equations.sass +34 -1
  58. data/app/assets/stylesheets/mixins/_visibility.sass +18 -5
  59. data/app/assets/stylesheets/polyfills/_box-shadow.sass +10 -0
  60. data/app/assets/stylesheets/polyfills/_box-sizing.sass +10 -1
  61. data/app/assets/stylesheets/polyfills/_functions.sass +14 -1
  62. data/app/assets/stylesheets/polyfills/_opacity.sass +10 -1
  63. data/app/assets/stylesheets/polyfills/_polyfills.sass +9 -2
  64. data/app/assets/stylesheets/polyfills/_transition.sass +10 -0
  65. data/app/assets/stylesheets/polyfills/_user-select.sass +10 -0
  66. data/app/assets/stylesheets/settings/_config.sass +26 -0
  67. data/app/assets/stylesheets/settings/_settings.sass +7 -0
  68. data/app/assets/stylesheets/settings/_theme.sass +189 -0
  69. data/app/assets/stylesheets/{styleguide.sass → underoos-docs.sass} +20 -116
  70. data/app/assets/stylesheets/underoos.sass +5 -16
  71. data/config.ru +1 -3
  72. data/features/generator.feature +13 -4
  73. data/lib/generators/underoos/assets_generator.rb +4 -2
  74. data/lib/underoos/version.rb +1 -1
  75. data/public/images.html +157 -0
  76. data/public/index.html +149 -0
  77. data/public/sherpa.css +306 -0
  78. data/public/styles.html +5374 -0
  79. data/script/javascripts +0 -1
  80. data/sherpa/config.yml +96 -0
  81. data/sherpa/layouts/images.mustache +17 -0
  82. data/sherpa/layouts/layout.mustache +77 -0
  83. data/sherpa/layouts/overview.mustache +19 -0
  84. data/sherpa/layouts/raw.mustache +25 -0
  85. data/sherpa/layouts/section.mustache +67 -0
  86. data/underoos.gemspec +0 -2
  87. data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
  88. data/vendor/assets/javascripts/bootstrap-button.js +29 -33
  89. data/vendor/assets/javascripts/bootstrap-collapse.js +45 -26
  90. data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
  91. data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
  92. data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
  93. data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
  94. data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
  95. data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
  96. data/vendor/assets/javascripts/bootstrap-typeahead.js +24 -10
  97. data/vendor/assets/javascripts/sherpa.coffee +78 -0
  98. metadata +34 -75
  99. data/app/assets/javascripts/styleguide.js +0 -132
  100. data/app/assets/stylesheets/base/_elements.sass +0 -61
  101. data/app/assets/stylesheets/polyfills/_inline-block.sass +0 -8
  102. data/app/assets/stylesheets/themes/_default.sass +0 -119
  103. data/app/controllers/underoos/styleguides_controller.rb +0 -79
  104. data/app/views/shared/_upgrades.html.haml +0 -12
  105. data/app/views/underoos/styleguides/_assets.haml +0 -42
  106. data/app/views/underoos/styleguides/_components.haml +0 -42
  107. data/app/views/underoos/styleguides/_elements.haml +0 -242
  108. data/app/views/underoos/styleguides/_forms.haml +0 -305
  109. data/app/views/underoos/styleguides/_layouts.haml +0 -76
  110. data/app/views/underoos/styleguides/_palettes.haml +0 -18
  111. data/app/views/underoos/styleguides/_resources.haml +0 -27
  112. data/app/views/underoos/styleguides/_tables.haml +0 -124
  113. data/app/views/underoos/styleguides/_typography.haml +0 -284
  114. data/app/views/underoos/styleguides/_utilities.haml +0 -270
  115. data/app/views/underoos/styleguides/components/_accordions.haml +0 -83
  116. data/app/views/underoos/styleguides/components/_breadcrumbs.haml +0 -42
  117. data/app/views/underoos/styleguides/components/_button-groups.haml +0 -162
  118. data/app/views/underoos/styleguides/components/_carets.haml +0 -28
  119. data/app/views/underoos/styleguides/components/_close.haml +0 -20
  120. data/app/views/underoos/styleguides/components/_decals.haml +0 -40
  121. data/app/views/underoos/styleguides/components/_dropdowns.haml +0 -189
  122. data/app/views/underoos/styleguides/components/_media.haml +0 -78
  123. data/app/views/underoos/styleguides/components/_modals.haml +0 -42
  124. data/app/views/underoos/styleguides/components/_nav-lists.haml +0 -52
  125. data/app/views/underoos/styleguides/components/_navbars.haml +0 -144
  126. data/app/views/underoos/styleguides/components/_navs-showcase.haml +0 -27
  127. data/app/views/underoos/styleguides/components/_notifications.haml +0 -169
  128. data/app/views/underoos/styleguides/components/_paddles.haml +0 -68
  129. data/app/views/underoos/styleguides/components/_pagination.haml +0 -64
  130. data/app/views/underoos/styleguides/components/_popovers.haml +0 -33
  131. data/app/views/underoos/styleguides/components/_progress-bars.haml +0 -72
  132. data/app/views/underoos/styleguides/components/_tabs-pills.haml +0 -241
  133. data/app/views/underoos/styleguides/components/_tooltips.haml +0 -37
  134. data/app/views/underoos/styleguides/components/_wells.haml +0 -29
  135. data/app/views/underoos/styleguides/index.html.haml +0 -259
  136. data/app/views/underoos/styleguides/partials/_form-template.haml +0 -171
  137. data/app/views/underoos/styleguides/partials/_table-data.haml +0 -33
  138. data/app/views/underoos/styleguides/partials/_transitions.haml +0 -136
  139. data/config/routes.rb +0 -3
  140. data/vendor/assets/javascripts/bootstrap-scrollspy.js +0 -125
@@ -1,48 +1,62 @@
1
1
 
2
- // Utility classes for use with @extension, or just common items found in every project!
3
- // All helpers are also available as mixins, following the same name
2
+ //~
3
+ // Utility classes for use with `@extend`, mapped directly to their
4
+ // [mixin](#mixins-mixins) counterparts. Based on the hard work from
5
+ // [HTML5 Boilerplate](http://html5boilerplate.com/).
6
+ //
7
+ // Most elements within underoos utilize mixins instead of extending the helpers.
8
+ // This is by design, to allow the application to take full advantage of `@extend`
9
+ // without creating incredibly long selector lists.
10
+ //
11
+ // Class | Usage
12
+ // -------------------- | ----------------------------------------------
13
+ // `.clearfixer` | The [micro clearfix](http://nicolasgallagher.com/micro-clearfix-hack/) utilizing pseudo elements to clear floats
14
+ // `.clearfix` | Uses `overflow: hidden` to clear floats
15
+ // `.ir` | Hides text on an element when utilizing a `background-image` such as a logo or icon
16
+ // `.hidden` | Totally hidden from screen readers and browsers
17
+ // `.shown` | Reverse the effects of `hidden`
18
+ // `.visuallyhidden` | Only visually hidden, still available to screen readers
19
+ // `.visuallyshown` | Reverse the settings applied by `.visuallyhidden`
20
+ // `.invisible` | Hide visually and from screenreaders, but maintain layout
21
+ // `.base-column` | The base `column` settings, should be extended by all columns
22
+ // `.base-column-right` | An alternate base `column` which floats elements to the right
23
+ // `.base-row` | The base `row` settings, should be extended by all rows
24
+ // `.pull-left` | Adds `float: left` to an element
25
+ // `.pull-right` | Adds `float: right` to an element
26
+ //
27
+ // Notes:
28
+ // - **Pro Tip!** Check out the [mixins](#mixins-mixins) for more detailed examples and explanation
4
29
 
5
- // Utilizes the `micro clearfix` on pseudo elements for clearing floats
6
30
  .clearfixer
7
31
  +clearfixer
8
32
 
9
- // Uses the standard clearfix of `overflow:hidden` found in Compass
10
33
  .clearfix
11
34
  +clearfix
12
35
 
13
- // Image replacement
14
36
  .ir
15
37
  +ir
16
38
 
17
- // Totally hidden from screen readers and browsers
18
39
  .hidden
19
40
  +hidden
20
41
 
21
- // Reverse the effects of hidden
22
42
  .shown
23
43
  +shown
24
44
 
25
- // Only visually hidden, still available to screen readers
26
45
  .visuallyhidden
27
46
  +visuallyhidden
28
47
 
29
- // Reverse the settings applied by `.visuallyhidden`
30
48
  .visuallyshown
31
49
  +visuallyshown
32
50
 
33
- // Hide visually and from screenreaders, but maintain layout
34
51
  .invisible
35
52
  +invisible
36
53
 
37
- // The base `column` settings, should be extended by all columns
38
54
  .base-column
39
55
  +base-column
40
56
 
41
- // An alternate base `column` which floats elements to the right
42
57
  .base-column-right
43
58
  +base-column-right
44
59
 
45
- // The base `row` settings, should be extended by all rows
46
60
  .base-row
47
61
  +base-row
48
62
 
@@ -1,10 +1,13 @@
1
1
 
2
- // Normalization based on:
2
+ //~
3
+ // Normalize and reset base elements to allow browsers to render all controls
4
+ // more consistently and in line with modern standards.
5
+ //
6
+ // Normalization and resets based on
7
+ //
3
8
  // - [normalize.css](http://necolas.github.com/normalize.css/)
4
9
  // - [HTML5 Boilerplate](http://html5boilerplate.com/)
5
-
6
- // Resets based on:
7
- // [Eric Meyer's reset](http://meyerweb.com/eric/tools/css/reset/)
10
+ // - [Eric Meyer's reset](http://meyerweb.com/eric/tools/css/reset/)
8
11
 
9
12
  // HTML 5 definitions and normalization
10
13
  article, aside, details, figcaption, figure,
@@ -17,8 +20,9 @@ audio, canvas, video
17
20
  margin: 0
18
21
  padding: 0
19
22
  display: inline-block
20
- *display: inline
21
- *zoom: 1
23
+ @if $legacy-support-for-ie
24
+ *display: inline
25
+ *zoom: 1
22
26
 
23
27
  audio:not([controls])
24
28
  display: none
@@ -44,6 +48,7 @@ time, mark
44
48
 
45
49
  // Embedded content normalization
46
50
  img
51
+ max-width: 100%
47
52
  border: 0
48
53
  -ms-interpolation-mode: bicubic
49
54
 
@@ -60,11 +65,13 @@ svg:not(:root)
60
65
  button, input, select, textarea, label
61
66
  font-size: 100%
62
67
  vertical-align: baseline
63
- *vertical-align: middle
68
+ @if $legacy-support-for-ie
69
+ *vertical-align: middle
64
70
 
65
71
  legend
66
72
  white-space: normal
67
- *margin-left: -7px
73
+ @if $legacy-support-for-ie
74
+ *margin-left: -7px
68
75
 
69
76
  button, input
70
77
  line-height: normal
@@ -86,7 +93,8 @@ input[type="submit"]
86
93
  cursor: pointer
87
94
  line-height: normal
88
95
  -webkit-appearance: button
89
- *overflow: visible
96
+ @if $legacy-support-for-ie
97
+ *overflow: visible
90
98
 
91
99
  button[disabled],
92
100
  a.disabled,
@@ -1,4 +1,52 @@
1
1
 
2
+ //~
3
+ // Setup main scaffolding elements for `html`, `body`, selections, generic links and navigation.
4
+ // Scaffolding includes font sizes, families, colors, backgrounds and line heights.
5
+
6
+ //~
7
+ // #### Base navs
8
+ // The base nav is the building block for navigation structures and components
9
+ // (tabs, pills, breadcrumbs, pagination and navigation lists). The `.nav` class
10
+ // can be used for simple navigation as well. The buttons below will change the
11
+ // class on the `ul` element to showcase the different navigation systems
12
+ // based off the same markup structure.
13
+ //
14
+ // Warnings:
15
+ // - **Heads Up!** All navigation components depend on the `.nav` class being attached to the container element
16
+ //
17
+ // Notes:
18
+ // - **Pro Tip!** For convenience, add the `inline` class to the `.nav` element to display the base nav inline
19
+ //
20
+ // Usage:
21
+ // <nav>
22
+ // <ul class="nav inline" id="underoos_nav_demo">
23
+ // <li>
24
+ // <a data-classes="nav" href="#">Base Nav</a>
25
+ // </li>
26
+ // <li class="active">
27
+ // <a data-classes="nav inline" href="#">Base Nav Inline</a>
28
+ // </li>
29
+ // <li>
30
+ // <a data-classes="nav tabs" href="#">Tabs</a>
31
+ // </li>
32
+ // <li>
33
+ // <a data-classes="nav pills" href="#">Pills</a>
34
+ // </li>
35
+ // <li>
36
+ // <a data-classes="nav breadcrumb" href="#">Breadcrumbs</a>
37
+ // </li>
38
+ // <li>
39
+ // <a data-classes="nav pagination" href="#">Pagination</a>
40
+ // </li>
41
+ // <li>
42
+ // <a data-classes="nav tabs stacked" href="#">Stacked Tabs</a>
43
+ // </li>
44
+ // <li>
45
+ // <a data-classes="nav pills stacked" href="#">Stacked Pills</a>
46
+ // </li>
47
+ // </ul>
48
+ // </nav>
49
+
2
50
  // Top level elements
3
51
  html
4
52
  font-size: 100%
@@ -49,3 +97,40 @@ a:active, a.active, .active > a
49
97
  a:link
50
98
  -webkit-tap-highlight-color: $tap_highlight
51
99
 
100
+ .nav
101
+ +clearfixer
102
+ list-style: none
103
+
104
+ .nav > li
105
+ margin-left: 0
106
+
107
+ .nav > li > a
108
+ display: block
109
+
110
+ .nav.inline > li
111
+ float: left
112
+
113
+ .nav.inline > li > a
114
+ padding-left: 0.5em
115
+ padding-right: 0.5em
116
+
117
+ // Active states for navs get a default cursor
118
+ .nav > .active > a,
119
+ .nav > .active > a:hover
120
+ cursor: default
121
+ .nav > .dropdown.active > a:hover
122
+ cursor: pointer
123
+
124
+ // Headers within a Nav
125
+ .nav .nav-header
126
+ display: block
127
+ color: $component_normal
128
+ font-size: 0.75em
129
+ font-weight: bold
130
+ text-transform: uppercase
131
+ text-shadow: $text_drop_lite
132
+ padding: 0.4em 1em
133
+
134
+ .nav li + .nav-header
135
+ margin-top: 1em
136
+
@@ -1,4 +1,81 @@
1
1
 
2
+ //~
3
+ // Building tables is additive around the classes applied to the top level `<table>` element.
4
+ // By combining any of the following classes, the table can be given a different look and feel.
5
+ //
6
+ // Name | Class | Usage
7
+ // --------------- | ------------------- | ---------------------------
8
+ // Base | _none_ | The base table creates division in data with horizontal dividers.
9
+ // Box | `.box` | Renders the table with exterior boundries for all table rows.
10
+ // Vertical border | `.vborder` | Renders the table with vertical divisions for table data.
11
+ // Banded | `.banded` | Renders alternating `<tbody>` rows with a different color.
12
+ // Header | `.thead-decorate` | Fills the `thead` with a background fill
13
+ // Footer | `.tfoot-decorate` | Fills the `tfoot` with a background fill
14
+ //
15
+ // Notes:
16
+ // - **Demo!** Toggle the buttons in the button group to showcase various table settings, follow along in the web inspector!
17
+ // - **Pro Tip!** Add `.ascending` or `.descending` to `th > a` elements with an enclosed `span caret` for sorting icons
18
+ //
19
+ // Warnings:
20
+ // - **Heads Up!** Tables throughout the styleguide may not contain the exact styles of the application
21
+ //
22
+ // Usage:
23
+ // <table>
24
+ // <caption>Table Caption</caption>
25
+ // <thead>
26
+ // <tr>
27
+ // <th>
28
+ // <a href="#">#</a>
29
+ // </th>
30
+ // <th>Table Header</th>
31
+ // <th>
32
+ // <a class="ascending" href="#">Ascending <span class="caret"></span></a>
33
+ // </th>
34
+ // <th>
35
+ // <a class="descending" href="#">Descending <span class="caret north"></span></a>
36
+ // </th>
37
+ // </tr>
38
+ // </thead>
39
+ // <tfoot>
40
+ // <tr>
41
+ // <td colspan="4">Set the <code>colspan</code> attribute to span the width of the table for footers.</td>
42
+ // </tr>
43
+ // </tfoot>
44
+ // <tbody>
45
+ // <tr>
46
+ // <td>1</td>
47
+ // <td>Table Data</td>
48
+ // <td>One</td>
49
+ // <td>Three</td>
50
+ // </tr>
51
+ // <tr>
52
+ // <td>2</td>
53
+ // <td>
54
+ // <a href="#">Click me!</a>
55
+ // </td>
56
+ // <td>Two</td>
57
+ // <td>Two</td>
58
+ // </tr>
59
+ // <tr>
60
+ // <td>3</td>
61
+ // <td>
62
+ // <a href="#">Click me!</a>
63
+ // </td>
64
+ // <td>Three</td>
65
+ // <td>One</td>
66
+ // </tr>
67
+ // </tbody>
68
+ // </table>
69
+ //
70
+ // <!-- Testing purposes only -->
71
+ // <nav class="button-group" data-toggle="buttons-checkbox" id="underoos_table_demo" style="margin-top:1.5em;">
72
+ // <a class="btn" href="#" data-table="box">Box</a>
73
+ // <a class="btn" href="#" data-table="vborder">Vertical Border</a>
74
+ // <a class="btn" href="#" data-table="banded">Banded</a>
75
+ // <a class="btn" href="#" data-table="thead-decorate">Header</a>
76
+ // <a class="btn" href="#" data-table="tfoot-decorate">Footer</a>
77
+ // </nav>
78
+
2
79
  // Tables
3
80
  table
4
81
  margin: 0.5em 0
@@ -1,12 +1,20 @@
1
1
 
2
- // Show and hide behaviors
2
+ //~
3
+ // Transitions are helper classes added and removed via JavaScript.
4
+ //
5
+ // Class | Usage
6
+ // -------------- | -----------------------------------------------------------
7
+ // `.fade` | Transitions an element to an `opacity` of `0`
8
+ // `.fade.in` | Transitions an element to an `opacity` of `1`
9
+ // `.collapse` | Transitions an element to a `height` of `0`
10
+ // `.collapse.in` | Transitions an element to a `height` of `auto`
11
+
3
12
  .fade
4
13
  +transition(opacity $speed)
5
14
  +opacity(0)
6
15
  &.in
7
16
  +opacity(1)
8
17
 
9
- // Accordians
10
18
  .collapse
11
19
  +transition(height $speed $ease-in-out-quart)
12
20
  position: relative
@@ -1,5 +1,181 @@
1
1
 
2
- // ## Typography
2
+ //~
3
+ // Heading, paragraph, lists, and inline typographic elements.
4
+
5
+ //~
6
+ // #### Headings and body copy
7
+ //
8
+ // Usage:
9
+ // <h1>Google hearts h1 headings, but only use one per page.</h1>
10
+ // <p>~lorem</p>
11
+ // <br/>
12
+ // <h2>Got sections? Try using h2 headings.</h2>
13
+ // <p>~lorem</p>
14
+ // <br/>
15
+ // <h3>Good things come in threes, like tacos and h3 headings.</h3>
16
+ // <p>~lorem</p>
17
+ // <br/>
18
+ // <h4>There's nothing clever to say about h4 headings.</h4>
19
+ // <p>~lorem</p>
20
+ // <br/>
21
+ // <h5>Every time you use an h5 heading, Google kills a puppy. A tiny little puppy.</h5>
22
+ // <p>~lorem</p>
23
+ // <br/>
24
+ // <h6>An h6 heading? Google just killed a litter of kittens.</h6>
25
+ // <p>~lorem</p>
26
+
27
+ //~
28
+ // #### Inline paragraph elements
29
+ //
30
+ // Element | Usage
31
+ // ----------- | ----------------------------------------------
32
+ // `<a>` | The anchor element defines a [hyperlink](http://www.modeset.com/)!
33
+ // `<em>` | The em element is used to _emphasize_ text
34
+ // `<strong>` | The strong element also <strong>emphasizes</strong> text, typically in <strong>bold</strong>
35
+ // `<small>` | The small element renders text well, <small>smaller</small>
36
+ // `<sup>` | The superscript element is used to display text higher<sup>&reg;</sup> and smaller<sup>&trade;</sup>
37
+ // `<sub>` | The sub element is used to display text <sub>lower</sub> and <sub>smaller</sub>
38
+ // `<address>` | For contact information related to the author of the document
39
+ // `<time>` | Use for a <time>24-hour</time> clock or a precise date in the [Gregorian calendar](http://en.wikipedia.org/wiki/Gregorian_calendar)
40
+ // `<abbr>` | <abbr title="For Placement Only">FPO</abbr>. Describes an abbreviated phrase with the title attribute
41
+ // `<dfn>` | <dfn title="This is a definition">DFN</dfn>. Describes the definition of a word or term with the title attribute
42
+ // `<ins>` | The ins element defines text that has been <ins>inserted into a document</ins>
43
+ // `<del>` | The del tag defines text that has been <del>deleted from a document</del>
44
+ // `<mark>` | The mark element is used for indicating text as <mark>marked or highlighted for reference</mark> purposes
45
+ // `<code>` | The <code>code</code> tag is used to show inline code
46
+ // `<kbd>` | The <kbd>kbd</kbd> tag defines keyboard text
47
+ // `<samp>` | The <samp>samp</samp> tag defines sample computer code
48
+ // `<pre>` | The <code>pre</code> tag is used for blocks of code
49
+ //
50
+ // Usage:
51
+ // <section style="width:45%; float:left; margin-right: 5%;">
52
+ // <h4>Inline elements examples</h4>
53
+ // <br />
54
+ // <p>Yeah, well, <em>listen</em>. You <kbd>ought</kbd> to <strong>ditch</strong> the <strong><em>two</em></strong>
55
+ // <a href="http://modeset.com/">geeks</a> you're in the <dfn title="motorized vehicle">car</dfn> with now and get
56
+ // <sub>in with</sub> us. But <samp>that's</samp> <code>alright</code>, <mark>we'll worry about</mark> that <time>later</time>.
57
+ // I will <small>see you</small> there. All right<sup>™</sup>? <del>Man</del>, <ins>I love</ins> those
58
+ // <abbr title="Hotties">redheads</abbr>.</p>
59
+ // </section>
60
+ // <section style="width:45%; float:left;">
61
+ // <h4>Address examples</h4>
62
+ // <br />
63
+ // <address>
64
+ // <strong>Mr. Address Tag</strong>
65
+ // <br>
66
+ // 1600 Pennsylvania Ave NW
67
+ // <br>
68
+ // Washington D.C. DC 20500
69
+ // <br>
70
+ // <br>
71
+ // <strong>Email:</strong>
72
+ // <br>
73
+ // <a href="#">president@whitehouse.gov</a>
74
+ // </address>
75
+ // </section>
76
+
77
+ //~
78
+ // #### Blockquotes
79
+ //
80
+ // Notes:
81
+ // - **Pro Tip!** Utilize `&#8220;` and `&#8221;` for opening and closing quotes within a `<blockquote>` element
82
+ //
83
+ // Usage:
84
+ // <blockquote>
85
+ // <p>&#8220;Let me tell you what Melba Toast is packin' right here, all right. We got 4:11 Positrac outback, 750 double pumper, Edelbrock intake, bored over 30, 11 to 1 pop-up pistons, turbo-jet 390 horsepower. We're talkin' some f***in' muscle.&#8221;</p>
86
+ // <small>David Wooderson, <cite title="link to source">Dazed &amp; Confused</cite></small>
87
+ // </blockquote>
88
+
89
+ //~
90
+ // #### Rules
91
+ // Horizontal rules can utilize the class `.dashed` and `.dotted` for a different separator.
92
+ //
93
+ // Usage:
94
+ // <hr>
95
+ // <hr class="dashed">
96
+ // <hr class="dotted">
97
+
98
+ //~
99
+ // #### Lists
100
+ //
101
+ // Usage:
102
+ // <section style="width:20%; float:left; margin-right: 5%;">
103
+ // <p><strong>Unordered list:</strong></p>
104
+ // <ul>
105
+ // <li>Unordered list</li>
106
+ // <li>Unordered list</li>
107
+ // <li>
108
+ // <ul>
109
+ // <li>Nested unordered list</li>
110
+ // <li>Nested unordered list</li>
111
+ // <li>Nested unordered list</li>
112
+ // </ul>
113
+ // </li>
114
+ // <li>Unordered list</li>
115
+ // <li>
116
+ // <ol>
117
+ // <li>Nested ordered list</li>
118
+ // <li>Nested ordered list</li>
119
+ // <li>Nested ordered list</li>
120
+ // </ol>
121
+ // </li>
122
+ // </ul>
123
+ // </section>
124
+ // <section style="width:20%; float:left; margin-right: 5%;">
125
+ // <p><strong>Ordered list:</strong></p>
126
+ // <ol>
127
+ // <li>Ordered list</li>
128
+ // <li>Ordered list</li>
129
+ // <li>
130
+ // <ol>
131
+ // <li>Nested ordered list</li>
132
+ // <li>Nested ordered list</li>
133
+ // <li>Nested ordered list</li>
134
+ // </ol>
135
+ // </li>
136
+ // <li>Ordered list</li>
137
+ // <li>
138
+ // <ul>
139
+ // <li>Nested unordered list</li>
140
+ // <li>Nested unordered list</li>
141
+ // <li>Nested unordered list</li>
142
+ // </ul>
143
+ // </li>
144
+ // </ol>
145
+ // </section>
146
+ // <section style="width:20%; float:left; margin-right: 5%;">
147
+ // <p><strong>Unstyled list:</strong></p>
148
+ // <ul class="unstyled">
149
+ // <li>Unordered list</li>
150
+ // <li>Unordered list</li>
151
+ // <li>
152
+ // <ul>
153
+ // <li>Nested unordered list</li>
154
+ // <li>Nested unordered list</li>
155
+ // <li>Nested unordered list</li>
156
+ // </ul>
157
+ // </li>
158
+ // <li>Unordered list</li>
159
+ // <li>
160
+ // <ol>
161
+ // <li>Nested ordered list</li>
162
+ // <li>Nested ordered list</li>
163
+ // <li>Nested ordered list</li>
164
+ // </ol>
165
+ // </li>
166
+ // </ul>
167
+ // </section>
168
+ // <section style="width:20%; float:left;">
169
+ // <p><strong>Definition list:</strong></p>
170
+ // <dl>
171
+ // <dt>Definition Term</dt>
172
+ // <dd>Definition Description Lorem ipsum dolor sit amet.</dd>
173
+ // <dt>Definition Term</dt>
174
+ // <dd>Definition Description Lorem ipsum dolor sit amet.</dd>
175
+ // <dt>Definition Term</dt>
176
+ // <dd>Definition Description Lorem ipsum dolor sit amet.</dd>
177
+ // </dl>
178
+ // </section>
3
179
 
4
180
  // Heading Styles
5
181
  h1, h2, h3, h4, h5, h6
@@ -36,7 +212,7 @@ small
36
212
  font-size: 85%
37
213
 
38
214
  b, strong
39
- font-style: bold
215
+ font-weight: bold
40
216
 
41
217
  sub, sup
42
218
  font-size: 75%
@@ -63,7 +239,6 @@ abbr, dfn
63
239
  // Code
64
240
  pre, code, kbd, samp
65
241
  font-family: $code_norm
66
- _font-family: "courier new", monospace
67
242
 
68
243
  code, kbd, samp
69
244
  background: $off_white
@@ -87,24 +262,11 @@ pre
87
262
  overflow: hidden
88
263
 
89
264
  pre code
90
- padding: 0
91
- border: 0
265
+ color: $body_color
92
266
  background: transparent
93
-
94
- // .pln, .pun, .opn, .clo => color: body_color
95
- pre.prettyprint
96
- .com
97
- color: #93a1a1
98
- .lit
99
- color: #195f91
100
- .fun
101
- color: #cb4b15
102
- .kwd, .tag
103
- color: #258ad2
104
- .str, .atv
105
- color: #859900
106
- .atn, .type, .dec, .var
107
- color: #d33682
267
+ border: 0
268
+ font-size: 100%
269
+ padding: 0
108
270
 
109
271
  // Blockquotes
110
272
  blockquote
@@ -166,7 +328,7 @@ ol ul li, ol ol li
166
328
  margin-left: 1.5em
167
329
 
168
330
  // Navigation and unstyled Lists
169
- nav ul, nav ol, ul.unstyled, ol.unstyled
331
+ nav ul, nav ol, .unstyled
170
332
  list-style: none
171
333
  list-style-image: none
172
334
  ul li, ol li, li