PlayRockPaperScissorsGame 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/doc/Constants.html +135 -0
- data/doc/Gemfile.html +174 -0
- data/doc/Gemfile_lock.html +199 -0
- data/doc/LICENSE.html +183 -0
- data/doc/PlayRockPaperScissorsGame.html +110 -0
- data/doc/PlayRockPaperScissorsGame/Constants.html +135 -0
- data/doc/PlayRockPaperScissorsGame/PrivateMethods.html +96 -0
- data/doc/PrivateMethods.html +96 -0
- data/doc/README_md.html +227 -0
- data/doc/RakeTest.html +268 -0
- data/doc/RakeTest/Constants.html +135 -0
- data/doc/RakeTest/PrivateMethods.html +96 -0
- data/doc/Rakefile.html +187 -0
- data/doc/RockPaperScissors_sublime-project.html +196 -0
- data/doc/RockPaperScissors_sublime-workspace.html +1049 -0
- data/doc/certs/gem-public_cert_pem.html +181 -0
- data/doc/created.rid +52 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +590 -0
- data/doc/docs/CODE_OF_CONDUCT_md.html +270 -0
- data/doc/docs/CONTRIBUTING_md.html +239 -0
- data/doc/docs/Gemfile.html +164 -0
- data/doc/docs/Gemfile_lock.html +373 -0
- data/doc/docs/How_to_Build_md.html +207 -0
- data/doc/docs/LICENSE.html +286 -0
- data/doc/docs/Testing_md.html +200 -0
- data/doc/docs/_layouts/default_html.html +212 -0
- data/doc/docs/_sass/jekyll-theme-cayman_scss.html +531 -0
- data/doc/docs/_sass/normalize_scss.html +679 -0
- data/doc/docs/_sass/rouge-github_scss.html +431 -0
- data/doc/docs/_sass/variables_scss.html +173 -0
- data/doc/docs/_site/CODE_OF_CONDUCT_html.html +305 -0
- data/doc/docs/_site/CONTRIBUTING_html.html +261 -0
- data/doc/docs/_site/How_to_Build_html.html +236 -0
- data/doc/docs/_site/Testing_html.html +237 -0
- data/doc/docs/_site/assets/css/style_css.html +549 -0
- data/doc/docs/_site/index_html.html +305 -0
- data/doc/docs/_site/script/bootstrap.html +166 -0
- data/doc/docs/_site/script/cibuild.html +166 -0
- data/doc/docs/_site/script/release.html +209 -0
- data/doc/docs/_site/script/server.html +164 -0
- data/doc/docs/assets/css/style_scss.html +164 -0
- data/doc/docs/index_md.html +259 -0
- data/doc/docs/jekyll-theme-cayman_gemspec.html +180 -0
- data/doc/docs/script/bootstrap.html +166 -0
- data/doc/docs/script/cibuild.html +166 -0
- data/doc/docs/script/release.html +209 -0
- data/doc/docs/script/server.html +164 -0
- data/doc/exec/rps_bash.html +234 -0
- data/doc/exec/run_bat.html +185 -0
- data/doc/exec/uninstall_sh.html +194 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +186 -0
- data/doc/js/darkfish.js +161 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +229 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/rps_gemspec.html +201 -0
- data/doc/table_of_contents.html +280 -0
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +1 -1
- metadata +95 -1
- metadata.gz.sig +0 -0
@@ -0,0 +1,679 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>normalize.scss - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<script type="text/javascript">
|
10
|
+
var rdoc_rel_prefix = "../../";
|
11
|
+
var index_rel_prefix = "../../";
|
12
|
+
</script>
|
13
|
+
|
14
|
+
<script src="../../js/jquery.js"></script>
|
15
|
+
<script src="../../js/darkfish.js"></script>
|
16
|
+
|
17
|
+
<link href="../../css/fonts.css" rel="stylesheet">
|
18
|
+
<link href="../../css/rdoc.css" rel="stylesheet">
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
<body id="top" role="document" class="file">
|
23
|
+
<nav role="navigation">
|
24
|
+
<div id="project-navigation">
|
25
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
26
|
+
<h2>
|
27
|
+
<a href="../../index.html" rel="home">Home</a>
|
28
|
+
</h2>
|
29
|
+
|
30
|
+
<div id="table-of-contents-navigation">
|
31
|
+
<a href="../../table_of_contents.html#pages">Pages</a>
|
32
|
+
<a href="../../table_of_contents.html#classes">Classes</a>
|
33
|
+
<a href="../../table_of_contents.html#methods">Methods</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
38
|
+
<form action="#" method="get" accept-charset="utf-8">
|
39
|
+
<div id="search-field-wrapper">
|
40
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
41
|
+
aria-autocomplete="list" aria-controls="search-results"
|
42
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
43
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<ul id="search-results" aria-label="Search Results"
|
47
|
+
aria-busy="false" aria-expanded="false"
|
48
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
49
|
+
</form>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
</div>
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
<div id="project-metadata">
|
57
|
+
<div id="fileindex-section" class="nav-section">
|
58
|
+
<h3>Pages</h3>
|
59
|
+
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><a href="../../Gemfile.html">Gemfile</a>
|
63
|
+
|
64
|
+
<li><a href="../../Gemfile_lock.html">Gemfile.lock</a>
|
65
|
+
|
66
|
+
<li><a href="../../LICENSE.html">LICENSE</a>
|
67
|
+
|
68
|
+
<li><a href="../../README_md.html">README</a>
|
69
|
+
|
70
|
+
<li><a href="../../Rakefile.html">Rakefile</a>
|
71
|
+
|
72
|
+
<li><a href="../../RockPaperScissors_sublime-project.html">RockPaperScissors.sublime-project</a>
|
73
|
+
|
74
|
+
<li><a href="../../RockPaperScissors_sublime-workspace.html">RockPaperScissors.sublime-workspace</a>
|
75
|
+
|
76
|
+
<li><a href="../../certs/gem-public_cert_pem.html">gem-public_cert.pem</a>
|
77
|
+
|
78
|
+
<li><a href="../../docs/CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
|
79
|
+
|
80
|
+
<li><a href="../../docs/CONTRIBUTING_md.html">CONTRIBUTING</a>
|
81
|
+
|
82
|
+
<li><a href="../../docs/Gemfile.html">Gemfile</a>
|
83
|
+
|
84
|
+
<li><a href="../../docs/Gemfile_lock.html">Gemfile.lock</a>
|
85
|
+
|
86
|
+
<li><a href="../../docs/How_to_Build_md.html">How_to_Build</a>
|
87
|
+
|
88
|
+
<li><a href="../../docs/LICENSE.html">LICENSE</a>
|
89
|
+
|
90
|
+
<li><a href="../../docs/Testing_md.html">Testing</a>
|
91
|
+
|
92
|
+
<li><a href="../../docs/_layouts/default_html.html">default.html</a>
|
93
|
+
|
94
|
+
<li><a href="../../docs/_sass/jekyll-theme-cayman_scss.html">jekyll-theme-cayman.scss</a>
|
95
|
+
|
96
|
+
<li><a href="../../docs/_sass/normalize_scss.html">normalize.scss</a>
|
97
|
+
|
98
|
+
<li><a href="../../docs/_sass/rouge-github_scss.html">rouge-github.scss</a>
|
99
|
+
|
100
|
+
<li><a href="../../docs/_sass/variables_scss.html">variables.scss</a>
|
101
|
+
|
102
|
+
<li><a href="../../docs/_site/CODE_OF_CONDUCT_html.html">CODE_OF_CONDUCT.html</a>
|
103
|
+
|
104
|
+
<li><a href="../../docs/_site/CONTRIBUTING_html.html">CONTRIBUTING.html</a>
|
105
|
+
|
106
|
+
<li><a href="../../docs/_site/How_to_Build_html.html">How_to_Build.html</a>
|
107
|
+
|
108
|
+
<li><a href="../../docs/_site/Testing_html.html">Testing.html</a>
|
109
|
+
|
110
|
+
<li><a href="../../docs/_site/assets/css/style_css.html">style.css</a>
|
111
|
+
|
112
|
+
<li><a href="../../docs/_site/index_html.html">index.html</a>
|
113
|
+
|
114
|
+
<li><a href="../../docs/_site/script/bootstrap.html">bootstrap</a>
|
115
|
+
|
116
|
+
<li><a href="../../docs/_site/script/cibuild.html">cibuild</a>
|
117
|
+
|
118
|
+
<li><a href="../../docs/_site/script/release.html">release</a>
|
119
|
+
|
120
|
+
<li><a href="../../docs/_site/script/server.html">server</a>
|
121
|
+
|
122
|
+
<li><a href="../../docs/assets/css/style_scss.html">style.scss</a>
|
123
|
+
|
124
|
+
<li><a href="../../docs/index_md.html">index</a>
|
125
|
+
|
126
|
+
<li><a href="../../docs/jekyll-theme-cayman_gemspec.html">jekyll-theme-cayman.gemspec</a>
|
127
|
+
|
128
|
+
<li><a href="../../docs/script/bootstrap.html">bootstrap</a>
|
129
|
+
|
130
|
+
<li><a href="../../docs/script/cibuild.html">cibuild</a>
|
131
|
+
|
132
|
+
<li><a href="../../docs/script/release.html">release</a>
|
133
|
+
|
134
|
+
<li><a href="../../docs/script/server.html">server</a>
|
135
|
+
|
136
|
+
<li><a href="../../exec/rps_bash.html">rps.bash</a>
|
137
|
+
|
138
|
+
<li><a href="../../exec/run_bat.html">run.bat</a>
|
139
|
+
|
140
|
+
<li><a href="../../exec/uninstall_sh.html">uninstall.sh</a>
|
141
|
+
|
142
|
+
<li><a href="../../rps_gemspec.html">rps.gemspec</a>
|
143
|
+
|
144
|
+
</ul>
|
145
|
+
</div>
|
146
|
+
|
147
|
+
</div>
|
148
|
+
</nav>
|
149
|
+
|
150
|
+
<main role="main" aria-label="Page docs/_sass/normalize.scss">
|
151
|
+
|
152
|
+
<pre>! normalize.css v3.0.2 | MIT License | git.io/normalize
|
153
|
+
|
154
|
+
1. Set default font family to sans-serif.
|
155
|
+
2. Prevent iOS text size adjust after orientation change, without disabling
|
156
|
+
user zoom.
|
157
|
+
/</pre>
|
158
|
+
|
159
|
+
<p>html {</p>
|
160
|
+
|
161
|
+
<pre>font-family: sans-serif; /* 1
|
162
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
163
|
+
-webkit-text-size-adjust: 100%; /* 2 */</pre>
|
164
|
+
|
165
|
+
<p>}</p>
|
166
|
+
|
167
|
+
<p>/**</p>
|
168
|
+
|
169
|
+
<pre class="ruby"> <span class="ruby-constant">Remove</span> <span class="ruby-identifier">default</span> <span class="ruby-identifier">margin</span>.
|
170
|
+
<span class="ruby-operator">/</span>
|
171
|
+
</pre>
|
172
|
+
|
173
|
+
<p>body {</p>
|
174
|
+
|
175
|
+
<pre>margin: 0;</pre>
|
176
|
+
|
177
|
+
<p>}</p>
|
178
|
+
|
179
|
+
<p>/* HTML5 display definitions</p>
|
180
|
+
|
181
|
+
<pre>========================================================================== */</pre>
|
182
|
+
|
183
|
+
<p>/**</p>
|
184
|
+
|
185
|
+
<pre> Correct `block` display not defined for any HTML5 element in IE 8/9.
|
186
|
+
Correct `block` display not defined for `details` or `summary` in IE 10/11
|
187
|
+
and Firefox.
|
188
|
+
Correct `block` display not defined for `main` in IE 11.
|
189
|
+
/</pre>
|
190
|
+
|
191
|
+
<p>article, aside, details, figcaption, figure, footer, header, hgroup, main,
|
192
|
+
menu, nav, section, summary {</p>
|
193
|
+
|
194
|
+
<pre>display: block;</pre>
|
195
|
+
|
196
|
+
<p>}</p>
|
197
|
+
|
198
|
+
<p>/**</p>
|
199
|
+
|
200
|
+
<pre> 1. Correct `inline-block` display not defined in IE 8/9.
|
201
|
+
2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
202
|
+
/</pre>
|
203
|
+
|
204
|
+
<p>audio, canvas, progress, video {</p>
|
205
|
+
|
206
|
+
<pre>display: inline-block; /* 1 */
|
207
|
+
vertical-align: baseline; /* 2 */</pre>
|
208
|
+
|
209
|
+
<p>}</p>
|
210
|
+
|
211
|
+
<p>/**</p>
|
212
|
+
|
213
|
+
<pre> Prevent modern browsers from displaying `audio` without controls.
|
214
|
+
Remove excess height in iOS 5 devices.
|
215
|
+
/</pre>
|
216
|
+
|
217
|
+
<p><a href="controls">audio:not(</a>) {</p>
|
218
|
+
|
219
|
+
<pre>display: none;
|
220
|
+
height: 0;</pre>
|
221
|
+
|
222
|
+
<p>}</p>
|
223
|
+
|
224
|
+
<p>/**</p>
|
225
|
+
|
226
|
+
<pre> Address `[hidden]` styling not present in IE 8/9/10.
|
227
|
+
Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
228
|
+
/</pre>
|
229
|
+
|
230
|
+
<p>[hidden], template {</p>
|
231
|
+
|
232
|
+
<pre>display: none;</pre>
|
233
|
+
|
234
|
+
<p>}</p>
|
235
|
+
|
236
|
+
<p>/* Links</p>
|
237
|
+
|
238
|
+
<pre>========================================================================== */</pre>
|
239
|
+
|
240
|
+
<p>/**</p>
|
241
|
+
|
242
|
+
<pre> Remove the gray background color from active links in IE 10.
|
243
|
+
/</pre>
|
244
|
+
|
245
|
+
<p>a {</p>
|
246
|
+
|
247
|
+
<pre>background-color: transparent;</pre>
|
248
|
+
|
249
|
+
<p>}</p>
|
250
|
+
|
251
|
+
<p>/**</p>
|
252
|
+
|
253
|
+
<pre> Improve readability when focused and also mouse hovered in all browsers.
|
254
|
+
/</pre>
|
255
|
+
|
256
|
+
<p>a:active, a:hover {</p>
|
257
|
+
|
258
|
+
<pre>outline: 0;</pre>
|
259
|
+
|
260
|
+
<p>}</p>
|
261
|
+
|
262
|
+
<p>/* Text-level semantics</p>
|
263
|
+
|
264
|
+
<pre>========================================================================== */</pre>
|
265
|
+
|
266
|
+
<p>/**</p>
|
267
|
+
|
268
|
+
<pre> Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
269
|
+
/</pre>
|
270
|
+
|
271
|
+
<p><a href="title">abbr</a> {</p>
|
272
|
+
|
273
|
+
<pre>border-bottom: 1px dotted;</pre>
|
274
|
+
|
275
|
+
<p>}</p>
|
276
|
+
|
277
|
+
<p>/**</p>
|
278
|
+
|
279
|
+
<pre> Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
280
|
+
/</pre>
|
281
|
+
|
282
|
+
<p>b, strong {</p>
|
283
|
+
|
284
|
+
<pre>font-weight: bold;</pre>
|
285
|
+
|
286
|
+
<p>}</p>
|
287
|
+
|
288
|
+
<p>/**</p>
|
289
|
+
|
290
|
+
<pre> Address styling not present in Safari and Chrome.
|
291
|
+
/</pre>
|
292
|
+
|
293
|
+
<p>dfn {</p>
|
294
|
+
|
295
|
+
<pre>font-style: italic;</pre>
|
296
|
+
|
297
|
+
<p>}</p>
|
298
|
+
|
299
|
+
<p>/**</p>
|
300
|
+
|
301
|
+
<pre> Address variable `h1` font-size and margin within `section` and `article`
|
302
|
+
contexts in Firefox 4+, Safari, and Chrome.
|
303
|
+
/</pre>
|
304
|
+
|
305
|
+
<p>h1 {</p>
|
306
|
+
|
307
|
+
<pre>font-size: 2em;
|
308
|
+
margin: 0.67em 0;</pre>
|
309
|
+
|
310
|
+
<p>}</p>
|
311
|
+
|
312
|
+
<p>/**</p>
|
313
|
+
|
314
|
+
<pre> Address styling not present in IE 8/9.
|
315
|
+
/</pre>
|
316
|
+
|
317
|
+
<p>mark {</p>
|
318
|
+
|
319
|
+
<pre>background: #ff0;
|
320
|
+
color: #000;</pre>
|
321
|
+
|
322
|
+
<p>}</p>
|
323
|
+
|
324
|
+
<p>/**</p>
|
325
|
+
|
326
|
+
<pre> Address inconsistent and variable font size in all browsers.
|
327
|
+
/</pre>
|
328
|
+
|
329
|
+
<p>small {</p>
|
330
|
+
|
331
|
+
<pre>font-size: 80%;</pre>
|
332
|
+
|
333
|
+
<p>}</p>
|
334
|
+
|
335
|
+
<p>/**</p>
|
336
|
+
|
337
|
+
<pre> Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
338
|
+
/</pre>
|
339
|
+
|
340
|
+
<p>sub, sup {</p>
|
341
|
+
|
342
|
+
<pre>font-size: 75%;
|
343
|
+
line-height: 0;
|
344
|
+
position: relative;
|
345
|
+
vertical-align: baseline;</pre>
|
346
|
+
|
347
|
+
<p>}</p>
|
348
|
+
|
349
|
+
<p>sup {</p>
|
350
|
+
|
351
|
+
<pre>top: -0.5em;</pre>
|
352
|
+
|
353
|
+
<p>}</p>
|
354
|
+
|
355
|
+
<p>sub {</p>
|
356
|
+
|
357
|
+
<pre>bottom: -0.25em;</pre>
|
358
|
+
|
359
|
+
<p>}</p>
|
360
|
+
|
361
|
+
<p>/* Embedded content</p>
|
362
|
+
|
363
|
+
<pre>========================================================================== */</pre>
|
364
|
+
|
365
|
+
<p>/**</p>
|
366
|
+
|
367
|
+
<pre> Remove border when inside `a` element in IE 8/9/10.
|
368
|
+
/</pre>
|
369
|
+
|
370
|
+
<p>img {</p>
|
371
|
+
|
372
|
+
<pre>border: 0;</pre>
|
373
|
+
|
374
|
+
<p>}</p>
|
375
|
+
|
376
|
+
<p>/**</p>
|
377
|
+
|
378
|
+
<pre> Correct overflow not hidden in IE 9/10/11.
|
379
|
+
/</pre>
|
380
|
+
|
381
|
+
<p>svg:not(:root) {</p>
|
382
|
+
|
383
|
+
<pre>overflow: hidden;</pre>
|
384
|
+
|
385
|
+
<p>}</p>
|
386
|
+
|
387
|
+
<p>/* Grouping content</p>
|
388
|
+
|
389
|
+
<pre>========================================================================== */</pre>
|
390
|
+
|
391
|
+
<p>/**</p>
|
392
|
+
|
393
|
+
<pre> Address margin not present in IE 8/9 and Safari.
|
394
|
+
/</pre>
|
395
|
+
|
396
|
+
<p>figure {</p>
|
397
|
+
|
398
|
+
<pre>margin: 1em 40px;</pre>
|
399
|
+
|
400
|
+
<p>}</p>
|
401
|
+
|
402
|
+
<p>/**</p>
|
403
|
+
|
404
|
+
<pre class="ruby"> <span class="ruby-constant">Address</span> <span class="ruby-identifier">differences</span> <span class="ruby-identifier">between</span> <span class="ruby-constant">Firefox</span> <span class="ruby-keyword">and</span> <span class="ruby-identifier">other</span> <span class="ruby-identifier">browsers</span>.
|
405
|
+
<span class="ruby-operator">/</span>
|
406
|
+
</pre>
|
407
|
+
|
408
|
+
<p>hr {</p>
|
409
|
+
|
410
|
+
<pre>box-sizing: content-box;
|
411
|
+
height: 0;</pre>
|
412
|
+
|
413
|
+
<p>}</p>
|
414
|
+
|
415
|
+
<p>/**</p>
|
416
|
+
|
417
|
+
<pre> Contain overflow in all browsers.
|
418
|
+
/</pre>
|
419
|
+
|
420
|
+
<p>pre {</p>
|
421
|
+
|
422
|
+
<pre>overflow: auto;</pre>
|
423
|
+
|
424
|
+
<p>}</p>
|
425
|
+
|
426
|
+
<p>/**</p>
|
427
|
+
|
428
|
+
<pre> Address odd `em`-unit font size rendering in all browsers.
|
429
|
+
/</pre>
|
430
|
+
|
431
|
+
<p>code, kbd, pre, samp {</p>
|
432
|
+
|
433
|
+
<pre>font-family: monospace, monospace;
|
434
|
+
font-size: 1em;</pre>
|
435
|
+
|
436
|
+
<p>}</p>
|
437
|
+
|
438
|
+
<p>/* Forms</p>
|
439
|
+
|
440
|
+
<pre>========================================================================== */</pre>
|
441
|
+
|
442
|
+
<p>/**</p>
|
443
|
+
|
444
|
+
<pre> Known limitation: by default, Chrome and Safari on OS X allow very limited
|
445
|
+
styling of `select`, unless a `border` property is set.
|
446
|
+
/</pre>
|
447
|
+
|
448
|
+
<p>/**</p>
|
449
|
+
|
450
|
+
<pre> 1. Correct color not being inherited.
|
451
|
+
Known issue: affects color of disabled elements.
|
452
|
+
2. Correct font properties not being inherited.
|
453
|
+
3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
454
|
+
/</pre>
|
455
|
+
|
456
|
+
<p>button, input, optgroup, select, textarea {</p>
|
457
|
+
|
458
|
+
<pre>color: inherit; /* 1 */
|
459
|
+
font: inherit; /* 2 */
|
460
|
+
margin: 0; /* 3 */</pre>
|
461
|
+
|
462
|
+
<p>}</p>
|
463
|
+
|
464
|
+
<p>/**</p>
|
465
|
+
|
466
|
+
<pre> Address `overflow` set to `hidden` in IE 8/9/10/11.
|
467
|
+
/</pre>
|
468
|
+
|
469
|
+
<p>button {</p>
|
470
|
+
|
471
|
+
<pre>overflow: visible;</pre>
|
472
|
+
|
473
|
+
<p>}</p>
|
474
|
+
|
475
|
+
<p>/**</p>
|
476
|
+
|
477
|
+
<pre> Address inconsistent `text-transform` inheritance for `button` and `select`.
|
478
|
+
All other form control elements do not inherit `text-transform` values.
|
479
|
+
Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
480
|
+
Correct `select` style inheritance in Firefox.
|
481
|
+
/</pre>
|
482
|
+
|
483
|
+
<p>button, select {</p>
|
484
|
+
|
485
|
+
<pre>text-transform: none;</pre>
|
486
|
+
|
487
|
+
<p>}</p>
|
488
|
+
|
489
|
+
<p>/**</p>
|
490
|
+
|
491
|
+
<pre> 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
492
|
+
and `video` controls.
|
493
|
+
2. Correct inability to style clickable `input` types in iOS.
|
494
|
+
3. Improve usability and consistency of cursor style between image-type
|
495
|
+
`input` and others.
|
496
|
+
/</pre>
|
497
|
+
|
498
|
+
<p>button, html <a href="type="button"">input</a>, /* 1 */ <a
|
499
|
+
href="type="reset"">input</a>, <a href="type="submit"">input</a> {</p>
|
500
|
+
|
501
|
+
<pre>-webkit-appearance: button; /* 2 */
|
502
|
+
cursor: pointer; /* 3 */</pre>
|
503
|
+
|
504
|
+
<p>}</p>
|
505
|
+
|
506
|
+
<p>/**</p>
|
507
|
+
|
508
|
+
<pre> Re-set default cursor for disabled elements.
|
509
|
+
/</pre>
|
510
|
+
|
511
|
+
<p><a href="disabled">button</a>, html <a href="disabled">input</a> {</p>
|
512
|
+
|
513
|
+
<pre>cursor: default;</pre>
|
514
|
+
|
515
|
+
<p>}</p>
|
516
|
+
|
517
|
+
<p>/**</p>
|
518
|
+
|
519
|
+
<pre> Remove inner padding and border in Firefox 4+.
|
520
|
+
/</pre>
|
521
|
+
|
522
|
+
<p>button::-moz-focus-inner, input::-moz-focus-inner {</p>
|
523
|
+
|
524
|
+
<pre>border: 0;
|
525
|
+
padding: 0;</pre>
|
526
|
+
|
527
|
+
<p>}</p>
|
528
|
+
|
529
|
+
<p>/**</p>
|
530
|
+
|
531
|
+
<pre> Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
532
|
+
the UA stylesheet.
|
533
|
+
/</pre>
|
534
|
+
|
535
|
+
<p>input {</p>
|
536
|
+
|
537
|
+
<pre>line-height: normal;</pre>
|
538
|
+
|
539
|
+
<p>}</p>
|
540
|
+
|
541
|
+
<p>/**</p>
|
542
|
+
|
543
|
+
<pre> It's recommended that you don't attempt to style these elements.
|
544
|
+
Firefox's implementation doesn't respect box-sizing, padding, or width.
|
545
|
+
|
546
|
+
1. Address box sizing set to `content-box` in IE 8/9/10.
|
547
|
+
2. Remove excess padding in IE 8/9/10.
|
548
|
+
/</pre>
|
549
|
+
|
550
|
+
<p><a href="type="checkbox"">input</a>, <a href="type="radio"">input</a> {</p>
|
551
|
+
|
552
|
+
<pre>box-sizing: border-box; /* 1 */
|
553
|
+
padding: 0; /* 2 */</pre>
|
554
|
+
|
555
|
+
<p>}</p>
|
556
|
+
|
557
|
+
<p>/**</p>
|
558
|
+
|
559
|
+
<pre> Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
560
|
+
`font-size` values of the `input`, it causes the cursor style of the
|
561
|
+
decrement button to change from `default` to `text`.
|
562
|
+
/</pre>
|
563
|
+
|
564
|
+
<p><a href="type="number"">input</a>::-webkit-inner-spin-button, <a
|
565
|
+
href="type="number"">input</a>::-webkit-outer-spin-button {</p>
|
566
|
+
|
567
|
+
<pre>height: auto;</pre>
|
568
|
+
|
569
|
+
<p>}</p>
|
570
|
+
|
571
|
+
<p>/**</p>
|
572
|
+
|
573
|
+
<pre> 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
574
|
+
2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
575
|
+
(include `-moz` to future-proof).
|
576
|
+
/</pre>
|
577
|
+
|
578
|
+
<p><a href="type="search"">input</a> {</p>
|
579
|
+
|
580
|
+
<pre>-webkit-appearance: textfield; /* 1 */ /* 2 */
|
581
|
+
box-sizing: content-box;</pre>
|
582
|
+
|
583
|
+
<p>}</p>
|
584
|
+
|
585
|
+
<p>/**</p>
|
586
|
+
|
587
|
+
<pre> Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
588
|
+
Safari (but not Chrome) clips the cancel button when the search input has
|
589
|
+
padding (and `textfield` appearance).
|
590
|
+
/</pre>
|
591
|
+
|
592
|
+
<p><a href="type="search"">input</a>::-webkit-search-cancel-button, <a
|
593
|
+
href="type="search"">input</a>::-webkit-search-decoration {</p>
|
594
|
+
|
595
|
+
<pre>-webkit-appearance: none;</pre>
|
596
|
+
|
597
|
+
<p>}</p>
|
598
|
+
|
599
|
+
<p>/**</p>
|
600
|
+
|
601
|
+
<pre> Define consistent border, margin, and padding.
|
602
|
+
/</pre>
|
603
|
+
|
604
|
+
<p>fieldset {</p>
|
605
|
+
|
606
|
+
<pre>border: 1px solid #c0c0c0;
|
607
|
+
margin: 0 2px;
|
608
|
+
padding: 0.35em 0.625em 0.75em;</pre>
|
609
|
+
|
610
|
+
<p>}</p>
|
611
|
+
|
612
|
+
<p>/**</p>
|
613
|
+
|
614
|
+
<pre> 1. Correct `color` not being inherited in IE 8/9/10/11.
|
615
|
+
2. Remove padding so people aren't caught out if they zero out fieldsets.
|
616
|
+
/</pre>
|
617
|
+
|
618
|
+
<p>legend {</p>
|
619
|
+
|
620
|
+
<pre>border: 0; /* 1 */
|
621
|
+
padding: 0; /* 2 */</pre>
|
622
|
+
|
623
|
+
<p>}</p>
|
624
|
+
|
625
|
+
<p>/**</p>
|
626
|
+
|
627
|
+
<pre> Remove default vertical scrollbar in IE 8/9/10/11.
|
628
|
+
/</pre>
|
629
|
+
|
630
|
+
<p>textarea {</p>
|
631
|
+
|
632
|
+
<pre>overflow: auto;</pre>
|
633
|
+
|
634
|
+
<p>}</p>
|
635
|
+
|
636
|
+
<p>/**</p>
|
637
|
+
|
638
|
+
<pre> Don't inherit the `font-weight` (applied by a rule above).
|
639
|
+
NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
640
|
+
/</pre>
|
641
|
+
|
642
|
+
<p>optgroup {</p>
|
643
|
+
|
644
|
+
<pre>font-weight: bold;</pre>
|
645
|
+
|
646
|
+
<p>}</p>
|
647
|
+
|
648
|
+
<p>/* Tables</p>
|
649
|
+
|
650
|
+
<pre>========================================================================== */</pre>
|
651
|
+
|
652
|
+
<p>/**</p>
|
653
|
+
|
654
|
+
<pre class="ruby"> <span class="ruby-constant">Remove</span> <span class="ruby-identifier">most</span> <span class="ruby-identifier">spacing</span> <span class="ruby-identifier">between</span> <span class="ruby-identifier">table</span> <span class="ruby-identifier">cells</span>.
|
655
|
+
<span class="ruby-operator">/</span>
|
656
|
+
</pre>
|
657
|
+
|
658
|
+
<p>table {</p>
|
659
|
+
|
660
|
+
<pre>border-collapse: collapse;
|
661
|
+
border-spacing: 0;</pre>
|
662
|
+
|
663
|
+
<p>}</p>
|
664
|
+
|
665
|
+
<p>td, th {</p>
|
666
|
+
|
667
|
+
<pre>padding: 0;</pre>
|
668
|
+
|
669
|
+
<p>}</p>
|
670
|
+
</main>
|
671
|
+
|
672
|
+
|
673
|
+
|
674
|
+
<footer id="validator-badges" role="contentinfo">
|
675
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
676
|
+
<p>Generated by <a href="https://rdoc.github.io/rdoc">RDoc</a> 5.0.0.
|
677
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
678
|
+
</footer>
|
679
|
+
|