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,86 @@
1
+ @include font-face (
2
+ 'susy',
3
+ font-files(
4
+ 'susy.svg#susy', svg,
5
+ 'susy.woff', woff,
6
+ 'susy.ttf', truetype
7
+ ),
8
+ 'susy.eot',
9
+ normal,
10
+ normal
11
+ );
12
+
13
+ /* Use the following CSS code if you want to have a class per icon */
14
+ %icon-content {
15
+ font-family: 'susy';
16
+ font-style: normal;
17
+ font-weight: normal;
18
+ speak: none;
19
+ }
20
+
21
+ %icon:before {
22
+ @extend %icon-content;
23
+ margin-right: .4em;
24
+ }
25
+
26
+ %icon-after::after {
27
+ @extend %icon-content;
28
+ margin-left: .4em;
29
+ }
30
+
31
+ %icon-replace {
32
+ @extend %icon;
33
+ position: relative;
34
+ min-width: 1em;
35
+ text-indent: -9999px;
36
+ &:before{
37
+ position: absolute;
38
+ top: 0;
39
+ left: 0;
40
+ text-indent: 0;
41
+ margin-right: 0;
42
+ }
43
+ }
44
+
45
+ /* Use the following CSS code if you want to use data attributes for inserting your icons */
46
+ [data-icon]:before {
47
+ @extend %icon-content;
48
+ content: attr(data-icon);
49
+ }
50
+
51
+ %icon-switch:before {
52
+ content: "\e000";
53
+ }
54
+ %icon-list:before {
55
+ content: "\e001";
56
+ }
57
+ %icon-cog:before {
58
+ content: "\e002";
59
+ }
60
+ %icon-twitter:before {
61
+ content: "\e005";
62
+ }
63
+ %icon-pin:before {
64
+ content: "\e007";
65
+ }
66
+ %icon-bookmark:before {
67
+ content: "\e008";
68
+ }
69
+ %icon-out:after {
70
+ content: "\e009";
71
+ }
72
+ %icon-list-2:before {
73
+ content: "\e00a";
74
+ }
75
+ %icon-arrow-left:before {
76
+ content: "\e00b";
77
+ }
78
+ %icon-pictures:before {
79
+ content: "\e00c";
80
+ }
81
+ %icon-comment:before {
82
+ content: "\e003";
83
+ }
84
+ %icon-github:before {
85
+ content: "\e004";
86
+ }
@@ -0,0 +1,79 @@
1
+ //-----------------------------------------------------------------------------
2
+ // Imports
3
+
4
+ @import "compass/reset";
5
+ @import "../_vendor/pygments/solarized";
6
+
7
+ @import "fonts";
8
+ @import "icons";
9
+
10
+ //-----------------------------------------------------------------------------
11
+ // Variables
12
+
13
+ $link : '&:link, &:visited';
14
+ $focus : '&:hover, &:focus, &:active';
15
+
16
+ //-----------------------------------------------------------------------------
17
+ // Root
18
+
19
+ @include establish-baseline;
20
+ @include border-box-sizing;
21
+
22
+ html {
23
+ @include text-shadow(rgba(white,.5) 0 1px 0);
24
+ color: $susy-bodycopy;
25
+ background: $susy-background;
26
+ font-family: $font-stack;
27
+ }
28
+
29
+ b, i { font-weight: normal; font-style: normal; }
30
+ .amp { font-family: $amp-stack; }
31
+ .caps { @include caps; }
32
+
33
+ a {
34
+ #{$link} {
35
+ color: $susy-highlight;
36
+ text-decoration: none;
37
+ }
38
+ #{$focus} {
39
+ color: $susy-highlight-dark-20;
40
+ }
41
+ }
42
+
43
+ //-----------------------------------------------------------------------------
44
+ // Code Blocks
45
+
46
+ .highlight {
47
+ @include trailer();
48
+ background: transparent;
49
+ border: 0;
50
+ }
51
+
52
+ code, pre {
53
+ font-family: $mono-stack;
54
+ }
55
+
56
+ code {
57
+ @include adjust-font-size-to($small-normpx);
58
+ }
59
+
60
+ pre {
61
+ @include adjust-font-size-to($smallpx);
62
+ @include rhythm-borders(1px,.5,$smallpx);
63
+ background-color: $susy-background-dark-5;
64
+ border-color: $susy-background-dark-10;
65
+ overflow: auto;
66
+ }
67
+
68
+ //-----------------------------------------------------------------------------
69
+ // Simple Pages
70
+
71
+ %simple {
72
+ [role="main"] {
73
+ @extend %type;
74
+ @include at-breakpoint($break) {
75
+ @include pad(1,1);
76
+ }
77
+ }
78
+ }
79
+
@@ -0,0 +1,114 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Basic Typography
3
+
4
+ %type {
5
+ @include sans;
6
+
7
+ // -------------------------------------------------------------------------
8
+ // Headings
9
+
10
+ h2 {
11
+ @extend .caps;
12
+ @include adjust-font-size-to($largepx);
13
+ @include trailing-border(3px,.125,$largepx);
14
+ @include trailer(.875,$largepx);
15
+ border-color: $base2;
16
+ font-weight: bold;
17
+ ~ h2 { @include leader(2,$largepx) }
18
+
19
+ @include at-breakpoint($break) {
20
+ @include adjust-font-size-to($xlargepx);
21
+ @include trailing-border(3px,.125,$xlargepx);
22
+ @include trailer(.875,$xlargepx);
23
+ ~ h2 { @include leader(2,$xlargepx) }
24
+ }
25
+ }
26
+ h3 {
27
+ @include adjust-font-size-to($largepx);
28
+ @include leader(1,$largepx);
29
+ @include trailer(1,$largepx);
30
+ font-weight: bold;
31
+ + h4 { @include leader(0); }
32
+ @include at-breakpoint($break) {
33
+ @include leader(2,$largepx);
34
+ }
35
+ }
36
+ h4 {
37
+ @extend .caps;
38
+ @include leader(2);
39
+ }
40
+ h5 {
41
+ font-style: italic;
42
+ }
43
+
44
+ h1, h2, h3, h4, h5, h6 {
45
+ a {
46
+ #{$link} {
47
+ @extend %icon;
48
+ @extend %icon-bookmark;
49
+ position: relative;
50
+ display: inline-block;
51
+ &::before {
52
+ @include transition(all 300ms);
53
+ @include opacity(0);
54
+ position: absolute;
55
+ display: block;
56
+ right: 100%;
57
+ top: 0;
58
+ margin-right: $xxxsmallpx;
59
+ line-height: inherit;
60
+ }
61
+ }
62
+ #{$focus} {
63
+ &::before { @include opacity(1); }
64
+ }
65
+ }
66
+ }
67
+
68
+ h1, h2, h3 {
69
+ a {
70
+ #{$link} {
71
+ color: $susy-bodycopy-dark-20;
72
+ }
73
+ }
74
+ }
75
+
76
+ h4, h5, h6 {
77
+ a {
78
+ #{$link} {
79
+ color: $susy-highlight-dark-20;
80
+ &::before { @include opacity(.75); }
81
+ }
82
+ #{$focus} {
83
+ &::before { @include opacity(1); }
84
+ }
85
+ }
86
+ }
87
+
88
+ // -------------------------------------------------------------------------
89
+ // Block
90
+
91
+ ul, ol, p { @include trailer; }
92
+ li { @include trailer(.5); }
93
+ ul {
94
+ list-style: circle;
95
+ }
96
+ ol {
97
+ list-style: decimal;
98
+ }
99
+
100
+ // -------------------------------------------------------------------------
101
+ // Inline
102
+
103
+ strong, code {
104
+ font-weight: bold;
105
+ color: $susy-bodycopy-dark-5;
106
+ }
107
+ em { font-style: italic; }
108
+
109
+ a[href^="http"] {
110
+ @extend %icon-after;
111
+ @extend %icon-out;
112
+ &::after { font-size: .75em; }
113
+ }
114
+ }
@@ -0,0 +1,48 @@
1
+ //-----------------------------------------------------------------------------
2
+ // Layout
3
+
4
+ .page {
5
+ @include container;
6
+ position: relative;
7
+
8
+ :target & {
9
+ @include susy-grid-background();
10
+ .off a { display: block; }
11
+ .on a { display: none; }
12
+ }
13
+
14
+ @include at-breakpoint($break) {
15
+ @include container;
16
+ :target & { @include susy-grid-background(); }
17
+ }
18
+ }
19
+
20
+ [role="main"] {
21
+ @include trailer(1);
22
+ @include at-breakpoint($break) {
23
+ @include trailer(2);
24
+ }
25
+ }
26
+
27
+ [role="contentinfo"] {
28
+ clear: both;
29
+ }
30
+
31
+ //Exceptions
32
+
33
+ .guides, .tutorial {
34
+ [role="main"] { @extend %type; }
35
+ .secondary { display: none; }
36
+
37
+ @include at-breakpoint($break) {
38
+
39
+ .secondary {
40
+ @include span-columns(3);
41
+ display: block;
42
+ }
43
+
44
+ [role="main"] {
45
+ @include span-columns(7 omega);
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,59 @@
1
+ //-----------------------------------------------------------------------------
2
+ // AG Test
3
+
4
+ .ag-test {
5
+ @include cond;
6
+ @include clearfix;
7
+ @include trailer;
8
+ clear: both;
9
+ background: $susy-background-dark-5;
10
+
11
+ div {
12
+ @include border-radius(.25em);
13
+ min-height: rhythm(4);
14
+ }
15
+ figcaption p {
16
+ font-size: 1em;
17
+ font-weight: bold;
18
+ }
19
+ p {
20
+ @include adjust-font-size-to($smallpx);
21
+ display: block;
22
+ padding: rhythm(.5,$smallpx) rhythm(.25,$smallpx);
23
+ color: $susy-bodycopy-dark-20;
24
+ text-align: center;
25
+ }
26
+ strong {
27
+ display: block;
28
+ text-transform: uppercase;
29
+ font-weight: bold;
30
+ }
31
+
32
+ // color blocks
33
+ .ag1, .ag3 { background: lighten($cyan,25); }
34
+ .ag2 { background: $susy-background-dark-10; }
35
+ .ag7 { background: $susy-background-dark-20; }
36
+ .ag4, .ag5, .ag8, .ag9 { background: lighten($red,25); }
37
+ .ag6 { background: lighten($orange,25); }
38
+ .ag10 { background: lighten($magenta,25); }
39
+
40
+ .ag1, .ag3 { min-height: rhythm(18); }
41
+ .ag6 { min-height: rhythm(11); }
42
+
43
+ .ag1 { @include span-columns(2,10); }
44
+ .ag2 { @include span-columns(6,10); }
45
+ .ag3 { @include span-columns(2 omega, 10); }
46
+ .ag4 { @include span-columns(3,6); }
47
+ .ag5 { @include span-columns(3 omega,6); }
48
+ .ag6 { @include span-columns(2,6); }
49
+ .ag7 { @include span-columns(4 omega,6); }
50
+ .ag8 { @include span-columns(2,4); }
51
+ .ag9 { @include span-columns(2 omega,4); }
52
+ .ag10 { clear: both; }
53
+
54
+ + .highlight {
55
+ @include at-breakpoint(50em 10) {
56
+ @include span-columns(5,10);
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,61 @@
1
+ //-----------------------------------------------------------------------------
2
+ // Site Banner
3
+
4
+ [role="banner"] {
5
+ @include leading-border(3px,.5);
6
+ border-color: $susy-highlight;
7
+ text-align: center;
8
+
9
+ h1 {
10
+ @include adjust-font-size-to($xxlargepx);
11
+ @include at-breakpoint($break) {
12
+ @include adjust-font-size-to($xxxlargepx);
13
+ }
14
+
15
+ span { display: none; }
16
+
17
+ a {
18
+ &:before { content: "\2039"; }
19
+ &:after { content: "\203A"; }
20
+ &:before, &:after {
21
+ font-size: .875em;
22
+ position: relative;
23
+ top: -.16em;
24
+ letter-spacing: -.025em;
25
+ }
26
+ #{$focus} {
27
+ b, span { letter-spacing: 0; }
28
+ span { opacity: 1; }
29
+ color: $susy-highlight;
30
+ }
31
+ }
32
+
33
+ @include at-breakpoint($break) {
34
+ .fontface & {
35
+ b, span {
36
+ @include transition(all 300ms);
37
+ display: inline-block;
38
+ text-transform: uppercase;
39
+ letter-spacing: -.44em;
40
+ }
41
+ span { opacity: 0; }
42
+ }
43
+ }
44
+ }
45
+
46
+ h2 {
47
+ @include adjust-font-size-to($medpx);
48
+ @include leader(-1,$medpx);
49
+ @include trailer(.5,$medpx);
50
+ display: block;
51
+ position: relative;
52
+ z-index: 2;
53
+
54
+ @include at-breakpoint($break) {
55
+ @include adjust-font-size-to($largepx);
56
+ @include leader(-1,$largepx);
57
+ @include trailer(1,$largepx);
58
+ }
59
+ }
60
+
61
+ }