compass-capucine 0.2.0 → 0.2.1

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.
@@ -0,0 +1,137 @@
1
+ .square {
2
+ width: 100px;
3
+ height: 100px;
4
+ background: #F0C526;
5
+ }
6
+
7
+ .box {
8
+ width: 200px;
9
+ height: 100px;
10
+ background: #F78331;
11
+ }
12
+
13
+ .circle {
14
+ width: 100px;
15
+ height: 100px;
16
+ -webkit-border-radius: 50px;
17
+ -moz-border-radius: 50px;
18
+ -ms-border-radius: 50px;
19
+ -o-border-radius: 50px;
20
+ border-radius: 50px;
21
+ background: #F73158;
22
+ }
23
+
24
+ .centerXY {
25
+ display: block;
26
+ position: absolute;
27
+ width: 300px;
28
+ height: 100px;
29
+ top: 50%;
30
+ left: 50%;
31
+ margin-top: -50px;
32
+ margin-left: -150px;
33
+ position: fixed;
34
+ background: #9E1B90;
35
+ }
36
+
37
+ .max-width {
38
+ max-width: 200px;
39
+ height: 100px;
40
+ background: #C231F7;
41
+ }
42
+
43
+ .min-max-width {
44
+ min-width: 500px;
45
+ max-width: 800px;
46
+ height: 100px;
47
+ background: #5C31F7;
48
+ margin: 0 auto;
49
+ }
50
+
51
+ .max-width-no-ie6 {
52
+ max-width: 230px;
53
+ }
54
+
55
+ .min-max-width-no-ie6 {
56
+ min-width: 100px;
57
+ max-width: 230px;
58
+ }
59
+
60
+ .unselectable {
61
+ -webkit-user-select: none;
62
+ -moz-user-select: none;
63
+ -ms-user-select: none;
64
+ -o-user-select: none;
65
+ user-select: none;
66
+ -moz-user-select: -moz-none;
67
+ }
68
+
69
+ .visually-hidden {
70
+ border: 0;
71
+ padding: 0;
72
+ clip: rect(0 0 0 0);
73
+ height: 1px;
74
+ width: 1px;
75
+ margin: -1px;
76
+ overflow: hidden;
77
+ position: absolute;
78
+ }
79
+ .visually-hidden.focusable:active, .visually-hidden.focusable:focus {
80
+ clip: auto;
81
+ height: auto;
82
+ padding: 0;
83
+ margin: 0;
84
+ overflow: visible;
85
+ position: static;
86
+ width: auto;
87
+ }
88
+
89
+ .clearfix {
90
+ clear: both;
91
+ display: block;
92
+ *zoom: 1;
93
+ }
94
+ .clearfix:before, .clearfix:after {
95
+ content: "\0020";
96
+ display: table;
97
+ }
98
+ .clearfix:after {
99
+ clear: both;
100
+ }
101
+
102
+ ::-moz-selection {
103
+ background: #87e5ff;
104
+ color: #fefefe;
105
+ }
106
+
107
+ ::selection {
108
+ background: #87e5ff;
109
+ color: #fefefe;
110
+ }
111
+
112
+ .pressed-effect:active {
113
+ position: relative;
114
+ top: 1px;
115
+ }
116
+
117
+ .vertical-gradient {
118
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #111111), color-stop(100%, #777777));
119
+ background-image: -webkit-linear-gradient(#111111, #777777);
120
+ background-image: -moz-linear-gradient(#111111, #777777);
121
+ background-image: -o-linear-gradient(#111111, #777777);
122
+ background-image: -ms-linear-gradient(#111111, #777777);
123
+ background-image: linear-gradient(#111111, #777777);
124
+ *zoom: 1;
125
+ filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF111111', endColorstr='#FF777777');
126
+ width: 200px;
127
+ height: 200px;
128
+ }
129
+
130
+ .smart-text-shadow {
131
+ width: 200px;
132
+ height: 200px;
133
+ text-shadow: #777777 0 1px 0;
134
+ color: #444;
135
+ text-align: center;
136
+ padding: 20px;
137
+ }
@@ -0,0 +1,528 @@
1
+ /* normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
2
+ /* ==========================================================================
3
+ HTML5 display definitions
4
+ ========================================================================== */
5
+ /*
6
+ * Corrects `block` display not defined in IE6/7/8/9 & FF3.
7
+ */
8
+ article,
9
+ aside,
10
+ details,
11
+ figcaption,
12
+ figure,
13
+ footer,
14
+ header,
15
+ hgroup,
16
+ nav,
17
+ section,
18
+ summary {
19
+ display: block;
20
+ }
21
+
22
+ /*
23
+ * Corrects `inline-block` display not defined in IE6/7/8/9 & FF3.
24
+ */
25
+ audio,
26
+ canvas,
27
+ video {
28
+ display: inline-block;
29
+ *display: inline;
30
+ *zoom: 1;
31
+ }
32
+
33
+ /*
34
+ * Prevents modern browsers from displaying `audio` without controls.
35
+ * Remove excess height in iOS5 devices.
36
+ */
37
+ audio:not([controls]) {
38
+ display: none;
39
+ height: 0;
40
+ }
41
+
42
+ /*
43
+ * Addresses styling for `hidden` attribute not present in IE7/8/9, FF3, S4.
44
+ * Known issue: no IE6 support.
45
+ */
46
+ [hidden] {
47
+ display: none;
48
+ }
49
+
50
+ /* ==========================================================================
51
+ Base
52
+ ========================================================================== */
53
+ /*
54
+ * 1. Corrects text resizing oddly in IE6/7 when body `font-size` is set using
55
+ * `em` units.
56
+ * 2. Prevents iOS text size adjust after orientation change, without disabling
57
+ * user zoom.
58
+ */
59
+ html {
60
+ font-size: 100%;
61
+ /* 1 */
62
+ -webkit-text-size-adjust: 100%;
63
+ /* 2 */
64
+ -ms-text-size-adjust: 100%;
65
+ /* 2 */
66
+ }
67
+
68
+ /*
69
+ * Addresses `font-family` inconsistency between `textarea` and other form
70
+ * elements.
71
+ */
72
+ html,
73
+ button,
74
+ input,
75
+ select,
76
+ textarea {
77
+ font-family: sans-serif;
78
+ }
79
+
80
+ /*
81
+ * Addresses margins handled incorrectly in IE6/7.
82
+ */
83
+ body {
84
+ margin: 0;
85
+ }
86
+
87
+ /* ==========================================================================
88
+ Links
89
+ ========================================================================== */
90
+ /*
91
+ * Addresses `outline` inconsistency between Chrome and other browsers.
92
+ */
93
+ a:focus {
94
+ outline: thin dotted;
95
+ }
96
+
97
+ /*
98
+ * Improves readability when focused and also mouse hovered in all browsers.
99
+ * people.opera.com/patrickl/experiments/keyboard/test
100
+ */
101
+ a:active,
102
+ a:hover {
103
+ outline: 0;
104
+ }
105
+
106
+ /* ==========================================================================
107
+ Typography
108
+ ========================================================================== */
109
+ /*
110
+ * Addresses font sizes and margins set differently in IE6/7.
111
+ * Addresses font sizes within `section` and `article` in FF4+, Chrome, S5.
112
+ */
113
+ h1 {
114
+ font-size: 2em;
115
+ margin: 0.67em 0;
116
+ }
117
+
118
+ h2 {
119
+ font-size: 1.5em;
120
+ margin: 0.83em 0;
121
+ }
122
+
123
+ h3 {
124
+ font-size: 1.17em;
125
+ margin: 1em 0;
126
+ }
127
+
128
+ h4 {
129
+ font-size: 1em;
130
+ margin: 1.33em 0;
131
+ }
132
+
133
+ h5 {
134
+ font-size: 0.83em;
135
+ margin: 1.67em 0;
136
+ }
137
+
138
+ h6 {
139
+ font-size: 0.75em;
140
+ margin: 2.33em 0;
141
+ }
142
+
143
+ /*
144
+ * Addresses styling not present in IE7/8/9, S5, Chrome.
145
+ */
146
+ abbr[title] {
147
+ border-bottom: 1px dotted;
148
+ }
149
+
150
+ /*
151
+ * Addresses style set to `bolder` in FF3+, S4/5, Chrome.
152
+ */
153
+ b,
154
+ strong {
155
+ font-weight: bold;
156
+ }
157
+
158
+ blockquote {
159
+ margin: 1em 40px;
160
+ }
161
+
162
+ /*
163
+ * Addresses styling not present in S5, Chrome.
164
+ */
165
+ dfn {
166
+ font-style: italic;
167
+ }
168
+
169
+ /*
170
+ * Addresses styling not present in IE6/7/8/9.
171
+ */
172
+ mark {
173
+ background: #ff0;
174
+ color: #000;
175
+ }
176
+
177
+ /*
178
+ * Addresses margins set differently in IE6/7.
179
+ */
180
+ p,
181
+ pre {
182
+ margin: 1em 0;
183
+ }
184
+
185
+ /*
186
+ * Corrects font family set oddly in IE6, S4/5, Chrome.
187
+ * en.wikipedia.org/wiki/User:Davidgothberg/Test59
188
+ */
189
+ code,
190
+ kbd,
191
+ pre,
192
+ samp {
193
+ font-family: monospace, serif;
194
+ _font-family: 'courier new', monospace;
195
+ font-size: 1em;
196
+ }
197
+
198
+ /*
199
+ * Improves readability of pre-formatted text in all browsers.
200
+ */
201
+ pre {
202
+ white-space: pre;
203
+ white-space: pre-wrap;
204
+ word-wrap: break-word;
205
+ }
206
+
207
+ /*
208
+ * Addresses CSS quotes not supported in IE6/7.
209
+ */
210
+ q {
211
+ quotes: none;
212
+ }
213
+
214
+ /*
215
+ * Addresses `quotes` property not supported in S4.
216
+ */
217
+ q:before,
218
+ q:after {
219
+ content: '';
220
+ content: none;
221
+ }
222
+
223
+ small {
224
+ font-size: 75%;
225
+ }
226
+
227
+ /*
228
+ * Prevents `sub` and `sup` affecting `line-height` in all browsers.
229
+ * gist.github.com/413930
230
+ */
231
+ sub,
232
+ sup {
233
+ font-size: 75%;
234
+ line-height: 0;
235
+ position: relative;
236
+ vertical-align: baseline;
237
+ }
238
+
239
+ sup {
240
+ top: -0.5em;
241
+ }
242
+
243
+ sub {
244
+ bottom: -0.25em;
245
+ }
246
+
247
+ /* ==========================================================================
248
+ Lists
249
+ ========================================================================== */
250
+ /*
251
+ * Addresses margins set differently in IE6/7.
252
+ */
253
+ dl,
254
+ menu,
255
+ ol,
256
+ ul {
257
+ margin: 1em 0;
258
+ }
259
+
260
+ dd {
261
+ margin: 0 0 0 40px;
262
+ }
263
+
264
+ /*
265
+ * Addresses paddings set differently in IE6/7.
266
+ */
267
+ menu,
268
+ ol,
269
+ ul {
270
+ padding: 0 0 0 40px;
271
+ }
272
+
273
+ /*
274
+ * Corrects list images handled incorrectly in IE7.
275
+ */
276
+ nav ul,
277
+ nav ol {
278
+ list-style: none;
279
+ list-style-image: none;
280
+ }
281
+
282
+ /* ==========================================================================
283
+ Embedded content
284
+ ========================================================================== */
285
+ /*
286
+ * 1. Removes border when inside `a` element in IE6/7/8/9, FF3.
287
+ * 2. Improves image quality when scaled in IE7.
288
+ * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
289
+ */
290
+ img {
291
+ border: 0;
292
+ /* 1 */
293
+ -ms-interpolation-mode: bicubic;
294
+ /* 2 */
295
+ }
296
+
297
+ /*
298
+ * Corrects overflow displayed oddly in IE9.
299
+ */
300
+ svg:not(:root) {
301
+ overflow: hidden;
302
+ }
303
+
304
+ /* ==========================================================================
305
+ Figures
306
+ ========================================================================== */
307
+ /*
308
+ * Addresses margin not present in IE6/7/8/9, S5, O11.
309
+ */
310
+ figure {
311
+ margin: 0;
312
+ }
313
+
314
+ /* ==========================================================================
315
+ Forms
316
+ ========================================================================== */
317
+ /*
318
+ * Corrects margin displayed oddly in IE6/7.
319
+ */
320
+ form {
321
+ margin: 0;
322
+ }
323
+
324
+ /*
325
+ * Define consistent border, margin, and padding.
326
+ */
327
+ fieldset {
328
+ border: 1px solid #c0c0c0;
329
+ margin: 0 2px;
330
+ padding: 0.35em 0.625em 0.75em;
331
+ }
332
+
333
+ /*
334
+ * 1. Corrects color not being inherited in IE6/7/8/9.
335
+ * 2. Corrects text not wrapping in FF3.
336
+ * 3. Corrects alignment displayed oddly in IE6/7.
337
+ */
338
+ legend {
339
+ border: 0;
340
+ /* 1 */
341
+ padding: 0;
342
+ white-space: normal;
343
+ /* 2 */
344
+ *margin-left: -7px;
345
+ /* 3 */
346
+ }
347
+
348
+ /*
349
+ * 1. Corrects font size not being inherited in all browsers.
350
+ * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome.
351
+ * 3. Improves appearance and consistency in all browsers.
352
+ */
353
+ button,
354
+ input,
355
+ select,
356
+ textarea {
357
+ font-size: 100%;
358
+ /* 1 */
359
+ margin: 0;
360
+ /* 2 */
361
+ vertical-align: baseline;
362
+ /* 3 */
363
+ *vertical-align: middle;
364
+ /* 3 */
365
+ }
366
+
367
+ /*
368
+ * Addresses FF3/4 setting `line-height` on `input` using `!important` in the
369
+ * UA stylesheet.
370
+ */
371
+ button,
372
+ input {
373
+ line-height: normal;
374
+ }
375
+
376
+ /*
377
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
378
+ * and `video` controls.
379
+ * 2. Corrects inability to style clickable `input` types in iOS.
380
+ * 3. Improves usability and consistency of cursor style between image-type
381
+ * `input` and others.
382
+ * 4. Removes inner spacing in IE7 without affecting normal text inputs.
383
+ * Known issue: inner spacing remains in IE6.
384
+ */
385
+ button,
386
+ html input[type="button"],
387
+ input[type="reset"],
388
+ input[type="submit"] {
389
+ -webkit-appearance: button;
390
+ /* 2 */
391
+ cursor: pointer;
392
+ /* 3 */
393
+ *overflow: visible;
394
+ /* 4 */
395
+ }
396
+
397
+ /*
398
+ * Re-set default cursor for disabled elements.
399
+ */
400
+ button[disabled],
401
+ input[disabled] {
402
+ cursor: default;
403
+ }
404
+
405
+ /*
406
+ * 1. Addresses box sizing set to content-box in IE8/9.
407
+ * 2. Removes excess padding in IE8/9.
408
+ * 3. Removes excess padding in IE7.
409
+ * Known issue: excess padding remains in IE6.
410
+ */
411
+ input[type="checkbox"],
412
+ input[type="radio"] {
413
+ box-sizing: border-box;
414
+ /* 1 */
415
+ padding: 0;
416
+ /* 2 */
417
+ *height: 13px;
418
+ /* 3 */
419
+ *width: 13px;
420
+ /* 3 */
421
+ }
422
+
423
+ /*
424
+ * 1. Addresses `appearance` set to `searchfield` in S5, Chrome.
425
+ * 2. Addresses `box-sizing` set to `border-box` in S5, Chrome (include `-moz`
426
+ * to future-proof).
427
+ */
428
+ input[type="search"] {
429
+ -webkit-appearance: textfield;
430
+ /* 1 */
431
+ -moz-box-sizing: content-box;
432
+ -webkit-box-sizing: content-box;
433
+ /* 2 */
434
+ box-sizing: content-box;
435
+ }
436
+
437
+ /*
438
+ * Removes inner padding and search cancel button in S5, Chrome on OS X.
439
+ */
440
+ input[type="search"]::-webkit-search-cancel-button,
441
+ input[type="search"]::-webkit-search-decoration {
442
+ -webkit-appearance: none;
443
+ }
444
+
445
+ /*
446
+ * Removes inner padding and border in FF3+.
447
+ */
448
+ button::-moz-focus-inner,
449
+ input::-moz-focus-inner {
450
+ border: 0;
451
+ padding: 0;
452
+ }
453
+
454
+ /*
455
+ * 1. Removes default vertical scrollbar in IE6/7/8/9.
456
+ * 2. Improves readability and alignment in all browsers.
457
+ */
458
+ textarea {
459
+ overflow: auto;
460
+ /* 1 */
461
+ vertical-align: top;
462
+ /* 2 */
463
+ }
464
+
465
+ /* ==========================================================================
466
+ Tables
467
+ ========================================================================== */
468
+ /*
469
+ * Remove most spacing between table cells.
470
+ */
471
+ table {
472
+ border-collapse: collapse;
473
+ border-spacing: 0;
474
+ }
475
+
476
+ dl,
477
+ menu,
478
+ ol,
479
+ ul,
480
+ dd {
481
+ margin: 0;
482
+ padding: 0;
483
+ }
484
+
485
+ li {
486
+ list-style-type: none;
487
+ }
488
+
489
+ select, option, input, textarea, button {
490
+ outline: none;
491
+ font-size: 0.99em;
492
+ }
493
+
494
+ input[type="search"]::-webkit-search-decoration {
495
+ -webkit-appearance: none;
496
+ }
497
+
498
+ input[type="radio"] {
499
+ vertical-align: text-bottom;
500
+ }
501
+ input[type="text"] {
502
+ cursor: text;
503
+ }
504
+ input[type="checkbox"] {
505
+ vertical-align: bottom;
506
+ }
507
+ input[type="search"] {
508
+ -webkit-appearance: textfield;
509
+ -webkit-box-sizing: content-box;
510
+ -moz-box-sizing: content-box;
511
+ box-sizing: content-box;
512
+ }
513
+
514
+ hr {
515
+ margin-top: -0.5em;
516
+ }
517
+
518
+ legend {
519
+ margin-left: -7px;
520
+ }
521
+
522
+ input[type="checkbox"] {
523
+ vertical-align: baseline;
524
+ }
525
+
526
+ input {
527
+ vertical-align: text-bottom;
528
+ }