compass-columnal-plugin 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkdn +36 -0
- data/compass-columnal-plugin.gemspec +27 -0
- data/lib/columnal.rb +2 -0
- data/stylesheets/columnal/_grid.sass +520 -0
- data/stylesheets/columnal/_text.sass +162 -0
- data/templates/project/manifest.rb +19 -0
- metadata +65 -0
data/README.mkdn
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
Columnal Grid System - Compass Plugin
|
2
|
+
================================
|
3
|
+
|
4
|
+
Columnal is a responsive CSS grid system helping desktop and mobile browsers play nicely together.
|
5
|
+
See the official site for more info: <http://www.columnal.com//>
|
6
|
+
|
7
|
+
* This plugin is consistent with latest version of Columnal as of 10/01/2012
|
8
|
+
|
9
|
+
---------
|
10
|
+
|
11
|
+
This plugin adds the Columnal Grid System framework to [Compass](http://compass-style.org/).
|
12
|
+
This plugin is heavly based upon the 960.gs compass plugin written by Chris Eppstein and Matt Sanders.
|
13
|
+
I've tried to use the same mixin names whenever possible to make a migration easier.
|
14
|
+
|
15
|
+
Install
|
16
|
+
=======
|
17
|
+
|
18
|
+
to be added soon
|
19
|
+
|
20
|
+
Class-Based Grid System
|
21
|
+
=======================
|
22
|
+
|
23
|
+
To create a grid system that works like the original Columnal Grid System framework
|
24
|
+
use the `+grid-system-complete` mixin to generate the corresponding classes. You
|
25
|
+
can also customize the number of columns as demonstrated:
|
26
|
+
|
27
|
+
Example:
|
28
|
+
|
29
|
+
+grid-system-complete(24)
|
30
|
+
|
31
|
+
Making Semantic Grids
|
32
|
+
=====================
|
33
|
+
|
34
|
+
to be added soon
|
35
|
+
|
36
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{compass-columnal-plugin}
|
5
|
+
s.version = "0.0.1"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
|
8
|
+
s.authors = ["Diogo Biazus"]
|
9
|
+
s.date = %q{2012-01-12}
|
10
|
+
s.description = %q{The Columnal CSS grid system is a “remix” of a couple others with some custom code thrown in. The elastic grid system is borrowed from cssgrid.net, while some code inspiration (and the idea for subcolumns) are taken from 960.gs. Checkout at: http://www.columnal.com/}
|
11
|
+
s.email = %w{diogo@biazus.me}
|
12
|
+
s.has_rdoc = false
|
13
|
+
s.files = [
|
14
|
+
"compass-columnal-plugin.gemspec",
|
15
|
+
"README.mkdn",
|
16
|
+
"lib/columnal.rb",
|
17
|
+
"stylesheets/columnal/_grid.sass",
|
18
|
+
"stylesheets/columnal/_text.sass",
|
19
|
+
"templates/project/manifest.rb"
|
20
|
+
]
|
21
|
+
s.homepage = %q{https://github.com/diogob/compass-columnal-plugin}
|
22
|
+
s.require_paths = ["lib"]
|
23
|
+
s.rubyforge_project = %q{compass-columnal-plugin}
|
24
|
+
s.rubygems_version = %q{1.3.6}
|
25
|
+
s.summary = %q{Compass compatible Sass port of columnal grid system.}
|
26
|
+
s.add_dependency(%q<compass>, [">= 0.10.0"])
|
27
|
+
end
|
data/lib/columnal.rb
ADDED
@@ -0,0 +1,520 @@
|
|
1
|
+
// COLUMNAL - CORE
|
2
|
+
///*/////////////////////////////////////////// */
|
3
|
+
|
4
|
+
/* Column code based on work from cssgrid.net:
|
5
|
+
*The 1140px Grid by Andy Taylor – http://cssgrid.net – http://www.twitter.com/andytlr – http://www.catchingzebra.com
|
6
|
+
@import text
|
7
|
+
|
8
|
+
$columnal-grid-width: 1140px !default
|
9
|
+
|
10
|
+
$columnal-columns: 12 !default
|
11
|
+
|
12
|
+
$columnal-class-separator: "_" !default
|
13
|
+
|
14
|
+
=grid-container
|
15
|
+
padding-left: 20px
|
16
|
+
padding-right: 20px
|
17
|
+
img, object, embed
|
18
|
+
max-width: 100%
|
19
|
+
|
20
|
+
=grid-row($grid-width: $columnal-grid-width)
|
21
|
+
clear: both
|
22
|
+
width: 100%
|
23
|
+
max-width: $grid-width
|
24
|
+
margin: 0 auto
|
25
|
+
overflow: hidden
|
26
|
+
|
27
|
+
=grid-unit-base
|
28
|
+
float: left
|
29
|
+
margin-right: 3.8%
|
30
|
+
position: relative
|
31
|
+
|
32
|
+
=grid($n)
|
33
|
+
+grid-unit-base
|
34
|
+
width: (4.85% + 8.65% * ($n - 1))
|
35
|
+
@if $n == 12
|
36
|
+
clear: both
|
37
|
+
float: left
|
38
|
+
|
39
|
+
=grid-prefix($n)
|
40
|
+
padding-left: ($n*8.65%)
|
41
|
+
|
42
|
+
=grid-suffix($n)
|
43
|
+
padding-right: ($n*8.65%)
|
44
|
+
|
45
|
+
=last
|
46
|
+
+omega
|
47
|
+
|
48
|
+
=omega
|
49
|
+
margin-right: 0 !important
|
50
|
+
|
51
|
+
=margin-top($n)
|
52
|
+
margin-top: $n !important
|
53
|
+
|
54
|
+
=margin-bottom($n)
|
55
|
+
margin-bottom: $n !important
|
56
|
+
|
57
|
+
=padding-top($n)
|
58
|
+
padding-top: $n !important
|
59
|
+
|
60
|
+
=padding-bottom($n)
|
61
|
+
padding-bottom: $n !important
|
62
|
+
|
63
|
+
=grids($cols: $columnal-columns)
|
64
|
+
#{enumerate(".col", 1, $cols, $columnal-class-separator)}
|
65
|
+
@for $n from 1 through $cols
|
66
|
+
.col#{$columnal-class-separator}#{$n}
|
67
|
+
+grid($n)
|
68
|
+
|
69
|
+
=grid-prefixes-sufixes($cols: $columnal-columns)
|
70
|
+
@for $n from 1 through $cols - 1
|
71
|
+
.pre#{$columnal-class-separator}#{$n}
|
72
|
+
+grid-prefix($n)
|
73
|
+
.suf#{$columnal-class-separator}#{$n}
|
74
|
+
+grid-suffix($n)
|
75
|
+
|
76
|
+
=grid-system-complete
|
77
|
+
+grids
|
78
|
+
+grid-prefixes-sufixes
|
79
|
+
+text
|
80
|
+
.row
|
81
|
+
+grid-row
|
82
|
+
.container
|
83
|
+
+grid-container
|
84
|
+
.last, .omega
|
85
|
+
+last
|
86
|
+
|
87
|
+
/*
|
88
|
+
*_______________________________
|
89
|
+
*Columnal - sub-columns
|
90
|
+
|
91
|
+
.col_2
|
92
|
+
.col_1
|
93
|
+
margin-right: 28.62%
|
94
|
+
width: 35.69%
|
95
|
+
.pre_1
|
96
|
+
padding-left: 35.69%
|
97
|
+
.suf_1
|
98
|
+
padding-right: 35.69%
|
99
|
+
|
100
|
+
/*
|
101
|
+
|
102
|
+
.col_3
|
103
|
+
.col_2
|
104
|
+
margin-right: 17.45%
|
105
|
+
.col_1
|
106
|
+
margin-right: 17.45%
|
107
|
+
width: 21.7%
|
108
|
+
.col_2
|
109
|
+
width: 60.86%
|
110
|
+
.pre_1
|
111
|
+
padding-left: 21.7%
|
112
|
+
.pre_2
|
113
|
+
padding-left: 60.86%
|
114
|
+
.suf_1
|
115
|
+
padding-right: 21.7%
|
116
|
+
.suf_2
|
117
|
+
padding-right: 60.86%
|
118
|
+
|
119
|
+
/*
|
120
|
+
|
121
|
+
.col_4
|
122
|
+
.col_3, .col_2
|
123
|
+
margin-right: 12.36%
|
124
|
+
.col_1
|
125
|
+
margin-right: 12.36%
|
126
|
+
width: 15.73%
|
127
|
+
.col_2
|
128
|
+
width: 43.82%
|
129
|
+
.col_3
|
130
|
+
width: 71.91%
|
131
|
+
.pre_1
|
132
|
+
padding-left: 28.09%
|
133
|
+
.pre_2
|
134
|
+
padding-left: 56.18%
|
135
|
+
.pre_3
|
136
|
+
padding-left: 84.27%
|
137
|
+
.suf_1
|
138
|
+
padding-right: 28.09%
|
139
|
+
.suf_2
|
140
|
+
padding-right: 56.18%
|
141
|
+
.suf_3
|
142
|
+
padding-right: 84.27%
|
143
|
+
|
144
|
+
/*
|
145
|
+
|
146
|
+
.col_5
|
147
|
+
.col_4, .col_3, .col_2
|
148
|
+
margin-right: 9.7%
|
149
|
+
.col_1
|
150
|
+
margin-right: 9.7%
|
151
|
+
width: 12.24%
|
152
|
+
.col_2
|
153
|
+
width: 34%
|
154
|
+
.col_3
|
155
|
+
width: 56.28%
|
156
|
+
.col_4
|
157
|
+
width: 78%
|
158
|
+
.pre_1
|
159
|
+
padding-left: 21.94%
|
160
|
+
.pre_2
|
161
|
+
padding-left: 43.7%
|
162
|
+
.pre_3
|
163
|
+
padding-left: 65.98%
|
164
|
+
.pre_4
|
165
|
+
padding-left: 87.7%
|
166
|
+
.suf_1
|
167
|
+
padding-right: 21.94%
|
168
|
+
.suf_2
|
169
|
+
padding-right: 43.7%
|
170
|
+
.suf_3
|
171
|
+
padding-right: 65.98%
|
172
|
+
.suf_4
|
173
|
+
padding-right: 87.7%
|
174
|
+
|
175
|
+
/*
|
176
|
+
|
177
|
+
.col_6
|
178
|
+
.col_5, .col_4, .col_3, .col_2
|
179
|
+
margin-right: 7.77%
|
180
|
+
.col_1
|
181
|
+
margin-right: 7.77%
|
182
|
+
width: 10.19%
|
183
|
+
.col_2
|
184
|
+
width: 28.13%
|
185
|
+
.col_3
|
186
|
+
width: 46.11%
|
187
|
+
.col_4
|
188
|
+
width: 64.1%
|
189
|
+
.col_5
|
190
|
+
width: 82%
|
191
|
+
.pre_1
|
192
|
+
padding-left: 89.77%
|
193
|
+
.pre_2
|
194
|
+
padding-left: 71.87%
|
195
|
+
.pre_3
|
196
|
+
padding-left: 53.88%
|
197
|
+
.pre_4
|
198
|
+
padding-left: 35.9%
|
199
|
+
.pre_5
|
200
|
+
padding-left: 17.96%
|
201
|
+
.suf_1
|
202
|
+
padding-right: 89.77%
|
203
|
+
.suf_2
|
204
|
+
padding-right: 71.87%
|
205
|
+
.suf_3
|
206
|
+
padding-right: 53.88%
|
207
|
+
.suf_4
|
208
|
+
padding-right: 35.9%
|
209
|
+
.suf_5
|
210
|
+
padding-right: 17.96%
|
211
|
+
|
212
|
+
/*
|
213
|
+
|
214
|
+
.col_7
|
215
|
+
.col_6, .col_5, .col_4, .col_3, .col_2
|
216
|
+
margin-right: 6.56%
|
217
|
+
.col_1
|
218
|
+
margin-right: 6.56%
|
219
|
+
width: 8.66%
|
220
|
+
.col_2
|
221
|
+
width: 23.88%
|
222
|
+
.col_3
|
223
|
+
width: 39.11%
|
224
|
+
.col_4
|
225
|
+
width: 54.33%
|
226
|
+
.col_5
|
227
|
+
width: 69.56%
|
228
|
+
.col_6
|
229
|
+
width: 84.78%
|
230
|
+
.pre_1
|
231
|
+
padding-left: 15.22%
|
232
|
+
.pre_2
|
233
|
+
padding-left: 30.44%
|
234
|
+
.pre_3
|
235
|
+
padding-left: 45.67%
|
236
|
+
.pre_4
|
237
|
+
padding-left: 60.89%
|
238
|
+
.pre_5
|
239
|
+
padding-left: 76.12%
|
240
|
+
.pre_6
|
241
|
+
padding-left: 91.34%
|
242
|
+
.suf_1
|
243
|
+
padding-right: 15.22%
|
244
|
+
.suf_2
|
245
|
+
padding-right: 30.44%
|
246
|
+
.suf_3
|
247
|
+
padding-right: 45.67%
|
248
|
+
.suf_4
|
249
|
+
padding-right: 60.89%
|
250
|
+
.suf_5
|
251
|
+
padding-right: 76.12%
|
252
|
+
.suf_6
|
253
|
+
padding-right: 91.34%
|
254
|
+
|
255
|
+
/*
|
256
|
+
|
257
|
+
.col_8
|
258
|
+
.col_7, .col_6, .col_5, .col_4, &.col_3, .col_2
|
259
|
+
margin-right: 5.78%
|
260
|
+
.col_1
|
261
|
+
margin-right: 5.78%
|
262
|
+
width: 7.44%
|
263
|
+
.col_2
|
264
|
+
width: 20.66%
|
265
|
+
.col_3
|
266
|
+
width: 33.89%
|
267
|
+
.col_4
|
268
|
+
width: 47.11%
|
269
|
+
.col_5
|
270
|
+
width: 60.33%
|
271
|
+
.col_6
|
272
|
+
width: 73.56%
|
273
|
+
.col_7
|
274
|
+
width: 86.78%
|
275
|
+
.pre_1
|
276
|
+
padding-left: 13.22%
|
277
|
+
.pre_2
|
278
|
+
padding-left: 26.44%
|
279
|
+
.pre_3
|
280
|
+
padding-left: 39.67%
|
281
|
+
.pre_4
|
282
|
+
padding-left: 52.89%
|
283
|
+
.pre_5
|
284
|
+
padding-left: 66.11%
|
285
|
+
.pre_6
|
286
|
+
padding-left: 79.34%
|
287
|
+
.pre_7
|
288
|
+
padding-left: 92.56%
|
289
|
+
.suf_1
|
290
|
+
padding-right: 13.22%
|
291
|
+
.suf_2
|
292
|
+
padding-right: 26.44%
|
293
|
+
.suf_3
|
294
|
+
padding-right: 39.67%
|
295
|
+
.suf_4
|
296
|
+
padding-right: 52.89%
|
297
|
+
.suf_5
|
298
|
+
padding-right: 66.11%
|
299
|
+
.suf_6
|
300
|
+
padding-right: 79.34%
|
301
|
+
.suf_7
|
302
|
+
padding-right: 92.56%
|
303
|
+
|
304
|
+
/*
|
305
|
+
|
306
|
+
.col_9
|
307
|
+
.col_1, .col_2, .col_3, .col_4, .col_5, .col_6, .col_7, .col_8
|
308
|
+
margin-right: 5.1%
|
309
|
+
.col_1
|
310
|
+
width: 6.57%
|
311
|
+
.col_2
|
312
|
+
width: 18.25%
|
313
|
+
.col_3
|
314
|
+
width: 29.93%
|
315
|
+
.col_4
|
316
|
+
width: 41.61%
|
317
|
+
.col_5
|
318
|
+
width: 53.25%
|
319
|
+
.col_6
|
320
|
+
width: 64.97%
|
321
|
+
.col_7
|
322
|
+
width: 76.65%
|
323
|
+
.col_8
|
324
|
+
width: 88.33%
|
325
|
+
.pre_1
|
326
|
+
padding-left: 11.67%
|
327
|
+
.pre_2
|
328
|
+
padding-left: 23.35%
|
329
|
+
.pre_3
|
330
|
+
padding-left: 35.03%
|
331
|
+
.pre_4
|
332
|
+
padding-left: 46.71%
|
333
|
+
.pre_5
|
334
|
+
padding-left: 58.35%
|
335
|
+
.pre_6
|
336
|
+
padding-left: 70.07%
|
337
|
+
.pre_7
|
338
|
+
padding-left: 81.75%
|
339
|
+
.pre_8
|
340
|
+
padding-left: 93.43%
|
341
|
+
.suf_1
|
342
|
+
padding-right: 11.67%
|
343
|
+
.suf_2
|
344
|
+
padding-right: 23.35%
|
345
|
+
.suf_3
|
346
|
+
padding-right: 35.03%
|
347
|
+
.suf_4
|
348
|
+
padding-right: 46.71%
|
349
|
+
.suf_5
|
350
|
+
padding-right: 58.35%
|
351
|
+
.suf_6
|
352
|
+
padding-right: 70.07%
|
353
|
+
.suf_7
|
354
|
+
padding-right: 81.75%
|
355
|
+
.suf_8
|
356
|
+
padding-right: 93.43%
|
357
|
+
|
358
|
+
/*
|
359
|
+
|
360
|
+
.col_10
|
361
|
+
.col_9, .col_8, .col_7, .col_6, .col_5, .col_4, .col_3, .col_2
|
362
|
+
margin-right: 4.61%
|
363
|
+
.col_1
|
364
|
+
margin-right: 4.61%
|
365
|
+
width: 5.85%
|
366
|
+
.col_2
|
367
|
+
width: 16.31%
|
368
|
+
.col_3
|
369
|
+
width: 26.77%
|
370
|
+
.col_4
|
371
|
+
width: 37.23%
|
372
|
+
.col_5
|
373
|
+
width: 47.69%
|
374
|
+
.col_6
|
375
|
+
width: 58.16%
|
376
|
+
.col_7
|
377
|
+
width: 68.62%
|
378
|
+
.col_8
|
379
|
+
width: 79.08%
|
380
|
+
.col_9
|
381
|
+
width: 89.54%
|
382
|
+
.pre_1
|
383
|
+
padding-left: 10.46%
|
384
|
+
.pre_2
|
385
|
+
padding-left: 20.92%
|
386
|
+
.pre_3
|
387
|
+
padding-left: 31.38%
|
388
|
+
.pre_4
|
389
|
+
padding-left: 41.84%
|
390
|
+
.pre_5
|
391
|
+
padding-left: 52.3%
|
392
|
+
.pre_6
|
393
|
+
padding-left: 62.77%
|
394
|
+
.pre_7
|
395
|
+
padding-left: 73.23%
|
396
|
+
.pre_8
|
397
|
+
padding-left: 83.69%
|
398
|
+
.pre_9
|
399
|
+
padding-left: 94.06%
|
400
|
+
.suf_1
|
401
|
+
padding-right: 10.46%
|
402
|
+
.suf_2
|
403
|
+
padding-right: 20.92%
|
404
|
+
.suf_3
|
405
|
+
padding-right: 31.38%
|
406
|
+
.suf_4
|
407
|
+
padding-right: 41.84%
|
408
|
+
.suf_5
|
409
|
+
padding-right: 52.3%
|
410
|
+
.suf_6
|
411
|
+
padding-right: 62.77%
|
412
|
+
.suf_7
|
413
|
+
padding-right: 73.23%
|
414
|
+
.suf_8
|
415
|
+
padding-right: 83.69%
|
416
|
+
.suf_9
|
417
|
+
padding-right: 94.06%
|
418
|
+
|
419
|
+
/*
|
420
|
+
|
421
|
+
.col_11
|
422
|
+
.col_10, .col_9, .col_8, .col_7, .col_6, .col_5, .col_4, .col_3, .col_2
|
423
|
+
margin-right: 4.14%
|
424
|
+
.col_1
|
425
|
+
margin-right: 4.14%
|
426
|
+
width: 5.32%
|
427
|
+
.col_2
|
428
|
+
width: 14.79%
|
429
|
+
.col_3
|
430
|
+
width: 24.26%
|
431
|
+
.col_4
|
432
|
+
width: 33.73%
|
433
|
+
.col_5
|
434
|
+
width: 43.2%
|
435
|
+
.col_6
|
436
|
+
width: 52.66%
|
437
|
+
.col_7
|
438
|
+
width: 62.1%
|
439
|
+
.col_8
|
440
|
+
width: 71.6%
|
441
|
+
.col_9
|
442
|
+
width: 81.07%
|
443
|
+
.col_10
|
444
|
+
width: 90.54%
|
445
|
+
.pre_1
|
446
|
+
padding-left: 9.46%
|
447
|
+
.pre_2
|
448
|
+
padding-left: 18.93%
|
449
|
+
.pre_3
|
450
|
+
padding-left: 28.4%
|
451
|
+
.pre_4
|
452
|
+
padding-left: 37.87%
|
453
|
+
.pre_5
|
454
|
+
padding-left: 47.34%
|
455
|
+
.pre_6
|
456
|
+
padding-left: 56.8%
|
457
|
+
.pre_7
|
458
|
+
padding-left: 66.24%
|
459
|
+
.pre_8
|
460
|
+
padding-left: 75.74%
|
461
|
+
.pre_9
|
462
|
+
padding-left: 85.21%
|
463
|
+
.pre_10
|
464
|
+
padding-left: 94.68%
|
465
|
+
.suf_1
|
466
|
+
padding-right: 9.46%
|
467
|
+
.suf_2
|
468
|
+
padding-right: 18.93%
|
469
|
+
.suf_3
|
470
|
+
padding-right: 28.4%
|
471
|
+
.suf_4
|
472
|
+
padding-right: 37.87%
|
473
|
+
.suf_5
|
474
|
+
padding-right: 47.34%
|
475
|
+
.suf_6
|
476
|
+
padding-right: 56.8%
|
477
|
+
.suf_7
|
478
|
+
padding-right: 66.24%
|
479
|
+
.suf_8
|
480
|
+
padding-right: 75.74%
|
481
|
+
.suf_9
|
482
|
+
padding-right: 85.21%
|
483
|
+
.suf_10
|
484
|
+
padding-right: 94.68%
|
485
|
+
|
486
|
+
|
487
|
+
/*
|
488
|
+
*_______________________________
|
489
|
+
*Columnal - extras
|
490
|
+
|
491
|
+
.clear, .clearboth
|
492
|
+
clear: both !important
|
493
|
+
|
494
|
+
.clearleft
|
495
|
+
clear: left !important
|
496
|
+
|
497
|
+
.clearright
|
498
|
+
clear: right !important
|
499
|
+
|
500
|
+
.textcenter
|
501
|
+
text-align: center
|
502
|
+
|
503
|
+
.textright
|
504
|
+
text-align: right
|
505
|
+
|
506
|
+
.textleft
|
507
|
+
text-align: left
|
508
|
+
|
509
|
+
/* this will insert a pseduo element clears floats for an element containing floated content
|
510
|
+
|
511
|
+
.selfclear:after
|
512
|
+
clear: both
|
513
|
+
content: "."
|
514
|
+
display: block
|
515
|
+
height: 0
|
516
|
+
visibility: hidden
|
517
|
+
|
518
|
+
=mobile-only
|
519
|
+
display: none
|
520
|
+
|
@@ -0,0 +1,162 @@
|
|
1
|
+
// TYPE PRESETS
|
2
|
+
///*/////////////////////////////////////////// */
|
3
|
+
/*
|
4
|
+
*_______________________________
|
5
|
+
*Columnal - TYPE (basic settings to make type look nice)
|
6
|
+
=text
|
7
|
+
body
|
8
|
+
font-family: Helvetica, Arial, sans-serif
|
9
|
+
font-size: 100%
|
10
|
+
color: #444
|
11
|
+
line-height: 1.6em
|
12
|
+
/* from cssgrid.net
|
13
|
+
-webkit-text-size-adjust: none
|
14
|
+
/* from cssgrid.net
|
15
|
+
/* Stops the iPhone scalling type up - from cssgrid.net
|
16
|
+
|
17
|
+
/* h1, h2, h3, h4, h5, h6 { letter-spacing: 1px; }
|
18
|
+
|
19
|
+
h1, h2, h3, h4, h5, h6, p, dl, hr, ol, ul, pre, table, address, fieldset
|
20
|
+
margin-bottom: 1.6em
|
21
|
+
|
22
|
+
/* Add back in basic text markup (after removal by reset)
|
23
|
+
|
24
|
+
strong
|
25
|
+
font-weight: bold
|
26
|
+
|
27
|
+
em
|
28
|
+
font-style: italic
|
29
|
+
|
30
|
+
pre
|
31
|
+
font-family: "Courier New", Courier, monospace
|
32
|
+
font-size: 13px
|
33
|
+
font-weight: bold
|
34
|
+
|
35
|
+
/* text colors, add custom colors here to match your site
|
36
|
+
|
37
|
+
.teal
|
38
|
+
color: #155f62
|
39
|
+
|
40
|
+
/* link colors
|
41
|
+
|
42
|
+
a
|
43
|
+
color: #058
|
44
|
+
text-decoration: none
|
45
|
+
&:visited
|
46
|
+
color: #c14b0d
|
47
|
+
text-decoration: none
|
48
|
+
&:hover
|
49
|
+
color: #eb6721
|
50
|
+
text-decoration: underline
|
51
|
+
&:focus
|
52
|
+
outline: 1px dotted #79160d
|
53
|
+
|
54
|
+
/* .row hr, .row p, .row ul, .row ol, .row dl, .row pre, .row address, .row table, .row form {margin-bottom: 1.6em;}
|
55
|
+
|
56
|
+
dt
|
57
|
+
font-weight: bold
|
58
|
+
|
59
|
+
p
|
60
|
+
font-size: 1em
|
61
|
+
+
|
62
|
+
p, ul
|
63
|
+
margin-top: -0.8em
|
64
|
+
|
65
|
+
h1
|
66
|
+
font-size: 2em
|
67
|
+
line-height: 1.2em
|
68
|
+
font-weight: normal
|
69
|
+
margin: 1em 0 .5em
|
70
|
+
|
71
|
+
p + h1
|
72
|
+
margin-top: .5em
|
73
|
+
|
74
|
+
h2, h3, h4, h5, h6
|
75
|
+
font-weight: bold
|
76
|
+
|
77
|
+
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p
|
78
|
+
margin-top: 0
|
79
|
+
|
80
|
+
/* fix for weird Chrome collapse bug
|
81
|
+
|
82
|
+
h2
|
83
|
+
font-size: 1.7em
|
84
|
+
line-height: 1.3em
|
85
|
+
margin: 1.07em 0 .535em
|
86
|
+
|
87
|
+
h3
|
88
|
+
font-size: 1.3em
|
89
|
+
margin: 1.14em 0 .57em 0
|
90
|
+
|
91
|
+
h4
|
92
|
+
font-size: 1.25em
|
93
|
+
margin: 1em 0 .5em
|
94
|
+
|
95
|
+
h5, h6
|
96
|
+
font-size: 1em
|
97
|
+
margin: 1em 0 .25em 0
|
98
|
+
|
99
|
+
ol
|
100
|
+
margin-left: 0
|
101
|
+
padding-left: 20px
|
102
|
+
text-indent: 0
|
103
|
+
|
104
|
+
ul
|
105
|
+
list-style: disc outside
|
106
|
+
|
107
|
+
li
|
108
|
+
font-size: 15px
|
109
|
+
margin-bottom: 2px
|
110
|
+
margin-left: 20px
|
111
|
+
|
112
|
+
blockquote
|
113
|
+
font-family: Georgia, "Times New Roman", Times, sans-serif
|
114
|
+
font-size: 18px
|
115
|
+
line-height: 24px
|
116
|
+
font-style: italic
|
117
|
+
padding-left: 35px
|
118
|
+
color: #999
|
119
|
+
margin: .5em 0 .5em 0
|
120
|
+
|
121
|
+
input, textarea
|
122
|
+
font: .75em Arial, "Helvetica Neue", Helvetica, sans-serif
|
123
|
+
|
124
|
+
hr
|
125
|
+
background: black
|
126
|
+
border: none
|
127
|
+
color: black
|
128
|
+
display: block
|
129
|
+
height: 1px
|
130
|
+
margin-top: 20px
|
131
|
+
width: 100%
|
132
|
+
|
133
|
+
/*
|
134
|
+
*_______________________________
|
135
|
+
*Columnal - reverse type presets (for text on dark backgrounds)
|
136
|
+
|
137
|
+
.reverse
|
138
|
+
h1, h2, h3, h4, h5, h6
|
139
|
+
color: white
|
140
|
+
p, ul
|
141
|
+
color: #aaa
|
142
|
+
|
143
|
+
/*
|
144
|
+
*_______________________________
|
145
|
+
*IMAGE basics
|
146
|
+
|
147
|
+
img, object, embed
|
148
|
+
margin-bottom: 20px
|
149
|
+
|
150
|
+
img
|
151
|
+
-webkit-border-radius: 3px
|
152
|
+
-moz-border-radius: 3px
|
153
|
+
border-radius: 3px
|
154
|
+
margin-bottom: 20px
|
155
|
+
|
156
|
+
a img
|
157
|
+
display: block
|
158
|
+
/* Stops image links getting text link styles
|
159
|
+
|
160
|
+
// END TYPE PRESETS
|
161
|
+
///*/////////////////////////////////////////// */
|
162
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
stylesheet 'grid.sass', :media => "screen, projection"
|
2
|
+
stylesheet 'text.sass', :media => "screen, projection"
|
3
|
+
stylesheet 'ie.sass', :media => 'screen', :condition => "lt IE 9"
|
4
|
+
stylesheet 'mobile.sass', :media => 'handheld, only screen and (max-width: 767px)'
|
5
|
+
|
6
|
+
description "The columnal Grid System."
|
7
|
+
|
8
|
+
help %Q{
|
9
|
+
Please see the columnal website for documentation:
|
10
|
+
|
11
|
+
http://www.columnal.com/
|
12
|
+
}
|
13
|
+
|
14
|
+
welcome_message %Q{
|
15
|
+
Please see the columnal website for documentation:
|
16
|
+
|
17
|
+
http://www.columnal.com/
|
18
|
+
}
|
19
|
+
|
metadata
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: compass-columnal-plugin
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Diogo Biazus
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-01-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: compass
|
16
|
+
requirement: &70233491890220 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.10.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70233491890220
|
25
|
+
description: ! 'The Columnal CSS grid system is a “remix” of a couple others with
|
26
|
+
some custom code thrown in. The elastic grid system is borrowed from cssgrid.net,
|
27
|
+
while some code inspiration (and the idea for subcolumns) are taken from 960.gs.
|
28
|
+
Checkout at: http://www.columnal.com/'
|
29
|
+
email:
|
30
|
+
- diogo@biazus.me
|
31
|
+
executables: []
|
32
|
+
extensions: []
|
33
|
+
extra_rdoc_files: []
|
34
|
+
files:
|
35
|
+
- compass-columnal-plugin.gemspec
|
36
|
+
- README.mkdn
|
37
|
+
- lib/columnal.rb
|
38
|
+
- stylesheets/columnal/_grid.sass
|
39
|
+
- stylesheets/columnal/_text.sass
|
40
|
+
- templates/project/manifest.rb
|
41
|
+
homepage: https://github.com/diogob/compass-columnal-plugin
|
42
|
+
licenses: []
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options: []
|
45
|
+
require_paths:
|
46
|
+
- lib
|
47
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
+
none: false
|
49
|
+
requirements:
|
50
|
+
- - ! '>='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0'
|
53
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ! '>='
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 1.3.5
|
59
|
+
requirements: []
|
60
|
+
rubyforge_project: compass-columnal-plugin
|
61
|
+
rubygems_version: 1.8.10
|
62
|
+
signing_key:
|
63
|
+
specification_version: 3
|
64
|
+
summary: Compass compatible Sass port of columnal grid system.
|
65
|
+
test_files: []
|