spacegrid 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81663f5ce8fbaf8790ae49c3457e61e6de057512
4
- data.tar.gz: 4b44d6dd1097ee07ed1d7c827b82859915887ed3
3
+ metadata.gz: 61401b722b6f72fc73d429ff2acb19e551ce41fd
4
+ data.tar.gz: 0fe0fb8e12220830cf3eba6b05126e6de28df9ee
5
5
  SHA512:
6
- metadata.gz: eecdab595cd329befa0c654915c6f27d097a802fb9534d4ac773d8c824d46f804a215e06f9a0b4ae1164906bb2c3e403c5d25b3cf0b5940eb5c128d92962545b
7
- data.tar.gz: 192a2638f809e722a0e8c198dbddaf69bf2be33da6b8452451442f0c839beb0886a057836eb14cd8d62266f4c10863716691895d331e7b34e91ed7c9aa811b40
6
+ metadata.gz: 7a5ec8ee127562690ac9d7e7e00adf782d151a8d2ad5e9fc419d270310c9b747005eb08884fa4a8c3e1192934b053596a44d55f40ed21f82c9180ce99be12fb7
7
+ data.tar.gz: a5390596ad4aa8e5bd69b127c908f6332e63bfc41b64ef95a30e56e3dd37d65eedd813c5f75ecbab1cc0c4ece218f77e140563b6996239962075ad7e5d9b67e5
@@ -0,0 +1,178 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ -webkit-box-sizing: border-box;
5
+ -moz-box-sizing: border-box;
6
+ -ms-box-sizing: border-box;
7
+ box-sizing: border-box;
8
+ }
9
+
10
+ .row {
11
+ margin: 0 auto;
12
+ max-width: 100%;
13
+ }
14
+
15
+ .row:after {
16
+ content: "";
17
+ display: table;
18
+ clear: both;
19
+ }
20
+
21
+ [class*='space-'] {
22
+ float: left;
23
+ padding: 0.3em;
24
+ display: inline;
25
+ position: relative;
26
+ }
27
+
28
+ .space-1 {
29
+ width: 100%;
30
+ }
31
+
32
+ .space-2 {
33
+ width: 50%;
34
+ }
35
+
36
+ .space-3 {
37
+ width: 33.33333%;
38
+ }
39
+
40
+ .space-4 {
41
+ width: 25%;
42
+ }
43
+
44
+ .space-5 {
45
+ width: 20%;
46
+ }
47
+
48
+ .space-6 {
49
+ width: 16.66667%;
50
+ }
51
+
52
+ .space-7 {
53
+ width: 14.28571%;
54
+ }
55
+
56
+ .space-8 {
57
+ width: 12.5%;
58
+ }
59
+
60
+ .space-9 {
61
+ width: 11.11111%;
62
+ }
63
+
64
+ .space-10 {
65
+ width: 10%;
66
+ }
67
+
68
+ .space-11 {
69
+ width: 9.09091%;
70
+ }
71
+
72
+ .space-12 {
73
+ width: 8.33333%;
74
+ }
75
+
76
+ .space-25 {
77
+ width: 25%;
78
+ }
79
+
80
+ .space-40 {
81
+ width: 40%;
82
+ }
83
+
84
+ .space-60 {
85
+ width: 60%;
86
+ }
87
+
88
+ .space-66 {
89
+ width: 66%;
90
+ }
91
+
92
+ .space-75 {
93
+ width: 75%;
94
+ }
95
+
96
+ @media (max-width: 425px) {
97
+ .space-1 {
98
+ width: 100%;
99
+ }
100
+
101
+ .space-2 {
102
+ width: 100%;
103
+ }
104
+
105
+ .space-3 {
106
+ width: 100%;
107
+ }
108
+
109
+ .space-4 {
110
+ width: 100%;
111
+ }
112
+
113
+ .space-5 {
114
+ width: 100%;
115
+ }
116
+
117
+ .space-6 {
118
+ width: 100%;
119
+ }
120
+
121
+ .space-7 {
122
+ width: 100%;
123
+ }
124
+
125
+ .space-8 {
126
+ width: 100%;
127
+ }
128
+
129
+ .space-9 {
130
+ width: 100%;
131
+ }
132
+
133
+ .space-10 {
134
+ width: 100%;
135
+ }
136
+
137
+ .space-11 {
138
+ width: 100%;
139
+ }
140
+
141
+ .space-12 {
142
+ width: 100%;
143
+ }
144
+ }
145
+
146
+ @media (min-width: 425px) and (max-width: 768px) {
147
+ .space-4,
148
+ .space-6,
149
+ .space-8,
150
+ .space-10,
151
+ .space-12 {
152
+ width: 50%;
153
+ }
154
+
155
+ .space-1,
156
+ .space-2,
157
+ .space-3,
158
+ .space-5,
159
+ .space-7,
160
+ .space-9,
161
+ .space-11 {
162
+ width: 100%;
163
+ }
164
+ }
165
+
166
+ @media (min-width: 768px) and (max-width: 1024px) {
167
+ .space-2,
168
+ .space-7 {
169
+ width: 100%;
170
+ }
171
+
172
+ .space-4,
173
+ .space-8,
174
+ .space-10,
175
+ .space-12 {
176
+ width: 50%;
177
+ }
178
+ }
data/lib/spacegrid.rb CHANGED
@@ -1,5 +1,3 @@
1
- require "spacegrid/version"
2
-
3
1
  module Spacegrid
4
- class Engine < ::Rails::Engine; end
2
+ require 'spacegrid/engine'
5
3
  end
@@ -0,0 +1,4 @@
1
+ module Spacegrid
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -1,3 +1,3 @@
1
1
  module Spacegrid
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spacegrid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Speek
@@ -50,12 +50,13 @@ files:
50
50
  - LICENSE.txt
51
51
  - README.md
52
52
  - Rakefile
53
+ - app/assets/stylesheets/spacegrid.min.css
53
54
  - bin/console
54
55
  - bin/setup
55
56
  - lib/spacegrid.rb
57
+ - lib/spacegrid/engine.rb
56
58
  - lib/spacegrid/version.rb
57
59
  - spacegrid.gemspec
58
- - vendor/assets/stylesheets/spacegrid.min.css
59
60
  homepage: http://github.com/jonathanspeek/spacegrid_gem
60
61
  licenses:
61
62
  - MIT
@@ -1 +0,0 @@
1
- *{margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.row{margin:0 auto;max-width:100%}.row:after{content:"";display:table;clear:both}[class*=space-]{float:left;padding:.3em;display:inline;position:relative}.space-1{width:100%}.space-2{width:50%}.space-3{width:33.33333%}.space-4{width:25%}.space-5{width:20%}.space-6{width:16.66667%}.space-7{width:14.28571%}.space-8{width:12.5%}.space-9{width:11.11111%}.space-10{width:10%}.space-11{width:9.09091%}.space-12{width:8.33333%}.space-25{width:25%}.space-40{width:40%}.space-60{width:60%}.space-66{width:66%}.space-75{width:75%}@media (max-width:425px){.space-1,.space-10,.space-11,.space-12,.space-2,.space-3,.space-4,.space-5,.space-6,.space-7,.space-8,.space-9{width:100%}}@media (min-width:425px) and (max-width:768px){.space-10,.space-12,.space-4,.space-6,.space-8{width:50%}.space-1,.space-11,.space-2,.space-3,.space-5,.space-7,.space-9{width:100%}}@media (min-width:768px) and (max-width:1024px){.space-2,.space-7{width:100%}.space-10,.space-12,.space-4,.space-8{width:50%}}