cheatr 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,300 @@
1
+ /*
2
+ * HTML5 Boilerplate
3
+ *
4
+ * What follows is the result of much research on cross-browser styling.
5
+ * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
6
+ * Kroc Camen, and the H5BP dev community and team.
7
+ */
8
+
9
+ /* ==========================================================================
10
+ Base styles: opinionated defaults
11
+ ========================================================================== */
12
+
13
+ html,
14
+ button,
15
+ input,
16
+ select,
17
+ textarea {
18
+ color: #222;
19
+ }
20
+
21
+ body {
22
+ font-size: 1em;
23
+ line-height: 1.4;
24
+ }
25
+
26
+ /*
27
+ * Remove text-shadow in selection highlight: h5bp.com/i
28
+ * These selection rule sets have to be separate.
29
+ * Customize the background color to match your design.
30
+ */
31
+
32
+ ::-moz-selection {
33
+ background: #b3d4fc;
34
+ text-shadow: none;
35
+ }
36
+
37
+ ::selection {
38
+ background: #b3d4fc;
39
+ text-shadow: none;
40
+ }
41
+
42
+ /*
43
+ * A better looking default horizontal rule
44
+ */
45
+
46
+ hr {
47
+ display: block;
48
+ height: 1px;
49
+ border: 0;
50
+ border-top: 1px solid #ccc;
51
+ margin: 1em 0;
52
+ padding: 0;
53
+ }
54
+
55
+ /*
56
+ * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
57
+ */
58
+
59
+ img {
60
+ vertical-align: middle;
61
+ }
62
+
63
+ /*
64
+ * Remove default fieldset styles.
65
+ */
66
+
67
+ fieldset {
68
+ border: 0;
69
+ margin: 0;
70
+ padding: 0;
71
+ }
72
+
73
+ /*
74
+ * Allow only vertical resizing of textareas.
75
+ */
76
+
77
+ textarea {
78
+ resize: vertical;
79
+ }
80
+
81
+ /* ==========================================================================
82
+ Chrome Frame prompt
83
+ ========================================================================== */
84
+
85
+ .chromeframe {
86
+ margin: 0.2em 0;
87
+ background: #ccc;
88
+ color: #000;
89
+ padding: 0.2em 0;
90
+ }
91
+
92
+ /* ==========================================================================
93
+ Author's custom styles
94
+ ========================================================================== */
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ /* ==========================================================================
113
+ Helper classes
114
+ ========================================================================== */
115
+
116
+ /*
117
+ * Image replacement
118
+ */
119
+
120
+ .ir {
121
+ background-color: transparent;
122
+ border: 0;
123
+ overflow: hidden;
124
+ /* IE 6/7 fallback */
125
+ *text-indent: -9999px;
126
+ }
127
+
128
+ .ir:before {
129
+ content: "";
130
+ display: block;
131
+ width: 0;
132
+ height: 150%;
133
+ }
134
+
135
+ /*
136
+ * Hide from both screenreaders and browsers: h5bp.com/u
137
+ */
138
+
139
+ .hidden {
140
+ display: none !important;
141
+ visibility: hidden;
142
+ }
143
+
144
+ /*
145
+ * Hide only visually, but have it available for screenreaders: h5bp.com/v
146
+ */
147
+
148
+ .visuallyhidden {
149
+ border: 0;
150
+ clip: rect(0 0 0 0);
151
+ height: 1px;
152
+ margin: -1px;
153
+ overflow: hidden;
154
+ padding: 0;
155
+ position: absolute;
156
+ width: 1px;
157
+ }
158
+
159
+ /*
160
+ * Extends the .visuallyhidden class to allow the element to be focusable
161
+ * when navigated to via the keyboard: h5bp.com/p
162
+ */
163
+
164
+ .visuallyhidden.focusable:active,
165
+ .visuallyhidden.focusable:focus {
166
+ clip: auto;
167
+ height: auto;
168
+ margin: 0;
169
+ overflow: visible;
170
+ position: static;
171
+ width: auto;
172
+ }
173
+
174
+ /*
175
+ * Hide visually and from screenreaders, but maintain layout
176
+ */
177
+
178
+ .invisible {
179
+ visibility: hidden;
180
+ }
181
+
182
+ /*
183
+ * Clearfix: contain floats
184
+ *
185
+ * For modern browsers
186
+ * 1. The space content is one way to avoid an Opera bug when the
187
+ * `contenteditable` attribute is included anywhere else in the document.
188
+ * Otherwise it causes space to appear at the top and bottom of elements
189
+ * that receive the `clearfix` class.
190
+ * 2. The use of `table` rather than `block` is only necessary if using
191
+ * `:before` to contain the top-margins of child elements.
192
+ */
193
+
194
+ .clearfix:before,
195
+ .clearfix:after {
196
+ content: " "; /* 1 */
197
+ display: table; /* 2 */
198
+ }
199
+
200
+ .clearfix:after {
201
+ clear: both;
202
+ }
203
+
204
+ /*
205
+ * For IE 6/7 only
206
+ * Include this rule to trigger hasLayout and contain floats.
207
+ */
208
+
209
+ .clearfix {
210
+ *zoom: 1;
211
+ }
212
+
213
+ /* ==========================================================================
214
+ EXAMPLE Media Queries for Responsive Design.
215
+ These examples override the primary ('mobile first') styles.
216
+ Modify as content requires.
217
+ ========================================================================== */
218
+
219
+ @media only screen and (min-width: 35em) {
220
+ /* Style adjustments for viewports that meet the condition */
221
+ }
222
+
223
+ @media print,
224
+ (-o-min-device-pixel-ratio: 5/4),
225
+ (-webkit-min-device-pixel-ratio: 1.25),
226
+ (min-resolution: 120dpi) {
227
+ /* Style adjustments for high resolution devices */
228
+ }
229
+
230
+ /* ==========================================================================
231
+ Print styles.
232
+ Inlined to avoid required HTTP connection: h5bp.com/r
233
+ ========================================================================== */
234
+
235
+ @media print {
236
+ * {
237
+ background: transparent !important;
238
+ color: #000 !important; /* Black prints faster: h5bp.com/s */
239
+ box-shadow: none !important;
240
+ text-shadow: none !important;
241
+ }
242
+
243
+ a,
244
+ a:visited {
245
+ text-decoration: underline;
246
+ }
247
+
248
+ a[href]:after {
249
+ content: " (" attr(href) ")";
250
+ }
251
+
252
+ abbr[title]:after {
253
+ content: " (" attr(title) ")";
254
+ }
255
+
256
+ /*
257
+ * Don't show links for images, or javascript/internal links
258
+ */
259
+
260
+ .ir a:after,
261
+ a[href^="javascript:"]:after,
262
+ a[href^="#"]:after {
263
+ content: "";
264
+ }
265
+
266
+ pre,
267
+ blockquote {
268
+ border: 1px solid #999;
269
+ page-break-inside: avoid;
270
+ }
271
+
272
+ thead {
273
+ display: table-header-group; /* h5bp.com/t */
274
+ }
275
+
276
+ tr,
277
+ img {
278
+ page-break-inside: avoid;
279
+ }
280
+
281
+ img {
282
+ max-width: 100% !important;
283
+ }
284
+
285
+ @page {
286
+ margin: 0.5cm;
287
+ }
288
+
289
+ p,
290
+ h2,
291
+ h3 {
292
+ orphans: 3;
293
+ widows: 3;
294
+ }
295
+
296
+ h2,
297
+ h3 {
298
+ page-break-after: avoid;
299
+ }
300
+ }
@@ -0,0 +1,533 @@
1
+ /*! normalize.css v1.1.1 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ main,
20
+ nav,
21
+ section,
22
+ summary {
23
+ display: block;
24
+ }
25
+
26
+ /**
27
+ * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
28
+ */
29
+
30
+ audio,
31
+ canvas,
32
+ video {
33
+ display: inline-block;
34
+ *display: inline;
35
+ *zoom: 1;
36
+ }
37
+
38
+ /**
39
+ * Prevent modern browsers from displaying `audio` without controls.
40
+ * Remove excess height in iOS 5 devices.
41
+ */
42
+
43
+ audio:not([controls]) {
44
+ display: none;
45
+ height: 0;
46
+ }
47
+
48
+ /**
49
+ * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
50
+ * Known issue: no IE 6 support.
51
+ */
52
+
53
+ [hidden] {
54
+ display: none;
55
+ }
56
+
57
+ /* ==========================================================================
58
+ Base
59
+ ========================================================================== */
60
+
61
+ /**
62
+ * 1. Prevent system color scheme's background color being used in Firefox, IE,
63
+ * and Opera.
64
+ * 2. Prevent system color scheme's text color being used in Firefox, IE, and
65
+ * Opera.
66
+ * 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
67
+ * `em` units.
68
+ * 4. Prevent iOS text size adjust after orientation change, without disabling
69
+ * user zoom.
70
+ */
71
+
72
+ html {
73
+ background: #fff; /* 1 */
74
+ color: #000; /* 2 */
75
+ font-size: 100%; /* 3 */
76
+ -webkit-text-size-adjust: 100%; /* 4 */
77
+ -ms-text-size-adjust: 100%; /* 4 */
78
+ }
79
+
80
+ /**
81
+ * Address `font-family` inconsistency between `textarea` and other form
82
+ * elements.
83
+ */
84
+
85
+ html,
86
+ button,
87
+ input,
88
+ select,
89
+ textarea {
90
+ font-family: sans-serif;
91
+ }
92
+
93
+ /**
94
+ * Address margins handled incorrectly in IE 6/7.
95
+ */
96
+
97
+ body {
98
+ margin: 0;
99
+ }
100
+
101
+ /* ==========================================================================
102
+ Links
103
+ ========================================================================== */
104
+
105
+ /**
106
+ * Address `outline` inconsistency between Chrome and other browsers.
107
+ */
108
+
109
+ a:focus {
110
+ outline: thin dotted;
111
+ }
112
+
113
+ /**
114
+ * Improve readability when focused and also mouse hovered in all browsers.
115
+ */
116
+
117
+ a:active,
118
+ a:hover {
119
+ outline: 0;
120
+ }
121
+
122
+ /* ==========================================================================
123
+ Typography
124
+ ========================================================================== */
125
+
126
+ /**
127
+ * Address font sizes and margins set differently in IE 6/7.
128
+ * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
129
+ * and Chrome.
130
+ */
131
+
132
+ h1 {
133
+ font-size: 2em;
134
+ margin: 0.67em 0;
135
+ }
136
+
137
+ h2 {
138
+ font-size: 1.5em;
139
+ margin: 0.83em 0;
140
+ }
141
+
142
+ h3 {
143
+ font-size: 1.17em;
144
+ margin: 1em 0;
145
+ }
146
+
147
+ h4 {
148
+ font-size: 1em;
149
+ margin: 1.33em 0;
150
+ }
151
+
152
+ h5 {
153
+ font-size: 0.83em;
154
+ margin: 1.67em 0;
155
+ }
156
+
157
+ h6 {
158
+ font-size: 0.67em;
159
+ margin: 2.33em 0;
160
+ }
161
+
162
+ /**
163
+ * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
164
+ */
165
+
166
+ abbr[title] {
167
+ border-bottom: 1px dotted;
168
+ }
169
+
170
+ /**
171
+ * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
172
+ */
173
+
174
+ b,
175
+ strong {
176
+ font-weight: bold;
177
+ }
178
+
179
+ blockquote {
180
+ margin: 1em 40px;
181
+ }
182
+
183
+ /**
184
+ * Address styling not present in Safari 5 and Chrome.
185
+ */
186
+
187
+ dfn {
188
+ font-style: italic;
189
+ }
190
+
191
+ /**
192
+ * Address differences between Firefox and other browsers.
193
+ * Known issue: no IE 6/7 normalization.
194
+ */
195
+
196
+ hr {
197
+ -moz-box-sizing: content-box;
198
+ box-sizing: content-box;
199
+ height: 0;
200
+ }
201
+
202
+ /**
203
+ * Address styling not present in IE 6/7/8/9.
204
+ */
205
+
206
+ mark {
207
+ background: #ff0;
208
+ color: #000;
209
+ }
210
+
211
+ /**
212
+ * Address margins set differently in IE 6/7.
213
+ */
214
+
215
+ p,
216
+ pre {
217
+ margin: 1em 0;
218
+ }
219
+
220
+ /**
221
+ * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
222
+ */
223
+
224
+ code,
225
+ kbd,
226
+ pre,
227
+ samp {
228
+ font-family: monospace, serif;
229
+ _font-family: 'courier new', monospace;
230
+ font-size: 1em;
231
+ }
232
+
233
+ /**
234
+ * Improve readability of pre-formatted text in all browsers.
235
+ */
236
+
237
+ pre {
238
+ white-space: pre;
239
+ white-space: pre-wrap;
240
+ word-wrap: break-word;
241
+ }
242
+
243
+ /**
244
+ * Address CSS quotes not supported in IE 6/7.
245
+ */
246
+
247
+ q {
248
+ quotes: none;
249
+ }
250
+
251
+ /**
252
+ * Address `quotes` property not supported in Safari 4.
253
+ */
254
+
255
+ q:before,
256
+ q:after {
257
+ content: '';
258
+ content: none;
259
+ }
260
+
261
+ /**
262
+ * Address inconsistent and variable font size in all browsers.
263
+ */
264
+
265
+ small {
266
+ font-size: 80%;
267
+ }
268
+
269
+ /**
270
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
271
+ */
272
+
273
+ sub,
274
+ sup {
275
+ font-size: 75%;
276
+ line-height: 0;
277
+ position: relative;
278
+ vertical-align: baseline;
279
+ }
280
+
281
+ sup {
282
+ top: -0.5em;
283
+ }
284
+
285
+ sub {
286
+ bottom: -0.25em;
287
+ }
288
+
289
+ /* ==========================================================================
290
+ Lists
291
+ ========================================================================== */
292
+
293
+ /**
294
+ * Address margins set differently in IE 6/7.
295
+ */
296
+
297
+ dl,
298
+ menu,
299
+ ol,
300
+ ul {
301
+ margin: 1em 0;
302
+ }
303
+
304
+ dd {
305
+ margin: 0 0 0 40px;
306
+ }
307
+
308
+ /**
309
+ * Address paddings set differently in IE 6/7.
310
+ */
311
+
312
+ menu,
313
+ ol,
314
+ ul {
315
+ padding: 0 0 0 40px;
316
+ }
317
+
318
+ /**
319
+ * Correct list images handled incorrectly in IE 7.
320
+ */
321
+
322
+ nav ul,
323
+ nav ol {
324
+ list-style: none;
325
+ list-style-image: none;
326
+ }
327
+
328
+ /* ==========================================================================
329
+ Embedded content
330
+ ========================================================================== */
331
+
332
+ /**
333
+ * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
334
+ * 2. Improve image quality when scaled in IE 7.
335
+ */
336
+
337
+ img {
338
+ border: 0; /* 1 */
339
+ -ms-interpolation-mode: bicubic; /* 2 */
340
+ }
341
+
342
+ /**
343
+ * Correct overflow displayed oddly in IE 9.
344
+ */
345
+
346
+ svg:not(:root) {
347
+ overflow: hidden;
348
+ }
349
+
350
+ /* ==========================================================================
351
+ Figures
352
+ ========================================================================== */
353
+
354
+ /**
355
+ * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
356
+ */
357
+
358
+ figure {
359
+ margin: 0;
360
+ }
361
+
362
+ /* ==========================================================================
363
+ Forms
364
+ ========================================================================== */
365
+
366
+ /**
367
+ * Correct margin displayed oddly in IE 6/7.
368
+ */
369
+
370
+ form {
371
+ margin: 0;
372
+ }
373
+
374
+ /**
375
+ * Define consistent border, margin, and padding.
376
+ */
377
+
378
+ fieldset {
379
+ border: 1px solid #c0c0c0;
380
+ margin: 0 2px;
381
+ padding: 0.35em 0.625em 0.75em;
382
+ }
383
+
384
+ /**
385
+ * 1. Correct color not being inherited in IE 6/7/8/9.
386
+ * 2. Correct text not wrapping in Firefox 3.
387
+ * 3. Correct alignment displayed oddly in IE 6/7.
388
+ */
389
+
390
+ legend {
391
+ border: 0; /* 1 */
392
+ padding: 0;
393
+ white-space: normal; /* 2 */
394
+ *margin-left: -7px; /* 3 */
395
+ }
396
+
397
+ /**
398
+ * 1. Correct font size not being inherited in all browsers.
399
+ * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
400
+ * and Chrome.
401
+ * 3. Improve appearance and consistency in all browsers.
402
+ */
403
+
404
+ button,
405
+ input,
406
+ select,
407
+ textarea {
408
+ font-size: 100%; /* 1 */
409
+ margin: 0; /* 2 */
410
+ vertical-align: baseline; /* 3 */
411
+ *vertical-align: middle; /* 3 */
412
+ }
413
+
414
+ /**
415
+ * Address Firefox 3+ setting `line-height` on `input` using `!important` in
416
+ * the UA stylesheet.
417
+ */
418
+
419
+ button,
420
+ input {
421
+ line-height: normal;
422
+ }
423
+
424
+ /**
425
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
426
+ * All other form control elements do not inherit `text-transform` values.
427
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
428
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
429
+ */
430
+
431
+ button,
432
+ select {
433
+ text-transform: none;
434
+ }
435
+
436
+ /**
437
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
438
+ * and `video` controls.
439
+ * 2. Correct inability to style clickable `input` types in iOS.
440
+ * 3. Improve usability and consistency of cursor style between image-type
441
+ * `input` and others.
442
+ * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
443
+ * Known issue: inner spacing remains in IE 6.
444
+ */
445
+
446
+ button,
447
+ html input[type="button"], /* 1 */
448
+ input[type="reset"],
449
+ input[type="submit"] {
450
+ -webkit-appearance: button; /* 2 */
451
+ cursor: pointer; /* 3 */
452
+ *overflow: visible; /* 4 */
453
+ }
454
+
455
+ /**
456
+ * Re-set default cursor for disabled elements.
457
+ */
458
+
459
+ button[disabled],
460
+ html input[disabled] {
461
+ cursor: default;
462
+ }
463
+
464
+ /**
465
+ * 1. Address box sizing set to content-box in IE 8/9.
466
+ * 2. Remove excess padding in IE 8/9.
467
+ * 3. Remove excess padding in IE 7.
468
+ * Known issue: excess padding remains in IE 6.
469
+ */
470
+
471
+ input[type="checkbox"],
472
+ input[type="radio"] {
473
+ box-sizing: border-box; /* 1 */
474
+ padding: 0; /* 2 */
475
+ *height: 13px; /* 3 */
476
+ *width: 13px; /* 3 */
477
+ }
478
+
479
+ /**
480
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
481
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
482
+ * (include `-moz` to future-proof).
483
+ */
484
+
485
+ input[type="search"] {
486
+ -webkit-appearance: textfield; /* 1 */
487
+ -moz-box-sizing: content-box;
488
+ -webkit-box-sizing: content-box; /* 2 */
489
+ box-sizing: content-box;
490
+ }
491
+
492
+ /**
493
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
494
+ * on OS X.
495
+ */
496
+
497
+ input[type="search"]::-webkit-search-cancel-button,
498
+ input[type="search"]::-webkit-search-decoration {
499
+ -webkit-appearance: none;
500
+ }
501
+
502
+ /**
503
+ * Remove inner padding and border in Firefox 3+.
504
+ */
505
+
506
+ button::-moz-focus-inner,
507
+ input::-moz-focus-inner {
508
+ border: 0;
509
+ padding: 0;
510
+ }
511
+
512
+ /**
513
+ * 1. Remove default vertical scrollbar in IE 6/7/8/9.
514
+ * 2. Improve readability and alignment in all browsers.
515
+ */
516
+
517
+ textarea {
518
+ overflow: auto; /* 1 */
519
+ vertical-align: top; /* 2 */
520
+ }
521
+
522
+ /* ==========================================================================
523
+ Tables
524
+ ========================================================================== */
525
+
526
+ /**
527
+ * Remove most spacing between table cells.
528
+ */
529
+
530
+ table {
531
+ border-collapse: collapse;
532
+ border-spacing: 0;
533
+ }