the1kbgrid-css-rails 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +63 -8
- data/{vendor → lib}/assets/stylesheets/the1kbgrid-css-rails.css +0 -0
- data/lib/the1kbgrid-css-rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25a218591f1f59cd7c19f1d99a196bc483b931e7
|
4
|
+
data.tar.gz: d0dd5f7915291518b94673d5ff208cd620033ad2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30e8ca54287eebd42c0422405769f4eb4184fa891a6a6ad4aebf60227e33b9b2b1079ee869c9e8edd7732d1805f3b17d90e5ded536fc286e7d72e8c76d50c611
|
7
|
+
data.tar.gz: 14668b78c84262131200e3cef9fd5eeecbdaf480f83746de3d080360e6886680e7dbb19377f4b92d27de34380c8b7d7400d9ca79e9b5b76747e609a7fa86749f
|
data/README.md
CHANGED
@@ -1,30 +1,85 @@
|
|
1
1
|
# the1kbgrid-css-rails [](http://badge.fury.io/rb/the1kbgrid-css-rails)
|
2
2
|
|
3
|
-
>
|
3
|
+
> Gemified by Doc Walker
|
4
4
|
|
5
5
|
Provides The 1Kb Grid CSS for the Rails 3.1+ asset pipeline.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
9
|
-
Add these lines to your application's Gemfile
|
9
|
+
Add these lines to your application's `Gemfile`:
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
```rb
|
12
|
+
# the 1kb grid css packaged for the rails asset pipeline
|
13
|
+
gem 'the1kbgrid-css-rails', '~> 1.1'
|
14
|
+
```
|
13
15
|
|
14
16
|
And then execute:
|
15
17
|
|
16
|
-
|
18
|
+
```sh
|
19
|
+
$ bundle
|
20
|
+
```
|
17
21
|
|
18
22
|
Or install it yourself as:
|
19
23
|
|
20
|
-
|
24
|
+
```sh
|
25
|
+
$ gem install the1kbgrid-css-rails
|
26
|
+
```
|
21
27
|
|
22
28
|
## Usage
|
23
29
|
|
24
30
|
Add these lines to `app/assets/stylesheets/application.css`
|
25
31
|
|
26
|
-
|
27
|
-
|
32
|
+
```css
|
33
|
+
provides The 1Kb Grid CSS from gem 'the1kbgrid-css-rails':
|
34
|
+
= require the1kbgrid-css-rails
|
35
|
+
```
|
36
|
+
|
37
|
+
Use one or more of the following `div` classes:
|
38
|
+
|
39
|
+
```css
|
40
|
+
.row
|
41
|
+
.column
|
42
|
+
.grid_1
|
43
|
+
.grid_2
|
44
|
+
.grid_3
|
45
|
+
.grid_4
|
46
|
+
.grid_5
|
47
|
+
.grid_6
|
48
|
+
.grid_7
|
49
|
+
.grid_8
|
50
|
+
.grid_9
|
51
|
+
.grid_10
|
52
|
+
.grid_11
|
53
|
+
.grid_12
|
54
|
+
.grid_13
|
55
|
+
.grid_14
|
56
|
+
.grid_15
|
57
|
+
.grid_16
|
58
|
+
```
|
59
|
+
|
60
|
+
Rails/HAML examples:
|
61
|
+
|
62
|
+
```haml
|
63
|
+
-# start each row with '.row'
|
64
|
+
-# start each column with '.column'
|
65
|
+
-# combine '.column.grid_n' for up to 16 across (960px wide)
|
66
|
+
.row
|
67
|
+
.column.grid_2
|
68
|
+
= 'grid width 2'
|
69
|
+
.column.grid_4
|
70
|
+
= 'grid width 4'
|
71
|
+
.column.grid_10
|
72
|
+
= 'grid width 10'
|
73
|
+
.row
|
74
|
+
.column.grid_3
|
75
|
+
= 'grid width 3'
|
76
|
+
.column.grid_1
|
77
|
+
= 'grid width 1'
|
78
|
+
.column.grid_7
|
79
|
+
= 'grid width 7'
|
80
|
+
.column.grid_5
|
81
|
+
= 'grid width 5'
|
82
|
+
```
|
28
83
|
|
29
84
|
## Contributing
|
30
85
|
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: the1kbgrid-css-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Doc Walker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -65,10 +65,10 @@ files:
|
|
65
65
|
- LICENSE.txt
|
66
66
|
- README.md
|
67
67
|
- Rakefile
|
68
|
+
- lib/assets/stylesheets/the1kbgrid-css-rails.css
|
68
69
|
- lib/the1kbgrid-css-rails.rb
|
69
70
|
- lib/the1kbgrid-css-rails/engine.rb
|
70
71
|
- lib/the1kbgrid-css-rails/version.rb
|
71
|
-
- vendor/assets/stylesheets/the1kbgrid-css-rails.css
|
72
72
|
homepage: https://github.com/jhx/gem-the1kbgrid-css-rails
|
73
73
|
licenses:
|
74
74
|
- MIT
|