foxfire-theme 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +116 -116
- data/README.md +29 -29
- data/_includes/mathjax.html +16 -0
- data/_layouts/default.html +47 -46
- data/_layouts/post.html +16 -14
- data/_sass/_default_colors.scss +15 -15
- data/_sass/jekyll-theme-hacker.scss +254 -253
- data/_sass/rouge-base16-dark.scss +87 -87
- data/assets/MathJax/MathJax.js +53 -0
- data/assets/css/style.scss +4 -4
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a220ec9ea7fb53a240510383edc8443fa848231ac21926ef94397487fc30af85
|
4
|
+
data.tar.gz: 32d121e4222d13e9f02d3a76c227352e3e9801eaf5db9ea2b55faaffdf624145
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07a17d30a618fccb859bbbe1747c50932a1a6879febc06e0591a460197f71fea06a8bc737c3433dc82d28cf026f751959bf4466e3dc9ce69aee016166dffef4e
|
7
|
+
data.tar.gz: 8b022c16096442d3fb85ff9e5628dd82b729550093d1caad2403f6f174e9a0c7fe48dc45b70f536bce380dd059089fee47709fad55222bbbf4c2ac2de1edbcd5
|
data/LICENSE
CHANGED
@@ -1,116 +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/>
|
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/README.md
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
# The Foxfire Theme
|
2
|
-
|
3
|
-
![Logo](logo_sized.png)
|
4
|
-
|
5
|
-
A fork the [Hacker](https://github.com/pages-themes/hacker) theme from pages-themes,
|
6
|
-
for use with the [Foxfire Blog](https://sashanullptr.github.io/Foxfire-Blog/).
|
7
|
-
|
8
|
-
## Installation
|
9
|
-
|
10
|
-
The Foxfire Theme is hosted on [rubygems.org](rubygems.org) and can be installed
|
11
|
-
as follows.
|
12
|
-
|
13
|
-
```shell
|
14
|
-
gem install foxfire-theme
|
15
|
-
```
|
16
|
-
|
17
|
-
## Use in Jekyll Sites
|
18
|
-
|
19
|
-
Add the following to `_config.yml` for your site.
|
20
|
-
|
21
|
-
```yaml
|
22
|
-
theme: foxfire-theme
|
23
|
-
```
|
24
|
-
|
25
|
-
And add the following to `Gemfile`.
|
26
|
-
|
27
|
-
```ruby
|
28
|
-
gem "foxfire-theme"
|
29
|
-
```
|
1
|
+
# The Foxfire Theme
|
2
|
+
|
3
|
+
![Logo](logo_sized.png)
|
4
|
+
|
5
|
+
A fork the [Hacker](https://github.com/pages-themes/hacker) theme from pages-themes,
|
6
|
+
for use with the [Foxfire Blog](https://sashanullptr.github.io/Foxfire-Blog/).
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
The Foxfire Theme is hosted on [rubygems.org](rubygems.org) and can be installed
|
11
|
+
as follows.
|
12
|
+
|
13
|
+
```shell
|
14
|
+
gem install foxfire-theme
|
15
|
+
```
|
16
|
+
|
17
|
+
## Use in Jekyll Sites
|
18
|
+
|
19
|
+
Add the following to `_config.yml` for your site.
|
20
|
+
|
21
|
+
```yaml
|
22
|
+
theme: foxfire-theme
|
23
|
+
```
|
24
|
+
|
25
|
+
And add the following to `Gemfile`.
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
gem "foxfire-theme"
|
29
|
+
```
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{% if page.mathjax %}
|
2
|
+
<script type="text/x-mathjax-config">
|
3
|
+
MathJax.Hub.Config({
|
4
|
+
tex2jax: {
|
5
|
+
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
|
6
|
+
processEscapes: true
|
7
|
+
}
|
8
|
+
});
|
9
|
+
</script>
|
10
|
+
<script
|
11
|
+
type="text/javascript"
|
12
|
+
charset="utf-8"
|
13
|
+
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
|
14
|
+
>
|
15
|
+
</script>
|
16
|
+
{% endif %}
|
data/_layouts/default.html
CHANGED
@@ -1,46 +1,47 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="{{ site.lang | default: "en-US" }}">
|
3
|
-
<head>
|
4
|
-
<meta charset='utf-8'>
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
-
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
8
|
-
|
9
|
-
{% seo %}
|
10
|
-
</head>
|
11
|
-
|
12
|
-
<body>
|
13
|
-
|
14
|
-
<header>
|
15
|
-
<div class="container">
|
16
|
-
<h1>{{ site.title | default: site.github.repository_name }}</h1>
|
17
|
-
<h2>{{ site.description | default: site.github.project_tagline }}</h2>
|
18
|
-
|
19
|
-
<section id="downloads">
|
20
|
-
{% if site.show_downloads %}
|
21
|
-
<a href="{{ site.github.zip_url }}" class="btn">Download as .zip</a>
|
22
|
-
<a href="{{ site.github.tar_url }}" class="btn">Download as .tar.gz</a>
|
23
|
-
{% endif %}
|
24
|
-
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
|
25
|
-
</section>
|
26
|
-
</div>
|
27
|
-
</header>
|
28
|
-
|
29
|
-
<div class="container">
|
30
|
-
<section id="main_content">
|
31
|
-
{{ content }}
|
32
|
-
</section>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
{% if site.google_analytics %}
|
36
|
-
<script>
|
37
|
-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
38
|
-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
39
|
-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
40
|
-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
41
|
-
ga('create', '{{ site.google_analytics }}', 'auto');
|
42
|
-
ga('send', 'pageview');
|
43
|
-
</script>
|
44
|
-
{% endif %}
|
45
|
-
|
46
|
-
</
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ site.lang | default: "en-US" }}">
|
3
|
+
<head>
|
4
|
+
<meta charset='utf-8'>
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
7
|
+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
|
8
|
+
|
9
|
+
{% seo %}
|
10
|
+
</head>
|
11
|
+
|
12
|
+
<body>
|
13
|
+
|
14
|
+
<header>
|
15
|
+
<div class="container">
|
16
|
+
<h1>{{ site.title | default: site.github.repository_name }}</h1>
|
17
|
+
<h2>{{ site.description | default: site.github.project_tagline }}</h2>
|
18
|
+
|
19
|
+
<section id="downloads">
|
20
|
+
{% if site.show_downloads %}
|
21
|
+
<a href="{{ site.github.zip_url }}" class="btn">Download as .zip</a>
|
22
|
+
<a href="{{ site.github.tar_url }}" class="btn">Download as .tar.gz</a>
|
23
|
+
{% endif %}
|
24
|
+
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
|
25
|
+
</section>
|
26
|
+
</div>
|
27
|
+
</header>
|
28
|
+
|
29
|
+
<div class="container">
|
30
|
+
<section id="main_content">
|
31
|
+
{{ content }}
|
32
|
+
</section>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
{% if site.google_analytics %}
|
36
|
+
<script>
|
37
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
38
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
39
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
40
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
41
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
42
|
+
ga('send', 'pageview');
|
43
|
+
</script>
|
44
|
+
{% endif %}
|
45
|
+
|
46
|
+
</body>
|
47
|
+
</html>
|
data/_layouts/post.html
CHANGED
@@ -1,14 +1,16 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<
|
9
|
-
|
10
|
-
{{
|
11
|
-
|
12
|
-
{
|
13
|
-
|
14
|
-
{%
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% include mathjax.html %}
|
6
|
+
|
7
|
+
<small>{{ page.date | date: "%-d %B %Y" }}</small>
|
8
|
+
<h1>{{ page.title }}</h1>
|
9
|
+
|
10
|
+
<p class="view">by {{ page.author | default: site.author }}</p>
|
11
|
+
|
12
|
+
{{content}}
|
13
|
+
|
14
|
+
{% if page.tags %}
|
15
|
+
<small>tags: <em>{{ page.tags | join: "</em> - <em>" }}</em></small>
|
16
|
+
{% endif %}
|
data/_sass/_default_colors.scss
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
$apple-blossom: #ac4142;
|
2
|
-
$alto: #d0d0d0;
|
3
|
-
$bouquet: #aa759f;
|
4
|
-
$chelsea-cucumber: #90a959;
|
5
|
-
$cod-grey: #151515;
|
6
|
-
$conifer: #b5e853;
|
7
|
-
$dove-grey: #666;
|
8
|
-
$gallery: #eaeaea;
|
9
|
-
$grey: #888;
|
10
|
-
$gulf-stream: #75b5aa;
|
11
|
-
$hippie-blue: #6a9fb5;
|
12
|
-
$potters-clay: #8f5536;
|
13
|
-
$rajah: #f4bf75;
|
14
|
-
$raw-sienna: #d28445;
|
15
|
-
$silver-chalice: #aaa;
|
1
|
+
$apple-blossom: #ac4142;
|
2
|
+
$alto: #d0d0d0;
|
3
|
+
$bouquet: #aa759f;
|
4
|
+
$chelsea-cucumber: #90a959;
|
5
|
+
$cod-grey: #151515;
|
6
|
+
$conifer: #b5e853;
|
7
|
+
$dove-grey: #666;
|
8
|
+
$gallery: #eaeaea;
|
9
|
+
$grey: #888;
|
10
|
+
$gulf-stream: #75b5aa;
|
11
|
+
$hippie-blue: #6a9fb5;
|
12
|
+
$potters-clay: #8f5536;
|
13
|
+
$rajah: #f4bf75;
|
14
|
+
$raw-sienna: #d28445;
|
15
|
+
$silver-chalice: #aaa;
|
@@ -1,253 +1,254 @@
|
|
1
|
-
@import "rouge-base16-dark";
|
2
|
-
@import "default_colors";
|
3
|
-
|
4
|
-
|
5
|
-
$body-
|
6
|
-
$
|
7
|
-
$
|
8
|
-
$blockquote-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
font-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
0 0
|
65
|
-
|
66
|
-
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
font-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
font-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
0 0
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
font-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
overflow
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
border
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
border:
|
203
|
-
border
|
204
|
-
border-
|
205
|
-
|
206
|
-
|
207
|
-
font-
|
208
|
-
font-
|
209
|
-
|
210
|
-
text-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
1
|
+
@import "rouge-base16-dark";
|
2
|
+
@import "default_colors";
|
3
|
+
@import url('https://fonts.googleapis.com/css?family=Roboto');
|
4
|
+
|
5
|
+
$body-background: $cod-grey !default;
|
6
|
+
$body-foreground: $gallery !default;
|
7
|
+
$header: $conifer !default;
|
8
|
+
$blockquote-color: $silver-chalice !default;
|
9
|
+
$blockquote-border: $dove-grey !default;
|
10
|
+
|
11
|
+
body {
|
12
|
+
margin: 0;
|
13
|
+
padding: 0;
|
14
|
+
background: $body-background url("../images/bkg.png") 0 0;
|
15
|
+
color: $body-foreground;
|
16
|
+
font-size: 16px;
|
17
|
+
line-height: 1.5;
|
18
|
+
font-family: 'Roboto', sans-serif;
|
19
|
+
}
|
20
|
+
|
21
|
+
/* General & 'Reset' Stuff */
|
22
|
+
|
23
|
+
.container {
|
24
|
+
width: 90%;
|
25
|
+
max-width: 1000px;
|
26
|
+
margin: 0 auto;
|
27
|
+
}
|
28
|
+
|
29
|
+
section {
|
30
|
+
display: block;
|
31
|
+
margin: 0 0 20px 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
h1, h2, h3, h4, h5, h6 {
|
35
|
+
margin: 0 0 20px;
|
36
|
+
}
|
37
|
+
|
38
|
+
li {
|
39
|
+
line-height: 1.4 ;
|
40
|
+
}
|
41
|
+
|
42
|
+
/* Header, <header>
|
43
|
+
header - container
|
44
|
+
h1 - project name
|
45
|
+
h2 - project description
|
46
|
+
*/
|
47
|
+
|
48
|
+
header {
|
49
|
+
background: rgba(0, 0, 0, 0.1);
|
50
|
+
width: 100%;
|
51
|
+
border-bottom: 1px dashed $conifer; //header;
|
52
|
+
padding: 20px 0;
|
53
|
+
margin: 0 0 40px 0;
|
54
|
+
}
|
55
|
+
|
56
|
+
header h1 {
|
57
|
+
font-size: 30px;
|
58
|
+
line-height: 1.5;
|
59
|
+
margin: 0 0 0 -40px;
|
60
|
+
font-weight: bold;
|
61
|
+
font-family: 'OpenSansRegular', "Helvetica Neue", Helvetica, Arial, sans-serif;;
|
62
|
+
color: $conifer;//$header;
|
63
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
|
64
|
+
0 0 5px rgba(181, 232, 83, 0.1),
|
65
|
+
0 0 10px rgba(181, 232, 83, 0.1);
|
66
|
+
letter-spacing: -1px;
|
67
|
+
-webkit-font-smoothing: antialiased;
|
68
|
+
}
|
69
|
+
|
70
|
+
header h1:before {
|
71
|
+
content: "./ ";
|
72
|
+
font-size: 24px;
|
73
|
+
}
|
74
|
+
|
75
|
+
header h2 {
|
76
|
+
font-size: 18px;
|
77
|
+
font-weight: 300;
|
78
|
+
color: #666;
|
79
|
+
}
|
80
|
+
|
81
|
+
#downloads .btn {
|
82
|
+
display: inline-block;
|
83
|
+
text-align: center;
|
84
|
+
margin: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
/* Main Content
|
88
|
+
*/
|
89
|
+
|
90
|
+
#main_content {
|
91
|
+
width: 100%;
|
92
|
+
-webkit-font-smoothing: antialiased;
|
93
|
+
}
|
94
|
+
section img {
|
95
|
+
max-width: 100%
|
96
|
+
}
|
97
|
+
|
98
|
+
h1, h2, h3, h4, h5, h6 {
|
99
|
+
font-weight: normal;
|
100
|
+
font-family: 'OpenSansRegular', "Helvetica Neue", Helvetica, Arial, sans-serif;;
|
101
|
+
color: $header;
|
102
|
+
letter-spacing: -0.03em;
|
103
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
|
104
|
+
0 0 5px rgba(181, 232, 83, 0.1),
|
105
|
+
0 0 10px rgba(181, 232, 83, 0.1);
|
106
|
+
}
|
107
|
+
|
108
|
+
#main_content h1 {
|
109
|
+
font-size: 30px;
|
110
|
+
}
|
111
|
+
|
112
|
+
#main_content h2 {
|
113
|
+
font-size: 24px;
|
114
|
+
}
|
115
|
+
|
116
|
+
#main_content h3 {
|
117
|
+
font-size: 18px;
|
118
|
+
}
|
119
|
+
|
120
|
+
#main_content h4 {
|
121
|
+
font-size: 14px;
|
122
|
+
}
|
123
|
+
|
124
|
+
#main_content h5 {
|
125
|
+
font-size: 12px;
|
126
|
+
text-transform: uppercase;
|
127
|
+
margin: 0 0 5px 0;
|
128
|
+
}
|
129
|
+
|
130
|
+
#main_content h6 {
|
131
|
+
font-size: 12px;
|
132
|
+
text-transform: uppercase;
|
133
|
+
color: #999;
|
134
|
+
margin: 0 0 5px 0;
|
135
|
+
}
|
136
|
+
|
137
|
+
dt {
|
138
|
+
font-style: italic;
|
139
|
+
font-weight: bold;
|
140
|
+
}
|
141
|
+
|
142
|
+
ul li {
|
143
|
+
list-style-image:url('../images/bullet.png');
|
144
|
+
}
|
145
|
+
|
146
|
+
blockquote {
|
147
|
+
color: $blockquote-color;
|
148
|
+
padding-left: 10px;
|
149
|
+
border-left: 1px dotted $blockquote-border;
|
150
|
+
}
|
151
|
+
|
152
|
+
pre {
|
153
|
+
background: rgba(0, 0, 0, 0.9);
|
154
|
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
155
|
+
padding: 10px;
|
156
|
+
font-size: 16px;
|
157
|
+
color: #b5e853;
|
158
|
+
border-radius: 2px;
|
159
|
+
word-wrap: normal;
|
160
|
+
overflow: auto;
|
161
|
+
overflow-y: hidden;
|
162
|
+
}
|
163
|
+
|
164
|
+
code.highlighter-rouge {
|
165
|
+
background: rgba(0,0,0,0.9);
|
166
|
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
167
|
+
padding: 0px 3px;
|
168
|
+
margin: 0px -3px;
|
169
|
+
color: #aa759f;
|
170
|
+
border-radius: 2px;
|
171
|
+
}
|
172
|
+
|
173
|
+
table {
|
174
|
+
width: 100%;
|
175
|
+
margin: 0 0 20px 0;
|
176
|
+
}
|
177
|
+
|
178
|
+
th {
|
179
|
+
text-align: left;
|
180
|
+
border-bottom: 1px dashed #b5e853;
|
181
|
+
padding: 5px 10px;
|
182
|
+
}
|
183
|
+
|
184
|
+
td {
|
185
|
+
padding: 5px 10px;
|
186
|
+
}
|
187
|
+
|
188
|
+
hr {
|
189
|
+
height: 0;
|
190
|
+
border: 0;
|
191
|
+
border-bottom: 1px dashed #b5e853;
|
192
|
+
color: #b5e853;
|
193
|
+
}
|
194
|
+
|
195
|
+
/* Buttons
|
196
|
+
*/
|
197
|
+
|
198
|
+
.btn {
|
199
|
+
display: inline-block;
|
200
|
+
background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3));
|
201
|
+
padding: 8px 18px;
|
202
|
+
border-radius: 50px;
|
203
|
+
border: 2px solid rgba(0, 0, 0, 0.7);
|
204
|
+
border-bottom: 2px solid rgba(0, 0, 0, 0.7);
|
205
|
+
border-top: 2px solid rgba(0, 0, 0, 1);
|
206
|
+
color: rgba(255, 255, 255, 0.8);
|
207
|
+
font-family: Helvetica, Arial, sans-serif;
|
208
|
+
font-weight: bold;
|
209
|
+
font-size: 13px;
|
210
|
+
text-decoration: none;
|
211
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
|
212
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
213
|
+
}
|
214
|
+
|
215
|
+
.btn:hover {
|
216
|
+
background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8));
|
217
|
+
}
|
218
|
+
|
219
|
+
.btn .icon {
|
220
|
+
display: inline-block;
|
221
|
+
width: 16px;
|
222
|
+
height: 16px;
|
223
|
+
margin: 1px 8px 0 0;
|
224
|
+
float: left;
|
225
|
+
}
|
226
|
+
|
227
|
+
.btn-github .icon {
|
228
|
+
opacity: 0.6;
|
229
|
+
background: url("../images/blacktocat.png") 0 0 no-repeat;
|
230
|
+
}
|
231
|
+
|
232
|
+
/* Links
|
233
|
+
a, a:hover, a:visited
|
234
|
+
*/
|
235
|
+
|
236
|
+
a {
|
237
|
+
color: #63c0f5;
|
238
|
+
text-shadow: 0 0 5px rgba(104, 182, 255, 0.5);
|
239
|
+
}
|
240
|
+
|
241
|
+
/* Clearfix */
|
242
|
+
|
243
|
+
.cf:before, .cf:after {
|
244
|
+
content:"";
|
245
|
+
display:table;
|
246
|
+
}
|
247
|
+
|
248
|
+
.cf:after {
|
249
|
+
clear:both;
|
250
|
+
}
|
251
|
+
|
252
|
+
.cf {
|
253
|
+
zoom:1;
|
254
|
+
}
|
@@ -1,87 +1,87 @@
|
|
1
|
-
/*
|
2
|
-
generated by rouge http://rouge.jneen.net/
|
3
|
-
original base16 by Chris Kempson (https://github.com/chriskempson/base16)
|
4
|
-
*/
|
5
|
-
|
6
|
-
@import "default_colors";
|
7
|
-
|
8
|
-
.highlight {
|
9
|
-
|
10
|
-
$plaintext: $alto !default;
|
11
|
-
$string: $chelsea-cucumber !default;
|
12
|
-
$literal: $chelsea-cucumber !default;
|
13
|
-
$keyword: $bouquet !default;
|
14
|
-
$error-foreground: $cod-grey !default;
|
15
|
-
$error-background: $apple-blossom !default;
|
16
|
-
$comment: $grey !default;
|
17
|
-
$preprocessor: $rajah !default;
|
18
|
-
$name-space: $rajah !default;
|
19
|
-
$name-attribute: $hippie-blue !default;
|
20
|
-
$operator: $rajah !default;
|
21
|
-
$keyword-type: $raw-sienna !default;
|
22
|
-
$regex: $gulf-stream !default;
|
23
|
-
$string-escape: $potters-clay !default;
|
24
|
-
$deleted: $apple-blossom !default;
|
25
|
-
$header: $hippie-blue !default;
|
26
|
-
|
27
|
-
color: $plaintext;
|
28
|
-
|
29
|
-
table td { padding: 5px; }
|
30
|
-
table pre { margin: 0; }
|
31
|
-
.w {
|
32
|
-
color: $plaintext;
|
33
|
-
}
|
34
|
-
.err {
|
35
|
-
color: $error-foreground;
|
36
|
-
background-color: $error-background;
|
37
|
-
}
|
38
|
-
.c, .cd, .cm, .c1, .cs {
|
39
|
-
color: $comment;
|
40
|
-
}
|
41
|
-
.cp {
|
42
|
-
color: $preprocessor;
|
43
|
-
}
|
44
|
-
.o, .ow {
|
45
|
-
color: $operator;
|
46
|
-
}
|
47
|
-
.p, .pi {
|
48
|
-
color: $plaintext;
|
49
|
-
}
|
50
|
-
.gi {
|
51
|
-
color: $string;
|
52
|
-
}
|
53
|
-
.gd {
|
54
|
-
color: $deleted;
|
55
|
-
}
|
56
|
-
.gh {
|
57
|
-
color: $header;
|
58
|
-
font-weight: bold;
|
59
|
-
}
|
60
|
-
.k, .kn, .kp, .kr, .kv {
|
61
|
-
color: $keyword;
|
62
|
-
}
|
63
|
-
.kc, .kt, .kd {
|
64
|
-
color: $keyword-type;
|
65
|
-
}
|
66
|
-
.s, .sb, .sc, .sd, .s2, .sh, .sx, .s1 {
|
67
|
-
color: $string;
|
68
|
-
}
|
69
|
-
.sr {
|
70
|
-
color: $regex;
|
71
|
-
}
|
72
|
-
.si, .se {
|
73
|
-
color: $string-escape;
|
74
|
-
}
|
75
|
-
.nt, .nn, .nc, .no{
|
76
|
-
color: $name-space;
|
77
|
-
}
|
78
|
-
.na {
|
79
|
-
color: $name-attribute;
|
80
|
-
}
|
81
|
-
.m, .mf, .mh, .mi, .il, .mo, .mb, .mx {
|
82
|
-
color: $literal;
|
83
|
-
}
|
84
|
-
.ss {
|
85
|
-
color: $string;
|
86
|
-
}
|
87
|
-
}
|
1
|
+
/*
|
2
|
+
generated by rouge http://rouge.jneen.net/
|
3
|
+
original base16 by Chris Kempson (https://github.com/chriskempson/base16)
|
4
|
+
*/
|
5
|
+
|
6
|
+
@import "default_colors";
|
7
|
+
|
8
|
+
.highlight {
|
9
|
+
|
10
|
+
$plaintext: $alto !default;
|
11
|
+
$string: $chelsea-cucumber !default;
|
12
|
+
$literal: $chelsea-cucumber !default;
|
13
|
+
$keyword: $bouquet !default;
|
14
|
+
$error-foreground: $cod-grey !default;
|
15
|
+
$error-background: $apple-blossom !default;
|
16
|
+
$comment: $grey !default;
|
17
|
+
$preprocessor: $rajah !default;
|
18
|
+
$name-space: $rajah !default;
|
19
|
+
$name-attribute: $hippie-blue !default;
|
20
|
+
$operator: $rajah !default;
|
21
|
+
$keyword-type: $raw-sienna !default;
|
22
|
+
$regex: $gulf-stream !default;
|
23
|
+
$string-escape: $potters-clay !default;
|
24
|
+
$deleted: $apple-blossom !default;
|
25
|
+
$header: $hippie-blue !default;
|
26
|
+
|
27
|
+
color: $plaintext;
|
28
|
+
|
29
|
+
table td { padding: 5px; }
|
30
|
+
table pre { margin: 0; }
|
31
|
+
.w {
|
32
|
+
color: $plaintext;
|
33
|
+
}
|
34
|
+
.err {
|
35
|
+
color: $error-foreground;
|
36
|
+
background-color: $error-background;
|
37
|
+
}
|
38
|
+
.c, .cd, .cm, .c1, .cs {
|
39
|
+
color: $comment;
|
40
|
+
}
|
41
|
+
.cp {
|
42
|
+
color: $preprocessor;
|
43
|
+
}
|
44
|
+
.o, .ow {
|
45
|
+
color: $operator;
|
46
|
+
}
|
47
|
+
.p, .pi {
|
48
|
+
color: $plaintext;
|
49
|
+
}
|
50
|
+
.gi {
|
51
|
+
color: $string;
|
52
|
+
}
|
53
|
+
.gd {
|
54
|
+
color: $deleted;
|
55
|
+
}
|
56
|
+
.gh {
|
57
|
+
color: $header;
|
58
|
+
font-weight: bold;
|
59
|
+
}
|
60
|
+
.k, .kn, .kp, .kr, .kv {
|
61
|
+
color: $keyword;
|
62
|
+
}
|
63
|
+
.kc, .kt, .kd {
|
64
|
+
color: $keyword-type;
|
65
|
+
}
|
66
|
+
.s, .sb, .sc, .sd, .s2, .sh, .sx, .s1 {
|
67
|
+
color: $string;
|
68
|
+
}
|
69
|
+
.sr {
|
70
|
+
color: $regex;
|
71
|
+
}
|
72
|
+
.si, .se {
|
73
|
+
color: $string-escape;
|
74
|
+
}
|
75
|
+
.nt, .nn, .nc, .no{
|
76
|
+
color: $name-space;
|
77
|
+
}
|
78
|
+
.na {
|
79
|
+
color: $name-attribute;
|
80
|
+
}
|
81
|
+
.m, .mf, .mh, .mi, .il, .mo, .mb, .mx {
|
82
|
+
color: $literal;
|
83
|
+
}
|
84
|
+
.ss {
|
85
|
+
color: $string;
|
86
|
+
}
|
87
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
(function () {
|
2
|
+
var newMathJax = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js';
|
3
|
+
var oldMathJax = 'cdn.mathjax.org/mathjax/latest/MathJax.js';
|
4
|
+
|
5
|
+
var replaceScript = function (script, src) {
|
6
|
+
//
|
7
|
+
// Make redirected script
|
8
|
+
//
|
9
|
+
var newScript = document.createElement('script');
|
10
|
+
newScript.src = newMathJax + src.replace(/.*?(\?|$)/, '$1');
|
11
|
+
//
|
12
|
+
// Move onload and onerror handlers to new script
|
13
|
+
//
|
14
|
+
newScript.onload = script.onload;
|
15
|
+
newScript.onerror = script.onerror;
|
16
|
+
script.onload = script.onerror = null;
|
17
|
+
//
|
18
|
+
// Move any content (old-style configuration scripts)
|
19
|
+
//
|
20
|
+
while (script.firstChild) newScript.appendChild(script.firstChild);
|
21
|
+
//
|
22
|
+
// Copy script id
|
23
|
+
//
|
24
|
+
if (script.id != null) newScript.id = script.id;
|
25
|
+
//
|
26
|
+
// Replace original script with new one
|
27
|
+
//
|
28
|
+
script.parentNode.replaceChild(newScript, script);
|
29
|
+
//
|
30
|
+
// Issue a console warning
|
31
|
+
//
|
32
|
+
console.warn('WARNING: cdn.mathjax.org has been retired. Check https://www.mathjax.org/cdn-shutting-down/ for migration tips.')
|
33
|
+
}
|
34
|
+
|
35
|
+
if (document.currentScript) {
|
36
|
+
var script = document.currentScript;
|
37
|
+
replaceScript(script, script.src);
|
38
|
+
} else {
|
39
|
+
//
|
40
|
+
// Look for current script by searching for one with the right source
|
41
|
+
//
|
42
|
+
var n = oldMathJax.length;
|
43
|
+
var scripts = document.getElementsByTagName('script');
|
44
|
+
for (var i = 0; i < scripts.length; i++) {
|
45
|
+
var script = scripts[i];
|
46
|
+
var src = (script.src || '').replace(/.*?:\/\//,'');
|
47
|
+
if (src.substr(0, n) === oldMathJax) {
|
48
|
+
replaceScript(script, src);
|
49
|
+
break;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
})();
|
data/assets/css/style.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
|
4
|
-
@import 'jekyll-theme-hacker';
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
@import 'jekyll-theme-hacker';
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foxfire-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sasha Elaine Fox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -89,11 +89,13 @@ extra_rdoc_files: []
|
|
89
89
|
files:
|
90
90
|
- LICENSE
|
91
91
|
- README.md
|
92
|
+
- _includes/mathjax.html
|
92
93
|
- _layouts/default.html
|
93
94
|
- _layouts/post.html
|
94
95
|
- _sass/_default_colors.scss
|
95
96
|
- _sass/jekyll-theme-hacker.scss
|
96
97
|
- _sass/rouge-base16-dark.scss
|
98
|
+
- assets/MathJax/MathJax.js
|
97
99
|
- assets/css/style.scss
|
98
100
|
- assets/images/bkg.png
|
99
101
|
- assets/images/blacktocat.png
|