PlayRockPaperScissorsGame 1.9.0 → 1.9.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/README.md +1 -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 +74 -0
- data/docs/CONTRIBUTING.md +33 -0
- data/docs/Gemfile +4 -0
- data/docs/LICENSE +116 -0
- data/docs/Testing.md +21 -0
- data/docs/_config.yml +5 -1
- 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.md +74 -0
- data/docs/_site/CONTRIBUTING.md +33 -0
- data/docs/_site/Gemfile +4 -0
- data/docs/_site/LICENSE +116 -0
- data/docs/_site/Testing.html +64 -0
- data/docs/_site/Testing.md +21 -0
- data/docs/_site/another-page.html +43 -0
- data/docs/_site/assets/css/style.css +318 -0
- data/docs/_site/index.html +77 -0
- data/docs/_site/index.md +33 -0
- data/docs/_site/jekyll-theme-cayman.gemspec +18 -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/_site/thumbnail.png +0 -0
- data/docs/another-page.md +9 -0
- data/docs/assets/css/style.scss +4 -0
- data/docs/index.md +33 -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 +67 -25
- data/exec/uninstall.sh +5 -4
- data/lib/rps/version.rb +1 -1
- data/rps.gemspec +1 -1
- metadata +40 -1
- metadata.gz.sig +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2eda812b84d9962ab67c7ac3c55719063ba6e581
|
4
|
+
data.tar.gz: 9459e6f650947b25ca6a5c77d7baa83ba6b65750
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a34efcfc8d22f2e41d3a8c9a0cada59429d85956a4f332f34539f48b8871fff9d13530edffdba5f76effcbe58bc04d53c6d600594229f616e82da3318091637
|
7
|
+
data.tar.gz: 00daf8bd5fedb27e689ba4fa9aae9788ba8006596f4cce56cb6f857776359b0315bce1c8ad136db47e46ec4107c7e907661a66369eb5fdd5c90ca22c4bd0d195
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
Binary file
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at https://github.com/contact/report-abuse. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
@@ -0,0 +1,33 @@
|
|
1
|
+
## Contributing
|
2
|
+
|
3
|
+
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
|
4
|
+
|
5
|
+
Please note that this project is released with a [Contributor Code of Conduct][code-of-conduct]. By participating in this project you agree to abide by its terms.
|
6
|
+
|
7
|
+
## Submitting a pull request
|
8
|
+
|
9
|
+
0. [Fork][fork] and clone the repository
|
10
|
+
0. Configure and install the dependencies: `script/bootstrap`
|
11
|
+
0. Make sure the tests pass on your machine: `script/cibuild`
|
12
|
+
0. Create a new branch: `git checkout -b my-branch-name`
|
13
|
+
0. Make your change, add tests, and make sure the tests still pass
|
14
|
+
0. Push to your fork and [submit a pull request][pr]
|
15
|
+
0. Pat your self on the back and wait for your pull request to be reviewed and merged.
|
16
|
+
|
17
|
+
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
|
18
|
+
|
19
|
+
- Follow the [style guide][style].
|
20
|
+
- Write tests.
|
21
|
+
- 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.
|
22
|
+
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|
23
|
+
|
24
|
+
## Resources
|
25
|
+
|
26
|
+
- [Contributing to Open Source on GitHub](https://guides.github.com/activities/contributing-to-open-source/)
|
27
|
+
- [Using Pull Requests](https://help.github.com/articles/using-pull-requests/)
|
28
|
+
- [GitHub Help](https://help.github.com)
|
29
|
+
|
30
|
+
[fork]: https://github.com/pages-themes/cayman/fork
|
31
|
+
[pr]: https://github.com/pages-themes/cayman/compare
|
32
|
+
[style]: http://ben.balter.com/jekyll-style-guide/
|
33
|
+
[code-of-conduct]: CODE_OF_CONDUCT.md
|
data/docs/Gemfile
ADDED
data/docs/LICENSE
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
CC0 1.0 Universal
|
2
|
+
|
3
|
+
Statement of Purpose
|
4
|
+
|
5
|
+
The laws of most jurisdictions throughout the world automatically confer
|
6
|
+
exclusive Copyright and Related Rights (defined below) upon the creator and
|
7
|
+
subsequent owner(s) (each and all, an "owner") of an original work of
|
8
|
+
authorship and/or a database (each, a "Work").
|
9
|
+
|
10
|
+
Certain owners wish to permanently relinquish those rights to a Work for the
|
11
|
+
purpose of contributing to a commons of creative, cultural and scientific
|
12
|
+
works ("Commons") that the public can reliably and without fear of later
|
13
|
+
claims of infringement build upon, modify, incorporate in other works, reuse
|
14
|
+
and redistribute as freely as possible in any form whatsoever and for any
|
15
|
+
purposes, including without limitation commercial purposes. These owners may
|
16
|
+
contribute to the Commons to promote the ideal of a free culture and the
|
17
|
+
further production of creative, cultural and scientific works, or to gain
|
18
|
+
reputation or greater distribution for their Work in part through the use and
|
19
|
+
efforts of others.
|
20
|
+
|
21
|
+
For these and/or other purposes and motivations, and without any expectation
|
22
|
+
of additional consideration or compensation, the person associating CC0 with a
|
23
|
+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
24
|
+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
|
25
|
+
and publicly distribute the Work under its terms, with knowledge of his or her
|
26
|
+
Copyright and Related Rights in the Work and the meaning and intended legal
|
27
|
+
effect of CC0 on those rights.
|
28
|
+
|
29
|
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
30
|
+
protected by copyright and related or neighboring rights ("Copyright and
|
31
|
+
Related Rights"). Copyright and Related Rights include, but are not limited
|
32
|
+
to, the following:
|
33
|
+
|
34
|
+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
35
|
+
and translate a Work;
|
36
|
+
|
37
|
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
38
|
+
|
39
|
+
iii. publicity and privacy rights pertaining to a person's image or likeness
|
40
|
+
depicted in a Work;
|
41
|
+
|
42
|
+
iv. rights protecting against unfair competition in regards to a Work,
|
43
|
+
subject to the limitations in paragraph 4(a), below;
|
44
|
+
|
45
|
+
v. rights protecting the extraction, dissemination, use and reuse of data in
|
46
|
+
a Work;
|
47
|
+
|
48
|
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
49
|
+
European Parliament and of the Council of 11 March 1996 on the legal
|
50
|
+
protection of databases, and under any national implementation thereof,
|
51
|
+
including any amended or successor version of such directive); and
|
52
|
+
|
53
|
+
vii. other similar, equivalent or corresponding rights throughout the world
|
54
|
+
based on applicable law or treaty, and any national implementations thereof.
|
55
|
+
|
56
|
+
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
57
|
+
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
58
|
+
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
59
|
+
and Related Rights and associated claims and causes of action, whether now
|
60
|
+
known or unknown (including existing as well as future claims and causes of
|
61
|
+
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
62
|
+
duration provided by applicable law or treaty (including future time
|
63
|
+
extensions), (iii) in any current or future medium and for any number of
|
64
|
+
copies, and (iv) for any purpose whatsoever, including without limitation
|
65
|
+
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
|
66
|
+
the Waiver for the benefit of each member of the public at large and to the
|
67
|
+
detriment of Affirmer's heirs and successors, fully intending that such Waiver
|
68
|
+
shall not be subject to revocation, rescission, cancellation, termination, or
|
69
|
+
any other legal or equitable action to disrupt the quiet enjoyment of the Work
|
70
|
+
by the public as contemplated by Affirmer's express Statement of Purpose.
|
71
|
+
|
72
|
+
3. Public License Fallback. Should any part of the Waiver for any reason be
|
73
|
+
judged legally invalid or ineffective under applicable law, then the Waiver
|
74
|
+
shall be preserved to the maximum extent permitted taking into account
|
75
|
+
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
|
76
|
+
is so judged Affirmer hereby grants to each affected person a royalty-free,
|
77
|
+
non transferable, non sublicensable, non exclusive, irrevocable and
|
78
|
+
unconditional license to exercise Affirmer's Copyright and Related Rights in
|
79
|
+
the Work (i) in all territories worldwide, (ii) for the maximum duration
|
80
|
+
provided by applicable law or treaty (including future time extensions), (iii)
|
81
|
+
in any current or future medium and for any number of copies, and (iv) for any
|
82
|
+
purpose whatsoever, including without limitation commercial, advertising or
|
83
|
+
promotional purposes (the "License"). The License shall be deemed effective as
|
84
|
+
of the date CC0 was applied by Affirmer to the Work. Should any part of the
|
85
|
+
License for any reason be judged legally invalid or ineffective under
|
86
|
+
applicable law, such partial invalidity or ineffectiveness shall not
|
87
|
+
invalidate the remainder of the License, and in such case Affirmer hereby
|
88
|
+
affirms that he or she will not (i) exercise any of his or her remaining
|
89
|
+
Copyright and Related Rights in the Work or (ii) assert any associated claims
|
90
|
+
and causes of action with respect to the Work, in either case contrary to
|
91
|
+
Affirmer's express Statement of Purpose.
|
92
|
+
|
93
|
+
4. Limitations and Disclaimers.
|
94
|
+
|
95
|
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
96
|
+
surrendered, licensed or otherwise affected by this document.
|
97
|
+
|
98
|
+
b. Affirmer offers the Work as-is and makes no representations or warranties
|
99
|
+
of any kind concerning the Work, express, implied, statutory or otherwise,
|
100
|
+
including without limitation warranties of title, merchantability, fitness
|
101
|
+
for a particular purpose, non infringement, or the absence of latent or
|
102
|
+
other defects, accuracy, or the present or absence of errors, whether or not
|
103
|
+
discoverable, all to the greatest extent permissible under applicable law.
|
104
|
+
|
105
|
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
106
|
+
that may apply to the Work or any use thereof, including without limitation
|
107
|
+
any person's Copyright and Related Rights in the Work. Further, Affirmer
|
108
|
+
disclaims responsibility for obtaining any necessary consents, permissions
|
109
|
+
or other rights required for any use of the Work.
|
110
|
+
|
111
|
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
112
|
+
party to this document and has no duty or obligation with respect to this
|
113
|
+
CC0 or use of the Work.
|
114
|
+
|
115
|
+
For more information, please see
|
116
|
+
<http://creativecommons.org/publicdomain/zero/1.0/>
|
data/docs/Testing.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
How to Test
|
2
|
+
===========
|
3
|
+
|
4
|
+
**Testing this Ruby Gem is very simple.**
|
5
|
+
|
6
|
+
## You must have the following for Mac
|
7
|
+
|
8
|
+
1. `RVM` (includes: `Ruby`, and `RubyGems`)
|
9
|
+
2. `Rake`
|
10
|
+
3. The `PlayRockPaperScissorsGame-#.#.#.gem` file
|
11
|
+
4. WiFi (for the initial setup)
|
12
|
+
|
13
|
+
## You must have the following for Windows
|
14
|
+
|
15
|
+
1. `Ruby Installer` (must be installed)
|
16
|
+
2. The `PlayRockPaperScissorsGame-#.#.#.gem` file
|
17
|
+
3. WiFi (for the initial setup)
|
18
|
+
|
19
|
+
## Getting Started on Mac
|
20
|
+
|
21
|
+
1. Run the `rps.bash` file with the `Terminal` to install everything that is needed for testing this Ruby Gem
|
data/docs/_config.yml
CHANGED
@@ -0,0 +1,48 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-us">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>{{ page.title | default: site.title }}</title>
|
6
|
+
<meta name="description" content="{{ page.description | default: site.description | default: site.github.project_tagline }}"/>
|
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=' | append: site.github.build_revision | relative_url }}">
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<section class="page-header">
|
14
|
+
<h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1>
|
15
|
+
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
|
16
|
+
{% if site.github.is_project_page %}
|
17
|
+
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
|
18
|
+
{% endif %}
|
19
|
+
{% if site.show_downloads %}
|
20
|
+
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
|
21
|
+
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
|
22
|
+
{% endif %}
|
23
|
+
</section>
|
24
|
+
|
25
|
+
<section class="main-content">
|
26
|
+
{{ content }}
|
27
|
+
|
28
|
+
<footer class="site-footer">
|
29
|
+
{% if site.github.is_project_page %}
|
30
|
+
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
|
31
|
+
{% endif %}
|
32
|
+
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
|
33
|
+
</footer>
|
34
|
+
</section>
|
35
|
+
|
36
|
+
{% if site.google_analytics %}
|
37
|
+
<script type="text/javascript">
|
38
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
39
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
40
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
41
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
42
|
+
|
43
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
44
|
+
ga('send', 'pageview');
|
45
|
+
</script>
|
46
|
+
{% endif %}
|
47
|
+
</body>
|
48
|
+
</html>
|
@@ -0,0 +1,345 @@
|
|
1
|
+
@import "normalize";
|
2
|
+
@import "rouge-github";
|
3
|
+
@import "variables";
|
4
|
+
|
5
|
+
@mixin large {
|
6
|
+
@media screen and (min-width: #{$large-breakpoint}) {
|
7
|
+
@content;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
@mixin medium {
|
12
|
+
@media screen and (min-width: #{$medium-breakpoint}) and (max-width: #{$large-breakpoint}) {
|
13
|
+
@content;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
@mixin small {
|
18
|
+
@media screen and (max-width: #{$medium-breakpoint}) {
|
19
|
+
@content;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
* {
|
24
|
+
box-sizing: border-box;
|
25
|
+
}
|
26
|
+
|
27
|
+
body {
|
28
|
+
padding: 0;
|
29
|
+
margin: 0;
|
30
|
+
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
31
|
+
font-size: 16px;
|
32
|
+
line-height: 1.5;
|
33
|
+
color: $body-text-color;
|
34
|
+
}
|
35
|
+
|
36
|
+
a {
|
37
|
+
color: $body-link-color;
|
38
|
+
text-decoration: none;
|
39
|
+
|
40
|
+
&:hover {
|
41
|
+
text-decoration: underline;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.btn {
|
46
|
+
display: inline-block;
|
47
|
+
margin-bottom: 1rem;
|
48
|
+
color: rgba(255, 255, 255, 0.7);
|
49
|
+
background-color: rgba(255, 255, 255, 0.08);
|
50
|
+
border-color: rgba(255, 255, 255, 0.2);
|
51
|
+
border-style: solid;
|
52
|
+
border-width: 1px;
|
53
|
+
border-radius: 0.3rem;
|
54
|
+
transition: color 0.2s, background-color 0.2s, border-color 0.2s;
|
55
|
+
|
56
|
+
&:hover {
|
57
|
+
color: rgba(255, 255, 255, 0.8);
|
58
|
+
text-decoration: none;
|
59
|
+
background-color: rgba(255, 255, 255, 0.2);
|
60
|
+
border-color: rgba(255, 255, 255, 0.3);
|
61
|
+
}
|
62
|
+
|
63
|
+
+ .btn {
|
64
|
+
margin-left: 1rem;
|
65
|
+
}
|
66
|
+
|
67
|
+
@include large {
|
68
|
+
padding: 0.75rem 1rem;
|
69
|
+
}
|
70
|
+
|
71
|
+
@include medium {
|
72
|
+
padding: 0.6rem 0.9rem;
|
73
|
+
font-size: 0.9rem;
|
74
|
+
}
|
75
|
+
|
76
|
+
@include small {
|
77
|
+
display: block;
|
78
|
+
width: 100%;
|
79
|
+
padding: 0.75rem;
|
80
|
+
font-size: 0.9rem;
|
81
|
+
|
82
|
+
+ .btn {
|
83
|
+
margin-top: 1rem;
|
84
|
+
margin-left: 0;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.page-header {
|
90
|
+
color: $header-heading-color;
|
91
|
+
text-align: center;
|
92
|
+
background-color: $header-bg-color;
|
93
|
+
background-image: linear-gradient(120deg, $header-bg-color-secondary, $header-bg-color);
|
94
|
+
|
95
|
+
@include large {
|
96
|
+
padding: 5rem 6rem;
|
97
|
+
}
|
98
|
+
|
99
|
+
@include medium {
|
100
|
+
padding: 3rem 4rem;
|
101
|
+
}
|
102
|
+
|
103
|
+
@include small {
|
104
|
+
padding: 2rem 1rem;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
.project-name {
|
109
|
+
margin-top: 0;
|
110
|
+
margin-bottom: 0.1rem;
|
111
|
+
|
112
|
+
@include large {
|
113
|
+
font-size: 3.25rem;
|
114
|
+
}
|
115
|
+
|
116
|
+
@include medium {
|
117
|
+
font-size: 2.25rem;
|
118
|
+
}
|
119
|
+
|
120
|
+
@include small {
|
121
|
+
font-size: 1.75rem;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
|
125
|
+
.project-tagline {
|
126
|
+
margin-bottom: 2rem;
|
127
|
+
font-weight: normal;
|
128
|
+
opacity: 0.7;
|
129
|
+
|
130
|
+
@include large {
|
131
|
+
font-size: 1.25rem;
|
132
|
+
}
|
133
|
+
|
134
|
+
@include medium {
|
135
|
+
font-size: 1.15rem;
|
136
|
+
}
|
137
|
+
|
138
|
+
@include small {
|
139
|
+
font-size: 1rem;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
.main-content {
|
144
|
+
word-wrap: break-word;
|
145
|
+
|
146
|
+
:first-child {
|
147
|
+
margin-top: 0;
|
148
|
+
}
|
149
|
+
|
150
|
+
@include large {
|
151
|
+
max-width: 64rem;
|
152
|
+
padding: 2rem 6rem;
|
153
|
+
margin: 0 auto;
|
154
|
+
font-size: 1.1rem;
|
155
|
+
}
|
156
|
+
|
157
|
+
@include medium {
|
158
|
+
padding: 2rem 4rem;
|
159
|
+
font-size: 1.1rem;
|
160
|
+
}
|
161
|
+
|
162
|
+
@include small {
|
163
|
+
padding: 2rem 1rem;
|
164
|
+
font-size: 1rem;
|
165
|
+
}
|
166
|
+
|
167
|
+
img {
|
168
|
+
max-width: 100%;
|
169
|
+
}
|
170
|
+
|
171
|
+
h1,
|
172
|
+
h2,
|
173
|
+
h3,
|
174
|
+
h4,
|
175
|
+
h5,
|
176
|
+
h6 {
|
177
|
+
margin-top: 2rem;
|
178
|
+
margin-bottom: 1rem;
|
179
|
+
font-weight: normal;
|
180
|
+
color: $section-headings-color;
|
181
|
+
}
|
182
|
+
|
183
|
+
p {
|
184
|
+
margin-bottom: 1em;
|
185
|
+
}
|
186
|
+
|
187
|
+
code {
|
188
|
+
padding: 2px 4px;
|
189
|
+
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
190
|
+
font-size: 0.9rem;
|
191
|
+
color: $code-text-color;
|
192
|
+
background-color: $code-bg-color;
|
193
|
+
border-radius: 0.3rem;
|
194
|
+
}
|
195
|
+
|
196
|
+
pre {
|
197
|
+
padding: 0.8rem;
|
198
|
+
margin-top: 0;
|
199
|
+
margin-bottom: 1rem;
|
200
|
+
font: 1rem Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
201
|
+
color: $code-text-color;
|
202
|
+
word-wrap: normal;
|
203
|
+
background-color: $code-bg-color;
|
204
|
+
border: solid 1px $border-color;
|
205
|
+
border-radius: 0.3rem;
|
206
|
+
|
207
|
+
> code {
|
208
|
+
padding: 0;
|
209
|
+
margin: 0;
|
210
|
+
font-size: 0.9rem;
|
211
|
+
color: $code-text-color;
|
212
|
+
word-break: normal;
|
213
|
+
white-space: pre;
|
214
|
+
background: transparent;
|
215
|
+
border: 0;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
.highlight {
|
220
|
+
margin-bottom: 1rem;
|
221
|
+
|
222
|
+
pre {
|
223
|
+
margin-bottom: 0;
|
224
|
+
word-break: normal;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
.highlight pre,
|
229
|
+
pre {
|
230
|
+
padding: 0.8rem;
|
231
|
+
overflow: auto;
|
232
|
+
font-size: 0.9rem;
|
233
|
+
line-height: 1.45;
|
234
|
+
border-radius: 0.3rem;
|
235
|
+
-webkit-overflow-scrolling: touch;
|
236
|
+
}
|
237
|
+
|
238
|
+
pre code,
|
239
|
+
pre tt {
|
240
|
+
display: inline;
|
241
|
+
max-width: initial;
|
242
|
+
padding: 0;
|
243
|
+
margin: 0;
|
244
|
+
overflow: initial;
|
245
|
+
line-height: inherit;
|
246
|
+
word-wrap: normal;
|
247
|
+
background-color: transparent;
|
248
|
+
border: 0;
|
249
|
+
|
250
|
+
&:before,
|
251
|
+
&:after {
|
252
|
+
content: normal;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
ul,
|
257
|
+
ol {
|
258
|
+
margin-top: 0;
|
259
|
+
}
|
260
|
+
|
261
|
+
blockquote {
|
262
|
+
padding: 0 1rem;
|
263
|
+
margin-left: 0;
|
264
|
+
color: $blockquote-text-color;
|
265
|
+
border-left: 0.3rem solid $border-color;
|
266
|
+
|
267
|
+
> :first-child {
|
268
|
+
margin-top: 0;
|
269
|
+
}
|
270
|
+
|
271
|
+
> :last-child {
|
272
|
+
margin-bottom: 0;
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
table {
|
277
|
+
display: block;
|
278
|
+
width: 100%;
|
279
|
+
overflow: auto;
|
280
|
+
word-break: normal;
|
281
|
+
word-break: keep-all; // For Firefox to horizontally scroll wider tables.
|
282
|
+
-webkit-overflow-scrolling: touch;
|
283
|
+
|
284
|
+
th {
|
285
|
+
font-weight: bold;
|
286
|
+
}
|
287
|
+
|
288
|
+
th,
|
289
|
+
td {
|
290
|
+
padding: 0.5rem 1rem;
|
291
|
+
border: 1px solid $table-border-color;
|
292
|
+
}
|
293
|
+
}
|
294
|
+
|
295
|
+
dl {
|
296
|
+
padding: 0;
|
297
|
+
|
298
|
+
dt {
|
299
|
+
padding: 0;
|
300
|
+
margin-top: 1rem;
|
301
|
+
font-size: 1rem;
|
302
|
+
font-weight: bold;
|
303
|
+
}
|
304
|
+
|
305
|
+
dd {
|
306
|
+
padding: 0;
|
307
|
+
margin-bottom: 1rem;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
hr {
|
312
|
+
height: 2px;
|
313
|
+
padding: 0;
|
314
|
+
margin: 1rem 0;
|
315
|
+
background-color: $hr-border-color;
|
316
|
+
border: 0;
|
317
|
+
}
|
318
|
+
}
|
319
|
+
|
320
|
+
.site-footer {
|
321
|
+
padding-top: 2rem;
|
322
|
+
margin-top: 2rem;
|
323
|
+
border-top: solid 1px $hr-border-color;
|
324
|
+
|
325
|
+
@include large {
|
326
|
+
font-size: 1rem;
|
327
|
+
}
|
328
|
+
|
329
|
+
@include medium {
|
330
|
+
font-size: 1rem;
|
331
|
+
}
|
332
|
+
|
333
|
+
@include small {
|
334
|
+
font-size: 0.9rem;
|
335
|
+
}
|
336
|
+
}
|
337
|
+
|
338
|
+
.site-footer-owner {
|
339
|
+
display: block;
|
340
|
+
font-weight: bold;
|
341
|
+
}
|
342
|
+
|
343
|
+
.site-footer-credits {
|
344
|
+
color: $blockquote-text-color;
|
345
|
+
}
|