|
1 | | -/* |
2 | | - * |
3 | | - *.||..||..||..||..||..||..||..||..||..||..||..||..||..||..||..||..||. |
4 | | - * |
5 | | - * . '|| . |
6 | | - *.||. .... ... ... ... .... ... ... || .... .||. .... |
7 | | - * || '|. | ||' || .|...|| ||' || || '' .|| || .|...|| |
8 | | - * || '|.| || | || || | || .|' || || || |
9 | | - * '|.' '| ||...' '|...' ||...' .||. '|..'|' '|.' '|...' |
10 | | - * .. | || || |
11 | | - * '' '''' '''' |
12 | | - * |
13 | | - * URL ............ http://typeplate.com |
14 | | - * VERSION ........ 1.1.2 |
15 | | - * Github ......... https://github.com/typeplate/typeplate.github.io |
16 | | - * AUTHORS ........ Dennis Gaebel (@gryghostvisuals) & Zachary Kain (@zakkain) |
17 | | - * LICENSE ........ Creative Commmons Attribution 3.0 |
18 | | - * LICENSE URL .... http://creativecommons.org/licenses/by/3.0 |
19 | | - * |
20 | | - * .||..||..||..||..||..||..||..||..||..||..||..||..||..||..||..||..||. |
21 | | - * |
22 | | - */ |
23 | | - |
| 1 | +/*! |
| 2 | +TYPEPLATE |
| 3 | +URL ........... http://typeplate.com |
| 4 | +VERSION ....... 1.1.3 |
| 5 | +Github ........ https://github.com/typeplate/bower |
| 6 | +AUTHORS ....... Dennis Gaebel (@gryghostvisuals) & Zachary Kain (@zakkain) |
| 7 | +LICENSE ....... Creative Commmons Attribution 3.0 (http://creativecommons.org/licenses/by/3.0) |
| 8 | +LICENSE URL ... https://github.com/typeplate/bower/blob/master/license.txt |
| 9 | +*/ |
24 | 10 |
|
25 | 11 |
|
26 | 12 | /** |
@@ -177,76 +163,84 @@ h6 { |
177 | 163 | * |
178 | 164 | * 18, 21, 24, 36, 48, 60, 72, 90, 117 |
179 | 165 | * |
180 | | -*/ |
| 166 | +* |
| 167 | +* Explanation: |
| 168 | +* margin-bottom = ( base font-size * base line-height ) / current font-size |
| 169 | +* |
| 170 | +* Makes sure that there's always one unit of measure's worth of space between shit |
| 171 | +* for headings. This is better than spacing using line-height because of the wrapping issue where we have |
| 172 | +* wrapping onto 2 lines with a high line-height. |
| 173 | + */ |
181 | 174 |
|
182 | 175 | .tera { |
183 | 176 | font-size: 117px; |
184 | 177 | font-size: 6.5rem; /* 117 / 18 = 6.5 */ |
185 | | - margin-bottom: 0.25385em; |
| 178 | + margin-bottom: 0.25385px; |
| 179 | + margin-bottom: 0.25385rem; |
186 | 180 | } |
187 | 181 |
|
188 | 182 | .giga { |
189 | 183 | font-size: 90px; |
190 | 184 | font-size: 5rem; /* 90 / 18 = 5 */ |
191 | | - margin-bottom: 0.33em; |
| 185 | + margin-bottom: 0.33px; |
| 186 | + margin-bottom: 0.33rem; |
192 | 187 | } |
193 | 188 |
|
194 | 189 | .mega { |
195 | 190 | font-size: 72px; |
196 | 191 | font-size: 4rem; /* 72 / 18 = 4 */ |
197 | | - margin-bottom: 0.4125em; |
| 192 | + margin-bottom: 0.4125px; |
| 193 | + margin-bottom: 0.4125rem; |
198 | 194 | } |
199 | 195 |
|
200 | 196 | h1, |
201 | 197 | .alpha { |
202 | 198 | font-size: 60px; |
203 | 199 | font-size: 3.33333rem; /* 60 / 18 = 3.3333 */ |
204 | | - margin-bottom: 0.495em; |
| 200 | + margin-bottom: 0.495px; |
| 201 | + margin-bottom: 0.495rem; |
205 | 202 | } |
206 | 203 |
|
207 | 204 | h2, |
208 | 205 | .beta { |
209 | 206 | font-size: 48px; |
210 | 207 | font-size: 2.6667rem; /* 48 / 18 = 2.6667 */ |
211 | | - margin-bottom: 0.61875em; |
| 208 | + margin-bottom: 0.61875px; |
| 209 | + margin-bottom: 0.61875rem; |
212 | 210 | } |
213 | 211 |
|
214 | 212 | h3, |
215 | 213 | .gamma { |
216 | 214 | font-size: 36px; |
217 | 215 | font-size: 2rem; /* 36 / 18 = 2 */ |
218 | | - margin-bottom: 0.825em; |
| 216 | + margin-bottom: 0.825px; |
| 217 | + margin-bottom: 0.825rem; |
219 | 218 | } |
220 | 219 |
|
221 | 220 | h4, |
222 | 221 | .delta { |
223 | 222 | font-size: 24px; |
224 | 223 | font-size: 1.3333333333333333rem; /* 24 / 18 = 1.3333 */ |
225 | | - margin-bottom: 1.2375em; |
| 224 | + margin-bottom: 1.2375px; |
| 225 | + margin-bottom: 1.2375rem; |
226 | 226 | } |
227 | 227 |
|
228 | 228 | h5, |
229 | 229 | .epsilon { |
230 | 230 | font-size: 21px; |
231 | 231 | font-size: 1.16667rem; /* 21 / 18 = 1.1667 */ |
232 | | - margin-bottom: 1.4142857142857141em; /* measure( base font-size(18) * base line-height(1.65) ) / current font-size(21) = margin-bottom(1.4142857142857141) */ |
| 232 | + margin-bottom: 1.41429px; |
| 233 | + margin-bottom: 1.41429rem; |
233 | 234 | } |
234 | 235 |
|
235 | 236 | h6, |
236 | 237 | .zeta { |
237 | 238 | font-size: 18px; |
238 | 239 | font-size: 1rem; /* 18 = 18 × 1 */ |
239 | | - margin-bottom: 1.65em; /* measure( base font-size(18) * base line-height(1.65) ) / current font-size(18) = margin-bottom(1.65) */ |
| 240 | + margin-bottom: 1.65px; |
| 241 | + margin-bottom: 1.65rem; |
240 | 242 | } |
241 | 243 |
|
242 | | -/* margin-bottom for headings: |
243 | | - * |
244 | | - * Explanation: |
245 | | - * Makes sure that there's always one unit of measure's worth of space between shit |
246 | | - * for headings. This is better than spacing using line-height because of the wrapping issue where we have |
247 | | - * wrapping onto 2 lines with a high line-height. |
248 | | - */ |
249 | | - |
250 | 244 |
|
251 | 245 | /** |
252 | 246 | * |
|
0 commit comments