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,104 @@
1
+ //-----------------------------------------------------------------------------
2
+ // Style
3
+
4
+ $grid-background-column-color: lighten($susy-background,3%);
5
+
6
+ %text {
7
+ @include sans;
8
+ h2, h3, h4 { font-weight: bold; }
9
+ h2 {
10
+ @include adjust-font-size-to($largepx);
11
+ @include trailer(1,$largepx);
12
+ }
13
+ h3 { text-transform: uppercase; }
14
+ h3, p, ul, ol { @include trailer; }
15
+ strong, code { font-weight: bold; }
16
+ em { font-style: italic; }
17
+ }
18
+
19
+ body {
20
+ @include background(
21
+ linear-gradient(top,
22
+ $susy-background,
23
+ $grid-background-column-color 10%,
24
+ $grid-background-column-color 80%,
25
+ $susy-background
26
+ )
27
+ );
28
+ }
29
+
30
+ .page {
31
+ @include susy-grid-background;
32
+ @include at-breakpoint($break) {
33
+ @include susy-grid-background;
34
+ }
35
+ }
36
+
37
+ .banner {
38
+ @include sans;
39
+ @include leader;
40
+ @include trailer;
41
+ font-weight: bold;
42
+ h1 {
43
+ @include adjust-font-size-to($xlargepx);
44
+ color: $red;
45
+ }
46
+ h2 {
47
+ text-transform: uppercase;
48
+ }
49
+ }
50
+
51
+ .pagenav {
52
+ @include cond;
53
+ @include trailer(1);
54
+ font-weight: bold;
55
+ h3 { display: none; }
56
+ li {
57
+ display: inline-block;
58
+ margin-right: 1em;
59
+ }
60
+ @include at-breakpoint($break) {
61
+ @include leader(3);
62
+ li {
63
+ display: block;
64
+ margin-right: 0;
65
+ }
66
+ }
67
+ }
68
+
69
+ .main { @include trailer; }
70
+ .content { @extend %text; }
71
+
72
+ .summary {
73
+ color: $base1;
74
+ h3 {
75
+ @include trailer;
76
+ text-transform: uppercase;
77
+ }
78
+ p {
79
+ @include trailer;
80
+ font-style: italic;
81
+ }
82
+ @include at-breakpoint($break) {
83
+ @include leader(3);
84
+ }
85
+ }
86
+
87
+ .contentinfo {
88
+ @include padding-leader;
89
+ @include padding-trailer;
90
+ @include text-shadow($susy-highlight-dark-10 0 1px 0);
91
+ background: $alt;
92
+ color: $base3;
93
+ a {
94
+ #{$link} {
95
+ color: $susy-background-dark-20;
96
+ font-weight: bold;
97
+ }
98
+ #{$focus} {
99
+ color: $base3;
100
+ }
101
+ }
102
+ p { @include trailer; }
103
+ b { font-weight: bold; }
104
+ }
@@ -0,0 +1,88 @@
1
+ //-----------------------------------------------------------------------------
2
+ // Expanded Container Mixin
3
+
4
+ @mixin demo-container {
5
+ @include container;
6
+ background: $base2;
7
+ &:hover {
8
+ @include susy-grid-background;
9
+ background-color: transparent;
10
+ }
11
+ }
12
+
13
+ //-----------------------------------------------------------------------------
14
+ // Magic Grid
15
+
16
+ $total-columns: 12;
17
+ $column-width: 4em;
18
+ $gutter-width: 1em;
19
+ $grid-padding: 1em;
20
+
21
+ $container-width: false;
22
+ $container-style: magic;
23
+
24
+ .magic-container { @include demo-container; }
25
+
26
+ //-----------------------------------------------------------------------------
27
+ // Fluid Grid
28
+
29
+ $total-columns: 12;
30
+ $column-width: 60px;
31
+ $gutter-width: 20px;
32
+ $grid-padding: 10px;
33
+
34
+ $container-width: false;
35
+ $container-style: fluid;
36
+
37
+ .fluid-container { @include demo-container; }
38
+
39
+ $container-width: 60%;
40
+ $container-style: fluid;
41
+
42
+ .fluid-60-container { @include demo-container; }
43
+
44
+ //-----------------------------------------------------------------------------
45
+ // Static Grid
46
+
47
+ $total-columns: 12;
48
+ $column-width: 4em;
49
+ $gutter-width: 1em;
50
+ $grid-padding: 1em;
51
+
52
+ $container-width: false;
53
+ $container-style: static;
54
+
55
+ .static-container { @include demo-container; }
56
+
57
+ //-----------------------------------------------------------------------------
58
+ // Mixing and Matching
59
+
60
+ $total-columns: 12;
61
+ $column-width: 60px;
62
+ $gutter-width: 20px;
63
+ $grid-padding: 10px;
64
+
65
+ $container-style: static;
66
+ $container-width: 1140px;
67
+
68
+ .larger-960-container { @include demo-container; }
69
+
70
+ $total-columns: 12;
71
+ $column-width: 60px;
72
+ $gutter-width: 20px;
73
+ $grid-padding: 10px;
74
+
75
+ $container-style: magic;
76
+ $container-width: 60em;
77
+
78
+ .elastic-960-container { @include demo-container; }
79
+
80
+ $total-columns: 12;
81
+ $column-width: 6%;
82
+ $gutter-width: 2%;
83
+ $grid-padding: 1%;
84
+
85
+ $container-style: magic;
86
+ $container-width: 50em;
87
+
88
+ .elastic-percentage-container { @include demo-container; }
@@ -0,0 +1,57 @@
1
+ //-----------------------------------------------------------------------------
2
+ // The Basics
3
+
4
+ $total-columns: 6;
5
+ $column-width: 4em;
6
+ $gutter-width: 1em;
7
+ $grid-padding: 1em;
8
+
9
+ $container-width: 500px;
10
+
11
+ [role="main"] {
12
+ @extend %type;
13
+ @include trailer(5);
14
+ h2, h3, > p, div { @include container; }
15
+ aside {
16
+ border: 1px solid $base2;
17
+ text-align: center;
18
+ b { font-weight: bold; }
19
+ p { @include trailer(2); }
20
+ }
21
+ }
22
+
23
+ //-----------------------------------------------------------------------------
24
+ // Banner
25
+
26
+ [role='banner'] {
27
+ @include container;
28
+ @include sans;
29
+ @include leader;
30
+ @include trailer;
31
+ font-weight: bold;
32
+ h1 {
33
+ @include adjust-font-size-to($xlargepx);
34
+ color: $red;
35
+ }
36
+ h2 {
37
+ text-transform: uppercase;
38
+ }
39
+ }
40
+
41
+ $total-columns: 9;
42
+ $container-width: false;
43
+
44
+ .pagenav {
45
+ @include container;
46
+ @include trailer;
47
+ @include sans;
48
+ background: $base2;
49
+ text-align: center;
50
+ ul { @include inline-block-list; }
51
+ a {
52
+ display: block;
53
+ padding: rhythm(.5) rhythm(1);
54
+ font-weight: bold;
55
+ text-transform: capitalize;
56
+ }
57
+ }
@@ -0,0 +1,70 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Settings
3
+
4
+ $fallback : "Adobe Caslon Pro",Caslon,Baskerville,Palatino,"Palatino Linotype","Hoefler Text",Garamond,"URW Palladio L","Book Antiqua",Georgia,serif;
5
+ $font-stack : "CenturyOldStyleFS", $fallback;
6
+ $caps-stack : "CenturyOldStyleFSCaps", $fallback;
7
+ $amp-stack : "BaskervilleAmp", $font-stack;
8
+
9
+ // ---------------------------------------------------------------------------
10
+ // Fonts
11
+
12
+ @include font-face (
13
+ 'CenturyOldStyleFS',
14
+ font-files(
15
+ 'CenturyOldStyle-Regular-webfont.woff', 'woff',
16
+ 'CenturyOldStyle-Regular-webfont.ttf', 'truetype',
17
+ 'CenturyOldStyle-Regular-webfont.svg#webfont', 'svg'
18
+ ),
19
+ 'CenturyOldStyle-Regular-webfont.eot',
20
+ normal,
21
+ normal
22
+ );
23
+
24
+ @include font-face (
25
+ 'CenturyOldStyleFS',
26
+ font-files(
27
+ 'CenturyOldStyle-Bold-webfont.woff', 'woff',
28
+ 'CenturyOldStyle-Bold-webfont.ttf', 'truetype',
29
+ 'CenturyOldStyle-Bold-webfont.svg#webfont', 'svg'
30
+ ),
31
+ 'CenturyOldStyle-Bold-webfont.eot',
32
+ bold,
33
+ normal
34
+ );
35
+
36
+ @include font-face (
37
+ 'CenturyOldStyleFS',
38
+ font-files(
39
+ 'CenturyOldStyle-Italic-webfont.woff', 'woff',
40
+ 'CenturyOldStyle-Italic-webfont.ttf', 'truetype',
41
+ 'CenturyOldStyle-Italic-webfont.svg#webfont', 'svg'
42
+ ),
43
+ 'CenturyOldStyle-Italic-webfont.eot',
44
+ normal,
45
+ italic
46
+ );
47
+
48
+ @include font-face (
49
+ 'CenturyOldStyleFSCaps',
50
+ font-files(
51
+ 'CenturyOldStyleCaps-Regular-webfont.woff', 'woff',
52
+ 'CenturyOldStyleCaps-Regular-webfont.ttf', 'truetype',
53
+ 'CenturyOldStyleCaps-Regular-webfont.svg#webfont', 'svg'
54
+ ),
55
+ 'CenturyOldStyleCaps-Regular-webfont.eot',
56
+ normal,
57
+ normal
58
+ );
59
+
60
+ @include font-face (
61
+ 'BaskervilleAmp',
62
+ font-files(
63
+ 'Baskerville-amp-webfont.woff', 'woff',
64
+ 'Baskerville-amp-webfont.ttf', 'truetype',
65
+ 'Baskerville-amp-webfont.svg#webfont', 'svg'
66
+ ),
67
+ 'Baskerville-amp-webfont.eot',
68
+ normal,
69
+ normal
70
+ );
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Web Fonts from fontspring.com
3
+ *
4
+ * All OpenType features and all extended glyphs have been removed.
5
+ * Fully installable fonts can be purchased at http://www.fontspring.com
6
+ *
7
+ * The fonts included in this stylesheet are subject to the End User License you purchased
8
+ * from Fontspring. The fonts are protected under domestic and international trademark and
9
+ * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
10
+ * distributing this font software.
11
+ *
12
+ * (c) 2010 Fontspring
13
+ *
14
+ *
15
+ *
16
+ *
17
+ * The fonts included are copyrighted by the vendor listed below.
18
+ *
19
+ * Vendor: FontSite Inc.
20
+ * License URL: http://www.fontspring.com/fflicense/fontsite
21
+ *
22
+ *
23
+ */
@@ -0,0 +1,26 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Imports
3
+
4
+ @import "font-license";
5
+ @import "franklin-gothic";
6
+ @import "century-oldstyle";
7
+
8
+ //-----------------------------------------------------------------------------
9
+ // Settings
10
+
11
+ $mono-stack : Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;
12
+
13
+ //-----------------------------------------------------------------------------
14
+ // Mixins
15
+
16
+ @mixin serif { font-family: $font-stack; }
17
+ @mixin sans { font-family: $sans-stack; }
18
+ @mixin cond { font-family: $cond-stack; }
19
+
20
+ @mixin caps($serif: false) {
21
+ @if $serif {
22
+ font-family: $caps-stack;
23
+ }
24
+ text-transform: uppercase;
25
+ }
26
+
@@ -0,0 +1,112 @@
1
+ // ---------------------------------------------------------------------------
2
+ // Settings
3
+
4
+ $sans-stack : 'FranklinGothicFSBook', 'Helvetica Neue', Arial, Helvetica, sans-serif;
5
+ $cond-stack : 'FranklinGothicFSCd', 'Helvetica Neue', Arial, Helvetica, sans-serif;
6
+
7
+ // ---------------------------------------------------------------------------
8
+ // Fonts
9
+
10
+ // Franklin Gothic Book
11
+ @include font-face (
12
+ 'FranklinGothicFS',
13
+ font-files(
14
+ 'FranklinGothic-Book-webfont.woff', 'woff',
15
+ 'FranklinGothic-Book-webfont.ttf', 'truetype',
16
+ 'FranklinGothic-Book-webfont.svg#webfont', 'svg'
17
+ ),
18
+ 'FranklinGothic-Book-webfont.eot',
19
+ $weight : normal,
20
+ $style : normal
21
+ );
22
+
23
+ // Franklin Gothic Book Italic
24
+ @include font-face (
25
+ 'FranklinGothicFS',
26
+ font-files(
27
+ 'FranklinGothic-BookIt-webfont.woff', 'woff',
28
+ 'FranklinGothic-BookIt-webfont.ttf', 'truetype',
29
+ 'FranklinGothic-BookIt-webfont.svg#webfont', 'svg'
30
+ ),
31
+ 'FranklinGothic-BookIt-webfont.eot',
32
+ $weight : normal,
33
+ $style : italic
34
+ );
35
+
36
+ // Franklin Gothic Medium
37
+ @include font-face (
38
+ 'FranklinGothicFS',
39
+ font-files(
40
+ 'FranklinGothic-Med-webfont.woff', 'woff',
41
+ 'FranklinGothic-Med-webfont.ttf', 'truetype',
42
+ 'FranklinGothic-Med-webfont.svg#webfont', 'svg'
43
+ ),
44
+ 'FranklinGothic-Med-webfont.eot',
45
+ $weight : bold,
46
+ $style : normal
47
+ );
48
+
49
+ // Franklin Gothic Medium Italic
50
+ @include font-face (
51
+ 'FranklinGothicFS',
52
+ font-files(
53
+ 'FranklinGothic-MedIt-webfont.woff', 'woff',
54
+ 'FranklinGothic-MedIt-webfont.ttf', 'truetype',
55
+ 'FranklinGothic-MedIt-webfont.svg#webfont', 'svg'
56
+ ),
57
+ 'FranklinGothic-MedIt-webfont.eot',
58
+ $weight : bold,
59
+ $style : italic
60
+ );
61
+
62
+ // Franklin Gothic Condensed
63
+ @include font-face (
64
+ 'FranklinGothicFSCd',
65
+ font-files(
66
+ 'FranklinGothic-Cd-webfont.woff', 'woff',
67
+ 'FranklinGothic-Cd-webfont.ttf', 'truetype',
68
+ 'FranklinGothic-Cd-webfont.svg#webfont', 'svg'
69
+ ),
70
+ 'FranklinGothic-Cd-webfont.eot',
71
+ $weight : normal,
72
+ $style : normal
73
+ );
74
+
75
+ // Franklin Gothic Condensed Italic
76
+ @include font-face (
77
+ 'FranklinGothicFSCd',
78
+ font-files(
79
+ 'FranklinGothic-CdIt-webfont.woff', 'woff',
80
+ 'FranklinGothic-CdIt-webfont.ttf', 'truetype',
81
+ 'FranklinGothic-CdIt-webfont.svg#webfont', 'svg'
82
+ ),
83
+ 'FranklinGothic-CdIt-webfont.eot',
84
+ $weight : normal,
85
+ $style : italic
86
+ );
87
+
88
+ // Franklin Gothic Condensed Medium
89
+ @include font-face (
90
+ 'FranklinGothicFSCd',
91
+ font-files(
92
+ 'FranklinGothic-MedCd-webfont.woff', 'woff',
93
+ 'FranklinGothic-MedCd-webfont.ttf', 'truetype',
94
+ 'FranklinGothic-MedCd-webfont.svg#webfont', 'svg'
95
+ ),
96
+ 'FranklinGothic-MedCd-webfont.eot',
97
+ $weight : bold,
98
+ $style : normal
99
+ );
100
+
101
+ // Franklin Gothic Condensed Medium Italic
102
+ @include font-face (
103
+ 'FranklinGothicFSCd',
104
+ font-files(
105
+ 'FranklinGothic-MedCdIt-webfont.woff', 'woff',
106
+ 'FranklinGothic-MedCdIt-webfont.ttf', 'truetype',
107
+ 'FranklinGothic-MedCdIt-webfont.svg#webfont', 'svg'
108
+ ),
109
+ 'FranklinGothic-MedCdIt-webfont.eot',
110
+ $weight : bold,
111
+ $style : italic
112
+ );