summaryrefslogtreecommitdiffstats
path: root/js/yui3/cssgrids-responsive/cssgrids-responsive.css
blob: e3b7501fbb1f3ce5ad1e48305295a6ffa03aa054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
/*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/

/*!
Pure v0.4.2
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
https://github.com/yui/pure/blob/master/LICENSE.md
*/

/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/

.yui3-g {
    letter-spacing: -0.31em;
    /* Webkit: collapse white-space between units */
    *letter-spacing: normal;
    /* reset IE < 8 */
    *word-spacing: -0.43em;
    /* IE < 8: collapse white-space between units */
    text-rendering: optimizespeed;
    /* Webkit: fixes text-rendering: optimizeLegibility */
    /*
    Sets the font stack to fonts known to work properly with the above letter
    and word spacings. See: https://github.com/yui/pure/issues/41/

    The following font stack makes Pure Grids work on all known environments.

    * FreeSans: Ships with many Linux distros, including Ubuntu

    * Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
      Arial to get picked up by the browser, even though neither is available
      in Chrome OS.

    * Droid Sans: Ships with all versions of Android.

    * Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
    */
    font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
    /*
    Use flexbox when possible to avoid `letter-spacing` side-effects.

    NOTE: Firefox (as of 25) does not currently support flex-wrap, so the
    `-moz-` prefix version is omitted.
    */
    display: -webkit-flex;
    -webkit-flex-flow: row wrap;
    /* IE10 uses display: flexbox */
    display: -ms-flexbox;
    -ms-flex-flow: row wrap;
}

/* Opera as of 12 on Windows needs word-spacing.
   The ".opera-only" selector is used to prevent actual prefocus styling
   and is not required in markup.
*/

.opera-only :-o-prefocus,
.yui3-g {
    word-spacing: -0.43em;
}

.yui3-u {
    display: inline-block;
    *display: inline;
    /* IE < 8: fake inline-block */
    zoom: 1;
    letter-spacing: normal;
    word-spacing: normal;
    vertical-align: top;
    text-rendering: auto;
}

/*
Resets the font family back to the OS/browser's default sans-serif font,
this the same font stack that Normalize.css sets for the `body`.
*/

.yui3-g [class *= "yui3-u"] {
    font-family: sans-serif;
}

.yui3-u-1,
.yui3-u-1-1,
.yui3-u-1-2,
.yui3-u-1-3,
.yui3-u-2-3,
.yui3-u-1-4,
.yui3-u-3-4,
.yui3-u-1-5,
.yui3-u-2-5,
.yui3-u-3-5,
.yui3-u-4-5,
.yui3-u-5-5,
.yui3-u-1-6,
.yui3-u-5-6,
.yui3-u-1-8,
.yui3-u-3-8,
.yui3-u-5-8,
.yui3-u-7-8,
.yui3-u-1-12,
.yui3-u-5-12,
.yui3-u-7-12,
.yui3-u-11-12,
.yui3-u-1-24,
.yui3-u-2-24,
.yui3-u-3-24,
.yui3-u-4-24,
.yui3-u-5-24,
.yui3-u-6-24,
.yui3-u-7-24,
.yui3-u-8-24,
.yui3-u-9-24,
.yui3-u-10-24,
.yui3-u-11-24,
.yui3-u-12-24,
.yui3-u-13-24,
.yui3-u-14-24,
.yui3-u-15-24,
.yui3-u-16-24,
.yui3-u-17-24,
.yui3-u-18-24,
.yui3-u-19-24,
.yui3-u-20-24,
.yui3-u-21-24,
.yui3-u-22-24,
.yui3-u-23-24,
.yui3-u-24-24 {
    display: inline-block;
    *display: inline;
    zoom: 1;
    letter-spacing: normal;
    word-spacing: normal;
    vertical-align: top;
    text-rendering: auto;
}

.yui3-u-1-24 {
    width: 4.1667%;
    *width: 4.1357%;
}

.yui3-u-1-12,
.yui3-u-2-24 {
    width: 8.3333%;
    *width: 8.3023%;
}

.yui3-u-1-8,
.yui3-u-3-24 {
    width: 12.5000%;
    *width: 12.4690%;
}

.yui3-u-1-6,
.yui3-u-4-24 {
    width: 16.6667%;
    *width: 16.6357%;
}

.yui3-u-1-5 {
    width: 20%;
    *width: 19.9690%;
}

.yui3-u-5-24 {
    width: 20.8333%;
    *width: 20.8023%;
}

.yui3-u-1-4,
.yui3-u-6-24 {
    width: 25%;
    *width: 24.9690%;
}

.yui3-u-7-24 {
    width: 29.1667%;
    *width: 29.1357%;
}

.yui3-u-1-3,
.yui3-u-8-24 {
    width: 33.3333%;
    *width: 33.3023%;
}

.yui3-u-3-8,
.yui3-u-9-24 {
    width: 37.5000%;
    *width: 37.4690%;
}

.yui3-u-2-5 {
    width: 40%;
    *width: 39.9690%;
}

.yui3-u-5-12,
.yui3-u-10-24 {
    width: 41.6667%;
    *width: 41.6357%;
}

.yui3-u-11-24 {
    width: 45.8333%;
    *width: 45.8023%;
}

.yui3-u-1-2,
.yui3-u-12-24 {
    width: 50%;
    *width: 49.9690%;
}

.yui3-u-13-24 {
    width: 54.1667%;
    *width: 54.1357%;
}

.yui3-u-7-12,
.yui3-u-14-24 {
    width: 58.3333%;
    *width: 58.3023%;
}

.yui3-u-3-5 {
    width: 60%;
    *width: 59.9690%;
}

.yui3-u-5-8,
.yui3-u-15-24 {
    width: 62.5000%;
    *width: 62.4690%;
}

.yui3-u-2-3,
.yui3-u-16-24 {
    width: 66.6667%;
    *width: 66.6357%;
}

.yui3-u-17-24 {
    width: 70.8333%;
    *width: 70.8023%;
}

.yui3-u-3-4,
.yui3-u-18-24 {
    width: 75%;
    *width: 74.9690%;
}

.yui3-u-19-24 {
    width: 79.1667%;
    *width: 79.1357%;
}

.yui3-u-4-5 {
    width: 80%;
    *width: 79.9690%;
}

.yui3-u-5-6,
.yui3-u-20-24 {
    width: 83.3333%;
    *width: 83.3023%;
}

.yui3-u-7-8,
.yui3-u-21-24 {
    width: 87.5000%;
    *width: 87.4690%;
}

.yui3-u-11-12,
.yui3-u-22-24 {
    width: 91.6667%;
    *width: 91.6357%;
}

.yui3-u-23-24 {
    width: 95.8333%;
    *width: 95.8023%;
}

.yui3-u-1,
.yui3-u-1-1,
.yui3-u-5-5,
.yui3-u-24-24 {
    width: 100%;
}

/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/

.yui3-g-r {
    letter-spacing: -0.31em;
    *letter-spacing: normal;
    *word-spacing: -0.43em;
    /*
    Sets the font stack to fonts known to work properly with the above letter
    and word spacings. See: https://github.com/yui/pure/issues/41/

    The following font stack makes Pure Grids work on all known environments.

    * FreeSans: Ships with many Linux distros, including Ubuntu

    * Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
      Arial to get picked up by the browser, even though neither is available
      in Chrome OS.

    * Droid Sans: Ships with all versions of Android.

    * Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
    */
    font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
    /*
    Use flexbox when possible to avoid `letter-spacing` side-effects.

    NOTE: Firefox (as of 25) does not currently support flex-wrap, so the
    `-moz-` prefix version is omitted.
    */
    display: -webkit-flex;
    -webkit-flex-flow: row wrap;
    /* IE10 uses display: flexbox */
    display: -ms-flexbox;
    -ms-flex-flow: row wrap;
}

/* Opera as of 12 on Windows needs word-spacing.
   The ".opera-only" selector is used to prevent actual prefocus styling
   and is not required in markup.
*/

.opera-only :-o-prefocus,
.yui3-g-r {
    word-spacing: -0.43em;
}

/*
Resets the font family back to the OS/browser's default sans-serif font,
this the same font stack that Normalize.css sets for the `body`.
*/

.yui3-g-r [class *= "yui3-u"] {
    font-family: sans-serif;
}

.yui3-g-r img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 980px) {
    .yui3-visible-phone {
        display: none;
    }

    .yui3-visible-tablet {
        display: none;
    }

    .yui3-hidden-desktop {
        display: none;
    }
}

@media (max-width: 480px) {
    .yui3-g-r > .yui3-u,
    .yui3-g-r > [class *= "yui3-u-"] {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .yui3-g-r > .yui3-u,
    .yui3-g-r > [class *= "yui3-u-"] {
        width: 100%;
    }

    .yui3-hidden-phone {
        display: none;
    }

    .yui3-visible-desktop {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .yui3-hidden-tablet {
        display: none;
    }

    .yui3-visible-desktop {
        display: none;
    }
}
/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssgrids-responsive { display: none; }