rpsg 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/README.md +2 -0
- data/Rakefile +6 -2
- data/doc/created.rid +2 -2
- data/doc/js/search_index.js.gz +0 -0
- data/docs/Gemfile +4 -0
- data/docs/LICENSE +116 -0
- data/docs/README.md +44 -0
- data/docs/_config.yml +37 -0
- data/docs/_includes/footer.html +16 -0
- data/docs/_includes/header.html +19 -0
- data/docs/_layouts/default.html +50 -0
- data/docs/_sass/jekyll-theme-cayman.scss +346 -0
- data/docs/_sass/normalize.scss +424 -0
- data/docs/_sass/pace.sass +278 -0
- data/docs/_sass/rouge-github.scss +209 -0
- data/docs/_sass/variables.scss +23 -0
- data/docs/_site/assets/css/style.css +1 -0
- data/docs/_site/assets/favicons/android-chrome-192x192.png +0 -0
- data/docs/_site/assets/favicons/android-chrome-256x256.png +0 -0
- data/docs/_site/assets/favicons/apple-touch-icon.png +0 -0
- data/docs/_site/assets/favicons/browserconfig.xml +9 -0
- data/docs/_site/assets/favicons/favicon-16x16.png +0 -0
- data/docs/_site/assets/favicons/favicon-32x32.png +0 -0
- data/docs/_site/assets/favicons/favicon.ico +0 -0
- data/docs/_site/assets/favicons/manifest.json +18 -0
- data/docs/_site/assets/favicons/mstile-150x150.png +0 -0
- data/docs/_site/assets/favicons/safari-pinned-tab.svg +17 -0
- data/docs/_site/assets/js/pace.min.js +2 -0
- data/docs/_site/code.html +227 -0
- data/docs/_site/index.html +72 -0
- data/docs/_site/readme.html +112 -0
- data/docs/_site/simple.html +99 -0
- data/docs/assets/css/style.scss +4 -0
- data/docs/assets/favicons/android-chrome-192x192.png +0 -0
- data/docs/assets/favicons/android-chrome-256x256.png +0 -0
- data/docs/assets/favicons/apple-touch-icon.png +0 -0
- data/docs/assets/favicons/browserconfig.xml +9 -0
- data/docs/assets/favicons/favicon-16x16.png +0 -0
- data/docs/assets/favicons/favicon-32x32.png +0 -0
- data/docs/assets/favicons/favicon.ico +0 -0
- data/docs/assets/favicons/manifest.json +18 -0
- data/docs/assets/favicons/mstile-150x150.png +0 -0
- data/docs/assets/favicons/safari-pinned-tab.svg +17 -0
- data/docs/assets/js/pace.min.js +2 -0
- data/docs/code.md +164 -0
- data/docs/index.md +12 -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/simple.md +38 -0
- data/docs/thumbnail.png +0 -0
- data/lib/Main.rb +1 -1
- data/lib/rpsg/version.rb +1 -1
- data/rpsg.gemspec +8 -7
- data/test/test_rpsg.rb +6 -0
- metadata +77 -27
- data/test/rpsg.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d489bb1fa71d9865d1ecf0b8a41a1dc6b63d0b0f
|
4
|
+
data.tar.gz: 062c5778a418ee09a0d6364c6b3c4e64a76ad0a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c926c520392443199843cb34c45e7fae3aa8593d061e301540e261fb68be3895c3a3277e034aa390fd0300da924e0f043b2cb4021e21a7bc614ef5d49e87d7b9
|
7
|
+
data.tar.gz: 99ad21aaac6f2df5fa3281c0a3d31783a440a14a66ad0f1d48fe8eba1483d82bf9a3d455242a53db5266d4a2e77d356413b1c684b2d47d08227a56975594d870
|
data/.gitignore
CHANGED
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -2,15 +2,19 @@ require 'rdoc/task'
|
|
2
2
|
|
3
3
|
# task :default => :test
|
4
4
|
|
5
|
-
file_path = "./test/
|
5
|
+
file_path = "./test/test_rpsg.rb"
|
6
6
|
|
7
7
|
task :test do
|
8
8
|
ruby file_path
|
9
9
|
end
|
10
10
|
|
11
|
+
task :delgem do
|
12
|
+
`DEL rpsg-*.*.*.gem`
|
13
|
+
end
|
14
|
+
|
11
15
|
RDoc::Task.new do |rdoc|
|
12
16
|
# rdoc.main = "README.rdoc"
|
13
17
|
rdoc.rdoc_files.include("lib")
|
14
18
|
rdoc.rdoc_dir = "doc"
|
15
19
|
rdoc.title = "RPSG RDocs"
|
16
|
-
end
|
20
|
+
end
|
data/doc/created.rid
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
Fri, 13 Oct 2017
|
1
|
+
Fri, 13 Oct 2017 13:05:04 -0700
|
2
2
|
lib/Constants.rb Thu, 12 Oct 2017 14:19:30 -0700
|
3
3
|
lib/Main.rb Fri, 13 Oct 2017 10:49:52 -0700
|
4
4
|
lib/PrivateMethods.rb Thu, 12 Oct 2017 18:36:58 -0700
|
5
|
-
lib/rpsg/version.rb
|
5
|
+
lib/rpsg/version.rb Fri, 13 Oct 2017 11:00:48 -0700
|
data/doc/js/search_index.js.gz
CHANGED
Binary file
|
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/README.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
permalink: /readme.html
|
4
|
+
title: README
|
5
|
+
---
|
6
|
+
|
7
|
+
|
8
|
+
RPSG (Rock Paper Scissors Game)
|
9
|
+
===============================
|
10
|
+
|
11
|
+
Requirements
|
12
|
+
------------
|
13
|
+
|
14
|
+
### For Windows
|
15
|
+
|
16
|
+
+ Ruby
|
17
|
+
- RubyGems
|
18
|
+
|
19
|
+
### For Mac
|
20
|
+
|
21
|
+
+ Ruby
|
22
|
+
- RubyGems
|
23
|
+
* RVM (Ruby Version Manager)
|
24
|
+
|
25
|
+
How To Use
|
26
|
+
----------
|
27
|
+
|
28
|
+
### Windows
|
29
|
+
|
30
|
+
1. Open `cmd` as non-admin
|
31
|
+
* `cmd` is the `Command Prompt`
|
32
|
+
2. type the following: `gem install rpsg`
|
33
|
+
3. run the following: `rpsg`
|
34
|
+
|
35
|
+
### Mac
|
36
|
+
|
37
|
+
1. Open `Terminal`
|
38
|
+
2. type the following: `gem install rpsg`
|
39
|
+
3. run the following: `rpsg`
|
40
|
+
|
41
|
+
________
|
42
|
+
|
43
|
+
RubyGems page: [https://rubygems.org/gems/rpsg](https://rubygems.org/gems/rpsg){: target="_blank"}
|
44
|
+
|
data/docs/_config.yml
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
title: Rock Paper Scissors Game
|
2
|
+
description: A Ruby Programmed Rock Paper Scissors Game
|
3
|
+
show_downloads: true
|
4
|
+
google_analytics: false
|
5
|
+
theme: jekyll-theme-cayman # important
|
6
|
+
repository: "bag3318/RPSG"
|
7
|
+
port: 1988
|
8
|
+
include:
|
9
|
+
- index.md
|
10
|
+
exclude:
|
11
|
+
- Gemfile
|
12
|
+
- Gemfile.lock
|
13
|
+
- jekyll-theme-cayman.gemspec
|
14
|
+
- thumbnail.png
|
15
|
+
- LICENSE
|
16
|
+
- script
|
17
|
+
plugins: # gems:
|
18
|
+
- github-pages
|
19
|
+
# Sass/SCSS
|
20
|
+
sass:
|
21
|
+
sass_dir: _sass
|
22
|
+
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
|
23
|
+
liquid:
|
24
|
+
error_mode: warn
|
25
|
+
keep_files:
|
26
|
+
- ".git"
|
27
|
+
- ".svn"
|
28
|
+
include:
|
29
|
+
- ".htaccess"
|
30
|
+
destination: ./_site
|
31
|
+
layouts_dir: _layouts
|
32
|
+
includes_dir: _includes
|
33
|
+
defaults:
|
34
|
+
-
|
35
|
+
values:
|
36
|
+
layout: "default"
|
37
|
+
author: "bag3318"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<footer class="site-footer">
|
2
|
+
{% if site.github.is_project_page %}
|
3
|
+
<h2 id="site-nav">Site Navigation</h2>
|
4
|
+
<table>
|
5
|
+
<tr>
|
6
|
+
<td><a href="./">Home</a></td>
|
7
|
+
<td><a href="{{ domain }}readme">README.md</a></td>
|
8
|
+
<td><a href="{{ domain }}code">Master Code</a></td>
|
9
|
+
<td><a href="{{ domain }}simple">Simple Code</td>
|
10
|
+
</tr>
|
11
|
+
</table>
|
12
|
+
<br/>
|
13
|
+
<hr/>
|
14
|
+
<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><span><strong><a href="{{ site.github.repository_url }}">Source Code</a></strong></span>
|
15
|
+
{% endif %}
|
16
|
+
</footer>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<section class="page-header">
|
2
|
+
<h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1>
|
3
|
+
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
|
4
|
+
{% if site.github.is_project_page %}
|
5
|
+
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
|
6
|
+
<a href="{{ site.github.issues_url }}" class="btn">Report a Bug</a>
|
7
|
+
{% endif %}
|
8
|
+
{% if site.show_downloads %}
|
9
|
+
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
|
10
|
+
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
|
11
|
+
{% endif %}
|
12
|
+
<br/>
|
13
|
+
{% if site.github.is_project_page %}
|
14
|
+
<a href="#site-nav" class="btn">Site Navigation</a>
|
15
|
+
{% endif %}
|
16
|
+
{% if page.title != "Play Rock Paper Scissors Game - Home" and site.github.is_project_page %}
|
17
|
+
<a href="./" class="btn">Home</a>
|
18
|
+
{% endif %}
|
19
|
+
</section>
|
@@ -0,0 +1,50 @@
|
|
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
|
+
<script src="assets/js/pace.min.js"></script>
|
12
|
+
{% comment %}
|
13
|
+
|====================================|
|
14
|
+
| Real favicon generatior: |
|
15
|
+
|------------------------------------|
|
16
|
+
| http://realfavicongenerator.net |
|
17
|
+
|____________________________________|
|
18
|
+
{% endcomment %}
|
19
|
+
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicons/apple-touch-icon.png"/>
|
20
|
+
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicons/favicon-32x32.png"/>
|
21
|
+
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicons/favicon-16x16.png"/>
|
22
|
+
<link rel="manifest" href="assets/favicons/manifest.json"/>
|
23
|
+
<link rel="mask-icon" href="assets/favicons/safari-pinned-tab.svg" color="#5bbad5"/>
|
24
|
+
<!--
|
25
|
+
<meta name="theme-color" content="#ffffff">
|
26
|
+
-->
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
{% comment %}insert header{% endcomment %}
|
30
|
+
{% include header.html %}
|
31
|
+
<section class="main-content">
|
32
|
+
{% comment %}insert parsed markdown below{% endcomment %}
|
33
|
+
{{ content }}
|
34
|
+
{% comment %}insert footer{% endcomment %}
|
35
|
+
{% include footer.html %}
|
36
|
+
</section>
|
37
|
+
|
38
|
+
{% if site.google_analytics %}
|
39
|
+
<script type="text/javascript">
|
40
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
41
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
42
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
43
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
44
|
+
|
45
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
46
|
+
ga('send', 'pageview');
|
47
|
+
</script>
|
48
|
+
{% endif %}
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -0,0 +1,346 @@
|
|
1
|
+
@import "normalize";
|
2
|
+
@import "rouge-github";
|
3
|
+
@import "variables";
|
4
|
+
@import "pace";
|
5
|
+
|
6
|
+
@mixin large {
|
7
|
+
@media screen and (min-width: #{$large-breakpoint}) {
|
8
|
+
@content;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
@mixin medium {
|
13
|
+
@media screen and (min-width: #{$medium-breakpoint}) and (max-width: #{$large-breakpoint}) {
|
14
|
+
@content;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
@mixin small {
|
19
|
+
@media screen and (max-width: #{$medium-breakpoint}) {
|
20
|
+
@content;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
* {
|
25
|
+
box-sizing: border-box;
|
26
|
+
}
|
27
|
+
|
28
|
+
body {
|
29
|
+
padding: 0;
|
30
|
+
margin: 0;
|
31
|
+
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
32
|
+
font-size: 16px;
|
33
|
+
line-height: 1.5;
|
34
|
+
color: $body-text-color;
|
35
|
+
}
|
36
|
+
|
37
|
+
a {
|
38
|
+
color: $body-link-color;
|
39
|
+
text-decoration: none;
|
40
|
+
|
41
|
+
&:hover {
|
42
|
+
text-decoration: underline;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.btn {
|
47
|
+
display: inline-block;
|
48
|
+
margin-bottom: 1rem;
|
49
|
+
color: rgba(255, 255, 255, 0.7);
|
50
|
+
background-color: rgba(255, 255, 255, 0.08);
|
51
|
+
border-color: rgba(255, 255, 255, 0.2);
|
52
|
+
border-style: solid;
|
53
|
+
border-width: 1px;
|
54
|
+
border-radius: 0.3rem;
|
55
|
+
transition: color 0.2s, background-color 0.2s, border-color 0.2s;
|
56
|
+
|
57
|
+
&:hover {
|
58
|
+
color: rgba(255, 255, 255, 0.8);
|
59
|
+
text-decoration: none;
|
60
|
+
background-color: rgba(255, 255, 255, 0.2);
|
61
|
+
border-color: rgba(255, 255, 255, 0.3);
|
62
|
+
}
|
63
|
+
|
64
|
+
+ .btn {
|
65
|
+
margin-left: 1rem;
|
66
|
+
}
|
67
|
+
|
68
|
+
@include large {
|
69
|
+
padding: 0.75rem 1rem;
|
70
|
+
}
|
71
|
+
|
72
|
+
@include medium {
|
73
|
+
padding: 0.6rem 0.9rem;
|
74
|
+
font-size: 0.9rem;
|
75
|
+
}
|
76
|
+
|
77
|
+
@include small {
|
78
|
+
display: block;
|
79
|
+
width: 100%;
|
80
|
+
padding: 0.75rem;
|
81
|
+
font-size: 0.9rem;
|
82
|
+
|
83
|
+
+ .btn {
|
84
|
+
margin-top: 1rem;
|
85
|
+
margin-left: 0;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.page-header {
|
91
|
+
color: $header-heading-color;
|
92
|
+
text-align: center;
|
93
|
+
background-color: $header-bg-color;
|
94
|
+
background-image: linear-gradient(120deg, $header-bg-color-secondary, $header-bg-color);
|
95
|
+
|
96
|
+
@include large {
|
97
|
+
padding: 5rem 6rem;
|
98
|
+
}
|
99
|
+
|
100
|
+
@include medium {
|
101
|
+
padding: 3rem 4rem;
|
102
|
+
}
|
103
|
+
|
104
|
+
@include small {
|
105
|
+
padding: 2rem 1rem;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
.project-name {
|
110
|
+
margin-top: 0;
|
111
|
+
margin-bottom: 0.1rem;
|
112
|
+
|
113
|
+
@include large {
|
114
|
+
font-size: 3.25rem;
|
115
|
+
}
|
116
|
+
|
117
|
+
@include medium {
|
118
|
+
font-size: 2.25rem;
|
119
|
+
}
|
120
|
+
|
121
|
+
@include small {
|
122
|
+
font-size: 1.75rem;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
|
126
|
+
.project-tagline {
|
127
|
+
margin-bottom: 2rem;
|
128
|
+
font-weight: normal;
|
129
|
+
opacity: 0.7;
|
130
|
+
|
131
|
+
@include large {
|
132
|
+
font-size: 1.25rem;
|
133
|
+
}
|
134
|
+
|
135
|
+
@include medium {
|
136
|
+
font-size: 1.15rem;
|
137
|
+
}
|
138
|
+
|
139
|
+
@include small {
|
140
|
+
font-size: 1rem;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
.main-content {
|
145
|
+
word-wrap: break-word;
|
146
|
+
|
147
|
+
:first-child {
|
148
|
+
margin-top: 0;
|
149
|
+
}
|
150
|
+
|
151
|
+
@include large {
|
152
|
+
max-width: 64rem;
|
153
|
+
padding: 2rem 6rem;
|
154
|
+
margin: 0 auto;
|
155
|
+
font-size: 1.1rem;
|
156
|
+
}
|
157
|
+
|
158
|
+
@include medium {
|
159
|
+
padding: 2rem 4rem;
|
160
|
+
font-size: 1.1rem;
|
161
|
+
}
|
162
|
+
|
163
|
+
@include small {
|
164
|
+
padding: 2rem 1rem;
|
165
|
+
font-size: 1rem;
|
166
|
+
}
|
167
|
+
|
168
|
+
img {
|
169
|
+
max-width: 100%;
|
170
|
+
}
|
171
|
+
|
172
|
+
h1,
|
173
|
+
h2,
|
174
|
+
h3,
|
175
|
+
h4,
|
176
|
+
h5,
|
177
|
+
h6 {
|
178
|
+
margin-top: 2rem;
|
179
|
+
margin-bottom: 1rem;
|
180
|
+
font-weight: normal;
|
181
|
+
color: $section-headings-color;
|
182
|
+
}
|
183
|
+
|
184
|
+
p {
|
185
|
+
margin-bottom: 1em;
|
186
|
+
}
|
187
|
+
|
188
|
+
code {
|
189
|
+
padding: 2px 4px;
|
190
|
+
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
191
|
+
font-size: 0.9rem;
|
192
|
+
color: $code-text-color;
|
193
|
+
background-color: $code-bg-color;
|
194
|
+
border-radius: 0.3rem;
|
195
|
+
}
|
196
|
+
|
197
|
+
pre {
|
198
|
+
padding: 0.8rem;
|
199
|
+
margin-top: 0;
|
200
|
+
margin-bottom: 1rem;
|
201
|
+
font: 1rem Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
202
|
+
color: $code-text-color;
|
203
|
+
word-wrap: normal;
|
204
|
+
background-color: $code-bg-color;
|
205
|
+
border: solid 1px $border-color;
|
206
|
+
border-radius: 0.3rem;
|
207
|
+
|
208
|
+
> code {
|
209
|
+
padding: 0;
|
210
|
+
margin: 0;
|
211
|
+
font-size: 0.9rem;
|
212
|
+
color: $code-text-color;
|
213
|
+
word-break: normal;
|
214
|
+
white-space: pre;
|
215
|
+
background: transparent;
|
216
|
+
border: 0;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
|
220
|
+
.highlight {
|
221
|
+
margin-bottom: 1rem;
|
222
|
+
|
223
|
+
pre {
|
224
|
+
margin-bottom: 0;
|
225
|
+
word-break: normal;
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
.highlight pre,
|
230
|
+
pre {
|
231
|
+
padding: 0.8rem;
|
232
|
+
overflow: auto;
|
233
|
+
font-size: 0.9rem;
|
234
|
+
line-height: 1.45;
|
235
|
+
border-radius: 0.3rem;
|
236
|
+
-webkit-overflow-scrolling: touch;
|
237
|
+
}
|
238
|
+
|
239
|
+
pre code,
|
240
|
+
pre tt {
|
241
|
+
display: inline;
|
242
|
+
max-width: initial;
|
243
|
+
padding: 0;
|
244
|
+
margin: 0;
|
245
|
+
overflow: initial;
|
246
|
+
line-height: inherit;
|
247
|
+
word-wrap: normal;
|
248
|
+
background-color: transparent;
|
249
|
+
border: 0;
|
250
|
+
|
251
|
+
&:before,
|
252
|
+
&:after {
|
253
|
+
content: normal;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
|
257
|
+
ul,
|
258
|
+
ol {
|
259
|
+
margin-top: 0;
|
260
|
+
}
|
261
|
+
|
262
|
+
blockquote {
|
263
|
+
padding: 0 1rem;
|
264
|
+
margin-left: 0;
|
265
|
+
color: $blockquote-text-color;
|
266
|
+
border-left: 0.3rem solid $border-color;
|
267
|
+
|
268
|
+
> :first-child {
|
269
|
+
margin-top: 0;
|
270
|
+
}
|
271
|
+
|
272
|
+
> :last-child {
|
273
|
+
margin-bottom: 0;
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
277
|
+
table {
|
278
|
+
display: block;
|
279
|
+
width: 100%;
|
280
|
+
overflow: auto;
|
281
|
+
word-break: normal;
|
282
|
+
word-break: keep-all; // For Firefox to horizontally scroll wider tables.
|
283
|
+
-webkit-overflow-scrolling: touch;
|
284
|
+
|
285
|
+
th {
|
286
|
+
font-weight: bold;
|
287
|
+
}
|
288
|
+
|
289
|
+
th,
|
290
|
+
td {
|
291
|
+
padding: 0.5rem 1rem;
|
292
|
+
border: 1px solid $table-border-color;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
|
296
|
+
dl {
|
297
|
+
padding: 0;
|
298
|
+
|
299
|
+
dt {
|
300
|
+
padding: 0;
|
301
|
+
margin-top: 1rem;
|
302
|
+
font-size: 1rem;
|
303
|
+
font-weight: bold;
|
304
|
+
}
|
305
|
+
|
306
|
+
dd {
|
307
|
+
padding: 0;
|
308
|
+
margin-bottom: 1rem;
|
309
|
+
}
|
310
|
+
}
|
311
|
+
|
312
|
+
hr {
|
313
|
+
height: 2px;
|
314
|
+
padding: 0;
|
315
|
+
margin: 1rem 0;
|
316
|
+
background-color: $hr-border-color;
|
317
|
+
border: 0;
|
318
|
+
}
|
319
|
+
}
|
320
|
+
|
321
|
+
.site-footer {
|
322
|
+
padding-top: 2rem;
|
323
|
+
margin-top: 2rem;
|
324
|
+
border-top: solid 1px $hr-border-color;
|
325
|
+
|
326
|
+
@include large {
|
327
|
+
font-size: 1rem;
|
328
|
+
}
|
329
|
+
|
330
|
+
@include medium {
|
331
|
+
font-size: 1rem;
|
332
|
+
}
|
333
|
+
|
334
|
+
@include small {
|
335
|
+
font-size: 0.9rem;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
|
339
|
+
.site-footer-owner {
|
340
|
+
display: block;
|
341
|
+
font-weight: bold;
|
342
|
+
}
|
343
|
+
|
344
|
+
.site-footer-credits {
|
345
|
+
color: $blockquote-text-color;
|
346
|
+
}
|