PlayRo2kPaperScissorsGame 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +7 -0
- data/Gemfile +11 -0
- data/LICENSE +21 -0
- data/README.md +38 -0
- data/Rakefile +17 -0
- data/bin/PlayRockPaperScissorsGame +101 -0
- data/bin/rps +101 -0
- data/certs/gem-public_cert.pem +21 -0
- data/docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/jekyll-theme-cayman.scssc +0 -0
- data/docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/normalize.scssc +0 -0
- data/docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/rouge-github.scssc +0 -0
- data/docs/.sass-cache/0bc0c5468b7b8503d88d58cb41833a568e45e28c/variables.scssc +0 -0
- data/docs/CODE_OF_CONDUCT.md +84 -0
- data/docs/CONTRIBUTING.md +43 -0
- data/docs/Gemfile +4 -0
- data/docs/LICENSE +116 -0
- data/docs/Testing.md +24 -0
- data/docs/_config.yml +11 -0
- data/docs/_layouts/default.html +48 -0
- data/docs/_sass/jekyll-theme-cayman.scss +345 -0
- data/docs/_sass/normalize.scss +424 -0
- data/docs/_sass/rouge-github.scss +209 -0
- data/docs/_sass/variables.scss +23 -0
- data/docs/_site/CODE_OF_CONDUCT.html +127 -0
- data/docs/_site/CONTRIBUTING.html +86 -0
- data/docs/_site/Testing.html +68 -0
- data/docs/_site/assets/css/style.css +318 -0
- data/docs/_site/index.html +126 -0
- data/docs/_site/script/bootstrap +6 -0
- data/docs/_site/script/cibuild +6 -0
- data/docs/_site/script/release +42 -0
- data/docs/_site/script/server +3 -0
- data/docs/assets/css/style.scss +4 -0
- data/docs/index.md +59 -0
- data/docs/jekyll-theme-cayman.gemspec +18 -0
- data/docs/script/bootstrap +6 -0
- data/docs/script/cibuild +6 -0
- data/docs/script/release +42 -0
- data/docs/script/server +3 -0
- data/docs/thumbnail.png +0 -0
- data/exec/rps.bash +73 -0
- data/exec/run.bat +26 -0
- data/exec/uninstall.sh +32 -0
- data/lib/ref/Constants.rb +24 -0
- data/lib/ref/PrivateMethods.rb +30 -0
- data/lib/rps.rb +66 -0
- data/lib/rps/version.rb +3 -0
- data/rps.gemspec +38 -0
- data/test/test_rps.rb +97 -0
- metadata +188 -0
- metadata.gz.sig +0 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
// Breakpoints
|
2
|
+
$large-breakpoint: 64em;
|
3
|
+
$medium-breakpoint: 42em;
|
4
|
+
|
5
|
+
// Headers
|
6
|
+
$header-heading-color: #fff;
|
7
|
+
$header-bg-color: #159957;
|
8
|
+
$header-bg-color-secondary: #155799;
|
9
|
+
|
10
|
+
// Text
|
11
|
+
$section-headings-color: #159957;
|
12
|
+
$body-text-color: #606c71;
|
13
|
+
$body-link-color: #1e6bb8;
|
14
|
+
$blockquote-text-color: #819198;
|
15
|
+
|
16
|
+
// Code
|
17
|
+
$code-bg-color: #f3f6fa;
|
18
|
+
$code-text-color: #567482;
|
19
|
+
|
20
|
+
// Borders
|
21
|
+
$border-color: #dce6f0;
|
22
|
+
$table-border-color: #e9ebec;
|
23
|
+
$hr-border-color: #eff0f1;
|
@@ -0,0 +1,127 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-us">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>Contributor Covenant Code of Conduct</title>
|
6
|
+
<meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/>
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
|
+
<meta name="theme-color" content="#157878">
|
9
|
+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=bbe67e9ac21febb5e381433f7ab666a7485cb6a8">
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<section class="page-header">
|
14
|
+
<h1 class="project-name">Play Rock Paper Scissors Game</h1>
|
15
|
+
<h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
|
16
|
+
|
17
|
+
<a href="http://github.com/bag3318/RockPaperScissors" class="btn">View on GitHub</a>
|
18
|
+
<a href="https://github.com/bag3318/RockPaperScissors/issues" class="btn">Report a Bug</a>
|
19
|
+
|
20
|
+
|
21
|
+
<a href="http://github.com/bag3318/RockPaperScissors/zipball/gh-pages" class="btn">Download .zip</a>
|
22
|
+
<a href="http://github.com/bag3318/RockPaperScissors/tarball/gh-pages" class="btn">Download .tar.gz</a>
|
23
|
+
|
24
|
+
</section>
|
25
|
+
|
26
|
+
<section class="main-content">
|
27
|
+
<h1 id="contributor-covenant-code-of-conduct">Contributor Covenant Code of Conduct</h1>
|
28
|
+
|
29
|
+
<h2 id="our-pledge">Our Pledge</h2>
|
30
|
+
|
31
|
+
<p>In the interest of fostering an open and welcoming environment, we as
|
32
|
+
contributors and maintainers pledge to making participation in our project and
|
33
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
34
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
35
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
36
|
+
orientation.</p>
|
37
|
+
|
38
|
+
<h2 id="our-standards">Our Standards</h2>
|
39
|
+
|
40
|
+
<p>Examples of behavior that contributes to creating a positive environment
|
41
|
+
include:</p>
|
42
|
+
|
43
|
+
<ul>
|
44
|
+
<li>Using welcoming and inclusive language</li>
|
45
|
+
<li>Being respectful of differing viewpoints and experiences</li>
|
46
|
+
<li>Gracefully accepting constructive criticism</li>
|
47
|
+
<li>Focusing on what is best for the community</li>
|
48
|
+
<li>Showing empathy towards other community members</li>
|
49
|
+
</ul>
|
50
|
+
|
51
|
+
<p>Examples of unacceptable behavior by participants include:</p>
|
52
|
+
|
53
|
+
<ul>
|
54
|
+
<li>The use of sexualized language or imagery and unwelcome sexual attention or
|
55
|
+
advances</li>
|
56
|
+
<li>Trolling, insulting/derogatory comments, and personal or political attacks</li>
|
57
|
+
<li>Public or private harassment</li>
|
58
|
+
<li>Publishing others’ private information, such as a physical or electronic
|
59
|
+
address, without explicit permission</li>
|
60
|
+
<li>Other conduct which could reasonably be considered inappropriate in a
|
61
|
+
professional setting</li>
|
62
|
+
</ul>
|
63
|
+
|
64
|
+
<h2 id="our-responsibilities">Our Responsibilities</h2>
|
65
|
+
|
66
|
+
<p>Project maintainers are responsible for clarifying the standards of acceptable
|
67
|
+
behavior and are expected to take appropriate and fair corrective action in
|
68
|
+
response to any instances of unacceptable behavior.</p>
|
69
|
+
|
70
|
+
<p>Project maintainers have the right and responsibility to remove, edit, or
|
71
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
72
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
73
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
74
|
+
threatening, offensive, or harmful.</p>
|
75
|
+
|
76
|
+
<h2 id="scope">Scope</h2>
|
77
|
+
|
78
|
+
<p>This Code of Conduct applies both within project spaces and in public spaces
|
79
|
+
when an individual is representing the project or its community. Examples of
|
80
|
+
representing a project or community include using an official project e-mail
|
81
|
+
address, posting via an official social media account, or acting as an appointed
|
82
|
+
representative at an online or offline event. Representation of a project may be
|
83
|
+
further defined and clarified by project maintainers.</p>
|
84
|
+
|
85
|
+
<h2 id="enforcement">Enforcement</h2>
|
86
|
+
|
87
|
+
<p>Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
88
|
+
reported by contacting the project team at https://github.com/contact/report-abuse. All
|
89
|
+
complaints will be reviewed and investigated and will result in a response that
|
90
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
91
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
92
|
+
Further details of specific enforcement policies may be posted separately.</p>
|
93
|
+
|
94
|
+
<p>Project maintainers who do not follow or enforce the Code of Conduct in good
|
95
|
+
faith may face temporary or permanent repercussions as determined by other
|
96
|
+
members of the project’s leadership.</p>
|
97
|
+
|
98
|
+
<h2 id="attribution">Attribution</h2>
|
99
|
+
|
100
|
+
<p>This Code of Conduct is adapted from the <a href="http://contributor-covenant.org">Contributor Covenant</a>, version 1.4,
|
101
|
+
available at <a href="http://contributor-covenant.org/version/1/4/">http://contributor-covenant.org/version/1/4</a></p>
|
102
|
+
|
103
|
+
<hr />
|
104
|
+
|
105
|
+
<h2 id="site-nav">Site Nav</h2>
|
106
|
+
|
107
|
+
<table>
|
108
|
+
<tbody>
|
109
|
+
<tr>
|
110
|
+
<td><a href="./">Home</a></td>
|
111
|
+
<td><a href="CONTRIBUTING">Contributing</a></td>
|
112
|
+
<td><a href="Testing">How to Test</a></td>
|
113
|
+
</tr>
|
114
|
+
</tbody>
|
115
|
+
</table>
|
116
|
+
|
117
|
+
|
118
|
+
<footer class="site-footer">
|
119
|
+
|
120
|
+
<span class="site-footer-owner"><a href="http://github.com/bag3318/RockPaperScissors">RockPaperScissors</a> is maintained by <a href="http://github.com/bag3318">bag3318</a>.</span>
|
121
|
+
|
122
|
+
</footer>
|
123
|
+
</section>
|
124
|
+
|
125
|
+
|
126
|
+
</body>
|
127
|
+
</html>
|
@@ -0,0 +1,86 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-us">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>Contributing</title>
|
6
|
+
<meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/>
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
|
+
<meta name="theme-color" content="#157878">
|
9
|
+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=bbe67e9ac21febb5e381433f7ab666a7485cb6a8">
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<section class="page-header">
|
14
|
+
<h1 class="project-name">Play Rock Paper Scissors Game</h1>
|
15
|
+
<h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
|
16
|
+
|
17
|
+
<a href="http://github.com/bag3318/RockPaperScissors" class="btn">View on GitHub</a>
|
18
|
+
<a href="https://github.com/bag3318/RockPaperScissors/issues" class="btn">Report a Bug</a>
|
19
|
+
|
20
|
+
|
21
|
+
<a href="http://github.com/bag3318/RockPaperScissors/zipball/gh-pages" class="btn">Download .zip</a>
|
22
|
+
<a href="http://github.com/bag3318/RockPaperScissors/tarball/gh-pages" class="btn">Download .tar.gz</a>
|
23
|
+
|
24
|
+
</section>
|
25
|
+
|
26
|
+
<section class="main-content">
|
27
|
+
<h2 id="contributing">Contributing</h2>
|
28
|
+
|
29
|
+
<p>Hi there! We’re thrilled that you’d like to contribute to this project. Your help is essential for keeping it great.</p>
|
30
|
+
|
31
|
+
<p>Please note that this project is released with a <a href="/CODE_OF_CONDUCT.html">Contributor Code of Conduct</a>. By participating in this project you agree to abide by its terms.</p>
|
32
|
+
|
33
|
+
<h2 id="submitting-a-pull-request">Submitting a pull request</h2>
|
34
|
+
|
35
|
+
<ol>
|
36
|
+
<li><a href="https://github.com/pages-themes/cayman/fork">Fork</a> and clone the repository</li>
|
37
|
+
<li>Configure and install the dependencies: <code class="highlighter-rouge">script/bootstrap</code></li>
|
38
|
+
<li>Make sure the tests pass on your machine: <code class="highlighter-rouge">script/cibuild</code></li>
|
39
|
+
<li>Create a new branch: <code class="highlighter-rouge">git checkout -b my-branch-name</code></li>
|
40
|
+
<li>Make your change, add tests, and make sure the tests still pass</li>
|
41
|
+
<li>Push to your fork and <a href="https://github.com/pages-themes/cayman/compare">submit a pull request</a></li>
|
42
|
+
<li>Pat your self on the back and wait for your pull request to be reviewed and merged.</li>
|
43
|
+
</ol>
|
44
|
+
|
45
|
+
<p>Here are a few things you can do that will increase the likelihood of your pull request being accepted:</p>
|
46
|
+
|
47
|
+
<ul>
|
48
|
+
<li>Follow the <a href="http://ben.balter.com/jekyll-style-guide/">style guide</a>.</li>
|
49
|
+
<li>Write tests.</li>
|
50
|
+
<li>Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.</li>
|
51
|
+
<li>Write a <a href="http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html">good commit message</a>.</li>
|
52
|
+
</ul>
|
53
|
+
|
54
|
+
<h2 id="resources">Resources</h2>
|
55
|
+
|
56
|
+
<ul>
|
57
|
+
<li><a href="https://guides.github.com/activities/contributing-to-open-source/">Contributing to Open Source on GitHub</a></li>
|
58
|
+
<li><a href="https://help.github.com/articles/using-pull-requests/">Using Pull Requests</a></li>
|
59
|
+
<li><a href="https://help.github.com">GitHub Help</a></li>
|
60
|
+
</ul>
|
61
|
+
|
62
|
+
<hr />
|
63
|
+
|
64
|
+
<h2 id="site-nav">Site Nav</h2>
|
65
|
+
|
66
|
+
<table>
|
67
|
+
<tbody>
|
68
|
+
<tr>
|
69
|
+
<td><a href="./">Home</a></td>
|
70
|
+
<td><a href="CODE_OF_CONDUCT">Code of Conduct</a></td>
|
71
|
+
<td><a href="/Testing.html">How to Test</a></td>
|
72
|
+
</tr>
|
73
|
+
</tbody>
|
74
|
+
</table>
|
75
|
+
|
76
|
+
|
77
|
+
<footer class="site-footer">
|
78
|
+
|
79
|
+
<span class="site-footer-owner"><a href="http://github.com/bag3318/RockPaperScissors">RockPaperScissors</a> is maintained by <a href="http://github.com/bag3318">bag3318</a>.</span>
|
80
|
+
|
81
|
+
</footer>
|
82
|
+
</section>
|
83
|
+
|
84
|
+
|
85
|
+
</body>
|
86
|
+
</html>
|
@@ -0,0 +1,68 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-us">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>Play Rock Paper Scissors Game</title>
|
6
|
+
<meta name="description" content="A Ruby Programmed Rock Paper Scissors Game"/>
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
|
+
<meta name="theme-color" content="#157878">
|
9
|
+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
|
10
|
+
<link rel="stylesheet" href="/assets/css/style.css?v=bbe67e9ac21febb5e381433f7ab666a7485cb6a8">
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<section class="page-header">
|
14
|
+
<h1 class="project-name">Play Rock Paper Scissors Game</h1>
|
15
|
+
<h2 class="project-tagline">A Ruby Programmed Rock Paper Scissors Game</h2>
|
16
|
+
|
17
|
+
<a href="http://github.com/bag3318/RockPaperScissors" class="btn">View on GitHub</a>
|
18
|
+
<a href="https://github.com/bag3318/RockPaperScissors/issues" class="btn">Report a Bug</a>
|
19
|
+
|
20
|
+
|
21
|
+
<a href="http://github.com/bag3318/RockPaperScissors/zipball/gh-pages" class="btn">Download .zip</a>
|
22
|
+
<a href="http://github.com/bag3318/RockPaperScissors/tarball/gh-pages" class="btn">Download .tar.gz</a>
|
23
|
+
|
24
|
+
</section>
|
25
|
+
|
26
|
+
<section class="main-content">
|
27
|
+
<h1 id="how-to-test-this-gem">How to test this Gem</h1>
|
28
|
+
|
29
|
+
<h2 id="what-you-will-need">What you will need</h2>
|
30
|
+
|
31
|
+
<ol>
|
32
|
+
<li>Ruby & Ruby Gems installed</li>
|
33
|
+
<li>Rake installed</li>
|
34
|
+
<li>The RockPaperScissors repo cloned or downloaded</li>
|
35
|
+
</ol>
|
36
|
+
|
37
|
+
<h2 id="start-testing">Start Testing</h2>
|
38
|
+
|
39
|
+
<ol>
|
40
|
+
<li>Open <code class="highlighter-rouge">Terminal</code>/<code class="highlighter-rouge">Command Prompt</code> and <code class="highlighter-rouge">cd</code> to the directory of the repo’s folder</li>
|
41
|
+
<li>Type: <code class="highlighter-rouge">rake test</code> and hit <kbd>enter</kbd>/<kbd>return</kbd></li>
|
42
|
+
</ol>
|
43
|
+
|
44
|
+
<hr />
|
45
|
+
|
46
|
+
<h2 id="site-nav">Site Nav</h2>
|
47
|
+
|
48
|
+
<table>
|
49
|
+
<tbody>
|
50
|
+
<tr>
|
51
|
+
<td><a href="./">Home</a></td>
|
52
|
+
<td><a href="CONTRIBUTING">Contributing</a></td>
|
53
|
+
<td><a href="CODE_OF_CONDUCT">Code of Conduct</a></td>
|
54
|
+
</tr>
|
55
|
+
</tbody>
|
56
|
+
</table>
|
57
|
+
|
58
|
+
|
59
|
+
<footer class="site-footer">
|
60
|
+
|
61
|
+
<span class="site-footer-owner"><a href="http://github.com/bag3318/RockPaperScissors">RockPaperScissors</a> is maintained by <a href="http://github.com/bag3318">bag3318</a>.</span>
|
62
|
+
|
63
|
+
</footer>
|
64
|
+
</section>
|
65
|
+
|
66
|
+
|
67
|
+
</body>
|
68
|
+
</html>
|
@@ -0,0 +1,318 @@
|
|
1
|
+
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
2
|
+
/** 1. Set default font family to sans-serif. 2. Prevent iOS text size adjust after orientation change, without disabling user zoom. */
|
3
|
+
html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ }
|
4
|
+
|
5
|
+
/** Remove default margin. */
|
6
|
+
body { margin: 0; }
|
7
|
+
|
8
|
+
/* HTML5 display definitions ========================================================================== */
|
9
|
+
/** Correct `block` display not defined for any HTML5 element in IE 8/9. Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. Correct `block` display not defined for `main` in IE 11. */
|
10
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }
|
11
|
+
|
12
|
+
/** 1. Correct `inline-block` display not defined in IE 8/9. 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. */
|
13
|
+
audio, canvas, progress, video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ }
|
14
|
+
|
15
|
+
/** Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
|
16
|
+
audio:not([controls]) { display: none; height: 0; }
|
17
|
+
|
18
|
+
/** Address `[hidden]` styling not present in IE 8/9/10. Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. */
|
19
|
+
[hidden], template { display: none; }
|
20
|
+
|
21
|
+
/* Links ========================================================================== */
|
22
|
+
/** Remove the gray background color from active links in IE 10. */
|
23
|
+
a { background-color: transparent; }
|
24
|
+
|
25
|
+
/** Improve readability when focused and also mouse hovered in all browsers. */
|
26
|
+
a:active, a:hover { outline: 0; }
|
27
|
+
|
28
|
+
/* Text-level semantics ========================================================================== */
|
29
|
+
/** Address styling not present in IE 8/9/10/11, Safari, and Chrome. */
|
30
|
+
abbr[title] { border-bottom: 1px dotted; }
|
31
|
+
|
32
|
+
/** Address style set to `bolder` in Firefox 4+, Safari, and Chrome. */
|
33
|
+
b, strong { font-weight: bold; }
|
34
|
+
|
35
|
+
/** Address styling not present in Safari and Chrome. */
|
36
|
+
dfn { font-style: italic; }
|
37
|
+
|
38
|
+
/** Address variable `h1` font-size and margin within `section` and `article` contexts in Firefox 4+, Safari, and Chrome. */
|
39
|
+
h1 { font-size: 2em; margin: 0.67em 0; }
|
40
|
+
|
41
|
+
/** Address styling not present in IE 8/9. */
|
42
|
+
mark { background: #ff0; color: #000; }
|
43
|
+
|
44
|
+
/** Address inconsistent and variable font size in all browsers. */
|
45
|
+
small { font-size: 80%; }
|
46
|
+
|
47
|
+
/** Prevent `sub` and `sup` affecting `line-height` in all browsers. */
|
48
|
+
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
|
49
|
+
|
50
|
+
sup { top: -0.5em; }
|
51
|
+
|
52
|
+
sub { bottom: -0.25em; }
|
53
|
+
|
54
|
+
/* Embedded content ========================================================================== */
|
55
|
+
/** Remove border when inside `a` element in IE 8/9/10. */
|
56
|
+
img { border: 0; }
|
57
|
+
|
58
|
+
/** Correct overflow not hidden in IE 9/10/11. */
|
59
|
+
svg:not(:root) { overflow: hidden; }
|
60
|
+
|
61
|
+
/* Grouping content ========================================================================== */
|
62
|
+
/** Address margin not present in IE 8/9 and Safari. */
|
63
|
+
figure { margin: 1em 40px; }
|
64
|
+
|
65
|
+
/** Address differences between Firefox and other browsers. */
|
66
|
+
hr { box-sizing: content-box; height: 0; }
|
67
|
+
|
68
|
+
/** Contain overflow in all browsers. */
|
69
|
+
pre { overflow: auto; }
|
70
|
+
|
71
|
+
/** Address odd `em`-unit font size rendering in all browsers. */
|
72
|
+
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }
|
73
|
+
|
74
|
+
/* Forms ========================================================================== */
|
75
|
+
/** Known limitation: by default, Chrome and Safari on OS X allow very limited styling of `select`, unless a `border` property is set. */
|
76
|
+
/** 1. Correct color not being inherited. Known issue: affects color of disabled elements. 2. Correct font properties not being inherited. 3. Address margins set differently in Firefox 4+, Safari, and Chrome. */
|
77
|
+
button, input, optgroup, select, textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ }
|
78
|
+
|
79
|
+
/** Address `overflow` set to `hidden` in IE 8/9/10/11. */
|
80
|
+
button { overflow: visible; }
|
81
|
+
|
82
|
+
/** Address inconsistent `text-transform` inheritance for `button` and `select`. All other form control elements do not inherit `text-transform` values. Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. Correct `select` style inheritance in Firefox. */
|
83
|
+
button, select { text-transform: none; }
|
84
|
+
|
85
|
+
/** 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls. 2. Correct inability to style clickable `input` types in iOS. 3. Improve usability and consistency of cursor style between image-type `input` and others. */
|
86
|
+
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ }
|
87
|
+
|
88
|
+
/** Re-set default cursor for disabled elements. */
|
89
|
+
button[disabled], html input[disabled] { cursor: default; }
|
90
|
+
|
91
|
+
/** Remove inner padding and border in Firefox 4+. */
|
92
|
+
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
93
|
+
|
94
|
+
/** Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet. */
|
95
|
+
input { line-height: normal; }
|
96
|
+
|
97
|
+
/** It's recommended that you don't attempt to style these elements. Firefox's implementation doesn't respect box-sizing, padding, or width. 1. Address box sizing set to `content-box` in IE 8/9/10. 2. Remove excess padding in IE 8/9/10. */
|
98
|
+
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ }
|
99
|
+
|
100
|
+
/** Fix the cursor style for Chrome's increment/decrement buttons. For certain `font-size` values of the `input`, it causes the cursor style of the decrement button to change from `default` to `text`. */
|
101
|
+
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; }
|
102
|
+
|
103
|
+
/** 1. Address `appearance` set to `searchfield` in Safari and Chrome. 2. Address `box-sizing` set to `border-box` in Safari and Chrome (include `-moz` to future-proof). */
|
104
|
+
input[type="search"] { -webkit-appearance: textfield; /* 1 */ /* 2 */ box-sizing: content-box; }
|
105
|
+
|
106
|
+
/** Remove inner padding and search cancel button in Safari and Chrome on OS X. Safari (but not Chrome) clips the cancel button when the search input has padding (and `textfield` appearance). */
|
107
|
+
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
|
108
|
+
|
109
|
+
/** Define consistent border, margin, and padding. */
|
110
|
+
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
|
111
|
+
|
112
|
+
/** 1. Correct `color` not being inherited in IE 8/9/10/11. 2. Remove padding so people aren't caught out if they zero out fieldsets. */
|
113
|
+
legend { border: 0; /* 1 */ padding: 0; /* 2 */ }
|
114
|
+
|
115
|
+
/** Remove default vertical scrollbar in IE 8/9/10/11. */
|
116
|
+
textarea { overflow: auto; }
|
117
|
+
|
118
|
+
/** Don't inherit the `font-weight` (applied by a rule above). NOTE: the default cannot safely be changed in Chrome and Safari on OS X. */
|
119
|
+
optgroup { font-weight: bold; }
|
120
|
+
|
121
|
+
/* Tables ========================================================================== */
|
122
|
+
/** Remove most spacing between table cells. */
|
123
|
+
table { border-collapse: collapse; border-spacing: 0; }
|
124
|
+
|
125
|
+
td, th { padding: 0; }
|
126
|
+
|
127
|
+
.highlight table td { padding: 5px; }
|
128
|
+
|
129
|
+
.highlight table pre { margin: 0; }
|
130
|
+
|
131
|
+
.highlight .cm { color: #999988; font-style: italic; }
|
132
|
+
|
133
|
+
.highlight .cp { color: #999999; font-weight: bold; }
|
134
|
+
|
135
|
+
.highlight .c1 { color: #999988; font-style: italic; }
|
136
|
+
|
137
|
+
.highlight .cs { color: #999999; font-weight: bold; font-style: italic; }
|
138
|
+
|
139
|
+
.highlight .c, .highlight .cd { color: #999988; font-style: italic; }
|
140
|
+
|
141
|
+
.highlight .err { color: #a61717; background-color: #e3d2d2; }
|
142
|
+
|
143
|
+
.highlight .gd { color: #000000; background-color: #ffdddd; }
|
144
|
+
|
145
|
+
.highlight .ge { color: #000000; font-style: italic; }
|
146
|
+
|
147
|
+
.highlight .gr { color: #aa0000; }
|
148
|
+
|
149
|
+
.highlight .gh { color: #999999; }
|
150
|
+
|
151
|
+
.highlight .gi { color: #000000; background-color: #ddffdd; }
|
152
|
+
|
153
|
+
.highlight .go { color: #888888; }
|
154
|
+
|
155
|
+
.highlight .gp { color: #555555; }
|
156
|
+
|
157
|
+
.highlight .gs { font-weight: bold; }
|
158
|
+
|
159
|
+
.highlight .gu { color: #aaaaaa; }
|
160
|
+
|
161
|
+
.highlight .gt { color: #aa0000; }
|
162
|
+
|
163
|
+
.highlight .kc { color: #000000; font-weight: bold; }
|
164
|
+
|
165
|
+
.highlight .kd { color: #000000; font-weight: bold; }
|
166
|
+
|
167
|
+
.highlight .kn { color: #000000; font-weight: bold; }
|
168
|
+
|
169
|
+
.highlight .kp { color: #000000; font-weight: bold; }
|
170
|
+
|
171
|
+
.highlight .kr { color: #000000; font-weight: bold; }
|
172
|
+
|
173
|
+
.highlight .kt { color: #445588; font-weight: bold; }
|
174
|
+
|
175
|
+
.highlight .k, .highlight .kv { color: #000000; font-weight: bold; }
|
176
|
+
|
177
|
+
.highlight .mf { color: #009999; }
|
178
|
+
|
179
|
+
.highlight .mh { color: #009999; }
|
180
|
+
|
181
|
+
.highlight .il { color: #009999; }
|
182
|
+
|
183
|
+
.highlight .mi { color: #009999; }
|
184
|
+
|
185
|
+
.highlight .mo { color: #009999; }
|
186
|
+
|
187
|
+
.highlight .m, .highlight .mb, .highlight .mx { color: #009999; }
|
188
|
+
|
189
|
+
.highlight .sb { color: #d14; }
|
190
|
+
|
191
|
+
.highlight .sc { color: #d14; }
|
192
|
+
|
193
|
+
.highlight .sd { color: #d14; }
|
194
|
+
|
195
|
+
.highlight .s2 { color: #d14; }
|
196
|
+
|
197
|
+
.highlight .se { color: #d14; }
|
198
|
+
|
199
|
+
.highlight .sh { color: #d14; }
|
200
|
+
|
201
|
+
.highlight .si { color: #d14; }
|
202
|
+
|
203
|
+
.highlight .sx { color: #d14; }
|
204
|
+
|
205
|
+
.highlight .sr { color: #009926; }
|
206
|
+
|
207
|
+
.highlight .s1 { color: #d14; }
|
208
|
+
|
209
|
+
.highlight .ss { color: #990073; }
|
210
|
+
|
211
|
+
.highlight .s { color: #d14; }
|
212
|
+
|
213
|
+
.highlight .na { color: #008080; }
|
214
|
+
|
215
|
+
.highlight .bp { color: #999999; }
|
216
|
+
|
217
|
+
.highlight .nb { color: #0086B3; }
|
218
|
+
|
219
|
+
.highlight .nc { color: #445588; font-weight: bold; }
|
220
|
+
|
221
|
+
.highlight .no { color: #008080; }
|
222
|
+
|
223
|
+
.highlight .nd { color: #3c5d5d; font-weight: bold; }
|
224
|
+
|
225
|
+
.highlight .ni { color: #800080; }
|
226
|
+
|
227
|
+
.highlight .ne { color: #990000; font-weight: bold; }
|
228
|
+
|
229
|
+
.highlight .nf { color: #990000; font-weight: bold; }
|
230
|
+
|
231
|
+
.highlight .nl { color: #990000; font-weight: bold; }
|
232
|
+
|
233
|
+
.highlight .nn { color: #555555; }
|
234
|
+
|
235
|
+
.highlight .nt { color: #000080; }
|
236
|
+
|
237
|
+
.highlight .vc { color: #008080; }
|
238
|
+
|
239
|
+
.highlight .vg { color: #008080; }
|
240
|
+
|
241
|
+
.highlight .vi { color: #008080; }
|
242
|
+
|
243
|
+
.highlight .nv { color: #008080; }
|
244
|
+
|
245
|
+
.highlight .ow { color: #000000; font-weight: bold; }
|
246
|
+
|
247
|
+
.highlight .o { color: #000000; font-weight: bold; }
|
248
|
+
|
249
|
+
.highlight .w { color: #bbbbbb; }
|
250
|
+
|
251
|
+
.highlight { background-color: #f8f8f8; }
|
252
|
+
|
253
|
+
* { box-sizing: border-box; }
|
254
|
+
|
255
|
+
body { padding: 0; margin: 0; font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; color: #606c71; }
|
256
|
+
|
257
|
+
a { color: #1e6bb8; text-decoration: none; }
|
258
|
+
a:hover { text-decoration: underline; }
|
259
|
+
|
260
|
+
.btn { display: inline-block; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.7); background-color: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); border-style: solid; border-width: 1px; border-radius: 0.3rem; transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
|
261
|
+
.btn:hover { color: rgba(255, 255, 255, 0.8); text-decoration: none; background-color: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); }
|
262
|
+
.btn + .btn { margin-left: 1rem; }
|
263
|
+
@media screen and (min-width: 64em) { .btn { padding: 0.75rem 1rem; } }
|
264
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .btn { padding: 0.6rem 0.9rem; font-size: 0.9rem; } }
|
265
|
+
@media screen and (max-width: 42em) { .btn { display: block; width: 100%; padding: 0.75rem; font-size: 0.9rem; }
|
266
|
+
.btn + .btn { margin-top: 1rem; margin-left: 0; } }
|
267
|
+
|
268
|
+
.page-header { color: #fff; text-align: center; background-color: #159957; background-image: linear-gradient(120deg, #155799, #159957); }
|
269
|
+
@media screen and (min-width: 64em) { .page-header { padding: 5rem 6rem; } }
|
270
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .page-header { padding: 3rem 4rem; } }
|
271
|
+
@media screen and (max-width: 42em) { .page-header { padding: 2rem 1rem; } }
|
272
|
+
|
273
|
+
.project-name { margin-top: 0; margin-bottom: 0.1rem; }
|
274
|
+
@media screen and (min-width: 64em) { .project-name { font-size: 3.25rem; } }
|
275
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .project-name { font-size: 2.25rem; } }
|
276
|
+
@media screen and (max-width: 42em) { .project-name { font-size: 1.75rem; } }
|
277
|
+
|
278
|
+
.project-tagline { margin-bottom: 2rem; font-weight: normal; opacity: 0.7; }
|
279
|
+
@media screen and (min-width: 64em) { .project-tagline { font-size: 1.25rem; } }
|
280
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .project-tagline { font-size: 1.15rem; } }
|
281
|
+
@media screen and (max-width: 42em) { .project-tagline { font-size: 1rem; } }
|
282
|
+
|
283
|
+
.main-content { word-wrap: break-word; }
|
284
|
+
.main-content :first-child { margin-top: 0; }
|
285
|
+
@media screen and (min-width: 64em) { .main-content { max-width: 64rem; padding: 2rem 6rem; margin: 0 auto; font-size: 1.1rem; } }
|
286
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .main-content { padding: 2rem 4rem; font-size: 1.1rem; } }
|
287
|
+
@media screen and (max-width: 42em) { .main-content { padding: 2rem 1rem; font-size: 1rem; } }
|
288
|
+
.main-content img { max-width: 100%; }
|
289
|
+
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 { margin-top: 2rem; margin-bottom: 1rem; font-weight: normal; color: #159957; }
|
290
|
+
.main-content p { margin-bottom: 1em; }
|
291
|
+
.main-content code { padding: 2px 4px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 0.9rem; color: #567482; background-color: #f3f6fa; border-radius: 0.3rem; }
|
292
|
+
.main-content pre { padding: 0.8rem; margin-top: 0; margin-bottom: 1rem; font: 1rem Consolas, "Liberation Mono", Menlo, Courier, monospace; color: #567482; word-wrap: normal; background-color: #f3f6fa; border: solid 1px #dce6f0; border-radius: 0.3rem; }
|
293
|
+
.main-content pre > code { padding: 0; margin: 0; font-size: 0.9rem; color: #567482; word-break: normal; white-space: pre; background: transparent; border: 0; }
|
294
|
+
.main-content .highlight { margin-bottom: 1rem; }
|
295
|
+
.main-content .highlight pre { margin-bottom: 0; word-break: normal; }
|
296
|
+
.main-content .highlight pre, .main-content pre { padding: 0.8rem; overflow: auto; font-size: 0.9rem; line-height: 1.45; border-radius: 0.3rem; -webkit-overflow-scrolling: touch; }
|
297
|
+
.main-content pre code, .main-content pre tt { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; }
|
298
|
+
.main-content pre code:before, .main-content pre code:after, .main-content pre tt:before, .main-content pre tt:after { content: normal; }
|
299
|
+
.main-content ul, .main-content ol { margin-top: 0; }
|
300
|
+
.main-content blockquote { padding: 0 1rem; margin-left: 0; color: #819198; border-left: 0.3rem solid #dce6f0; }
|
301
|
+
.main-content blockquote > :first-child { margin-top: 0; }
|
302
|
+
.main-content blockquote > :last-child { margin-bottom: 0; }
|
303
|
+
.main-content table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; -webkit-overflow-scrolling: touch; }
|
304
|
+
.main-content table th { font-weight: bold; }
|
305
|
+
.main-content table th, .main-content table td { padding: 0.5rem 1rem; border: 1px solid #e9ebec; }
|
306
|
+
.main-content dl { padding: 0; }
|
307
|
+
.main-content dl dt { padding: 0; margin-top: 1rem; font-size: 1rem; font-weight: bold; }
|
308
|
+
.main-content dl dd { padding: 0; margin-bottom: 1rem; }
|
309
|
+
.main-content hr { height: 2px; padding: 0; margin: 1rem 0; background-color: #eff0f1; border: 0; }
|
310
|
+
|
311
|
+
.site-footer { padding-top: 2rem; margin-top: 2rem; border-top: solid 1px #eff0f1; }
|
312
|
+
@media screen and (min-width: 64em) { .site-footer { font-size: 1rem; } }
|
313
|
+
@media screen and (min-width: 42em) and (max-width: 64em) { .site-footer { font-size: 1rem; } }
|
314
|
+
@media screen and (max-width: 42em) { .site-footer { font-size: 0.9rem; } }
|
315
|
+
|
316
|
+
.site-footer-owner { display: block; font-weight: bold; }
|
317
|
+
|
318
|
+
.site-footer-credits { color: #819198; }
|