agnostic-frontend 0.0.1.rc3 → 0.0.1.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/.DS_Store +0 -0
  2. data/agnostic-frontend.gemspec +2 -2
  3. data/lib/.DS_Store +0 -0
  4. data/lib/agnostic-frontend.rb +1 -1
  5. data/lib/agnostic/frontend/engine.rb +8 -0
  6. data/lib/agnostic/frontend/version.rb +5 -0
  7. data/vendor/.DS_Store +0 -0
  8. data/vendor/assets/.DS_Store +0 -0
  9. data/vendor/assets/javascripts/adapt.js +145 -0
  10. data/vendor/assets/javascripts/bootstrap.js +2027 -0
  11. data/vendor/assets/javascripts/bootstrap.min.js +6 -0
  12. data/vendor/assets/javascripts/jquery.cookie.js +72 -0
  13. data/vendor/assets/javascripts/modernizr.js +1384 -0
  14. data/vendor/assets/stylesheets/.DS_Store +0 -0
  15. data/vendor/assets/stylesheets/grid/.DS_Store +0 -0
  16. data/vendor/assets/stylesheets/grid/960.css +653 -0
  17. data/vendor/assets/stylesheets/grid/960_12_col.css +357 -0
  18. data/vendor/assets/stylesheets/grid/960_12_col_rtl.css +357 -0
  19. data/vendor/assets/stylesheets/grid/960_16_col.css +446 -0
  20. data/vendor/assets/stylesheets/grid/960_16_col_rtl.css +446 -0
  21. data/vendor/assets/stylesheets/grid/960_24_col.css +621 -0
  22. data/vendor/assets/stylesheets/grid/960_24_col_rtl.css +621 -0
  23. data/vendor/assets/stylesheets/grid/960_rtl.css +653 -0
  24. data/vendor/assets/stylesheets/grid/blueprint.css +7 -0
  25. data/vendor/assets/stylesheets/grid/blueprint/.DS_Store +0 -0
  26. data/vendor/assets/stylesheets/grid/blueprint/forms.css +82 -0
  27. data/vendor/assets/stylesheets/grid/blueprint/grid.css +280 -0
  28. data/vendor/assets/stylesheets/grid/blueprint/ie.css +79 -0
  29. data/vendor/assets/stylesheets/grid/blueprint/print.css +92 -0
  30. data/vendor/assets/stylesheets/grid/blueprint/typography.css +123 -0
  31. data/vendor/assets/stylesheets/grid/bootstrap.css +338 -0
  32. data/vendor/assets/stylesheets/grid/bootstrap.min.css +87 -0
  33. data/vendor/assets/stylesheets/grid/fluid_960.css +491 -0
  34. data/vendor/assets/stylesheets/grid/intuit.css +927 -0
  35. data/vendor/assets/stylesheets/reset/blueprint.css +65 -0
  36. data/vendor/assets/stylesheets/reset/bootstrap.css +134 -0
  37. data/vendor/assets/stylesheets/reset/bootstrap.min.css +31 -0
  38. data/vendor/assets/stylesheets/reset/eric-meyer.css +1 -0
  39. data/vendor/assets/stylesheets/reset/eric-meyer.min.css +47 -0
  40. data/vendor/assets/stylesheets/reset/html5-doctor.css +86 -0
  41. data/vendor/assets/stylesheets/reset/html5-doctor.min.css +2 -0
  42. data/vendor/assets/stylesheets/reset/normalize.css +500 -0
  43. data/vendor/assets/stylesheets/reset/normalize.min.css +2 -0
  44. data/vendor/assets/stylesheets/reset/universal-selector.css +4 -0
  45. data/vendor/assets/stylesheets/reset/universal-selector.min.css +2 -0
  46. data/vendor/assets/stylesheets/reset/yui3.css +126 -0
  47. data/vendor/assets/stylesheets/reset/yui3.min.css +2 -0
  48. metadata +52 -8
  49. data/lib/agnostic-frontend/version.rb +0 -3
@@ -0,0 +1,65 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ reset.css
4
+ * Resets default browser CSS.
5
+
6
+ -------------------------------------------------------------- */
7
+
8
+ html {
9
+ margin:0;
10
+ padding:0;
11
+ border:0;
12
+ }
13
+
14
+ body, div, span, object, iframe,
15
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
16
+ a, abbr, acronym, address, code,
17
+ del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
18
+ fieldset, form, label, legend,
19
+ table, caption, tbody, tfoot, thead, tr, th, td,
20
+ article, aside, dialog, figure, footer, header,
21
+ hgroup, nav, section {
22
+ margin: 0;
23
+ padding: 0;
24
+ border: 0;
25
+ font-size: 100%;
26
+ font: inherit;
27
+ vertical-align: baseline;
28
+ }
29
+
30
+ /* This helps to make newer HTML5 elements behave like DIVs in older browers */
31
+ article, aside, details, figcaption, figure, dialog,
32
+ footer, header, hgroup, menu, nav, section {
33
+ display:block;
34
+ }
35
+
36
+ /* Line-height should always be unitless! */
37
+ body {
38
+ line-height: 1.5;
39
+ background: white;
40
+ }
41
+
42
+ /* Tables still need 'cellspacing="0"' in the markup. */
43
+ table {
44
+ border-collapse: separate;
45
+ border-spacing: 0;
46
+ }
47
+ /* float:none prevents the span-x classes from breaking table-cell display */
48
+ caption, th, td {
49
+ text-align: left;
50
+ font-weight: normal;
51
+ float:none !important;
52
+ }
53
+ table, th, td {
54
+ vertical-align: middle;
55
+ }
56
+
57
+ /* Remove possible quote marks (") from <q>, <blockquote>. */
58
+ blockquote:before, blockquote:after, q:before, q:after { content: ''; }
59
+ blockquote, q { quotes: "" ""; }
60
+
61
+ /* Remove annoying border on linked images. */
62
+ a img { border: none; }
63
+
64
+ /* Remember to define your own focus styles! */
65
+ :focus { outline: 0; }
@@ -0,0 +1,134 @@
1
+ /*!
2
+ * Bootstrap v2.1.0
3
+ *
4
+ * Copyright 2012 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ */
10
+ .clearfix {
11
+ *zoom: 1;
12
+ }
13
+ .clearfix:before,
14
+ .clearfix:after {
15
+ display: table;
16
+ content: "";
17
+ line-height: 0;
18
+ }
19
+ .clearfix:after {
20
+ clear: both;
21
+ }
22
+ .hide-text {
23
+ font: 0/0 a;
24
+ color: transparent;
25
+ text-shadow: none;
26
+ background-color: transparent;
27
+ border: 0;
28
+ }
29
+ .input-block-level {
30
+ display: block;
31
+ width: 100%;
32
+ min-height: 30px;
33
+ -webkit-box-sizing: border-box;
34
+ -moz-box-sizing: border-box;
35
+ box-sizing: border-box;
36
+ }
37
+ article,
38
+ aside,
39
+ details,
40
+ figcaption,
41
+ figure,
42
+ footer,
43
+ header,
44
+ hgroup,
45
+ nav,
46
+ section {
47
+ display: block;
48
+ }
49
+ audio,
50
+ canvas,
51
+ video {
52
+ display: inline-block;
53
+ *display: inline;
54
+ *zoom: 1;
55
+ }
56
+ audio:not([controls]) {
57
+ display: none;
58
+ }
59
+ html {
60
+ font-size: 100%;
61
+ -webkit-text-size-adjust: 100%;
62
+ -ms-text-size-adjust: 100%;
63
+ }
64
+ a:focus {
65
+ outline: thin dotted #333;
66
+ outline: 5px auto -webkit-focus-ring-color;
67
+ outline-offset: -2px;
68
+ }
69
+ a:hover,
70
+ a:active {
71
+ outline: 0;
72
+ }
73
+ sub,
74
+ sup {
75
+ position: relative;
76
+ font-size: 75%;
77
+ line-height: 0;
78
+ vertical-align: baseline;
79
+ }
80
+ sup {
81
+ top: -0.5em;
82
+ }
83
+ sub {
84
+ bottom: -0.25em;
85
+ }
86
+ img {
87
+ max-width: 100%;
88
+ height: auto;
89
+ vertical-align: middle;
90
+ border: 0;
91
+ -ms-interpolation-mode: bicubic;
92
+ }
93
+ #map_canvas img {
94
+ max-width: none;
95
+ }
96
+ button,
97
+ input,
98
+ select,
99
+ textarea {
100
+ margin: 0;
101
+ font-size: 100%;
102
+ vertical-align: middle;
103
+ }
104
+ button,
105
+ input {
106
+ *overflow: visible;
107
+ line-height: normal;
108
+ }
109
+ button::-moz-focus-inner,
110
+ input::-moz-focus-inner {
111
+ padding: 0;
112
+ border: 0;
113
+ }
114
+ button,
115
+ input[type="button"],
116
+ input[type="reset"],
117
+ input[type="submit"] {
118
+ cursor: pointer;
119
+ -webkit-appearance: button;
120
+ }
121
+ input[type="search"] {
122
+ -webkit-box-sizing: content-box;
123
+ -moz-box-sizing: content-box;
124
+ box-sizing: content-box;
125
+ -webkit-appearance: textfield;
126
+ }
127
+ input[type="search"]::-webkit-search-decoration,
128
+ input[type="search"]::-webkit-search-cancel-button {
129
+ -webkit-appearance: none;
130
+ }
131
+ textarea {
132
+ overflow: auto;
133
+ vertical-align: top;
134
+ }
@@ -0,0 +1,31 @@
1
+ /*!
2
+ * Bootstrap v2.1.0
3
+ *
4
+ * Copyright 2012 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ */
10
+ .clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0;}
11
+ .clearfix:after{clear:both;}
12
+ .hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0;}
13
+ .input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
14
+ article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
15
+ audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
16
+ audio:not([controls]){display:none;}
17
+ html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
18
+ a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
19
+ a:hover,a:active{outline:0;}
20
+ sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
21
+ sup{top:-0.5em;}
22
+ sub{bottom:-0.25em;}
23
+ img{max-width:100%;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}
24
+ #map_canvas img{max-width:none;}
25
+ button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
26
+ button,input{*overflow:visible;line-height:normal;}
27
+ button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
28
+ button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
29
+ input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield;}
30
+ input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;}
31
+ textarea{overflow:auto;vertical-align:top;}
@@ -0,0 +1 @@
1
+ /** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block;}body { line-height: 1;}ol, ul { list-style: none;}blockquote, q { quotes: none;}blockquote:before, blockquote:after,q:before, q:after { content: ''; content: none;}table { border-collapse: collapse; border-spacing: 0;}
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
3
+ * http://cssreset.com
4
+ */
5
+ html, body, div, span, applet, object, iframe,
6
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
7
+ a, abbr, acronym, address, big, cite, code,
8
+ del, dfn, em, img, ins, kbd, q, s, samp,
9
+ small, strike, strong, sub, sup, tt, var,
10
+ b, u, i, center,
11
+ dl, dt, dd, ol, ul, li,
12
+ fieldset, form, label, legend,
13
+ table, caption, tbody, tfoot, thead, tr, th, td,
14
+ article, aside, canvas, details, embed,
15
+ figure, figcaption, footer, header, hgroup,
16
+ menu, nav, output, ruby, section, summary,
17
+ time, mark, audio, video {
18
+ margin: 0;
19
+ padding: 0;
20
+ border: 0;
21
+ font-size: 100%;
22
+ font: inherit;
23
+ vertical-align: baseline;
24
+ }
25
+ /* HTML5 display-role reset for older browsers */
26
+ article, aside, details, figcaption, figure,
27
+ footer, header, hgroup, menu, nav, section {
28
+ display: block;
29
+ }
30
+ body {
31
+ line-height: 1;
32
+ }
33
+ ol, ul {
34
+ list-style: none;
35
+ }
36
+ blockquote, q {
37
+ quotes: none;
38
+ }
39
+ blockquote:before, blockquote:after,
40
+ q:before, q:after {
41
+ content: '';
42
+ content: none;
43
+ }
44
+ table {
45
+ border-collapse: collapse;
46
+ border-spacing: 0;
47
+ }
@@ -0,0 +1,86 @@
1
+ /**
2
+ * html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
3
+ * Richard Clark (http://richclarkdesign.com)
4
+ * http://cssreset.com
5
+ */
6
+ html, body, div, span, object, iframe,
7
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8
+ abbr, address, cite, code,
9
+ del, dfn, em, img, ins, kbd, q, samp,
10
+ small, strong, sub, sup, var,
11
+ b, i,
12
+ dl, dt, dd, ol, ul, li,
13
+ fieldset, form, label, legend,
14
+ table, caption, tbody, tfoot, thead, tr, th, td,
15
+ article, aside, canvas, details, figcaption, figure,
16
+ footer, header, hgroup, menu, nav, section, summary,
17
+ time, mark, audio, video {
18
+ margin:0;
19
+ padding:0;
20
+ border:0;
21
+ outline:0;
22
+ font-size:100%;
23
+ vertical-align:baseline;
24
+ background:transparent;
25
+ }
26
+ body {
27
+ line-height:1;
28
+ }
29
+ article,aside,details,figcaption,figure,
30
+ footer,header,hgroup,menu,nav,section {
31
+ display:block;
32
+ }
33
+ nav ul {
34
+ list-style:none;
35
+ }
36
+ blockquote, q {
37
+ quotes:none;
38
+ }
39
+ blockquote:before, blockquote:after,
40
+ q:before, q:after {
41
+ content:'';
42
+ content:none;
43
+ }
44
+ a {
45
+ margin:0;
46
+ padding:0;
47
+ font-size:100%;
48
+ vertical-align:baseline;
49
+ background:transparent;
50
+ }
51
+ /* change colours to suit your needs */
52
+ ins {
53
+ background-color:#ff9;
54
+ color:#000;
55
+ text-decoration:none;
56
+ }
57
+ /* change colours to suit your needs */
58
+ mark {
59
+ background-color:#ff9;
60
+ color:#000;
61
+ font-style:italic;
62
+ font-weight:bold;
63
+ }
64
+ del {
65
+ text-decoration: line-through;
66
+ }
67
+ abbr[title], dfn[title] {
68
+ border-bottom:1px dotted;
69
+ cursor:help;
70
+ }
71
+ table {
72
+ border-collapse:collapse;
73
+ border-spacing:0;
74
+ }
75
+ /* change border colour to suit your needs */
76
+ hr {
77
+ display:block;
78
+ height:1px;
79
+ border:0;
80
+ border-top:1px solid #cccccc;
81
+ margin:1em 0;
82
+ padding:0;
83
+ }
84
+ input, select {
85
+ vertical-align:middle;
86
+ }
@@ -0,0 +1,2 @@
1
+ /* html5doctor.com Reset v1.6.1 - http://cssreset.com */
2
+ html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}
@@ -0,0 +1,500 @@
1
+ /*! normalize.css v1.0.0 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /*
8
+ * Corrects `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
+ nav,
20
+ section,
21
+ summary {
22
+ display: block;
23
+ }
24
+
25
+ /*
26
+ * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
27
+ */
28
+
29
+ audio,
30
+ canvas,
31
+ video {
32
+ display: inline-block;
33
+ *display: inline;
34
+ *zoom: 1;
35
+ }
36
+
37
+ /*
38
+ * Prevents modern browsers from displaying `audio` without controls.
39
+ * Remove excess height in iOS 5 devices.
40
+ */
41
+
42
+ audio:not([controls]) {
43
+ display: none;
44
+ height: 0;
45
+ }
46
+
47
+ /*
48
+ * Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3,
49
+ * 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. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
63
+ * `em` units.
64
+ * 2. Prevents iOS text size adjust after orientation change, without disabling
65
+ * user zoom.
66
+ */
67
+
68
+ html {
69
+ font-size: 100%; /* 1 */
70
+ -webkit-text-size-adjust: 100%; /* 2 */
71
+ -ms-text-size-adjust: 100%; /* 2 */
72
+ }
73
+
74
+ /*
75
+ * Addresses `font-family` inconsistency between `textarea` and other form
76
+ * elements.
77
+ */
78
+
79
+ html,
80
+ button,
81
+ input,
82
+ select,
83
+ textarea {
84
+ font-family: sans-serif;
85
+ }
86
+
87
+ /*
88
+ * Addresses margins handled incorrectly in IE 6/7.
89
+ */
90
+
91
+ body {
92
+ margin: 0;
93
+ }
94
+
95
+ /* ==========================================================================
96
+ Links
97
+ ========================================================================== */
98
+
99
+ /*
100
+ * Addresses `outline` inconsistency between Chrome and other browsers.
101
+ */
102
+
103
+ a:focus {
104
+ outline: thin dotted;
105
+ }
106
+
107
+ /*
108
+ * Improves readability when focused and also mouse hovered in all browsers.
109
+ */
110
+
111
+ a:active,
112
+ a:hover {
113
+ outline: 0;
114
+ }
115
+
116
+ /* ==========================================================================
117
+ Typography
118
+ ========================================================================== */
119
+
120
+ /*
121
+ * Addresses font sizes and margins set differently in IE 6/7.
122
+ * Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5,
123
+ * and Chrome.
124
+ */
125
+
126
+ h1 {
127
+ font-size: 2em;
128
+ margin: 0.67em 0;
129
+ }
130
+
131
+ h2 {
132
+ font-size: 1.5em;
133
+ margin: 0.83em 0;
134
+ }
135
+
136
+ h3 {
137
+ font-size: 1.17em;
138
+ margin: 1em 0;
139
+ }
140
+
141
+ h4 {
142
+ font-size: 1em;
143
+ margin: 1.33em 0;
144
+ }
145
+
146
+ h5 {
147
+ font-size: 0.83em;
148
+ margin: 1.67em 0;
149
+ }
150
+
151
+ h6 {
152
+ font-size: 0.75em;
153
+ margin: 2.33em 0;
154
+ }
155
+
156
+ /*
157
+ * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome.
158
+ */
159
+
160
+ abbr[title] {
161
+ border-bottom: 1px dotted;
162
+ }
163
+
164
+ /*
165
+ * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
166
+ */
167
+
168
+ b,
169
+ strong {
170
+ font-weight: bold;
171
+ }
172
+
173
+ blockquote {
174
+ margin: 1em 40px;
175
+ }
176
+
177
+ /*
178
+ * Addresses styling not present in Safari 5 and Chrome.
179
+ */
180
+
181
+ dfn {
182
+ font-style: italic;
183
+ }
184
+
185
+ /*
186
+ * Addresses styling not present in IE 6/7/8/9.
187
+ */
188
+
189
+ mark {
190
+ background: #ff0;
191
+ color: #000;
192
+ }
193
+
194
+ /*
195
+ * Addresses margins set differently in IE 6/7.
196
+ */
197
+
198
+ p,
199
+ pre {
200
+ margin: 1em 0;
201
+ }
202
+
203
+ /*
204
+ * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome.
205
+ */
206
+
207
+ code,
208
+ kbd,
209
+ pre,
210
+ samp {
211
+ font-family: monospace, serif;
212
+ _font-family: 'courier new', monospace;
213
+ font-size: 1em;
214
+ }
215
+
216
+ /*
217
+ * Improves readability of pre-formatted text in all browsers.
218
+ */
219
+
220
+ pre {
221
+ white-space: pre;
222
+ white-space: pre-wrap;
223
+ word-wrap: break-word;
224
+ }
225
+
226
+ /*
227
+ * Addresses CSS quotes not supported in IE 6/7.
228
+ */
229
+
230
+ q {
231
+ quotes: none;
232
+ }
233
+
234
+ /*
235
+ * Addresses `quotes` property not supported in Safari 4.
236
+ */
237
+
238
+ q:before,
239
+ q:after {
240
+ content: '';
241
+ content: none;
242
+ }
243
+
244
+ small {
245
+ font-size: 75%;
246
+ }
247
+
248
+ /*
249
+ * Prevents `sub` and `sup` affecting `line-height` in all browsers.
250
+ */
251
+
252
+ sub,
253
+ sup {
254
+ font-size: 75%;
255
+ line-height: 0;
256
+ position: relative;
257
+ vertical-align: baseline;
258
+ }
259
+
260
+ sup {
261
+ top: -0.5em;
262
+ }
263
+
264
+ sub {
265
+ bottom: -0.25em;
266
+ }
267
+
268
+ /* ==========================================================================
269
+ Lists
270
+ ========================================================================== */
271
+
272
+ /*
273
+ * Addresses margins set differently in IE 6/7.
274
+ */
275
+
276
+ dl,
277
+ menu,
278
+ ol,
279
+ ul {
280
+ margin: 1em 0;
281
+ }
282
+
283
+ dd {
284
+ margin: 0 0 0 40px;
285
+ }
286
+
287
+ /*
288
+ * Addresses paddings set differently in IE 6/7.
289
+ */
290
+
291
+ menu,
292
+ ol,
293
+ ul {
294
+ padding: 0 0 0 40px;
295
+ }
296
+
297
+ /*
298
+ * Corrects list images handled incorrectly in IE 7.
299
+ */
300
+
301
+ nav ul,
302
+ nav ol {
303
+ list-style: none;
304
+ list-style-image: none;
305
+ }
306
+
307
+ /* ==========================================================================
308
+ Embedded content
309
+ ========================================================================== */
310
+
311
+ /*
312
+ * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3.
313
+ * 2. Improves image quality when scaled in IE 7.
314
+ */
315
+
316
+ img {
317
+ border: 0; /* 1 */
318
+ -ms-interpolation-mode: bicubic; /* 2 */
319
+ }
320
+
321
+ /*
322
+ * Corrects overflow displayed oddly in IE 9.
323
+ */
324
+
325
+ svg:not(:root) {
326
+ overflow: hidden;
327
+ }
328
+
329
+ /* ==========================================================================
330
+ Figures
331
+ ========================================================================== */
332
+
333
+ /*
334
+ * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
335
+ */
336
+
337
+ figure {
338
+ margin: 0;
339
+ }
340
+
341
+ /* ==========================================================================
342
+ Forms
343
+ ========================================================================== */
344
+
345
+ /*
346
+ * Corrects margin displayed oddly in IE 6/7.
347
+ */
348
+
349
+ form {
350
+ margin: 0;
351
+ }
352
+
353
+ /*
354
+ * Define consistent border, margin, and padding.
355
+ */
356
+
357
+ fieldset {
358
+ border: 1px solid #c0c0c0;
359
+ margin: 0 2px;
360
+ padding: 0.35em 0.625em 0.75em;
361
+ }
362
+
363
+ /*
364
+ * 1. Corrects color not being inherited in IE 6/7/8/9.
365
+ * 2. Corrects text not wrapping in Firefox 3.
366
+ * 3. Corrects alignment displayed oddly in IE 6/7.
367
+ */
368
+
369
+ legend {
370
+ border: 0; /* 1 */
371
+ padding: 0;
372
+ white-space: normal; /* 2 */
373
+ *margin-left: -7px; /* 3 */
374
+ }
375
+
376
+ /*
377
+ * 1. Corrects font size not being inherited in all browsers.
378
+ * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5,
379
+ * and Chrome.
380
+ * 3. Improves appearance and consistency in all browsers.
381
+ */
382
+
383
+ button,
384
+ input,
385
+ select,
386
+ textarea {
387
+ font-size: 100%; /* 1 */
388
+ margin: 0; /* 2 */
389
+ vertical-align: baseline; /* 3 */
390
+ *vertical-align: middle; /* 3 */
391
+ }
392
+
393
+ /*
394
+ * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in
395
+ * the UA stylesheet.
396
+ */
397
+
398
+ button,
399
+ input {
400
+ line-height: normal;
401
+ }
402
+
403
+ /*
404
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
405
+ * and `video` controls.
406
+ * 2. Corrects inability to style clickable `input` types in iOS.
407
+ * 3. Improves usability and consistency of cursor style between image-type
408
+ * `input` and others.
409
+ * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
410
+ * Known issue: inner spacing remains in IE 6.
411
+ */
412
+
413
+ button,
414
+ html input[type="button"], /* 1 */
415
+ input[type="reset"],
416
+ input[type="submit"] {
417
+ -webkit-appearance: button; /* 2 */
418
+ cursor: pointer; /* 3 */
419
+ *overflow: visible; /* 4 */
420
+ }
421
+
422
+ /*
423
+ * Re-set default cursor for disabled elements.
424
+ */
425
+
426
+ button[disabled],
427
+ input[disabled] {
428
+ cursor: default;
429
+ }
430
+
431
+ /*
432
+ * 1. Addresses box sizing set to content-box in IE 8/9.
433
+ * 2. Removes excess padding in IE 8/9.
434
+ * 3. Removes excess padding in IE 7.
435
+ * Known issue: excess padding remains in IE 6.
436
+ */
437
+
438
+ input[type="checkbox"],
439
+ input[type="radio"] {
440
+ box-sizing: border-box; /* 1 */
441
+ padding: 0; /* 2 */
442
+ *height: 13px; /* 3 */
443
+ *width: 13px; /* 3 */
444
+ }
445
+
446
+ /*
447
+ * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
448
+ * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
449
+ * (include `-moz` to future-proof).
450
+ */
451
+
452
+ input[type="search"] {
453
+ -webkit-appearance: textfield; /* 1 */
454
+ -moz-box-sizing: content-box;
455
+ -webkit-box-sizing: content-box; /* 2 */
456
+ box-sizing: content-box;
457
+ }
458
+
459
+ /*
460
+ * Removes inner padding and search cancel button in Safari 5 and Chrome
461
+ * on OS X.
462
+ */
463
+
464
+ input[type="search"]::-webkit-search-cancel-button,
465
+ input[type="search"]::-webkit-search-decoration {
466
+ -webkit-appearance: none;
467
+ }
468
+
469
+ /*
470
+ * Removes inner padding and border in Firefox 3+.
471
+ */
472
+
473
+ button::-moz-focus-inner,
474
+ input::-moz-focus-inner {
475
+ border: 0;
476
+ padding: 0;
477
+ }
478
+
479
+ /*
480
+ * 1. Removes default vertical scrollbar in IE 6/7/8/9.
481
+ * 2. Improves readability and alignment in all browsers.
482
+ */
483
+
484
+ textarea {
485
+ overflow: auto; /* 1 */
486
+ vertical-align: top; /* 2 */
487
+ }
488
+
489
+ /* ==========================================================================
490
+ Tables
491
+ ========================================================================== */
492
+
493
+ /*
494
+ * Remove most spacing between table cells.
495
+ */
496
+
497
+ table {
498
+ border-collapse: collapse;
499
+ border-spacing: 0;
500
+ }