jekyll-theme-hacker-asb 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +116 -0
- data/README.md +116 -0
- data/_includes/head-custom-google-analytics.html +10 -0
- data/_includes/head-custom-theme-colors.html +5 -0
- data/_includes/head-custom.html +12 -0
- data/_layouts/default.html +40 -0
- data/_layouts/post.html +14 -0
- data/_sass/_default_colors.scss +15 -0
- data/_sass/hacker.scss +4 -0
- data/_sass/jekyll-theme-hacker.scss +268 -0
- data/_sass/rouge-base16-dark.scss +87 -0
- data/assets/css/style.scss +4 -0
- data/assets/images/bkg.png +0 -0
- data/assets/images/blacktocat.png +0 -0
- data/assets/images/bullet.png +0 -0
- metadata +135 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 14afb2707a7782921c4e1f0b03d51f8d4bc642e023012564a6f6e5cda9068181
|
4
|
+
data.tar.gz: fc22b498f11a5a0c178cf6bc95ad2597e47580a51019798ed51a43ca37bd1b9d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 41743341f369c12913d65b4e31509349a585f53195d2c7c8802c231689ba2eeb452ba288c1b9875f2915ec63d0a345f9aed9ba08b4d0ff8e3997a317cd26ca65
|
7
|
+
data.tar.gz: f17dc970c5e2ff291e5a3efb45f79c6e16e0f34dead346ce78a4b27c834faf95c6efadf869a1604646e4c84c4fd5787c4b2bec562d8ffa13bc1004de4e896bf9
|
data/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/README.md
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
# The Hacker theme
|
2
|
+
|
3
|
+
[![.github/workflows/ci.yaml](https://github.com/pages-themes/hacker/actions/workflows/ci.yaml/badge.svg)](https://github.com/pages-themes/hacker/actions/workflows/ci.yaml) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-hacker.svg)](https://badge.fury.io/rb/jekyll-theme-hacker)
|
4
|
+
|
5
|
+
*Hacker is a Jekyll theme for GitHub Pages. You can [preview the theme to see what it looks like](http://pages-themes.github.io/hacker), or even [use it today](#usage).*
|
6
|
+
|
7
|
+
![Thumbnail of Hacker](thumbnail.png)
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
To use the Hacker theme:
|
12
|
+
|
13
|
+
1. Add the following to your site's `_config.yml`:
|
14
|
+
|
15
|
+
```yml
|
16
|
+
remote_theme: pages-themes/hacker@v0.2.0
|
17
|
+
plugins:
|
18
|
+
- jekyll-remote-theme # add this line to the plugins list if you already have one
|
19
|
+
```
|
20
|
+
|
21
|
+
2. Optionally, if you'd like to preview your site on your computer, add the following to your site's `Gemfile`:
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
gem "github-pages", group: :jekyll_plugins
|
25
|
+
```
|
26
|
+
|
27
|
+
## Customizing
|
28
|
+
|
29
|
+
### Configuration variables
|
30
|
+
|
31
|
+
Hacker will respect the following variables, if set in your site's `_config.yml`:
|
32
|
+
|
33
|
+
```yml
|
34
|
+
title: [The title of your site]
|
35
|
+
description: [A short description of your site's purpose]
|
36
|
+
```
|
37
|
+
|
38
|
+
Additionally, you may choose to set the following optional variables:
|
39
|
+
|
40
|
+
```yml
|
41
|
+
show_downloads: ["true" or "false" (unquoted) to indicate whether to provide a download URL]
|
42
|
+
google_analytics: [Your Google Analytics tracking ID]
|
43
|
+
```
|
44
|
+
|
45
|
+
### Stylesheet
|
46
|
+
|
47
|
+
If you'd like to add your own custom styles:
|
48
|
+
|
49
|
+
1. Create a file called `/assets/css/style.scss` in your site
|
50
|
+
2. Add the following content to the top of the file, exactly as shown:
|
51
|
+
```scss
|
52
|
+
---
|
53
|
+
---
|
54
|
+
|
55
|
+
@import "{{ site.theme }}";
|
56
|
+
```
|
57
|
+
3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
|
58
|
+
|
59
|
+
*Note: If you'd like to change the theme's Sass variables, you must set new values before the `@import` line in your stylesheet.*
|
60
|
+
|
61
|
+
### Layouts
|
62
|
+
|
63
|
+
If you'd like to change the theme's HTML layout:
|
64
|
+
|
65
|
+
1. For some changes such as a custom `favicon`, you can add custom files in your local `_includes` folder. The files [provided with the theme](https://github.com/pages-themes/hacker/tree/master/_includes) provide a starting point and are included by the [original layout template](https://github.com/pages-themes/hacker/blob/master/_layouts/default.html).
|
66
|
+
2. For more extensive changes, [copy the original template](https://github.com/pages-themes/hacker/blob/master/_layouts/default.html) from the theme's repository<br />(*Pro-tip: click "raw" to make copying easier*)
|
67
|
+
3. Create a file called `/_layouts/default.html` in your site
|
68
|
+
4. Paste the default layout content copied in the first step
|
69
|
+
5. Customize the layout as you'd like
|
70
|
+
|
71
|
+
### Customizing Google Analytics code
|
72
|
+
|
73
|
+
Google has released several iterations to their Google Analytics code over the years since this theme was first created. If you would like to take advantage of the latest code, paste it into `_includes/head-custom-google-analytics.html` in your Jekyll site.
|
74
|
+
|
75
|
+
### Overriding GitHub-generated URLs
|
76
|
+
|
77
|
+
Templates often rely on URLs supplied by GitHub such as links to your repository or links to download your project. If you'd like to override one or more default URLs:
|
78
|
+
|
79
|
+
1. Look at [the template source](https://github.com/pages-themes/hacker/blob/master/_layouts/default.html) to determine the name of the variable. It will be in the form of `{{ site.github.zip_url }}`.
|
80
|
+
2. Specify the URL that you'd like the template to use in your site's `_config.yml`. For example, if the variable was `site.github.url`, you'd add the following:
|
81
|
+
```yml
|
82
|
+
github:
|
83
|
+
zip_url: http://example.com/download.zip
|
84
|
+
another_url: another value
|
85
|
+
```
|
86
|
+
3. When your site is built, Jekyll will use the URL you specified, rather than the default one provided by GitHub.
|
87
|
+
|
88
|
+
*Note: You must remove the `site.` prefix, and each variable name (after the `github.`) should be indent with two space below `github:`.*
|
89
|
+
|
90
|
+
For more information, see [the Jekyll variables documentation](https://jekyllrb.com/docs/variables/).
|
91
|
+
|
92
|
+
## Roadmap
|
93
|
+
|
94
|
+
See the [open issues](https://github.com/pages-themes/hacker/issues) for a list of proposed features (and known issues).
|
95
|
+
|
96
|
+
## Project philosophy
|
97
|
+
|
98
|
+
The Hacker theme is intended to make it quick and easy for GitHub Pages users to create their first (or 100th) website. The theme should meet the vast majority of users' needs out of the box, erring on the side of simplicity rather than flexibility, and provide users the opportunity to opt-in to additional complexity if they have specific needs or wish to further customize their experience (such as adding custom CSS or modifying the default layout). It should also look great, but that goes without saying.
|
99
|
+
|
100
|
+
## Contributing
|
101
|
+
|
102
|
+
Interested in contributing to Hacker? We'd love your help. Hacker is an open source project, built one contribution at a time by users like you. See [the CONTRIBUTING file](docs/CONTRIBUTING.md) for instructions on how to contribute.
|
103
|
+
|
104
|
+
### Previewing the theme locally
|
105
|
+
|
106
|
+
If you'd like to preview the theme locally (for example, in the process of proposing a change):
|
107
|
+
|
108
|
+
1. Clone down the theme's repository (`git clone https://github.com/pages-themes/hacker`)
|
109
|
+
2. `cd` into the theme's directory
|
110
|
+
3. Run `script/bootstrap` to install the necessary dependencies
|
111
|
+
4. Run `bundle exec jekyll serve` to start the preview server
|
112
|
+
5. Visit [`localhost:4000`](http://localhost:4000) in your browser to preview the theme
|
113
|
+
|
114
|
+
### Running tests
|
115
|
+
|
116
|
+
The theme contains a minimal test suite, to ensure a site with the theme would build successfully. To run the tests, simply run `script/cibuild`. You'll need to run `script/bootstrap` once before the test script will work.
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{% if site.google_analytics %}
|
2
|
+
<script>
|
3
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
4
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
5
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
6
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
7
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
8
|
+
ga('send', 'pageview');
|
9
|
+
</script>
|
10
|
+
{% endif %}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
|
2
|
+
|
3
|
+
<!-- Setup theme-color -->
|
4
|
+
{% include head-custom-theme-colors.html %}
|
5
|
+
|
6
|
+
<!-- Setup Google Analytics -->
|
7
|
+
{% include head-custom-google-analytics.html %}
|
8
|
+
|
9
|
+
<!-- You can set your favicon here -->
|
10
|
+
<!-- link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' | relative_url }}" -->
|
11
|
+
|
12
|
+
<!-- end custom head snippets -->
|
@@ -0,0 +1,40 @@
|
|
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
|
+
{% include head-custom.html %}
|
9
|
+
|
10
|
+
{% seo %}
|
11
|
+
</head>
|
12
|
+
|
13
|
+
<body>
|
14
|
+
|
15
|
+
<header>
|
16
|
+
<div class="container">
|
17
|
+
<a id="a-title" href="{{ '/' | relative_url }}">
|
18
|
+
<h1>{{ site.title | default: site.github.repository_name }}</h1>
|
19
|
+
</a>
|
20
|
+
<h2>{{ site.description | default: site.github.project_tagline }}</h2>
|
21
|
+
|
22
|
+
<section id="downloads">
|
23
|
+
{% if site.show_downloads %}
|
24
|
+
<a href="{{ site.github.zip_url }}" class="btn">Download as .zip</a>
|
25
|
+
<a href="{{ site.github.tar_url }}" class="btn">Download as .tar.gz</a>
|
26
|
+
{% endif %}
|
27
|
+
{% if site.show_view_on_github %}
|
28
|
+
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
|
29
|
+
{% endif %}
|
30
|
+
</section>
|
31
|
+
</div>
|
32
|
+
</header>
|
33
|
+
|
34
|
+
<div class="container">
|
35
|
+
<section id="main_content">
|
36
|
+
{{ content }}
|
37
|
+
</section>
|
38
|
+
</div>
|
39
|
+
</body>
|
40
|
+
</html>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<small>{{ page.date | date: "%-d %B %Y" }}</small>
|
6
|
+
<h1>{{ page.title }}</h1>
|
7
|
+
|
8
|
+
<p class="view">by {{ page.author | default: site.author }}</p>
|
9
|
+
|
10
|
+
{{content}}
|
11
|
+
|
12
|
+
{% if page.tags %}
|
13
|
+
<small>tags: <em>{{ page.tags | join: "</em> - <em>" }}</em></small>
|
14
|
+
{% endif %}
|
@@ -0,0 +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;
|
data/_sass/hacker.scss
ADDED
@@ -0,0 +1,268 @@
|
|
1
|
+
@import "rouge-base16-dark";
|
2
|
+
@import "default_colors";
|
3
|
+
|
4
|
+
$body-background: $cod-grey !default;
|
5
|
+
$body-foreground: $gallery !default;
|
6
|
+
$header: $conifer !default;
|
7
|
+
$blockquote-color: $silver-chalice !default;
|
8
|
+
$blockquote-border: $dove-grey !default;
|
9
|
+
$container-max-width: 1000px;
|
10
|
+
|
11
|
+
@mixin media-max-width($max-width) {
|
12
|
+
@media (max-width: $max-width) {
|
13
|
+
@content;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
body {
|
18
|
+
margin: 0;
|
19
|
+
padding: 0;
|
20
|
+
background: $body-background url("../images/bkg.png") 0 0;
|
21
|
+
color: $body-foreground;
|
22
|
+
font-size: 16px;
|
23
|
+
line-height: 1.5;
|
24
|
+
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* General & 'Reset' Stuff */
|
28
|
+
|
29
|
+
.container {
|
30
|
+
width: 90%;
|
31
|
+
max-width: $container-max-width;
|
32
|
+
margin: 0 auto;
|
33
|
+
}
|
34
|
+
|
35
|
+
section {
|
36
|
+
display: block;
|
37
|
+
margin: 0 0 20px 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
h1, h2, h3, h4, h5, h6 {
|
41
|
+
margin: 0 0 20px;
|
42
|
+
}
|
43
|
+
|
44
|
+
li {
|
45
|
+
line-height: 1.4 ;
|
46
|
+
}
|
47
|
+
|
48
|
+
/* Header, <header>
|
49
|
+
header - container
|
50
|
+
h1 - project name
|
51
|
+
h2 - project description
|
52
|
+
*/
|
53
|
+
|
54
|
+
header {
|
55
|
+
background: rgba(0, 0, 0, 0.1);
|
56
|
+
width: 100%;
|
57
|
+
border-bottom: 1px dashed $conifer; //header;
|
58
|
+
padding: 20px 0;
|
59
|
+
margin: 0 0 40px 0;
|
60
|
+
}
|
61
|
+
|
62
|
+
header h1 {
|
63
|
+
font-size: 30px;
|
64
|
+
line-height: 1.5;
|
65
|
+
margin: 0 0 0 -40px;
|
66
|
+
font-weight: bold;
|
67
|
+
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
|
68
|
+
color: $conifer;//$header;
|
69
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
|
70
|
+
0 0 5px rgba(181, 232, 83, 0.1),
|
71
|
+
0 0 10px rgba(181, 232, 83, 0.1);
|
72
|
+
letter-spacing: -1px;
|
73
|
+
-webkit-font-smoothing: antialiased;
|
74
|
+
@include media-max-width($container-max-width) {
|
75
|
+
margin-left: 0;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
|
80
|
+
header h1:before {
|
81
|
+
content: "./ ";
|
82
|
+
font-size: 24px;
|
83
|
+
}
|
84
|
+
|
85
|
+
header h2 {
|
86
|
+
font-size: 18px;
|
87
|
+
font-weight: 300;
|
88
|
+
color: #666;
|
89
|
+
}
|
90
|
+
|
91
|
+
#downloads .btn {
|
92
|
+
display: inline-block;
|
93
|
+
text-align: center;
|
94
|
+
margin: 0;
|
95
|
+
}
|
96
|
+
|
97
|
+
/* Main Content
|
98
|
+
*/
|
99
|
+
|
100
|
+
#main_content {
|
101
|
+
width: 100%;
|
102
|
+
-webkit-font-smoothing: antialiased;
|
103
|
+
}
|
104
|
+
section img {
|
105
|
+
max-width: 100%
|
106
|
+
}
|
107
|
+
|
108
|
+
h1, h2, h3, h4, h5, h6 {
|
109
|
+
font-weight: normal;
|
110
|
+
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
|
111
|
+
color: $header;
|
112
|
+
letter-spacing: -0.03em;
|
113
|
+
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
|
114
|
+
0 0 5px rgba(181, 232, 83, 0.1),
|
115
|
+
0 0 10px rgba(181, 232, 83, 0.1);
|
116
|
+
}
|
117
|
+
|
118
|
+
#main_content h1 {
|
119
|
+
font-size: 30px;
|
120
|
+
}
|
121
|
+
|
122
|
+
#main_content h2 {
|
123
|
+
font-size: 24px;
|
124
|
+
}
|
125
|
+
|
126
|
+
#main_content h3 {
|
127
|
+
font-size: 18px;
|
128
|
+
}
|
129
|
+
|
130
|
+
#main_content h4 {
|
131
|
+
font-size: 14px;
|
132
|
+
}
|
133
|
+
|
134
|
+
#main_content h5 {
|
135
|
+
font-size: 12px;
|
136
|
+
text-transform: uppercase;
|
137
|
+
margin: 0 0 5px 0;
|
138
|
+
}
|
139
|
+
|
140
|
+
#main_content h6 {
|
141
|
+
font-size: 12px;
|
142
|
+
text-transform: uppercase;
|
143
|
+
color: #999;
|
144
|
+
margin: 0 0 5px 0;
|
145
|
+
}
|
146
|
+
|
147
|
+
dt {
|
148
|
+
font-style: italic;
|
149
|
+
font-weight: bold;
|
150
|
+
}
|
151
|
+
|
152
|
+
ul li {
|
153
|
+
list-style-image:url('../images/bullet.png');
|
154
|
+
}
|
155
|
+
|
156
|
+
blockquote {
|
157
|
+
color: $blockquote-color;
|
158
|
+
padding-left: 10px;
|
159
|
+
border-left: 1px dotted $blockquote-border;
|
160
|
+
}
|
161
|
+
|
162
|
+
pre {
|
163
|
+
background: rgba(0, 0, 0, 0.9);
|
164
|
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
165
|
+
padding: 10px;
|
166
|
+
font-size: 16px;
|
167
|
+
color: #b5e853;
|
168
|
+
border-radius: 2px;
|
169
|
+
word-wrap: normal;
|
170
|
+
overflow: auto;
|
171
|
+
overflow-y: hidden;
|
172
|
+
}
|
173
|
+
|
174
|
+
code.highlighter-rouge {
|
175
|
+
background: rgba(0,0,0,0.9);
|
176
|
+
border: 1px solid rgba(255, 255, 255, 0.15);
|
177
|
+
padding: 0px 3px;
|
178
|
+
margin: 0px -3px;
|
179
|
+
color: #aa759f;
|
180
|
+
border-radius: 2px;
|
181
|
+
}
|
182
|
+
|
183
|
+
table {
|
184
|
+
width: 100%;
|
185
|
+
margin: 0 0 20px 0;
|
186
|
+
}
|
187
|
+
|
188
|
+
th {
|
189
|
+
text-align: left;
|
190
|
+
border-bottom: 1px dashed #b5e853;
|
191
|
+
padding: 5px 10px;
|
192
|
+
}
|
193
|
+
|
194
|
+
td {
|
195
|
+
padding: 5px 10px;
|
196
|
+
}
|
197
|
+
|
198
|
+
hr {
|
199
|
+
height: 0;
|
200
|
+
border: 0;
|
201
|
+
border-bottom: 1px dashed #b5e853;
|
202
|
+
color: #b5e853;
|
203
|
+
}
|
204
|
+
|
205
|
+
/* Buttons
|
206
|
+
*/
|
207
|
+
|
208
|
+
.btn {
|
209
|
+
display: inline-block;
|
210
|
+
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));
|
211
|
+
padding: 8px 18px;
|
212
|
+
border-radius: 50px;
|
213
|
+
border: 2px solid rgba(0, 0, 0, 0.7);
|
214
|
+
border-bottom: 2px solid rgba(0, 0, 0, 0.7);
|
215
|
+
border-top: 2px solid rgba(0, 0, 0, 1);
|
216
|
+
color: rgba(255, 255, 255, 0.8);
|
217
|
+
font-family: Helvetica, Arial, sans-serif;
|
218
|
+
font-weight: bold;
|
219
|
+
font-size: 13px;
|
220
|
+
text-decoration: none;
|
221
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
|
222
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
223
|
+
}
|
224
|
+
|
225
|
+
.btn:hover {
|
226
|
+
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));
|
227
|
+
}
|
228
|
+
|
229
|
+
.btn .icon {
|
230
|
+
display: inline-block;
|
231
|
+
width: 16px;
|
232
|
+
height: 16px;
|
233
|
+
margin: 1px 8px 0 0;
|
234
|
+
float: left;
|
235
|
+
}
|
236
|
+
|
237
|
+
.btn-github .icon {
|
238
|
+
opacity: 0.6;
|
239
|
+
background: url("../images/blacktocat.png") 0 0 no-repeat;
|
240
|
+
}
|
241
|
+
|
242
|
+
/* Links
|
243
|
+
a, a:hover, a:visited
|
244
|
+
*/
|
245
|
+
|
246
|
+
a {
|
247
|
+
color: #63c0f5;
|
248
|
+
text-shadow: 0 0 5px rgba(104, 182, 255, 0.5);
|
249
|
+
}
|
250
|
+
|
251
|
+
/* Clearfix */
|
252
|
+
|
253
|
+
.cf:before, .cf:after {
|
254
|
+
content:"";
|
255
|
+
display:table;
|
256
|
+
}
|
257
|
+
|
258
|
+
.cf:after {
|
259
|
+
clear:both;
|
260
|
+
}
|
261
|
+
|
262
|
+
.cf {
|
263
|
+
zoom:1;
|
264
|
+
}
|
265
|
+
|
266
|
+
#a-title {
|
267
|
+
text-decoration: none;
|
268
|
+
}
|
@@ -0,0 +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
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
metadata
ADDED
@@ -0,0 +1,135 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-hacker-asb
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jason Costello
|
8
|
+
- GitHub, Inc.
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2022-12-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: jekyll
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.5'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '5.0'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ">"
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '3.5'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.0'
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: jekyll-seo-tag
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
type: :runtime
|
42
|
+
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.0'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: html-proofer
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rubocop-github
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.16'
|
69
|
+
type: :development
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.16'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: w3c_validators
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.3'
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.3'
|
90
|
+
description:
|
91
|
+
email:
|
92
|
+
- opensource+jekyll-theme-hacker@github.com
|
93
|
+
executables: []
|
94
|
+
extensions: []
|
95
|
+
extra_rdoc_files: []
|
96
|
+
files:
|
97
|
+
- LICENSE
|
98
|
+
- README.md
|
99
|
+
- _includes/head-custom-google-analytics.html
|
100
|
+
- _includes/head-custom-theme-colors.html
|
101
|
+
- _includes/head-custom.html
|
102
|
+
- _layouts/default.html
|
103
|
+
- _layouts/post.html
|
104
|
+
- _sass/_default_colors.scss
|
105
|
+
- _sass/hacker.scss
|
106
|
+
- _sass/jekyll-theme-hacker.scss
|
107
|
+
- _sass/rouge-base16-dark.scss
|
108
|
+
- assets/css/style.scss
|
109
|
+
- assets/images/bkg.png
|
110
|
+
- assets/images/blacktocat.png
|
111
|
+
- assets/images/bullet.png
|
112
|
+
homepage: https://github.com/pages-themes/hacker
|
113
|
+
licenses:
|
114
|
+
- CC0-1.0
|
115
|
+
metadata: {}
|
116
|
+
post_install_message:
|
117
|
+
rdoc_options: []
|
118
|
+
require_paths:
|
119
|
+
- lib
|
120
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.4.0
|
125
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
requirements: []
|
131
|
+
rubygems_version: 3.3.26
|
132
|
+
signing_key:
|
133
|
+
specification_version: 4
|
134
|
+
summary: Hacker is a Jekyll theme for GitHub Pages
|
135
|
+
test_files: []
|