susy 1.0.9 → 2.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. data/CHANGELOG.mkdn +0 -27
  2. data/README.md +4 -87
  3. data/docs/BUGS.md +2 -0
  4. data/docs/Gemfile.lock +142 -0
  5. data/docs/README.md +54 -0
  6. data/docs/config.rb +120 -0
  7. data/docs/lib/guide_helpers.rb +19 -0
  8. data/docs/source/apple-touch-icon-114x114-precomposed.png +0 -0
  9. data/docs/source/apple-touch-icon-144x144-precomposed.png +0 -0
  10. data/docs/source/apple-touch-icon-72x72-precomposed.png +0 -0
  11. data/docs/source/apple-touch-icon-precomposed.png +0 -0
  12. data/docs/source/demos/grid-types.html.md +263 -0
  13. data/docs/source/demos/index.html.md +23 -0
  14. data/docs/source/demos/magic.html.md +320 -0
  15. data/docs/source/favicon.ico +0 -0
  16. data/docs/source/fonts/@Font-Face License.txt +18 -0
  17. data/docs/source/fonts/Baskerville-amp-webfont.eot +0 -0
  18. data/docs/source/fonts/Baskerville-amp-webfont.svg +241 -0
  19. data/docs/source/fonts/Baskerville-amp-webfont.ttf +0 -0
  20. data/docs/source/fonts/Baskerville-amp-webfont.woff +0 -0
  21. data/docs/source/fonts/CenturyOldStyle-Bold-webfont.eot +0 -0
  22. data/docs/source/fonts/CenturyOldStyle-Bold-webfont.svg +240 -0
  23. data/docs/source/fonts/CenturyOldStyle-Bold-webfont.ttf +0 -0
  24. data/docs/source/fonts/CenturyOldStyle-Bold-webfont.woff +0 -0
  25. data/docs/source/fonts/CenturyOldStyle-Italic-webfont.eot +0 -0
  26. data/docs/source/fonts/CenturyOldStyle-Italic-webfont.svg +240 -0
  27. data/docs/source/fonts/CenturyOldStyle-Italic-webfont.ttf +0 -0
  28. data/docs/source/fonts/CenturyOldStyle-Italic-webfont.woff +0 -0
  29. data/docs/source/fonts/CenturyOldStyle-Regular-webfont.eot +0 -0
  30. data/docs/source/fonts/CenturyOldStyle-Regular-webfont.svg +240 -0
  31. data/docs/source/fonts/CenturyOldStyle-Regular-webfont.ttf +0 -0
  32. data/docs/source/fonts/CenturyOldStyle-Regular-webfont.woff +0 -0
  33. data/docs/source/fonts/CenturyOldStyleCaps-Regular-webfont.eot +0 -0
  34. data/docs/source/fonts/CenturyOldStyleCaps-Regular-webfont.svg +240 -0
  35. data/docs/source/fonts/CenturyOldStyleCaps-Regular-webfont.ttf +0 -0
  36. data/docs/source/fonts/CenturyOldStyleCaps-Regular-webfont.woff +0 -0
  37. data/docs/source/fonts/FranklinGothic-Book-webfont.eot +0 -0
  38. data/docs/source/fonts/FranklinGothic-Book-webfont.svg +240 -0
  39. data/docs/source/fonts/FranklinGothic-Book-webfont.ttf +0 -0
  40. data/docs/source/fonts/FranklinGothic-Book-webfont.woff +0 -0
  41. data/docs/source/fonts/FranklinGothic-BookIt-webfont.eot +0 -0
  42. data/docs/source/fonts/FranklinGothic-BookIt-webfont.svg +240 -0
  43. data/docs/source/fonts/FranklinGothic-BookIt-webfont.ttf +0 -0
  44. data/docs/source/fonts/FranklinGothic-BookIt-webfont.woff +0 -0
  45. data/docs/source/fonts/FranklinGothic-Cd-webfont.eot +0 -0
  46. data/docs/source/fonts/FranklinGothic-Cd-webfont.svg +240 -0
  47. data/docs/source/fonts/FranklinGothic-Cd-webfont.ttf +0 -0
  48. data/docs/source/fonts/FranklinGothic-Cd-webfont.woff +0 -0
  49. data/docs/source/fonts/FranklinGothic-CdIt-webfont.eot +0 -0
  50. data/docs/source/fonts/FranklinGothic-CdIt-webfont.svg +240 -0
  51. data/docs/source/fonts/FranklinGothic-CdIt-webfont.ttf +0 -0
  52. data/docs/source/fonts/FranklinGothic-CdIt-webfont.woff +0 -0
  53. data/docs/source/fonts/FranklinGothic-Med-webfont.eot +0 -0
  54. data/docs/source/fonts/FranklinGothic-Med-webfont.svg +240 -0
  55. data/docs/source/fonts/FranklinGothic-Med-webfont.ttf +0 -0
  56. data/docs/source/fonts/FranklinGothic-Med-webfont.woff +0 -0
  57. data/docs/source/fonts/FranklinGothic-MedCd-webfont.eot +0 -0
  58. data/docs/source/fonts/FranklinGothic-MedCd-webfont.svg +240 -0
  59. data/docs/source/fonts/FranklinGothic-MedCd-webfont.ttf +0 -0
  60. data/docs/source/fonts/FranklinGothic-MedCd-webfont.woff +0 -0
  61. data/docs/source/fonts/FranklinGothic-MedCdIt-webfont.eot +0 -0
  62. data/docs/source/fonts/FranklinGothic-MedCdIt-webfont.svg +240 -0
  63. data/docs/source/fonts/FranklinGothic-MedCdIt-webfont.ttf +0 -0
  64. data/docs/source/fonts/FranklinGothic-MedCdIt-webfont.woff +0 -0
  65. data/docs/source/fonts/FranklinGothic-MedIt-webfont.eot +0 -0
  66. data/docs/source/fonts/FranklinGothic-MedIt-webfont.svg +240 -0
  67. data/docs/source/fonts/FranklinGothic-MedIt-webfont.ttf +0 -0
  68. data/docs/source/fonts/FranklinGothic-MedIt-webfont.woff +0 -0
  69. data/docs/source/fonts/License.txt +77 -0
  70. data/docs/source/fonts/susy.eot +0 -0
  71. data/docs/source/fonts/susy.svg +69 -0
  72. data/docs/source/fonts/susy.ttf +0 -0
  73. data/docs/source/fonts/susy.woff +0 -0
  74. data/docs/source/guides/getting-started.html.md +277 -0
  75. data/docs/source/guides/reference.html.md +658 -0
  76. data/docs/source/guides/upgrade-1-0.html.md +286 -0
  77. data/docs/source/humans.txt +45 -0
  78. data/docs/source/images/splash-iphone.png +0 -0
  79. data/docs/source/images/splash-iphone4.png +0 -0
  80. data/docs/source/images/splash-landscape.png +0 -0
  81. data/docs/source/images/splash-portrait.png +0 -0
  82. data/docs/source/index.html.md +87 -0
  83. data/docs/source/javascripts/jquery-1.7.1.min.js +4 -0
  84. data/docs/source/javascripts/jqwidont.js +5 -0
  85. data/docs/source/javascripts/modernizr-2.5.3.min.js +4 -0
  86. data/docs/source/javascripts/modernizr.selectors.js +55 -0
  87. data/docs/source/javascripts/viewport.js +9 -0
  88. data/docs/source/layouts/grid-types.haml +22 -0
  89. data/docs/source/layouts/layout.haml +34 -0
  90. data/docs/source/layouts/magic.haml +28 -0
  91. data/docs/source/partials/_contentinfo.haml +47 -0
  92. data/docs/source/partials/_demonav.haml +2 -0
  93. data/docs/source/partials/_google_analytics.haml +5 -0
  94. data/docs/source/partials/_head.haml +22 -0
  95. data/docs/source/partials/_javascripts.haml +4 -0
  96. data/docs/source/partials/_navigation.haml +15 -0
  97. data/docs/source/sites-using-susy.html.md +29 -0
  98. data/docs/source/stylesheets/_base/_base.scss +23 -0
  99. data/docs/source/stylesheets/_base/_colors.scss +47 -0
  100. data/docs/source/stylesheets/_base/_size.scss +49 -0
  101. data/docs/source/stylesheets/_base/_type.scss +19 -0
  102. data/docs/source/stylesheets/_demos/_demo.scss +28 -0
  103. data/docs/source/stylesheets/_demos/magic/_layout.scss +39 -0
  104. data/docs/source/stylesheets/_demos/magic/_style.scss +104 -0
  105. data/docs/source/stylesheets/_demos/types/_layouts.scss +88 -0
  106. data/docs/source/stylesheets/_demos/types/_template.scss +57 -0
  107. data/docs/source/stylesheets/_general/_century-oldstyle.scss +70 -0
  108. data/docs/source/stylesheets/_general/_font-license.scss +23 -0
  109. data/docs/source/stylesheets/_general/_fonts.scss +26 -0
  110. data/docs/source/stylesheets/_general/_franklin-gothic.scss +112 -0
  111. data/docs/source/stylesheets/_general/_icons.scss +86 -0
  112. data/docs/source/stylesheets/_general/_root.scss +79 -0
  113. data/docs/source/stylesheets/_general/_type.scss +114 -0
  114. data/docs/source/stylesheets/_layout.scss +48 -0
  115. data/docs/source/stylesheets/_modules/_ag-test.scss +59 -0
  116. data/docs/source/stylesheets/_modules/_banner.scss +61 -0
  117. data/docs/source/stylesheets/_modules/_contentinfo.scss +41 -0
  118. data/docs/source/stylesheets/_modules/_intro.scss +53 -0
  119. data/docs/source/stylesheets/_modules/_nav.scss +44 -0
  120. data/docs/source/stylesheets/_modules/_pages.scss +5 -0
  121. data/docs/source/stylesheets/_modules/_secondary.scss +22 -0
  122. data/docs/source/stylesheets/_modules/_toggle.scss +40 -0
  123. data/docs/source/stylesheets/_vendor/pygments/solarized.scss +65 -0
  124. data/docs/source/stylesheets/grid-types.css.scss +6 -0
  125. data/docs/source/stylesheets/magic.css.scss +6 -0
  126. data/docs/source/stylesheets/site.css.scss +27 -0
  127. data/lib/susy.rb +12 -1
  128. data/sass/README.md +33 -0
  129. data/sass/_susy.scss +55 -16
  130. data/sass/susy/_api.scss +39 -0
  131. data/sass/susy/_grids.scss +2 -0
  132. data/sass/susy/_gutters.scss +2 -0
  133. data/sass/susy/_helpers.scss +14 -0
  134. data/sass/susy/_language.scss +3 -0
  135. data/sass/susy/_math.scss +3 -0
  136. data/sass/susy/api/_float.scss +72 -0
  137. data/sass/susy/api/_isolation.scss +16 -0
  138. data/sass/susy/grids/_add.scss +10 -0
  139. data/sass/susy/grids/_find.scss +10 -0
  140. data/sass/susy/gutters/_add.scss +10 -0
  141. data/sass/susy/gutters/_find.scss +10 -0
  142. data/sass/susy/helpers/_background-grid.scss +65 -0
  143. data/sass/susy/helpers/_box-sizing.scss +25 -0
  144. data/sass/susy/helpers/_clearfix.scss +51 -0
  145. data/sass/susy/helpers/_columns.scss +15 -0
  146. data/sass/susy/helpers/_find.scss +63 -0
  147. data/sass/susy/helpers/_sass-lists.scss +71 -0
  148. data/sass/susy/helpers/_span-shared.scss +9 -0
  149. data/sass/susy/language/_parse-add.scss +19 -0
  150. data/sass/susy/language/_parse-list.scss +53 -0
  151. data/sass/susy/language/_span.scss +20 -0
  152. data/sass/susy/math/_columns.scss +70 -0
  153. data/sass/susy/math/_context.scss +3 -0
  154. data/sass/susy/math/_gutters.scss +11 -0
  155. data/templates/box-sizing/behaviors/box-sizing/boxsizing.htc +399 -0
  156. data/templates/box-sizing/behaviors/box-sizing/boxsizing.php +23 -0
  157. data/templates/box-sizing/manifest.rb +4 -0
  158. data/templates/project/README.md +59 -0
  159. data/templates/project/_base.scss +0 -10
  160. data/templates/project/behaviors/box-sizing/boxsizing.htc +399 -0
  161. data/templates/project/behaviors/box-sizing/boxsizing.php +23 -0
  162. data/templates/project/manifest.rb +3 -0
  163. data/templates/project/screen.scss +0 -8
  164. metadata +200 -43
  165. data/Manifest +0 -39
  166. data/Rakefile +0 -19
  167. data/VERSION +0 -1
  168. data/sass/susy/_background.scss +0 -18
  169. data/sass/susy/_functions.scss +0 -376
  170. data/sass/susy/_grid.scss +0 -286
  171. data/sass/susy/_isolation.scss +0 -51
  172. data/sass/susy/_margin.scss +0 -93
  173. data/sass/susy/_media.scss +0 -112
  174. data/sass/susy/_padding.scss +0 -92
  175. data/sass/susy/_settings.scss +0 -56
  176. data/sass/susy/_support.scss +0 -198
  177. data/sass/susy/_units.scss +0 -159
  178. data/susy.gemspec +0 -35
  179. data/test/config.rb +0 -10
  180. data/test/css/background.css +0 -16
  181. data/test/css/bleed.css +0 -20
  182. data/test/css/functions.css +0 -7
  183. data/test/css/grid.css +0 -134
  184. data/test/css/isolation.css +0 -46
  185. data/test/css/margin.css +0 -20
  186. data/test/css/media.css +0 -101
  187. data/test/css/padding.css +0 -12
  188. data/test/scss/background.scss +0 -11
  189. data/test/scss/bleed.scss +0 -19
  190. data/test/scss/functions.scss +0 -15
  191. data/test/scss/grid.scss +0 -77
  192. data/test/scss/isolation.scss +0 -19
  193. data/test/scss/margin.scss +0 -27
  194. data/test/scss/media.scss +0 -50
  195. data/test/scss/padding.scss +0 -19
@@ -0,0 +1,9 @@
1
+ if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i)) {
2
+ var viewportmeta = document.querySelectorAll('meta[name="viewport"]')[0];
3
+ if (viewportmeta) {
4
+ viewportmeta.content = 'width=device-width, minimum-scale=1.0, maximum-scale=1.0';
5
+ document.body.addEventListener('gesturestart', function() {
6
+ viewportmeta.content = 'width=device-width, minimum-scale=0.25, maximum-scale=1.6';
7
+ }, false);
8
+ }
9
+ }
@@ -0,0 +1,22 @@
1
+ !!! 5
2
+ %html.no-js{:lang => "en"}
3
+
4
+ = partial "partials/head"
5
+
6
+ %body{ :id => "susy-oddbird-net", :class => page_classes }
7
+
8
+ = partial "partials/demonav"
9
+
10
+ %section.page
11
+
12
+ %header.banner{ :role => "banner" }
13
+ %h1 Susy Demo
14
+ %h2 responsive grids for compass
15
+
16
+ %nav.pagenav
17
+ = data.page.pagenav
18
+
19
+ %article.main{ :role => "main" }
20
+ ~ yield
21
+
22
+ = partial "partials/javascripts"
@@ -0,0 +1,34 @@
1
+ !!! 5
2
+ %html.no-js{:lang => "en"}
3
+
4
+ = partial "partials/head"
5
+
6
+ %body{ :id => "susy-oddbird-net", :class => page_classes }
7
+
8
+ %div.page
9
+
10
+ %header{ :role => "banner" }
11
+ %h1
12
+ %a.home{ :href => "/"} <b>S</b><span>usy</span>
13
+ %h2 Responsive grids for <a href="http://www.compass-style.org/">Compass</a>.
14
+
15
+ %nav{ :role => "navigation" }
16
+ = partial "partials/navigation"
17
+
18
+ %section{ :role => "main" }
19
+
20
+ ~ yield
21
+
22
+ -if page_side_content
23
+ %aside.secondary= page_side_content
24
+
25
+ %footer{ :role => "contentinfo" }
26
+ = partial "partials/contentinfo"
27
+
28
+ %ul.grid-toggle
29
+ %li.on
30
+ %a{ :href => "#susy-oddbird-net" } show grid
31
+ %li.off
32
+ %a{ :href => "#" } hide grid
33
+
34
+ = partial "partials/javascripts"
@@ -0,0 +1,28 @@
1
+ !!! 5
2
+ %html.no-js{:lang => "en"}
3
+
4
+ = partial "partials/head"
5
+
6
+ %body{ :id => "susy-oddbird-net", :class => page_classes }
7
+
8
+ = partial "partials/demonav"
9
+
10
+ %section.page
11
+
12
+ %header.banner{ :role => "banner" }
13
+ %h1 Susy Demo
14
+ %h2 responsive grids for compass
15
+
16
+ %nav.pagenav
17
+ = data.page.pagenav
18
+
19
+ %article.main{ :role => "main" }
20
+ %aside.summary
21
+ = data.page.aside
22
+ %div.content
23
+ ~ yield
24
+
25
+ %footer.contentinfo{ :role => "contentinfo" }
26
+ = partial "partials/contentinfo"
27
+
28
+ = partial "partials/javascripts"
@@ -0,0 +1,47 @@
1
+ :plain
2
+ <div class="colophon">
3
+ <p>
4
+ Susy is based on Natalie Downe's
5
+ <a href="http://www.slideshare.net/nataliedowne/css-systems-presentation">CSS Systems</a>,
6
+ made possible by <a href="http://www.sass-lang.com/">Sass</a>,
7
+ and made easy with <a href="http://www.compass-style.org/">Compass</a>.
8
+ You can use it anywhere,
9
+ from static sites to Django, Rails, Wordpress and more.
10
+ It even comes packaged as part of
11
+ <a href="http://www.middlemanapp.com/">Middleman</a>, to make your life easy.
12
+ </p>
13
+ <p>
14
+ This site was built with <span class="caps">HTML5</span> and
15
+ <span class="caps">CSS3</span>
16
+ using <a href="http://www.middlemanapp.com/">Middleman</a>,
17
+ <a href="http://www.compass-style.org/">Compass</a>,
18
+ <a href="http://www.sass-lang.com/">Sass</a>,
19
+ <a href="/">Susy</a>,
20
+ <a href="http://html5boilerplate.com/">HTML5 Boilerplate</a>,
21
+ <a href="http://www.modernizr.com/">Modernizr</a>,
22
+ <a href="https://github.com/scottkellum/modular-scale">Modular Scale</a>,
23
+ <a href="http://ethanschoonover.com/solarized">Solarized</a> colors,
24
+ <a href="http://pygments.org/">Pygments</a> syntax highlighting,
25
+ <a href="http://keyamoon.com/icomoon/">IcoMoon</a> icons,
26
+ and Franklin Gothic with Century OldStyle from
27
+ <a href="http://www.fontspring.com/">Fontspring</a>.
28
+ </p>
29
+ <p>
30
+ Susy was created by
31
+ <a href="http://github.com/ericam">Eric A. Meyer</a>
32
+ <span class="amp">&</span> <a href="http://oddbird.net">OddBird</a>,
33
+ and is maintained with the help of
34
+ <a href="http://www.dannyprose.com">Danny Palmer</a>,
35
+ and a number of wonderful
36
+ <a href="https://github.com/ericam/susy/graphs/contributors">contributors</a>.
37
+ <a href="http://github.com/ericam/susy/">Get involved</a>!
38
+ </p>
39
+ </div>
40
+
41
+ <p class="license">
42
+ <a href="https://github.com/ericam/susy/blob/master/LICENSE.txt">
43
+ Copyright &copy; 2012
44
+ </a>
45
+ <a href="http://eric.andmeyer.com/">Eric A. Meyer</a><br />
46
+ An <a href="http://oddbird.net/">OddBird</a> project.
47
+ </p>
@@ -0,0 +1,2 @@
1
+ %nav{ :role => "navigation" }
2
+ %a{ :href => "/demos/" } Back to Demos
@@ -0,0 +1,5 @@
1
+ :javascript
2
+ var _gaq=[['_setAccount','UA-30497331-1'],['_trackPageview']];
3
+ (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
4
+ g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
5
+ s.parentNode.insertBefore(g,s)}(document,'script'));
@@ -0,0 +1,22 @@
1
+ %head
2
+ %meta{ :charset => "utf-8" }
3
+ %meta{ :content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible" }
4
+
5
+ %title= page_title
6
+
7
+ %meta{:content => "Susy: Semantic grids with a responsive touch.", :name => "description"}
8
+ %meta{:content => "width=device-width", :name => "viewport"}
9
+ %meta{:content => "yes", :name => "apple-mobile-web-app-capable"}
10
+
11
+ %link{:rel => "apple-touch-startup-image", :media => "screen and (max-device-width: 480px) and not (-webkit-min-device-pixel-ratio: 2)", :href => "images/splash-iphone.png"}
12
+ %link{:rel => "apple-touch-startup-image", :media => "screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)", :href => "images/splash-iphone4.png"}
13
+ %link{:rel => "apple-touch-startup-image", :media => "screen and (min-device-width: 768px) and (orientation: portrait)", :href => "images/splash-portrait.png"}
14
+ %link{:rel => "apple-touch-startup-image", :media => "screen and (min-device-width: 768px) and (orientation: landscape)", :href => "images/splash-landscape.png"}
15
+
16
+ - if data.page.stylesheet
17
+ = stylesheet_link_tag data.page.stylesheet
18
+ - else
19
+ = stylesheet_link_tag "site.css"
20
+
21
+ = javascript_include_tag "modernizr-2.5.3.min.js"
22
+ = javascript_include_tag "modernizr.selectors.js"
@@ -0,0 +1,4 @@
1
+ = javascript_include_tag "jquery-1.7.1.min.js"
2
+ = javascript_include_tag "jqwidont.js"
3
+ = javascript_include_tag "viewport.js"
4
+ = partial "partials/google_analytics"
@@ -0,0 +1,15 @@
1
+ %ul
2
+ %li
3
+ %a{ :href => "/guides/getting-started/" } Getting Started
4
+ %li
5
+ %a{ :href => "/guides/reference/" } Reference
6
+ %li
7
+ %a{ :href => "/demos/" } Demos
8
+ %li
9
+ %a{ :href => "/sites-using-susy/" } Sites
10
+ %li
11
+ %a{ :href => "https://github.com/ericam/susy" } Source
12
+ %li
13
+ %a{ :href => "http://stackoverflow.com/questions/tagged/susy-compass"} Support
14
+ %li
15
+ %a{ :href => "http://twitter.com/compasssusy/" } Twitter
@@ -0,0 +1,29 @@
1
+ ---
2
+ title: Sites using Susy
3
+ ---
4
+
5
+ ## Sites Using Susy
6
+
7
+ - [Ben Frain](http://benfrain.com/)
8
+ - [Leo Burnett](http://leoburnett.co.uk/)
9
+ - [Renault TV](http://renault.tv/)
10
+ - [Tiga Minimal WordPress Theme](http://wordpress.org/extend/themes/tiga) [[source](https://github.com/satrya/tiga/downloads)]
11
+ - [Mozilla MozTrap](https://moztrap.mozilla.org/) [[source](https://github.com/mozilla/moztrap "MozTrap source")]
12
+ - [Cassie Greer](http://www.cassiegreer.com)
13
+ - [HR &hearts; PE](http://www.hrlovespe.com/)
14
+ - [My job would be easier if...](http://www.myjobwouldbeeasierif.com/)
15
+ - [Volunteer Center Northumberland](https://volunteeringnorthumberland.org.uk/)
16
+ - [Rita Konig](http://ritakonig.com/)
17
+ - [Concordia discors](http://www.ffzg.unizg.hr/zbor/) [[source](https://github.com/silvenon/concordia-discors "discords source")]
18
+ - [Waldorf camp](http://waldorfcamp.net/) [[source](https://github.com/jimick/waldorfcamp "Waldorf source")]
19
+ - [Matthew Balaam](http://www.matthewbalaam.co.uk/)
20
+ - [Starrt](http://starrt.dk/)
21
+ - [Jeremy Peters](http://jeremypeters.co.uk/)
22
+ - [Avoid Payday Loans](http://avoidpaydayloans.com/)
23
+ - [Fake Images Please](http://fakeimg.pl/)
24
+ - [Viggle](http://www.viggle.com/)
25
+ - [Studio Daniel Libeskind](http://daniel-libeskind.com/)
26
+ - [Devtroit](http://devtroit.com/)
27
+ - [Patrick Marsceill](http://patrickmarsceill.com)
28
+
29
+ Have a site to add? [Let us know](http://twitter.com/compasssusy/) or [fork and add your site on GitHub](https://github.com/ericam/susy).
@@ -0,0 +1,23 @@
1
+ //-----------------------------------------------------------------------------
2
+ // Imports
3
+
4
+ @import "compass";
5
+ @import "compass/layout";
6
+ @import "susy";
7
+
8
+ //-----------------------------------------------------------------------------
9
+ // Grid Settings
10
+
11
+ $total-columns: 4;
12
+ $column-width: 4em;
13
+ $gutter-width: 1.5em;
14
+ $grid-padding: $gutter-width;
15
+
16
+ $break: 40em 10;
17
+
18
+ //-----------------------------------------------------------------------------
19
+ // Other Settings
20
+
21
+ @import "colors";
22
+ @import "size";
23
+ @import "type";
@@ -0,0 +1,47 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Color Palette (Solarized: http://ethanschoonover.com/solarized)
3
+
4
+ $base03: #002b36;
5
+ $base02: #073642;
6
+ $base01: #586e75;
7
+ $base00: #657b83;
8
+ $base0: #839496;
9
+ $base1: #93a1a1;
10
+ $base2: #eee8d5;
11
+ $base3: #fdf6e3;
12
+ $yellow: #b58900;
13
+ $orange: #cb4b16;
14
+ $red: #dc322f;
15
+ $magenta: #d33682;
16
+ $violet: #6c71c4;
17
+ $blue: #268bd2;
18
+ $cyan: #2aa198;
19
+ $green: #859900;
20
+
21
+ // ---------------------------------------------------------------------------
22
+ // Color System
23
+
24
+ $base : $base00;
25
+ $alt : $red;
26
+ $accent : $violet;
27
+
28
+ $susy-background: $base3;
29
+ $susy-highlight: $red;
30
+ $susy-bodycopy: $base00;
31
+
32
+ //5% darker
33
+ $susy-background-dark-5: darken($susy-background, 5%);
34
+ $susy-highlight-dark-5: darken($susy-highlight, 5%);
35
+ $susy-bodycopy-dark-5: darken($susy-bodycopy, 5%);
36
+
37
+ //10% darker
38
+ $susy-background-dark-10: darken($susy-background, 10%);
39
+ $susy-highlight-dark-10: darken($susy-highlight, 10%);
40
+ $susy-bodycopy-dark-10: darken($susy-bodycopy, 10%);
41
+
42
+ //20% darker
43
+ $susy-background-dark-20: darken($susy-background, 20%);
44
+ $susy-highlight-dark-20: darken($susy-highlight, 20%);
45
+ $susy-bodycopy-dark-20: darken($susy-bodycopy, 20%);
46
+
47
+ $grid-background-column-color: rgba(lighten($susy-background,5%),.5);
@@ -0,0 +1,49 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Imports
3
+
4
+ @import "modular-scale";
5
+
6
+ // ---------------------------------------------------------------------------
7
+ // Size Settings
8
+
9
+ $base-size : 16px;
10
+ $ratio : major-third() fifth();
11
+
12
+ $norm : 1;
13
+ $xxxsmall : ms(-4,$norm);
14
+ $xxsmall : ms(-3,$norm);
15
+ $xsmall : ms(-2,$norm);
16
+ $small : ms(-1,$norm);
17
+ $small-norm : (ms(-1,$norm) + $norm)/2;
18
+ $large-norm : (ms(1,$norm) + $norm)/2;
19
+ $med : ms(1,$norm);
20
+ $large : ms(2,$norm);
21
+ $xlarge : ms(4,$norm);
22
+ $xxlarge : ms(8,$norm);
23
+ $xxxlarge : ms(16,$norm);
24
+
25
+ $normem : 1em;
26
+ $medem : ms(1,$normem);
27
+ $smallem : ms(-1,$normem);
28
+ $xsmallem : ms(-2,$normem);
29
+ $xxsmallem : ms(-3,$normem);
30
+ $xxxsmallem : ms(-4,$normem);
31
+ $small-normem : (ms(-1,$normem) + $normem)/2;
32
+ $large-normem : (ms(1,$normem) + $normem)/2;
33
+ $largeem : ms(2,$normem);
34
+ $xlargeem : ms(3,$normem);
35
+ $xxlargeem : ms(6,$normem);
36
+ $xxxlargeem : ms(12,$normem);
37
+
38
+ $normpx : $base-size;
39
+ $medpx : ms(1);
40
+ $smallpx : ms(-1);
41
+ $xsmallpx : ms(-2);
42
+ $xxsmallpx : ms(-3);
43
+ $xxxsmallpx : ms(-4);
44
+ $small-normpx : (ms(-1,$normpx) + $normpx)/2;
45
+ $large-normpx : ms(2);
46
+ $largepx : ms(4);
47
+ $xlargepx : ms(6);
48
+ $xxlargepx : ms(12);
49
+ $xxxlargepx : ms(16);
@@ -0,0 +1,19 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Type Settings
3
+
4
+ $base-font-size : $normpx;
5
+ $base-line-height : $medpx;
6
+
7
+ $round-to-nearest-half-line : true;
8
+
9
+ // ---------------------------------------------------------------------------
10
+ // Type Mixins
11
+
12
+ @mixin ellipsis($r:1) {
13
+ overflow: hidden;
14
+ max-height: rhythm($r);
15
+ white-space: nowrap;
16
+ word-wrap: break-word;
17
+ -o-text-overflow: ellipsis;
18
+ text-overflow: ellipsis;
19
+ }
@@ -0,0 +1,28 @@
1
+ //-----------------------------------------------------------------------------
2
+ // Base
3
+
4
+ @import "_base/base";
5
+
6
+ //-----------------------------------------------------------------------------
7
+ // General
8
+
9
+ @import "_general/root";
10
+ @import "_general/type";
11
+
12
+ //-----------------------------------------------------------------------------
13
+ // Modules
14
+
15
+ [role="navigation"] {
16
+ padding: rhythm(.5);
17
+ background: $base03;
18
+ color: $base1;
19
+ font-style: italic;
20
+ a {
21
+ #{$link} {
22
+ @extend %icon;
23
+ @extend %icon-arrow-left;
24
+ color: $base2;
25
+ }
26
+ #{$focus} { color: $base3; }
27
+ }
28
+ }
@@ -0,0 +1,39 @@
1
+ //-----------------------------------------------------------------------------
2
+ // Settings
3
+
4
+ $total-columns : 7;
5
+ $column-width : 4em;
6
+ $gutter-width : 1em;
7
+ $grid-padding : $gutter-width;
8
+
9
+ $break : 12;
10
+
11
+ //-----------------------------------------------------------------------------
12
+ // Container
13
+
14
+ .page {
15
+ @include container($total-columns, $break);
16
+ }
17
+
18
+ //-----------------------------------------------------------------------------
19
+ // Layout
20
+
21
+ @include at-breakpoint($break) {
22
+ .banner { @include prefix(2,12); }
23
+ .pagenav { @include span-columns(2,12); }
24
+ .main {
25
+ @include span-columns(10 omega, 12);
26
+ .content { @include span-columns(7,10) }
27
+ .summary { @include span-columns(3 omega, 10) }
28
+ }
29
+ }
30
+
31
+ .contentinfo {
32
+ clear: both;
33
+ margin: 0 0 - $grid-padding;
34
+ padding: 0 $grid-padding;
35
+ @include at-breakpoint($break) {
36
+ margin: 0;
37
+ @include pad(2,3,12);
38
+ }
39
+ }