jeet 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/jeet.rb +4 -0
- data/stylesheets/_jeet.scss +1 -0
- data/stylesheets/jeet/_grid.scss +93 -0
- data/stylesheets/jeet/_index.scss +21 -0
- data/stylesheets/jeet/_reset.scss +207 -0
- data/stylesheets/jeet/_settings.scss +85 -0
- data/stylesheets/jeet/_shame.scss +39 -0
- data/stylesheets/jeet/_typography.scss +189 -0
- data/stylesheets/jeet/_utilities.scss +132 -0
- metadata +80 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 437db5eee7b7e979b2fb68cd0507d1d8af434038
|
4
|
+
data.tar.gz: 5e57de4d96437802c67895a81745b7acc5db2d51
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b8a59c212635e799d9f3c4b84fe28ebf911faa79a003828983c5514c586b1b625721d85799c074f6e9e0a5532ed8a0a46ff2ad9e4bb167cbd1747063b47f0f0d
|
7
|
+
data.tar.gz: 44e0e00352194c767da769f0c796ca60023e96cbc92e69d3583ffe1e92459298e525a46f155d0a9da1ad96447a4c82a942101b2eeff5de68d68f84a12f246924
|
data/lib/jeet.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
@import 'jeet/index';
|
@@ -0,0 +1,93 @@
|
|
1
|
+
// Columns with Gutters
|
2
|
+
@mixin column($ratios: 1, $offset: 0, $cycle: 0, $uncycle: 0) {
|
3
|
+
$side: get_layout_direction();
|
4
|
+
$column_widths: get_column($ratios);
|
5
|
+
$margin_l: 0;
|
6
|
+
$margin_last: $margin_l;
|
7
|
+
$margin_r: nth($column_widths, 2);
|
8
|
+
@if $offset != 0 {
|
9
|
+
@if $offset < 0 {
|
10
|
+
$offset: $offset * -1;
|
11
|
+
$offset: nth(get_column($offset, nth($column_widths, 2)), 1);
|
12
|
+
$margin_r: $offset + nth($column_widths, 2) * 2;
|
13
|
+
$margin_last: $margin_r;
|
14
|
+
} @else {
|
15
|
+
$offset: nth(get_column($offset, nth($column_widths, 2)), 1);
|
16
|
+
$margin_l: $offset + nth($column_widths, 2);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
@include cf;
|
20
|
+
float: $side;
|
21
|
+
display: inline;
|
22
|
+
clear: none;
|
23
|
+
text-align: inherit;
|
24
|
+
padding-left: 0;
|
25
|
+
padding-right: 0;
|
26
|
+
width: nth($column_widths, 1) + unquote("%");
|
27
|
+
margin-#{$side}: $margin_l + unquote("%");
|
28
|
+
margin-#{opposite-position($side)}: $margin_r + unquote("%");
|
29
|
+
@if $uncycle != 0 {
|
30
|
+
&:nth-child(#{$uncycle}n) {
|
31
|
+
margin-#{opposite-position($side)}: $margin_r + unquote("%");
|
32
|
+
float: $side;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
@if $cycle != 0 {
|
36
|
+
&:nth-child(#{$cycle}n) {
|
37
|
+
margin-#{opposite-position($side)}: $margin_last + unquote("%");
|
38
|
+
float: opposite-position($side);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
@else {
|
42
|
+
&:last-child {
|
43
|
+
margin-#{opposite-position($side)}: $margin_last + unquote("%");
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
// Columns without Gutters
|
49
|
+
@mixin span($ratio: 1, $offset: 0) {
|
50
|
+
$side: get_layout_direction();
|
51
|
+
$span_width: get_span($ratio);
|
52
|
+
$margin_l: 0;
|
53
|
+
$margin_r: $margin_l;
|
54
|
+
@if $offset != 0 {
|
55
|
+
@if $offset < 0 {
|
56
|
+
$offset: $offset * -1;
|
57
|
+
$margin_r: get_span($offset);
|
58
|
+
} @else {
|
59
|
+
$margin_l: get_span($offset);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
@include cf;
|
63
|
+
float: $side;
|
64
|
+
display: inline;
|
65
|
+
clear: none;
|
66
|
+
padding-left: 0;
|
67
|
+
padding-right: 0;
|
68
|
+
text-align: inherit;
|
69
|
+
width: $span_width + unquote("%");
|
70
|
+
margin-#{$side}: $margin_l + unquote("%");
|
71
|
+
margin-#{opposite-position($side)}: $margin_r + unquote("%");
|
72
|
+
}
|
73
|
+
|
74
|
+
// Source Ordering
|
75
|
+
@mixin shift($ratios: 0, $col_or_span: column){
|
76
|
+
$side: get_layout_direction();
|
77
|
+
@if $side == right {
|
78
|
+
$ratios: replace_nth($ratios, 0, nth($ratios, 1) * -1);
|
79
|
+
}
|
80
|
+
@if $col_or_span == column or $col_or_span == col or $col_or_span == c {
|
81
|
+
$column_widths: get_column($ratios);
|
82
|
+
$translate: nth($column_widths, 1) + nth($column_widths, 2);
|
83
|
+
left: $translate + unquote("%");
|
84
|
+
} @else {
|
85
|
+
$translate: get_span($ratios);
|
86
|
+
left: $translate + unquote("%");
|
87
|
+
}
|
88
|
+
position: relative;
|
89
|
+
}
|
90
|
+
@mixin unshift() {
|
91
|
+
position: static;
|
92
|
+
left: 0;
|
93
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* Syntax Quick Reference
|
2
|
+
----------------------
|
3
|
+
@include edit;
|
4
|
+
@include center($max_width: 1410px, $pad: 0);
|
5
|
+
@include stack($pad: 0, $align: center);
|
6
|
+
@include unstack;
|
7
|
+
@include align($direction: both);
|
8
|
+
@include cf;
|
9
|
+
@include column($ratios: 1, $offset: 0, $cycle: 0, $uncycle: 0);
|
10
|
+
@include span($ratio: 1, $offset: 0);
|
11
|
+
@include shift($ratios: 0, $col_or_span: column);
|
12
|
+
@include unshift;
|
13
|
+
*/
|
14
|
+
|
15
|
+
@import 'breakpoint'; // http://breakpoint-sass.com
|
16
|
+
@import '_settings';
|
17
|
+
@import '_shame';
|
18
|
+
@import '_utilities';
|
19
|
+
@import '_reset';
|
20
|
+
@import '_grid';
|
21
|
+
@import '_typography';
|
@@ -0,0 +1,207 @@
|
|
1
|
+
@mixin normalize() { // v2.1.3
|
2
|
+
article,
|
3
|
+
aside,
|
4
|
+
details,
|
5
|
+
figcaption,
|
6
|
+
figure,
|
7
|
+
footer,
|
8
|
+
header,
|
9
|
+
hgroup,
|
10
|
+
main,
|
11
|
+
nav,
|
12
|
+
section,
|
13
|
+
summary {
|
14
|
+
display: block;
|
15
|
+
}
|
16
|
+
audio,
|
17
|
+
canvas,
|
18
|
+
video {
|
19
|
+
display: inline-block;
|
20
|
+
}
|
21
|
+
audio:not([controls]) {
|
22
|
+
display: none;
|
23
|
+
height: 0;
|
24
|
+
}
|
25
|
+
[hidden],
|
26
|
+
template {
|
27
|
+
display: none;
|
28
|
+
}
|
29
|
+
html {
|
30
|
+
font-family: sans-serif;
|
31
|
+
text-size-adjust: 100%;
|
32
|
+
}
|
33
|
+
body {
|
34
|
+
margin: 0;
|
35
|
+
}
|
36
|
+
a {
|
37
|
+
background: transparent;
|
38
|
+
}
|
39
|
+
a:focus {
|
40
|
+
outline: thin dotted;
|
41
|
+
}
|
42
|
+
a:active,
|
43
|
+
a:hover {
|
44
|
+
outline: 0;
|
45
|
+
}
|
46
|
+
h1 {
|
47
|
+
font-size: 2em;
|
48
|
+
margin: 0.67em 0;
|
49
|
+
}
|
50
|
+
abbr[title] {
|
51
|
+
border-bottom: 1px dotted;
|
52
|
+
}
|
53
|
+
b,
|
54
|
+
strong {
|
55
|
+
font-weight: bold;
|
56
|
+
}
|
57
|
+
dfn {
|
58
|
+
font-style: italic;
|
59
|
+
}
|
60
|
+
hr {
|
61
|
+
box-sizing: content-box;
|
62
|
+
height: 0;
|
63
|
+
}
|
64
|
+
mark {
|
65
|
+
background: #ff0;
|
66
|
+
color: #000;
|
67
|
+
}
|
68
|
+
code,
|
69
|
+
kbd,
|
70
|
+
pre,
|
71
|
+
samp {
|
72
|
+
font-family: monospace, serif;
|
73
|
+
font-size: 1em;
|
74
|
+
}
|
75
|
+
pre {
|
76
|
+
white-space: pre-wrap;
|
77
|
+
}
|
78
|
+
q {
|
79
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
80
|
+
}
|
81
|
+
small {
|
82
|
+
font-size: 80%;
|
83
|
+
}
|
84
|
+
sub,
|
85
|
+
sup {
|
86
|
+
font-size: 75%;
|
87
|
+
line-height: 0;
|
88
|
+
position: relative;
|
89
|
+
vertical-align: baseline;
|
90
|
+
}
|
91
|
+
sup {
|
92
|
+
top: -0.5em;
|
93
|
+
}
|
94
|
+
sub {
|
95
|
+
bottom: -0.25em;
|
96
|
+
}
|
97
|
+
img {
|
98
|
+
border: 0;
|
99
|
+
}
|
100
|
+
svg:not(:root) {
|
101
|
+
overflow: hidden;
|
102
|
+
}
|
103
|
+
figure {
|
104
|
+
margin: 0;
|
105
|
+
}
|
106
|
+
fieldset {
|
107
|
+
border: 1px solid #c0c0c0;
|
108
|
+
margin: 0 2px;
|
109
|
+
padding: 0.35em 0.625em 0.75em;
|
110
|
+
}
|
111
|
+
legend {
|
112
|
+
border: 0;
|
113
|
+
padding: 0;
|
114
|
+
}
|
115
|
+
button,
|
116
|
+
input,
|
117
|
+
select,
|
118
|
+
textarea {
|
119
|
+
font-family: inherit;
|
120
|
+
font-size: 100%;
|
121
|
+
margin: 0;
|
122
|
+
}
|
123
|
+
button,
|
124
|
+
input {
|
125
|
+
line-height: normal;
|
126
|
+
}
|
127
|
+
button,
|
128
|
+
select {
|
129
|
+
text-transform: none;
|
130
|
+
}
|
131
|
+
button,
|
132
|
+
html input[type="button"],
|
133
|
+
input[type="reset"],
|
134
|
+
input[type="submit"] {
|
135
|
+
-webkit-appearance: button;
|
136
|
+
cursor: pointer;
|
137
|
+
}
|
138
|
+
button[disabled],
|
139
|
+
html input[disabled] {
|
140
|
+
cursor: default;
|
141
|
+
}
|
142
|
+
input[type="checkbox"],
|
143
|
+
input[type="radio"] {
|
144
|
+
box-sizing: border-box;
|
145
|
+
padding: 0;
|
146
|
+
}
|
147
|
+
input[type="search"] {
|
148
|
+
-webkit-appearance: textfield;
|
149
|
+
box-sizing: content-box;
|
150
|
+
}
|
151
|
+
input[type="search"]::-webkit-search-cancel-button,
|
152
|
+
input[type="search"]::-webkit-search-decoration {
|
153
|
+
-webkit-appearance: none;
|
154
|
+
}
|
155
|
+
button::-moz-focus-inner,
|
156
|
+
input::-moz-focus-inner {
|
157
|
+
border: 0;
|
158
|
+
padding: 0;
|
159
|
+
}
|
160
|
+
textarea {
|
161
|
+
overflow: auto;
|
162
|
+
vertical-align: top;
|
163
|
+
}
|
164
|
+
table {
|
165
|
+
border-collapse: collapse;
|
166
|
+
border-spacing: 0;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
@include normalize();
|
171
|
+
|
172
|
+
*, *:before, *:after, *::before, *::after {
|
173
|
+
*behavior: url(js/vendor/boxsizing.htc);
|
174
|
+
box-sizing: border-box;
|
175
|
+
margin: 0;
|
176
|
+
padding: 0;
|
177
|
+
}
|
178
|
+
html {
|
179
|
+
overflow-y: scroll;
|
180
|
+
overflow-x: hidden;
|
181
|
+
}
|
182
|
+
body {
|
183
|
+
@include cf;
|
184
|
+
width: 100%;
|
185
|
+
}
|
186
|
+
img, video, audio, embed, object, input, iframe {
|
187
|
+
max-width: 100%;
|
188
|
+
}
|
189
|
+
.cf {
|
190
|
+
@include cf;
|
191
|
+
}
|
192
|
+
.browsehappy {
|
193
|
+
width: 100%;
|
194
|
+
padding: 15px 0;
|
195
|
+
background: #fff;
|
196
|
+
border-bottom: 1px solid #ddd;
|
197
|
+
p {
|
198
|
+
@include center;
|
199
|
+
text-align: center;
|
200
|
+
&:last-of-type {
|
201
|
+
margin-bottom: 0;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
a {
|
205
|
+
color: blue;
|
206
|
+
}
|
207
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
// Responsive
|
2
|
+
$mobile_first: true;
|
3
|
+
$breakpoint: 705px;
|
4
|
+
|
5
|
+
//Better default colors - https://github.com/jenius/axis/blob/master/axis/settings.styl
|
6
|
+
$red: #B44326;
|
7
|
+
$orange: #F2A34F;
|
8
|
+
$yellow: #F8CA5C;
|
9
|
+
$green: #7FC028;
|
10
|
+
$light-blue: #52D7FE;
|
11
|
+
$blue: #00a6fc;
|
12
|
+
$purple: #8E48C2;
|
13
|
+
$white: #fff;
|
14
|
+
$black: #272727;
|
15
|
+
|
16
|
+
//Custom Palette
|
17
|
+
$c1: lighten(blue, 10%);
|
18
|
+
$c2: darken(blue, 20%);
|
19
|
+
$c3: darken(blue, 80%);
|
20
|
+
$c4: darken(white, 5%);
|
21
|
+
$c5: white;
|
22
|
+
|
23
|
+
//Grid Settings
|
24
|
+
$gutter: 3;
|
25
|
+
$parent_first: false;
|
26
|
+
$layout_direction: LTR;
|
27
|
+
|
28
|
+
// Font Stacks - http://www.awayback.com/revised-font-stack
|
29
|
+
// Sans-serif
|
30
|
+
$optima: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
|
31
|
+
$futura: Futura, "Trebuchet MS", Arial, sans-serif;
|
32
|
+
$gill_sans: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
|
33
|
+
$trebuchet: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
|
34
|
+
$helvetica: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
35
|
+
$verdana: Verdana, Geneva, sans-serif;
|
36
|
+
$lucida_grande: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
37
|
+
$geneva: Geneva, Tahoma, Verdana, sans-serif;
|
38
|
+
$segoe: Segoe, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
39
|
+
$candara: Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif;
|
40
|
+
$calibri: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;
|
41
|
+
$franklin: "Franklin Gothic Medium", Arial, sans-serif;
|
42
|
+
$tahoma: Tahoma, Geneva, Verdana, sans-serif;
|
43
|
+
|
44
|
+
// Serif
|
45
|
+
$garamond: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
|
46
|
+
$lucida_bright: "Lucida Bright", Georgia, serif;
|
47
|
+
$palatino: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
|
48
|
+
$caslon: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif;
|
49
|
+
$didot: Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", serif;
|
50
|
+
$baskerville: Baskerville, "Baskerville old face", "Hoefler Text", Garamond, "Times New Roman", serif;
|
51
|
+
$hoefler: "Hoefler Text", "Baskerville old face", Garamond, "Times New Roman", serif;
|
52
|
+
$bodoni: "Bodoni MT", Didot, "Didot LT STD", "Hoefler Text", Garamond, "Times New Roman", serif;
|
53
|
+
$goudy: "Goudy Old Style", Garamond, "Big Caslon", "Times New Roman", serif;
|
54
|
+
$constantia: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
|
55
|
+
$cambria: Cambria, Georgia, serif;
|
56
|
+
$antiqua: "Book Antiqua", Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
|
57
|
+
|
58
|
+
// Named Ratios - http://modularscale.com
|
59
|
+
$minor_second: 1.067;
|
60
|
+
$major_second: 1.125;
|
61
|
+
$minor_third: 1.2;
|
62
|
+
$major_third: 1.25;
|
63
|
+
$perfect_fourth: 1.333;
|
64
|
+
$aug_fourth: 1.414;
|
65
|
+
$perfect_fifth: 1.5;
|
66
|
+
$minor_sixth: 1.6;
|
67
|
+
$golden: 1.618;
|
68
|
+
$major_sixth: 1.667;
|
69
|
+
$minor_seventh: 1.778;
|
70
|
+
$major_seventh: 1.875;
|
71
|
+
$octave: 2;
|
72
|
+
$major_tenth: 2.5;
|
73
|
+
$major_eleventh: 2.667;
|
74
|
+
$major_twelfth: 3;
|
75
|
+
$double_octave: 4;
|
76
|
+
|
77
|
+
// Typography Settings
|
78
|
+
$headers: $helvetica;
|
79
|
+
$header_color: #111;
|
80
|
+
$header_weight: 200;
|
81
|
+
$tagline_color: #aaa;
|
82
|
+
$body: $helvetica;
|
83
|
+
$body_color: #444;
|
84
|
+
$primary_ratio: $perfect_fifth;
|
85
|
+
$secondary_ratio: $major_seventh;
|
@@ -0,0 +1,39 @@
|
|
1
|
+
$g: $gutter;
|
2
|
+
@mixin col($args...) {
|
3
|
+
@include column($args...)
|
4
|
+
}
|
5
|
+
@function get_span($ratio: 1) {
|
6
|
+
@return $ratio * 100;
|
7
|
+
}
|
8
|
+
@function get_column($ratios: 1, $g: $gutter) {
|
9
|
+
@if $parent_first == false { $ratios: reverse($ratios); }
|
10
|
+
$w: 100;
|
11
|
+
@each $ratio in $ratios {
|
12
|
+
$g: $g / $w * 100;
|
13
|
+
$w: 100 * $ratio - $g + $ratio * $g;
|
14
|
+
}
|
15
|
+
@return $w $g;
|
16
|
+
}
|
17
|
+
@function get_layout_direction() {
|
18
|
+
$result: if($layout_direction == RTL, right, left);
|
19
|
+
@return $result;
|
20
|
+
}
|
21
|
+
@function replace_nth($list, $index, $value) {
|
22
|
+
$result: ();
|
23
|
+
$index: if($index < 0, length($list) + $index + 1, $index);
|
24
|
+
@for $i from 1 through length($list) {
|
25
|
+
@if $i == $index {
|
26
|
+
$result: append($result, $value);
|
27
|
+
} @else {
|
28
|
+
$result: append($result, nth($list, $i));
|
29
|
+
}
|
30
|
+
}
|
31
|
+
@return $result;
|
32
|
+
}
|
33
|
+
@function reverse($list) {
|
34
|
+
$result: ();
|
35
|
+
@each $item in $list {
|
36
|
+
@return join($item, $result);
|
37
|
+
}
|
38
|
+
@return $result;
|
39
|
+
}
|
@@ -0,0 +1,189 @@
|
|
1
|
+
// Aliasing _settings.scss Variables
|
2
|
+
$pr: $primary_ratio;
|
3
|
+
$sr: $secondary_ratio;
|
4
|
+
|
5
|
+
// Modular Scale Mixin
|
6
|
+
@function ms($numbawang: 1, $ratio: pr) {
|
7
|
+
@if ($ratio == $sr) {
|
8
|
+
@return $numbawang * $sr + unquote("px");
|
9
|
+
} @else {
|
10
|
+
@return $numbawang * $pr + unquote("px");
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
// Primary Typography
|
15
|
+
html {
|
16
|
+
font-family: $body;
|
17
|
+
font-weight: 200;
|
18
|
+
color: $body_color;
|
19
|
+
font-size: ms(10);
|
20
|
+
line-height: ms(15);
|
21
|
+
}
|
22
|
+
a {
|
23
|
+
color: $blue;
|
24
|
+
&:hover {
|
25
|
+
color: darken($blue, 10%);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
h1, h2, h3, h4, h5, h6, p, ul, ol, dt, pre, code {
|
29
|
+
margin-top: 0;
|
30
|
+
}
|
31
|
+
h1, h2, h3, h4, h5, h6, dt {
|
32
|
+
font-family: $headers;
|
33
|
+
font-weight: $header_weight;
|
34
|
+
color: $header_color;
|
35
|
+
@if $headers == $optima { letter-spacing: -.015em; }
|
36
|
+
@if $headers == $futura { letter-spacing: -.035em; }
|
37
|
+
@if $headers == $gill_sans { letter-spacing: 0; }
|
38
|
+
@if $headers == $trebuchet { letter-spacing: -.025em; }
|
39
|
+
@if $headers == $helvetica { letter-spacing: -.015em; }
|
40
|
+
@if $headers == $verdana { letter-spacing: -.045em; }
|
41
|
+
@if $headers == $lucida_grande { letter-spacing: -.045em; }
|
42
|
+
@if $headers == $segoe { letter-spacing: .015em; }
|
43
|
+
@if $headers == $candara { letter-spacing: -.025em; }
|
44
|
+
@if $headers == $calibri { letter-spacing: -.025em; }
|
45
|
+
@if $headers == $franklin { letter-spacing: -.025em; }
|
46
|
+
@if $headers == $tahoma { letter-spacing: 0; }
|
47
|
+
@if $headers == $garamond { letter-spacing: -.015em; }
|
48
|
+
@if $headers == $lucida_bright { letter-spacing: -.015em; }
|
49
|
+
@if $headers == $palatino { letter-spacing: -.015em; }
|
50
|
+
@if $headers == $caslon { letter-spacing: .025em; }
|
51
|
+
@if $headers == $didot { letter-spacing: -.035em; }
|
52
|
+
@if $headers == $baskerville { letter-spacing: -.025em; }
|
53
|
+
@if $headers == $hoefler { letter-spacing: -.025em; }
|
54
|
+
@if $headers == $bodoni { letter-spacing: -.025em; }
|
55
|
+
@if $headers == $goudy { letter-spacing: .025em; }
|
56
|
+
@if $headers == $constantia { letter-spacing: -.025em; }
|
57
|
+
@if $headers == $cambria { letter-spacing: 0; }
|
58
|
+
@if $headers == $antiqua { letter-spacing: -.015em; }
|
59
|
+
}
|
60
|
+
h1 {
|
61
|
+
font-size: ms(28);
|
62
|
+
line-height: ms(30);
|
63
|
+
margin-bottom: ms(10);
|
64
|
+
}
|
65
|
+
h2 {
|
66
|
+
font-size: ms(25);
|
67
|
+
line-height: ms(28);
|
68
|
+
margin-bottom: ms(8);
|
69
|
+
}
|
70
|
+
h3 {
|
71
|
+
font-size: ms(22);
|
72
|
+
line-height: ms(26);
|
73
|
+
margin-bottom: ms(6);
|
74
|
+
}
|
75
|
+
h4 {
|
76
|
+
font-size: ms(20);
|
77
|
+
line-height: ms(24);
|
78
|
+
margin-bottom: ms(4);
|
79
|
+
}
|
80
|
+
h5 {
|
81
|
+
font-size: ms(16);
|
82
|
+
line-height: ms(22);
|
83
|
+
margin-bottom: ms(2);
|
84
|
+
}
|
85
|
+
h6 {
|
86
|
+
font-size: ms(13);
|
87
|
+
line-height: ms(20);
|
88
|
+
margin-bottom: ms(0);
|
89
|
+
}
|
90
|
+
p, ul, ol, pre, dl {
|
91
|
+
margin-bottom: ms(10);
|
92
|
+
}
|
93
|
+
ul, ol {
|
94
|
+
padding-left: 1.4em;
|
95
|
+
}
|
96
|
+
li, dd {
|
97
|
+
margin-bottom: ms(5);
|
98
|
+
}
|
99
|
+
pre {
|
100
|
+
font-size: ms(8);
|
101
|
+
}
|
102
|
+
header {
|
103
|
+
p { color: $tagline_color }
|
104
|
+
h1 ~ p { margin-top: -#{ms(5)}; }
|
105
|
+
h2 ~ p { margin-top: -#{ms(4)}; }
|
106
|
+
h3 ~ p { margin-top: -#{ms(3)}; }
|
107
|
+
h4 ~ p { margin-top: -#{ms(2)}; }
|
108
|
+
h5 ~ p { margin-top: -#{ms(1)}; }
|
109
|
+
h6 ~ p { margin-top: -#{ms(1)}; }
|
110
|
+
}
|
111
|
+
code {
|
112
|
+
padding: 3px 4px;
|
113
|
+
color: $body_color;
|
114
|
+
background-color: #F5F5F5;
|
115
|
+
border: 1px solid #E1E1E8;
|
116
|
+
border-radius: 3px;
|
117
|
+
font-family: Menlo, Monaco, monospace;
|
118
|
+
}
|
119
|
+
pre {
|
120
|
+
display: block;
|
121
|
+
padding: 7px;
|
122
|
+
background-color: #F5F5F5;
|
123
|
+
border: 1px solid #E1E1E8;
|
124
|
+
border-radius: 3px;
|
125
|
+
white-space: pre-wrap;
|
126
|
+
word-break: break-all;
|
127
|
+
font-family: Menlo, Monaco, monospace;
|
128
|
+
line-height: 160%;
|
129
|
+
}
|
130
|
+
.browsehappy {
|
131
|
+
span {
|
132
|
+
font-size: ms(8);
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
// Secondary Typography
|
137
|
+
@include breakpoint($breakpoint) {
|
138
|
+
html {
|
139
|
+
font-size: ms(10, $sr);
|
140
|
+
line-height: ms(15, $sr);
|
141
|
+
}
|
142
|
+
h1 {
|
143
|
+
font-size: ms(28, $sr);
|
144
|
+
line-height: ms(30, $sr);
|
145
|
+
margin-bottom: ms(10, $sr);
|
146
|
+
}
|
147
|
+
h2 {
|
148
|
+
font-size: ms(25, $sr);
|
149
|
+
line-height: ms(28, $sr);
|
150
|
+
margin-bottom: ms(8, $sr);
|
151
|
+
}
|
152
|
+
h3 {
|
153
|
+
font-size: ms(22, $sr);
|
154
|
+
line-height: ms(26, $sr);
|
155
|
+
margin-bottom: ms(6, $sr);
|
156
|
+
}
|
157
|
+
h4 {
|
158
|
+
font-size: ms(19, $sr);
|
159
|
+
line-height: ms(24, $sr);
|
160
|
+
margin-bottom: ms(4, $sr);
|
161
|
+
}
|
162
|
+
h5 {
|
163
|
+
font-size: ms(16, $sr);
|
164
|
+
line-height: ms(22, $sr);
|
165
|
+
margin-bottom: ms(2, $sr);
|
166
|
+
}
|
167
|
+
h6 {
|
168
|
+
font-size: ms(13, $sr);
|
169
|
+
line-height: ms(20, $sr);
|
170
|
+
margin-bottom: ms(0, $sr);
|
171
|
+
}
|
172
|
+
p, ul, ol, pre, dl{
|
173
|
+
margin-bottom: ms(10, $sr);
|
174
|
+
}
|
175
|
+
li, dd{
|
176
|
+
margin-bottom: ms(5, $sr);
|
177
|
+
}
|
178
|
+
pre{
|
179
|
+
font-size: ms(8, $sr);
|
180
|
+
}
|
181
|
+
header {
|
182
|
+
h1 ~ p { margin-top: -#{ms(5, $sr)} }
|
183
|
+
h2 ~ p { margin-top: -#{ms(4, $sr)} }
|
184
|
+
h3 ~ p { margin-top: -#{ms(3, $sr)} }
|
185
|
+
h4 ~ p { margin-top: -#{ms(2, $sr)} }
|
186
|
+
h5 ~ p { margin-top: -#{ms(1, $sr)} }
|
187
|
+
h6 ~ p { margin-top: -#{ms(1, $sr)} }
|
188
|
+
}
|
189
|
+
}
|
@@ -0,0 +1,132 @@
|
|
1
|
+
// Edit Mode
|
2
|
+
@mixin edit() {
|
3
|
+
* {
|
4
|
+
background: #eee;
|
5
|
+
background: rgba(0,0,0, 0.05);
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
// Horizontal Centering Block Elements
|
10
|
+
@mixin center($max_width: 1410px, $pad: 0) {
|
11
|
+
@include cf;
|
12
|
+
width: auto;
|
13
|
+
max-width: $max_width;
|
14
|
+
float: none;
|
15
|
+
display: block;
|
16
|
+
margin-right: auto;
|
17
|
+
margin-left: auto;
|
18
|
+
padding-left: $pad;
|
19
|
+
padding-right: $pad;
|
20
|
+
}
|
21
|
+
|
22
|
+
// Stacking/Unstacking Elements
|
23
|
+
@mixin stack($pad: 0, $align: center) {
|
24
|
+
$side: get_layout_direction();
|
25
|
+
display: block;
|
26
|
+
clear: both;
|
27
|
+
float: none;
|
28
|
+
width: 100%;
|
29
|
+
margin-left: auto;
|
30
|
+
margin-right: auto;
|
31
|
+
&:first-child {
|
32
|
+
margin-#{$side}: auto;
|
33
|
+
}
|
34
|
+
&:last-child {
|
35
|
+
margin-#{opposite-position($side)}: auto;
|
36
|
+
}
|
37
|
+
@if $pad != 0 {
|
38
|
+
padding-left: $pad;
|
39
|
+
padding-right: $pad;
|
40
|
+
}
|
41
|
+
@if ($align == center) or ($align == c) {
|
42
|
+
text-align: center;
|
43
|
+
} @elseif ($align == left) or ($align == l) {
|
44
|
+
text-align: left;
|
45
|
+
} @elseif ($align == right) or ($align == r) {
|
46
|
+
text-align: right;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
@mixin unstack() {
|
51
|
+
$side: get_layout_direction();
|
52
|
+
display: inline;
|
53
|
+
clear: none;
|
54
|
+
width: auto;
|
55
|
+
margin-left: 0;
|
56
|
+
margin-right: 0;
|
57
|
+
&:first-child {
|
58
|
+
margin-#{$side}: 0
|
59
|
+
}
|
60
|
+
&:last-child {
|
61
|
+
margin-#{opposite-position($side)}: 0;
|
62
|
+
}
|
63
|
+
@if ($layout_direction == RTL) {
|
64
|
+
text-align: right;
|
65
|
+
} @else {
|
66
|
+
text-align: left;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
// Horizontal/Vertical/Both Alignment - Parent container needs position relative. IE9+
|
71
|
+
@mixin align($direction: both) {
|
72
|
+
position: absolute;
|
73
|
+
@if ($direction == horizontal) or ($direction == h) {
|
74
|
+
left: 50%;
|
75
|
+
transform: translateX(-50%);
|
76
|
+
} @elseif ($direction == vertical) or ($direction == v) {
|
77
|
+
top: 50%;
|
78
|
+
transform: translateY(-50%);
|
79
|
+
} @else {
|
80
|
+
top: 50%;
|
81
|
+
left: 50%;
|
82
|
+
transform: translate(-50%, -50%);
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
// Clearfix
|
87
|
+
@mixin cf() {
|
88
|
+
*zoom: 1;
|
89
|
+
&:before, &:after {
|
90
|
+
content: '';
|
91
|
+
display: table;
|
92
|
+
}
|
93
|
+
&:after {
|
94
|
+
clear: both;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
%cf {
|
98
|
+
@include cf;
|
99
|
+
}
|
100
|
+
|
101
|
+
// CSS Easing
|
102
|
+
// https://github.com/thoughtbot/bourbon/blob/master/app/assets/stylesheets/addons/_timing-functions.scss
|
103
|
+
|
104
|
+
// ease-in
|
105
|
+
$ease-in-quad : cubic-bezier(0.550, 0.085, 0.680, 0.530);
|
106
|
+
$ease-in-cubic : cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
107
|
+
$ease-in-quart : cubic-bezier(0.895, 0.030, 0.685, 0.220);
|
108
|
+
$ease-in-quint : cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
109
|
+
$ease-in-sine : cubic-bezier(0.470, 0.000, 0.745, 0.715);
|
110
|
+
$ease-in-expo : cubic-bezier(0.950, 0.050, 0.795, 0.035);
|
111
|
+
$ease-in-circ : cubic-bezier(0.600, 0.040, 0.980, 0.335);
|
112
|
+
$ease-in-back : cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
113
|
+
|
114
|
+
// ease-out
|
115
|
+
$ease-out-quad : cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
116
|
+
$ease-out-cubic : cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
117
|
+
$ease-out-quart : cubic-bezier(0.165, 0.840, 0.440, 1.000);
|
118
|
+
$ease-out-quint : cubic-bezier(0.230, 1.000, 0.320, 1.000);
|
119
|
+
$ease-out-sine : cubic-bezier(0.390, 0.575, 0.565, 1.000);
|
120
|
+
$ease-out-expo : cubic-bezier(0.190, 1.000, 0.220, 1.000);
|
121
|
+
$ease-out-circ : cubic-bezier(0.075, 0.820, 0.165, 1.000);
|
122
|
+
$ease-out-back : cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
123
|
+
|
124
|
+
// ease-in-out
|
125
|
+
$ease-in-out-quad : cubic-bezier(0.455, 0.030, 0.515, 0.955);
|
126
|
+
$ease-in-out-cubic : cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
127
|
+
$ease-in-out-quart : cubic-bezier(0.770, 0.000, 0.175, 1.000);
|
128
|
+
$ease-in-out-quint : cubic-bezier(0.860, 0.000, 0.070, 1.000);
|
129
|
+
$ease-in-out-sine : cubic-bezier(0.445, 0.050, 0.550, 0.950);
|
130
|
+
$ease-in-out-expo : cubic-bezier(1.000, 0.000, 0.000, 1.000);
|
131
|
+
$ease-in-out-circ : cubic-bezier(0.785, 0.135, 0.150, 0.860);
|
132
|
+
$ease-in-out-back : cubic-bezier(0.680, -0.550, 0.265, 1.550);
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jeet
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Cory Simmons / MojoTech
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2011-11-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: compass
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.11'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.11'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: breakpoint
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
description: Jeet was originally a Stylus grid framework but has since been ported
|
42
|
+
to SCSS. This is the Compass gem to make Jeet integration into Ruby projects seamless.
|
43
|
+
email: cory@mojotech.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- lib/jeet.rb
|
49
|
+
- stylesheets/_jeet.scss
|
50
|
+
- stylesheets/jeet/_grid.scss
|
51
|
+
- stylesheets/jeet/_index.scss
|
52
|
+
- stylesheets/jeet/_reset.scss
|
53
|
+
- stylesheets/jeet/_settings.scss
|
54
|
+
- stylesheets/jeet/_shame.scss
|
55
|
+
- stylesheets/jeet/_typography.scss
|
56
|
+
- stylesheets/jeet/_utilities.scss
|
57
|
+
homepage: http://jeetframework.com
|
58
|
+
licenses: []
|
59
|
+
metadata: {}
|
60
|
+
post_install_message:
|
61
|
+
rdoc_options: []
|
62
|
+
require_paths:
|
63
|
+
- lib
|
64
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - '>='
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
requirements: []
|
75
|
+
rubyforge_project:
|
76
|
+
rubygems_version: 2.1.10
|
77
|
+
signing_key:
|
78
|
+
specification_version: 4
|
79
|
+
summary: Modern Compass grid framework
|
80
|
+
test_files: []
|