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