style-tiles 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/lib/style-tiles.rb +30 -0
  3. data/stylesheets/style-tiles.scss +9 -0
  4. data/stylesheets/style-tiles/core/_content.scss +11 -0
  5. data/stylesheets/style-tiles/core/_mixins.scss +134 -0
  6. data/stylesheets/style-tiles/core/_structure.scss +168 -0
  7. data/stylesheets/style-tiles/core/_typography.scss +69 -0
  8. data/stylesheets/style-tiles/core/_variables.scss +160 -0
  9. data/templates/project/config.rb +50 -0
  10. data/templates/project/fonts/DroidSerif/DroidSerif-Bold-webfont.eot +0 -0
  11. data/templates/project/fonts/DroidSerif/DroidSerif-Bold-webfont.svg +150 -0
  12. data/templates/project/fonts/DroidSerif/DroidSerif-Bold-webfont.ttf +0 -0
  13. data/templates/project/fonts/DroidSerif/DroidSerif-Bold-webfont.woff +0 -0
  14. data/templates/project/fonts/DroidSerif/DroidSerif-BoldItalic-webfont.eot +0 -0
  15. data/templates/project/fonts/DroidSerif/DroidSerif-BoldItalic-webfont.svg +150 -0
  16. data/templates/project/fonts/DroidSerif/DroidSerif-BoldItalic-webfont.ttf +0 -0
  17. data/templates/project/fonts/DroidSerif/DroidSerif-BoldItalic-webfont.woff +0 -0
  18. data/templates/project/fonts/DroidSerif/DroidSerif-Italic-webfont.eot +0 -0
  19. data/templates/project/fonts/DroidSerif/DroidSerif-Italic-webfont.svg +150 -0
  20. data/templates/project/fonts/DroidSerif/DroidSerif-Italic-webfont.ttf +0 -0
  21. data/templates/project/fonts/DroidSerif/DroidSerif-Italic-webfont.woff +0 -0
  22. data/templates/project/fonts/DroidSerif/DroidSerif-Regular-webfont.eot +0 -0
  23. data/templates/project/fonts/DroidSerif/DroidSerif-Regular-webfont.svg +150 -0
  24. data/templates/project/fonts/DroidSerif/DroidSerif-Regular-webfont.ttf +0 -0
  25. data/templates/project/fonts/DroidSerif/DroidSerif-Regular-webfont.woff +0 -0
  26. data/templates/project/fonts/DroidSerif/Google Android License.txt +18 -0
  27. data/templates/project/fonts/Pacifico/Pacifico SIL OFL Font License 1.1.txt +94 -0
  28. data/templates/project/fonts/Pacifico/Pacifico-webfont.eot +0 -0
  29. data/templates/project/fonts/Pacifico/Pacifico-webfont.svg +150 -0
  30. data/templates/project/fonts/Pacifico/Pacifico-webfont.ttf +0 -0
  31. data/templates/project/fonts/Pacifico/Pacifico-webfont.woff +0 -0
  32. data/templates/project/fonts/Peralta/OFL.txt +93 -0
  33. data/templates/project/fonts/Peralta/peralta-regular-webfont.eot +0 -0
  34. data/templates/project/fonts/Peralta/peralta-regular-webfont.svg +243 -0
  35. data/templates/project/fonts/Peralta/peralta-regular-webfont.ttf +0 -0
  36. data/templates/project/fonts/Peralta/peralta-regular-webfont.woff +0 -0
  37. data/templates/project/html/screen-v1.html +550 -0
  38. data/templates/project/html/screen-v2.html +538 -0
  39. data/templates/project/html/screen-v3.html +529 -0
  40. data/templates/project/html/template.html +84 -0
  41. data/templates/project/images/logos/sample-logo.png +0 -0
  42. data/templates/project/images/logos/sassy-style-tiles-logo.png +0 -0
  43. data/templates/project/images/textures/asphalt.png +0 -0
  44. data/templates/project/images/textures/concrete.png +0 -0
  45. data/templates/project/images/textures/cotton-shirt.png +0 -0
  46. data/templates/project/images/textures/dark-concrete.png +0 -0
  47. data/templates/project/images/textures/denim.jpg +0 -0
  48. data/templates/project/images/textures/scratched-metal.png +0 -0
  49. data/templates/project/images/textures/scratched-metal2.png +0 -0
  50. data/templates/project/index.html +53 -0
  51. data/templates/project/manifest.rb +83 -0
  52. data/templates/project/sass/index.scss +11 -0
  53. data/templates/project/sass/partials/variations/_index.scss +33 -0
  54. data/templates/project/sass/partials/variations/_v1.scss +92 -0
  55. data/templates/project/sass/partials/variations/_v2.scss +69 -0
  56. data/templates/project/sass/partials/variations/_v3.scss +50 -0
  57. data/templates/project/sass/screen-v1.scss +11 -0
  58. data/templates/project/sass/screen-v2.scss +11 -0
  59. data/templates/project/sass/screen-v3.scss +11 -0
  60. metadata +130 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c92daa4865068d7f15cf15167a2a9dc91ff022b6
4
+ data.tar.gz: 64a04b01e0ff82ac3ae4207eca36b331fa7d3e58
5
+ SHA512:
6
+ metadata.gz: 91da17f827e6063ca6737e4c0c81c55448e8264fef6b7e29cc7ebd813fa4e654f770e508c1270a46a04588c0474f3c24c27362d93ba0c8dc1fd757474bad3b2c
7
+ data.tar.gz: 88e9d7d7db573e0146ff56aac03f70f34c6eab47ac78ad2a58391fdcbf3ffae95f712aee7fe61ae9cc8d5eff1977fb5e2414c4a9762f2f8060065d40e7a1c86f
@@ -0,0 +1,30 @@
1
+ # All gems that are required for this extension to work should go here.
2
+ # These are the requires you would normally put in your config.rb file
3
+ # By default, you should always included Compass. Do not include your
4
+ # extension.
5
+ require 'compass'
6
+
7
+ # This tells Compass what your Compass extension is called, and where to find
8
+ # its files
9
+ # Replace 'extension' with the name of your extension. Spaces allowed.
10
+ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
11
+ Compass::Frameworks.register('Style Tiles', :path => extension_path)
12
+
13
+ # Version and date of version for your Compass extension.
14
+ # Replace Extension with the name of your extension
15
+ # Letters, numbers, and underscores only
16
+ # Version is a number. If a version contains alphas, it will be created as
17
+ # a prerelease version
18
+ # Date is in the form of YYYY-MM-DD
19
+ module Style_Tiles
20
+ VERSION = "0.1"
21
+ DATE = "2013-06-14"
22
+ end
23
+
24
+ # This is where any custom SassScript should be placed. The functions will be
25
+ # available on require of your extension without the need for users to import
26
+ # any partials. Uncomment below.
27
+
28
+ # module Sass::Script::Functions
29
+ #
30
+ # end
@@ -0,0 +1,9 @@
1
+ @import "compass/reset";
2
+ @import "compass/typography";
3
+ @import "compass/css3";
4
+
5
+ // Import the base and style-tiles
6
+ @import "style-tiles/core/_content";
7
+ @import "style-tiles/core/_mixins";
8
+ @import "style-tiles/core/_variables";
9
+ @import "style-tiles/core/_typography";
@@ -0,0 +1,11 @@
1
+ // Content Variables
2
+
3
+ // Lorem ipsum — choose your flavor! http://designshack.net/articles/inspiration/30-useful-and-hilarious-lorem-ipsum-generators/
4
+
5
+ $para-1: "There's a voice that keeps on calling me. Down the road, that's where I'll always be. Every stop I make, I make a new friend. Can't stay for long, just turn around and I'm gone again. Maybe tomorrow, I'll want to settle down, Until tomorrow, I'll just keep moving on.";
6
+
7
+ $para-2: "Ten years ago a crack commando unit was sent to prison by a military court for a crime they didn't commit. These men promptly escaped from a maximum security stockade to the Los Angeles underground. Today, still wanted by the government, they survive as soldiers of fortune. If you have a problem and no one else can help, and if you can find them, maybe you can hire the A-team.";
8
+
9
+ $para-3: "Top Cat! The most effectual Top Cat! Who's intellectual close friends get to call him T.C., providing it's with dignity. Top Cat! The indisputable leader of the gang. He's the boss, he's a pip, he's the championship. He's the most tip top, Top Cat.";
10
+
11
+ $figure-caption: ''; // if your textures are form an external source that needs crediting i.e. istockphoto, squid fingers etc.
@@ -0,0 +1,134 @@
1
+ @mixin set-link-colors($link-color, $mode: saturation default, $amount-1: 10%, $amount-2: -20%) {
2
+
3
+ $link-color-over: adjust-saturation($link-color, $amount-1);
4
+ $link-color-visited: adjust-saturation($link-color, $amount-2);
5
+
6
+ @if $mode == lightness {
7
+ $link-color-over: adjust-lightness($link-color, $amount-1);
8
+ $link-color-visited: adjust-lightness($link-color, $amount-2);
9
+ }
10
+
11
+ @include hover-link;
12
+ @include link-colors( $link-color,
13
+ $hover: $link-color-over,
14
+ $active: $link-color-over,
15
+ $visited: $link-color-visited,
16
+ $focus: $link-color-over
17
+ );
18
+ }
19
+
20
+ @mixin st-text-shadow($text-shadow) {
21
+ @if $text-shadow { @include text-shadow( $text-shadow); }
22
+ }
23
+
24
+ @mixin type-size($size, $leading: false) {
25
+ font-size: $size;
26
+ @if $leading { line-height: $leading; }
27
+ }
28
+
29
+ @mixin st-font-face($font-name, $font-woff, $font-ttf, $inline-fonts: false, $font-style:normal, $font-weight:normal, $eot:false) {
30
+ @if $inline-fonts and $font-name { @include font-face($font-name, inline-font-files($font-woff, woff, $font-ttf, truetype), $eot, $font-weight, $font-style); }
31
+ @else if $font-name { @include font-face($font-name, font-files($font-woff, woff, $font-ttf, truetype), $eot, $font-weight, $font-style); }
32
+
33
+ }
34
+ @mixin st-font-faced($font-name: false) {
35
+ @if $font-name { font-family: $font-name; }
36
+ }
37
+
38
+ @mixin st-box-shadow($box-shadow) {
39
+ @if $box-shadow { @include box-shadow($box-shadow) }
40
+ }
41
+
42
+ @mixin content-before-after($content, $before: default, $after:false ) {
43
+ @if $before { &:before { content: $content; } }
44
+ @if $after { &:after { content: $content; } }
45
+ }
46
+
47
+ @mixin background($background-color, $background-image: false, $inline-images:false, $body-background-gradient-1: false, $body-background-gradient-position-1: false, $body-background-gradient-2: false, $body-background-gradient-position-2: false) {
48
+
49
+ @if $background-color { background-color: $background-color; }
50
+
51
+ @if $inline-images and $background-image { $background-image: inline-image("#{$background-image}"); }
52
+ @else if $background-image { $background-image: image-url("#{$background-image}"); }
53
+
54
+ @if $background-image and $body-background-gradient-1 and $body-background-gradient-2 { @include background-image(linear-gradient( $body-background-gradient-position-1, $body-background-gradient-1 ), linear-gradient( $body-background-gradient-position-2, $body-background-gradient-2 ), $background-image); }
55
+ @else if $background-image and $body-background-gradient-1 { @include background-image(linear-gradient( $body-background-gradient-position-1, $body-background-gradient-1 ), $background-image); }
56
+ @else if $body-background-gradient-1 and $body-background-gradient-2 { @include background-image(linear-gradient( $body-background-gradient-position-1, $body-background-gradient-1 ), linear-gradient( $body-background-gradient-position-2, $body-background-gradient-2 )); }
57
+ @else if $body-background-gradient-1 { @include background-image(linear-gradient( $body-background-gradient-position-1, $body-background-gradient-1 )); }
58
+ @else if $background-image { @include background-image($background-image) }
59
+ }
60
+
61
+ @mixin background-size($background-size: false) {
62
+ @if $background-size { background-size: $background-size; }
63
+ }
64
+
65
+ @mixin reset-margin-padding-border($margin :default, $padding: false, $border: false) {
66
+ @if $margin { margin: 0; }
67
+ @if $padding { padding: 0; }
68
+ @if $border { border: none; }
69
+ }
70
+ @mixin bold-italic-uppercase($bold :default, $italic: false, $uppercase: false) {
71
+ @if $bold { font-weight: bold; }
72
+ @if $italic { font-variant: italic; }
73
+ @if $uppercase { text-transform: uppercase; }
74
+ }
75
+
76
+ @mixin color-boxes($colors) {
77
+ $i : 1;
78
+ @each $color in $colors {
79
+ &:nth-of-type(#{$i}) {
80
+ border: $figure-border;
81
+ background:#{$color};
82
+ }
83
+ $i: $i + 1;
84
+ }
85
+ }
86
+
87
+ @mixin texture-boxes($textures, $inline-images: false) {
88
+ $i : 1;
89
+ @each $texture in $textures {
90
+ &:nth-of-type(#{$i}) {
91
+ border: $figure-border;
92
+ @if $inline-images { @include background-image(inline-image("textures/#{$texture}")); }
93
+ @else { background-image: image-url("textures/#{$texture}"); }
94
+ }
95
+ $i: $i + 1;
96
+ }
97
+ }
98
+ @mixin adjectives($adjectives) {
99
+ $i : 1;
100
+ @each $adjective in $adjectives {
101
+ li:nth-of-type(#{$i}):after {
102
+ content: "#{$adjective}";
103
+ }
104
+ $i: $i + 1;
105
+ }
106
+ }
107
+
108
+ @mixin button-style($button-background-color, $button-text-color, $button-corners: false, $button-border: false, $button-font-size: false, $button-gradient: false, $button-box-shadow: false) {
109
+ @if $button-corners { @include border-radius($button-corners) };
110
+ color: $button-text-color !important;
111
+ @if $button-gradient {
112
+ background: $button-background-color;
113
+ @include background-image(linear-gradient( tint($button-background-color, 20%) 5%, $button-background-color 20%, $button-background-color 80%, shade($button-background-color, 20%) 100%));
114
+ }
115
+ @else { background: $button-background-color; }
116
+ padding: ($standard-spacing / 2) $standard-spacing;
117
+ @if $button-text-shadow { @include st-text-shadow($button-text-shadow) };
118
+ @if $button-box-shadow { @include box-shadow($button-box-shadow) };
119
+ @if $button-border { border: $button-border };
120
+ @if $button-font-size { font-size: $button-font-size};
121
+ }
122
+
123
+ @mixin image-dimensions($image-url) {
124
+ $image-height: calc-em(image-height($image-url), $base-font-size);
125
+ $image-width: calc-em(image-width($image-url), $base-font-size);
126
+ height: $image-height;
127
+ width: $image-width;
128
+ @include background-size($image-width $image-height);
129
+ }
130
+
131
+ // Functions
132
+ @function calc-em($target-px, $context) {
133
+ @return ($target-px / $context) * 1em;
134
+ }
@@ -0,0 +1,168 @@
1
+ // http://paulirish.com/2012/box-sizing-border-box-ftw/
2
+ * {
3
+ @include box-sizing(border-box);
4
+ }
5
+ @include st-font-face($font-name, $font-woff, $font-ttf, $inline-fonts, $font-weight, $font-style);
6
+
7
+ body {
8
+ @include background($body-background-color, $body-background-image, $inline-images, $body-background-gradient-1, $body-background-gradient-position-1, $body-background-gradient-2, $body-background-gradient-position-2);
9
+ background-repeat: $body-background-repeat;
10
+ @include background-size($body-background-size);
11
+ }
12
+
13
+ a {
14
+ @include set-link-colors($link-color);
15
+ }
16
+ body > div {
17
+ width: $page-width;
18
+ margin: $page-margin;
19
+ @include st-box-shadow($page-box-shadow);
20
+ @include background($page-background-color, $page-background-image, $inline-images, $page-background-gradient-1, $page-background-gradient-position-1, $page-background-gradient-2, $page-background-gradient-position-2);
21
+ background-repeat: $page-background-repeat;
22
+ @include background-size($page-background-size);
23
+ color: $page-text-color;
24
+ @include st-text-shadow($main-text-shadow);
25
+ @include border-radius($page-corners);
26
+ }
27
+ section:nth-of-type(1) {
28
+ header {
29
+ height: $header-height;
30
+ padding: $header-padding;
31
+ @include background($header-background-color, $header-background-image, $inline-images, $header-background-gradient-1, $header-background-gradient-position-1, $header-background-gradient-2, $header-background-gradient-position-2);
32
+ background-repeat: $header-background-repeat;
33
+ @include background-size($header-background-size);
34
+ color: $header-text-color;
35
+ figure {
36
+ @include image-dimensions($logo-file);
37
+ @include background(false, $logo-file, $inline-images);
38
+ background-repeat: no-repeat;
39
+ float: $logo-float;
40
+ margin: $logo-margin;
41
+ padding: $standard-spacing;
42
+ @include st-box-shadow($logo-box-shadow);
43
+ }
44
+ hgroup {
45
+ text-align: $header-text-align;
46
+ h1 {
47
+ @include reset-margin-padding-border(true, true, false);
48
+ @include type-size($project-name-font-size, $project-name-line-height);
49
+ @include content-before-after($project-name, false, true);
50
+ }
51
+ h2 {
52
+ @include reset-margin-padding-border(true, true, false);
53
+ @include type-size($version-font-size, $version-line-height);
54
+ @include content-before-after($version-number, false, true);
55
+ }
56
+ }
57
+ }
58
+ }
59
+ section:nth-of-type(2){
60
+ clear: both;
61
+ padding: $standard-spacing;
62
+ article {
63
+ padding: $standard-spacing * 2;
64
+ width: $article-width;
65
+ float: left;
66
+ }
67
+ header {
68
+ h1 {
69
+ margin: $standard-spacing 0;
70
+ @include st-text-shadow($heading-h1-text-shadow);
71
+ @include bold-italic-uppercase($heading-h1-font-style);
72
+ @if $heading-h1-font-size { font-size:$heading-h1-font-size; }
73
+ @include st-font-faced($heading-h1-font-name);
74
+ color: $heading-h1-font-color;
75
+ }
76
+ h2 {
77
+ @include st-text-shadow($heading-h2-text-shadow);
78
+ @include bold-italic-uppercase($heading-h2-font-style);
79
+ @if $heading-h2-font-size { font-size:$heading-h2-font-size; }
80
+ @include st-font-faced($heading-h2-font-name);
81
+ color: $heading-h2-font-color;
82
+ }
83
+ @if $heading-h1-font-name { @include content-before-after("font: "$heading-h1-font-name, false, true) };
84
+ }
85
+ p:nth-of-type(1) {
86
+ display: block;
87
+ @include content-before-after($para-1);
88
+ }
89
+ p:nth-of-type(2) {
90
+ display: block;
91
+ @include content-before-after($para-2);
92
+ }
93
+ p:nth-of-type(3) {
94
+ display: block;
95
+ @include content-before-after($para-3);
96
+ }
97
+ p:nth-of-type(5) a {
98
+ @include button-style($button-background-color, $button-text-color, $button-corners, $button-border, $button-font-size, $button-gradient);
99
+ text-transform: capitalize;
100
+ &:hover, &:focus, &:active {
101
+ color: $button-text-color-over !important;
102
+ text-decoration: none;
103
+ background: $button-background-color-over;
104
+ }
105
+ }
106
+ }
107
+
108
+ aside {
109
+ display: block;
110
+ margin: $aside-margin;
111
+ padding: $aside-padding;
112
+ @include background($aside-background-color, $aside-background-image, $inline-images, $aside-background-gradient-1, $aside-background-gradient-position-1, $aside-background-gradient-2, $aside-background-gradient-position-2);
113
+ background-repeat: $aside-background-repeat;
114
+ @include background-size($aside-background-size);
115
+ @include border-radius($aside-border-radius);
116
+ outline: $aside-outline;
117
+ border: $aside-border;
118
+ @include st-box-shadow($aside-box-shadow);
119
+ color: $aside-text-color;
120
+ &:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3) {
121
+ float: left;
122
+ width: $aside-width;
123
+ }
124
+ &:nth-of-type(3) {
125
+ ul {
126
+ list-style: none;
127
+ display: inline;
128
+ @include adjectives($adjectives);
129
+ }
130
+ }
131
+ figure {
132
+ float: left;
133
+ margin: 0 $standard-spacing 0 0;
134
+ }
135
+ &:nth-of-type(1) figure {
136
+ width: $figure-width;
137
+ height: $figure-height;
138
+ @include color-boxes($colors);
139
+ }
140
+ &:nth-of-type(2) figure {
141
+ width: $texture-width;
142
+ height: $texture-height;
143
+ @include texture-boxes($textures, $inline-images);
144
+ }
145
+ }
146
+ figcaption {
147
+ clear: both;
148
+ display: block;
149
+ @include type-size($figure-caption-text-size, false);
150
+ @include content-before-after($figure-caption);
151
+ }
152
+ footer {
153
+ clear: both;
154
+ text-align: $footer-text-align;
155
+ padding: $standard-spacing;
156
+ @include content-before-after($footer-text, false, true);
157
+ @include background($footer-background-color, $footer-background-image, $inline-images, $footer-background-gradient-1, $footer-background-gradient-position-1, $footer-background-gradient-2, $footer-background-gradient-position-2);
158
+ color: $footer-text-color;
159
+ @include st-text-shadow($footer-text-shadow);
160
+ figure {
161
+ width: $footer-logo-width;
162
+ height: $footer-logo-height;
163
+ @include background(false, $footer-logo-file, $inline-images);
164
+ background-repeat: no-repeat;
165
+ float: left;
166
+ padding: $standard-spacing;
167
+ }
168
+ }
@@ -0,0 +1,69 @@
1
+ body {
2
+ font: normal 100% / #{$base-line-height} $primary-font;
3
+ }
4
+
5
+ pre,
6
+ code {
7
+ font-family: 'DejaVu Sans Mono', Monaco, Consolas, monospace;
8
+ }
9
+
10
+ /* `Headings
11
+ ----------------------------------------------------------------------------------------------------*/
12
+
13
+ h1 {
14
+ font-size: calc-em(24px, $base-font-size); /* 24px */
15
+ }
16
+
17
+ h2 {
18
+ font-size: calc-em(22px, $base-font-size); /* 22px */
19
+ }
20
+
21
+ h3 {
22
+ font-size: calc-em(20px, $base-font-size); /* 20px */
23
+ }
24
+
25
+ h4 {
26
+ font-size: calc-em(18px, $base-font-size); /* 18px */
27
+ }
28
+
29
+ h5 {
30
+ font-size: calc-em(16px, $base-font-size); /* 16px */
31
+ }
32
+
33
+ h6 {
34
+ font-size: calc-em(15px, $base-font-size); /* 15px */
35
+ }
36
+
37
+ /* `Spacing
38
+ ----------------------------------------------------------------------------------------------------*/
39
+
40
+ ol {
41
+ list-style: decimal;
42
+ }
43
+
44
+ ul {
45
+ list-style: disc;
46
+ }
47
+
48
+ li {
49
+ margin-left: 30px;
50
+ }
51
+
52
+ p,
53
+ dl,
54
+ hr,
55
+ h1,
56
+ h2,
57
+ h3,
58
+ h4,
59
+ h5,
60
+ h6,
61
+ ol,
62
+ ul,
63
+ pre,
64
+ table,
65
+ address,
66
+ fieldset,
67
+ figure {
68
+ margin-bottom: 20px;
69
+ }
@@ -0,0 +1,160 @@
1
+ // All Variables - Default
2
+
3
+ // Remove some legacy support since it's not really needed for style tiles (tell your clients to view style tiles a modern browser or send them a screenshot)
4
+ $support-for-original-webkit-gradients: false;
5
+ $legacy-support-for-mozilla: false;
6
+ $legacy-support-for-ie: false;
7
+ $experimental-support-for-microsoft: false;
8
+ $experimental-support-for-opera: false;
9
+
10
+ // Project Name and Version Header
11
+ $project-name: "Super Awesome Project";// You'll want to override this!
12
+ $version-number: "1.0" default;
13
+ $footer-text: '\2606\20 Designed by Rock Stars \2606'; // You'll want to override this!
14
+
15
+ /// Global Variables
16
+ $standard-spacing: calc-em(10px, $base-font-size);
17
+ $page-width: calc-em(960px, $base-font-size);
18
+ $article-width: calc-em(540px, $base-font-size);
19
+ $aside-width: calc-em(300px, $base-font-size);
20
+ $inline-images: true; // inline all images so you don't need to send them with the style sheet(s)
21
+
22
+
23
+ // Typography
24
+ $primary-font: 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
25
+ $base-font-size: 16px;
26
+ $base-line-height:1.5em;
27
+ $body-font-size: calc-em(14px, $base-font-size);
28
+
29
+ // @font-face fonts
30
+ $font-name: false;
31
+ $font-ttf: false;
32
+ $font-woff: false;
33
+ $font-eot: false; // we don't need this as it's not production code
34
+ $font-svg: false; // we don't need this either
35
+ $inline-fonts: true;
36
+ $font-weight: normal;
37
+ $font-style: normal;
38
+
39
+ /// Design Variables
40
+ $link-color: #00f;
41
+
42
+
43
+ // sample 5 colors and 3 textures (add figures to html for more)
44
+ $colors: #929ca5, #a2af45, #405b6b, #dfe1d1, #e5e5e5;
45
+ $textures: "concrete.png", "dark-concrete.png", "asphalt.png";
46
+ $adjectives: current, conservative, whimiscal, contradictory; //
47
+
48
+ $body-background-color: #efefef; // for older browsers that don't support gradients
49
+ $body-background-image: false; // e.g "asphalt.png"
50
+ $body-background-gradient-position-1: false; // e.g. top OR 45deg
51
+ $body-background-gradient-1: false; // rgba(0,0,0,.5) 0%, rgba(0,0,0,.25) 10%, rgba(0,0,0,0) 15%
52
+ $body-background-gradient-position-2: false; // e.g. right OR 0deg
53
+ $body-background-gradient-2: false; // $body-background-gradient-1 Or another gradient
54
+ $body-background-size: false; // 40px 40px OR contain
55
+ $body-background-repeat: repeat; // no-repeat OR repeat-x etc
56
+
57
+ $page-background-color: #f2f2f2; // for older browsers that don't support gradients or just a solid color
58
+ $page-background-image: false; // e.g "asphalt.png"
59
+ $page-background-gradient-position-1: false; // e.g. top OR 45deg
60
+ $page-background-gradient-1: false; // rgba(0,0,0,.5) 0%, rgba(0,0,0,.25) 10%, rgba(0,0,0,0) 15%
61
+ $page-background-gradient-position-2: false; // e.g. right OR 0deg
62
+ $page-background-gradient-2: false;
63
+ $page-background-size: false;
64
+ $page-background-repeat: repeat;
65
+ $page-box-shadow: false; // e.g. 5px 5px 10px rgba(0,0,0,.75), -5px 5px 10px rgba(0,0,0,.75)
66
+ $page-corners: false; // 0 10px
67
+ $page-margin: 0 auto ($standard-spacing * 4) auto; //
68
+ $page-text-color: #333;
69
+
70
+ // Logo is added as a background to a transparent image. Adjust height and width and source
71
+ $logo-margin: 0 $standard-spacing $standard-spacing 0; // TRBL: Top Right Bottom Left
72
+ $logo-float: left; // right OR none
73
+ $logo-file: "logos/sample-logo.png"; // e.g. "sample-logo.png"
74
+ $logo-box-shadow: false; // e.g. 5px 5px 10px rgba(0,0,0,.75)
75
+
76
+ $header-height: calc-em(image-height($logo-file), $base-font-size) + ($standard-spacing * 2); // allow some breathing room around the logo
77
+ $header-padding: $standard-spacing;
78
+ $header-background-color: false;
79
+ $header-background-image: false;
80
+ $header-background-gradient-position-1: false;
81
+ $header-background-gradient-1: false;
82
+ $header-background-gradient-position-2: false;
83
+ $header-background-gradient-2: false;
84
+ $header-background-size: false;
85
+ $header-background-repeat: repeat;
86
+ $header-text-color: false;
87
+ $header-text-align: right; // align the Project Name and Version Number text
88
+
89
+ // Project name and version font size / line-height
90
+ $project-name-font-size: 1em; // Override the default H1 size
91
+ $project-name-line-height: 1.5em;
92
+ $version-font-size: .9em; // Override the default H2 size
93
+ $version-line-height: 1em;
94
+
95
+ $heading-h1-text-shadow: false;
96
+ $heading-h1-font-style: false;
97
+ $heading-h1-font-color: none;
98
+ $heading-h1-font-name: false;
99
+ $heading-h1-font-size: false;
100
+
101
+ $heading-h2-text-shadow: false;
102
+ $heading-h2-font-style: false;
103
+ $heading-h2-font-color: none;
104
+ $heading-h2-font-name: false;
105
+ $heading-h2-font-size: false;
106
+
107
+ $main-text-shadow: false; //
108
+
109
+ $aside-margin: 0 0 $standard-spacing 0;
110
+ $aside-padding: $standard-spacing;
111
+ $aside-background-color: rgba(255,255,255,.25);
112
+ $aside-background-image: false;
113
+ $aside-background-gradient-position-1: false;
114
+ $aside-background-gradient-1: false;
115
+ $aside-background-gradient-position-2: false;
116
+ $aside-background-gradient-2: false;
117
+ $aside-background-size: false;
118
+ $aside-background-repeat: repeat;
119
+ $aside-box-shadow: none;
120
+ $aside-border: $standard-spacing solid rgba(255,255,255,.35);
121
+ $aside-border-radius: false; // 3px
122
+ $aside-outline: calc-em(1px, $base-font-size) solid rgba(200,200,200,.25);
123
+ $aside-text-color: #333;
124
+
125
+ // Figure (colors and textures boxes)
126
+ $figure-width: calc-em(40px, $base-font-size);
127
+ $figure-height: calc-em(40px, $base-font-size);
128
+ $texture-width: $figure-width * 2; // double the color size to show the textures better
129
+ $texture-height: $figure-height * 2; // same
130
+ $figure-border: calc-em(1px, $base-font-size) #888 solid; // only if there's a color
131
+
132
+ $figure-caption-text-size: calc-em(12px, $base-font-size); // if you want to credit eternal texture sources or add notes
133
+
134
+ $button-corners: calc-em(10px, $base-font-size); //
135
+ $button-background-color: #57068c;
136
+ $button-gradient: false; // automatic gradients
137
+ $button-text-color: #eee;
138
+ $button-font-size: 1.2em;
139
+ $button-text-shadow: false; // e.g 0px 1px 1px rgba(0,0,0,.5)
140
+ $button-border: calc-em(1px, $base-font-size) #eee solid;
141
+ $button-box-shadow: none; // e.g. 1px 1px 2px rgba(0,0,0,.5)
142
+ $button-text-color-over: adjust-lightness($button-text-color, 10%);
143
+ $button-background-color-over: adjust-lightness($button-background-color, 10%);
144
+
145
+ $footer-background-color: false ; // e.g. rgba(0,0,0,.75)
146
+ $footer-background-image: false;
147
+ $footer-background-gradient-position-1: false;
148
+ $footer-background-gradient-1: false;
149
+ $footer-background-gradient-position-2: false;
150
+ $footer-background-gradient-2: false;
151
+ $footer-background-size: false;
152
+ $footer-background-repeat: repeat;
153
+
154
+ $footer-text-color: rgba(255,255,255,.75);
155
+ $footer-text-align: right;
156
+ $footer-text-shadow: calc-em(-1px, $base-font-size) 0 calc-em(1px, $base-font-size) rgba(0,0,0,.5), 0 calc-em(1px, $base-font-size) calc-em(1px, $base-font-size) rgba(255,255,255,.35);
157
+
158
+ $footer-logo-file: false;
159
+ $footer-logo-width: calc-em(66px, $base-font-size);
160
+ $footer-logo-height: calc-em(24px, $base-font-size);