spacegrid 0.4.0 → 0.5.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: 7fbb7b6e6f80563e9dab106c269aa4921312d5b8
4
- data.tar.gz: b07bd386c18189c14a3a906427c260eeeb617a3e
3
+ metadata.gz: a12aa2e65bab489a00537297d4e54c4e8327422e
4
+ data.tar.gz: 5da8353d9fc9dca0ab20003653af0d01eecede62
5
5
  SHA512:
6
- metadata.gz: 0e3cf0d4539dfaa7c86cecdaa565dc43bb66fa4e956858f8adae73aa8376e99cd866d0e5b55c057868a3d0a9bb13b7ff6bdb3d4102b32b88e6d3512d9b573b20
7
- data.tar.gz: 8844cf37ff6dd49eb556fe3f684776aef4a4d8cc20cc81a883aee0f66aa3862b86b6db50ca009646e0c65f1a4dd201328d3446906458b4430aa6e9442e1cbeea
6
+ metadata.gz: 12a4efbaf139eb3e75187683d257b20cbd7d83639f87e70b330abe46fd4bb3b8fdd0e5ece7fb29e143016400b022febc92ad3519ce02e15de20b819e4bc00feb
7
+ data.tar.gz: 7485fc970653910506ef0f3c3ff2e69c306763795dc24d13d7f0a6a066825f1782336fc971d9d60915ab676077770cf0990c02da7eca7ebfc7b109c4a5f1b322
@@ -1,3 +1,3 @@
1
1
  module Spacegrid
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -1,4 +1,16 @@
1
- * {
1
+ .row {
2
+ margin: 0 auto;
3
+ max-width: 100%;
4
+ }
5
+
6
+ .row:after {
7
+ content: "";
8
+ display: table;
9
+ clear: both;
10
+ }
11
+
12
+ [class*='space-'],
13
+ [class*='row'] {
2
14
  margin: 0;
3
15
  padding: 0;
4
16
  -webkit-box-sizing: border-box;
@@ -7,172 +19,126 @@
7
19
  box-sizing: border-box;
8
20
  }
9
21
 
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
22
  [class*='space-'] {
22
- float: left;
23
- padding: 0.3em;
24
- display: inline;
25
- position: relative;
23
+ float: left;
24
+ padding: 0.3em;
25
+ display:inline;
26
+ position: relative;
26
27
  }
27
28
 
28
29
  .space-1 {
29
- width: 100%;
30
+ width: 100%;
30
31
  }
31
32
 
32
33
  .space-2 {
33
- width: 50%;
34
+ width: 50%;
34
35
  }
35
36
 
36
37
  .space-3 {
37
- width: 33.33333%;
38
+ width: 33.33333%;
38
39
  }
39
40
 
40
41
  .space-4 {
41
- width: 25%;
42
+ width: 25%;
42
43
  }
43
44
 
44
45
  .space-5 {
45
- width: 20%;
46
+ width: 20%;
46
47
  }
47
48
 
48
49
  .space-6 {
49
- width: 16.66667%;
50
+ width: 16.66667%;
50
51
  }
51
52
 
52
53
  .space-7 {
53
- width: 14.28571%;
54
+ width: 14.28571%;
54
55
  }
55
56
 
56
57
  .space-8 {
57
- width: 12.5%;
58
+ width: 12.5%;
58
59
  }
59
60
 
60
61
  .space-9 {
61
- width: 11.11111%;
62
+ width: 11.11111%;
62
63
  }
63
64
 
64
65
  .space-10 {
65
- width: 10%;
66
+ width: 10%;
66
67
  }
67
68
 
68
69
  .space-11 {
69
- width: 9.09091%;
70
+ width: 9.09091%;
70
71
  }
71
72
 
72
73
  .space-12 {
73
- width: 8.33333%;
74
+ width: 8.33333%;
74
75
  }
75
76
 
76
77
  .space-25 {
77
- width: 25%;
78
+ width: 25%;
78
79
  }
79
80
 
80
81
  .space-40 {
81
- width: 40%;
82
+ width: 40%;
82
83
  }
83
84
 
84
85
  .space-60 {
85
- width: 60%;
86
+ width: 60%;
86
87
  }
87
88
 
88
89
  .space-66 {
89
- width: 66%;
90
+ width: 66%;
90
91
  }
91
92
 
92
93
  .space-75 {
93
- width: 75%;
94
+ width: 75%;
94
95
  }
95
96
 
96
97
  @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
- }
98
+ .space-1,
99
+ .space-2,
100
+ .space-3,
101
+ .space-4,
102
+ .space-5,
103
+ .space-6,
104
+ .space-7,
105
+ .space-8,
106
+ .space-9,
107
+ .space-10,
108
+ .space-11,
109
+ .space-12 {
110
+ width: 100%;
111
+ }
144
112
  }
145
113
 
146
114
  @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
- }
115
+ .space-4,
116
+ .space-6,
117
+ .space-8,
118
+ .space-10,
119
+ .space-12 {
120
+ width: 50%;
121
+ }
122
+ .space-1,
123
+ .space-2,
124
+ .space-3,
125
+ .space-5,
126
+ .space-7,
127
+ .space-9,
128
+ .space-11 {
129
+ width: 100%;
130
+ }
164
131
  }
165
132
 
166
133
  @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
- }
134
+ .space-2,
135
+ .space-7 {
136
+ width: 100%;
137
+ }
138
+ .space-4,
139
+ .space-8,
140
+ .space-10,
141
+ .space-12 {
142
+ width: 50%;
143
+ }
144
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spacegrid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Speek
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-17 00:00:00.000000000 Z
11
+ date: 2017-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler