noir-for-jekyll 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +9 -0
- data/README.md +9 -0
- data/_includes/head.html +19 -0
- data/_layouts/default.html +38 -0
- data/_layouts/page.html +8 -0
- data/_layouts/post.html +25 -0
- data/_sass/_base.scss +91 -0
- data/_sass/_code.scss +76 -0
- data/_sass/_layout.scss +15 -0
- data/_sass/_masthead.scss +29 -0
- data/_sass/_message.scss +61 -0
- data/_sass/_pagination.scss +59 -0
- data/_sass/_posts.scss +80 -0
- data/_sass/_syntax.scss +65 -0
- data/_sass/_type.scss +152 -0
- data/_sass/_variables.scss +35 -0
- metadata +101 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ea555c23968e1afb5aae03e0ed9c1c58ad6caab9159e8f46370980372219738a
|
4
|
+
data.tar.gz: 7503abe416c8f70694dfa3f0a6b1e61c4afe336f8c0db84b373611eb20d95e8a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4d5ca9dd19874c5a5cfdcb3ffcec48e652b2754ce688d8af8c357f753c02318590d71a01b4225358828905e202bc6451dc4b044423157acb221fdfc02f9621ac
|
7
|
+
data.tar.gz: 3b78615b1be436b43aa5458a0eaa99fe87797b85389092747c8cf0b263863edeaa92c3f5c28acf7b6e13eb14dec15afb269d9980968616645eb88b478c6cd13d
|
data/LICENSE.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# Released under MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2020 Victor Johnson.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# Released under MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2020 Victor Johnson.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/_includes/head.html
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="UTF-8">
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
4
|
+
|
5
|
+
<title>
|
6
|
+
{% if page.title == "Home" %}
|
7
|
+
{{ site.title }}{% if site.tagline %} · {{ site.tagline }}{% endif %}
|
8
|
+
{% else %}
|
9
|
+
{{ page.title }} · {{ site.title }}
|
10
|
+
{% endif %}
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/styles.css">
|
14
|
+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/assets/apple-touch-icon-precomposed.png">
|
15
|
+
<link rel="shortcut icon" href="{{ site.baseurl }}/assets/favicon.ico">
|
16
|
+
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ site.baseurl }}/atom.xml">
|
17
|
+
|
18
|
+
{% seo title=false %}
|
19
|
+
</head>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
<div class="container content">
|
9
|
+
<header class="masthead">
|
10
|
+
<h3 class="masthead-title">
|
11
|
+
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a>
|
12
|
+
<small>{{ site.tagline }}</small>
|
13
|
+
</h3>
|
14
|
+
</header>
|
15
|
+
|
16
|
+
<main>
|
17
|
+
{{ content }}
|
18
|
+
</main>
|
19
|
+
|
20
|
+
<footer class="footer">
|
21
|
+
<small>
|
22
|
+
Copyright © <time datetime="{{ site.time | date_to_xmlschema }}">{{ site.time | date: '%Y' }}</time>. Change this text in _layouts/default.html
|
23
|
+
</small>
|
24
|
+
</footer>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
{% if site.ga_analytics %}
|
28
|
+
<script>
|
29
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
30
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
31
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
32
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
33
|
+
ga('create', '{{ site.ga_analytics }}', 'auto');
|
34
|
+
ga('send', 'pageview');
|
35
|
+
</script>
|
36
|
+
{% endif %}
|
37
|
+
</body>
|
38
|
+
</html>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article class="post">
|
6
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
7
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" class="post-date">{{ page.date | date_to_string }}</time>
|
8
|
+
{{ content }}
|
9
|
+
</article>
|
10
|
+
|
11
|
+
{% if site.related_posts != empty %}
|
12
|
+
<aside class="related">
|
13
|
+
<h3>Related posts</h3>
|
14
|
+
<ul class="related-posts">
|
15
|
+
{% for post in site.related_posts limit:3 %}
|
16
|
+
<li>
|
17
|
+
<a href="{{ site.baseurl }}{{ post.url }}">
|
18
|
+
{{ post.title }}
|
19
|
+
<small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
|
20
|
+
</a>
|
21
|
+
</li>
|
22
|
+
{% endfor %}
|
23
|
+
</ul>
|
24
|
+
</aside>
|
25
|
+
{% endif %}
|
data/_sass/_base.scss
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
// Body resets
|
2
|
+
//
|
3
|
+
// Update the foundational and global aspects of the page.
|
4
|
+
|
5
|
+
* {
|
6
|
+
-webkit-box-sizing: border-box;
|
7
|
+
-moz-box-sizing: border-box;
|
8
|
+
box-sizing: border-box;
|
9
|
+
}
|
10
|
+
|
11
|
+
html,
|
12
|
+
body {
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
html {
|
18
|
+
font-family: $root-font-family;
|
19
|
+
font-size: $root-font-size;
|
20
|
+
line-height: $root-line-height;
|
21
|
+
|
22
|
+
@media (min-width: $large-breakpoint) {
|
23
|
+
font-size: $large-font-size;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
body {
|
28
|
+
color: $body-color;
|
29
|
+
background-color: $body-bg;
|
30
|
+
-webkit-text-size-adjust: 100%;
|
31
|
+
-ms-text-size-adjust: 100%;
|
32
|
+
|
33
|
+
@media (prefers-color-scheme: dark) {
|
34
|
+
color: $body-color-dark;
|
35
|
+
background-color: $body-bg-dark;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
// No `:visited` state is required by default (browsers will use `a`)
|
40
|
+
a {
|
41
|
+
color: $link-color;
|
42
|
+
text-decoration: none;
|
43
|
+
|
44
|
+
// `:focus` is linked to `:hover` for basic accessibility
|
45
|
+
&:hover,
|
46
|
+
&:focus {
|
47
|
+
text-decoration: underline;
|
48
|
+
}
|
49
|
+
|
50
|
+
strong {
|
51
|
+
color: inherit;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
img {
|
56
|
+
display: block;
|
57
|
+
max-width: 100%;
|
58
|
+
margin: 0 0 1rem;
|
59
|
+
border-radius: 5px;
|
60
|
+
}
|
61
|
+
|
62
|
+
table {
|
63
|
+
margin-bottom: 1rem;
|
64
|
+
width: 100%;
|
65
|
+
font-size: 85%;
|
66
|
+
border: 1px solid #e5e5e5;
|
67
|
+
border-collapse: collapse;
|
68
|
+
}
|
69
|
+
|
70
|
+
td,
|
71
|
+
th {
|
72
|
+
padding: .25rem .5rem;
|
73
|
+
border: 1px solid #e5e5e5;
|
74
|
+
|
75
|
+
@media (prefers-color-scheme: dark) {
|
76
|
+
border: 1px solid #898989;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
th {
|
81
|
+
text-align: left;
|
82
|
+
}
|
83
|
+
|
84
|
+
tbody tr:nth-child(odd) td,
|
85
|
+
tbody tr:nth-child(odd) th {
|
86
|
+
background-color: #f9f9f9;
|
87
|
+
|
88
|
+
@media (prefers-color-scheme: dark) {
|
89
|
+
background-color: #2d2d2d;
|
90
|
+
}
|
91
|
+
}
|
data/_sass/_code.scss
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
// Code
|
2
|
+
//
|
3
|
+
// Inline and block-level code snippets. Includes tweaks to syntax highlighted
|
4
|
+
// snippets from Pygments/Rouge and Gist embeds.
|
5
|
+
|
6
|
+
code,
|
7
|
+
pre {
|
8
|
+
font-family: $code-font-family;
|
9
|
+
}
|
10
|
+
|
11
|
+
code {
|
12
|
+
font-size: 70%;
|
13
|
+
}
|
14
|
+
|
15
|
+
pre {
|
16
|
+
display: block;
|
17
|
+
margin-top: 0;
|
18
|
+
margin-bottom: 1rem;
|
19
|
+
overflow: auto;
|
20
|
+
}
|
21
|
+
|
22
|
+
.highlighter-rouge {
|
23
|
+
padding: 3px 4px;
|
24
|
+
border: 1px solid #1ba77e;
|
25
|
+
border-radius: 6px;
|
26
|
+
background-color: #eee;
|
27
|
+
color: #1ba77e;
|
28
|
+
white-space: nowrap;
|
29
|
+
font-size: 85%;
|
30
|
+
|
31
|
+
@media (prefers-color-scheme: dark) {
|
32
|
+
background-color: #202020;
|
33
|
+
color: #1ba77e;
|
34
|
+
}
|
35
|
+
|
36
|
+
.highlight {
|
37
|
+
padding: 1rem;
|
38
|
+
margin-bottom: 1rem;
|
39
|
+
background-color: #f9f9f9;
|
40
|
+
border-radius: .25rem;
|
41
|
+
|
42
|
+
pre {
|
43
|
+
margin-bottom: 0;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
// Triple backticks (code fencing) doubles the .highlight elements
|
48
|
+
.highlight {
|
49
|
+
padding: 0;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.rouge-table {
|
54
|
+
margin-bottom: 0;
|
55
|
+
font-size: 100%;
|
56
|
+
|
57
|
+
&,
|
58
|
+
td,
|
59
|
+
th {
|
60
|
+
border: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
.gutter {
|
64
|
+
color: rgba(0,0,0,.25);
|
65
|
+
vertical-align: top;
|
66
|
+
// Make sure numbers aren't selectable
|
67
|
+
-webkit-user-select: none;
|
68
|
+
-ms-user-select: none;
|
69
|
+
user-select: none;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
// Gist via GitHub Pages
|
74
|
+
.gist .markdown-body {
|
75
|
+
padding: 15px !important;
|
76
|
+
}
|
data/_sass/_layout.scss
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
// Layout
|
2
|
+
//
|
3
|
+
// Styles for managing the structural hierarchy of the site.
|
4
|
+
|
5
|
+
.container {
|
6
|
+
max-width: 38rem;
|
7
|
+
padding-left: 1.5rem;
|
8
|
+
padding-right: 1.5rem;
|
9
|
+
margin-left: auto;
|
10
|
+
margin-right: auto;
|
11
|
+
}
|
12
|
+
|
13
|
+
footer {
|
14
|
+
margin-bottom: 2rem;
|
15
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
// Masthead
|
2
|
+
//
|
3
|
+
// Super small header above the content for site name and short description.
|
4
|
+
|
5
|
+
.masthead {
|
6
|
+
padding-top: 1rem;
|
7
|
+
padding-bottom: 1rem;
|
8
|
+
margin-bottom: 3rem;
|
9
|
+
}
|
10
|
+
|
11
|
+
.masthead-title {
|
12
|
+
margin-top: 0;
|
13
|
+
margin-bottom: 0;
|
14
|
+
color: $gray-6;
|
15
|
+
|
16
|
+
@media (prefers-color-scheme: light) {
|
17
|
+
color: #515151;
|
18
|
+
}
|
19
|
+
|
20
|
+
a {
|
21
|
+
color: inherit;
|
22
|
+
}
|
23
|
+
|
24
|
+
small {
|
25
|
+
font-size: 75%;
|
26
|
+
font-weight: 400;
|
27
|
+
opacity: .5;
|
28
|
+
}
|
29
|
+
}
|
data/_sass/_message.scss
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
// Messages
|
2
|
+
//
|
3
|
+
// Show alert messages to users. You may add it to single elements like a `<p>`,
|
4
|
+
// or to a parent if there are multiple elements to show.
|
5
|
+
|
6
|
+
.message {
|
7
|
+
margin-bottom: 1rem;
|
8
|
+
padding: 1rem;
|
9
|
+
color: #717171;
|
10
|
+
background-color: #f9f9f9;
|
11
|
+
|
12
|
+
@media (prefers-color-scheme: dark) {
|
13
|
+
color: #bababa;
|
14
|
+
background-color: #1e1e1e;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
.danger {
|
19
|
+
margin-bottom: 15px;
|
20
|
+
padding: 12px;
|
21
|
+
color: #fff;
|
22
|
+
background-color: $danger;
|
23
|
+
}
|
24
|
+
|
25
|
+
.success {
|
26
|
+
margin-bottom: 15px;
|
27
|
+
padding: 12px;
|
28
|
+
color: #fff;
|
29
|
+
background-color: $success;
|
30
|
+
}
|
31
|
+
|
32
|
+
.info {
|
33
|
+
margin-bottom: 15px;
|
34
|
+
padding: 12px;
|
35
|
+
color: #fff;
|
36
|
+
background-color: $info;
|
37
|
+
}
|
38
|
+
|
39
|
+
.warning {
|
40
|
+
margin-bottom: 15px;
|
41
|
+
padding: 12px;
|
42
|
+
color: #fff;
|
43
|
+
background-color: $warning;
|
44
|
+
}
|
45
|
+
|
46
|
+
/* The close button */
|
47
|
+
.closebtn {
|
48
|
+
margin-left: 15px;
|
49
|
+
color: white;
|
50
|
+
font-weight: bold;
|
51
|
+
float: right;
|
52
|
+
font-size: 22px;
|
53
|
+
line-height: 27px;
|
54
|
+
cursor: pointer;
|
55
|
+
transition: 0.3s;
|
56
|
+
}
|
57
|
+
|
58
|
+
/* When moving the mouse over the close button */
|
59
|
+
.closebtn:hover {
|
60
|
+
color: black;
|
61
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
// Pagination
|
2
|
+
//
|
3
|
+
// Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
|
4
|
+
// there are no more previous or next posts to show.
|
5
|
+
|
6
|
+
.pagination {
|
7
|
+
overflow: hidden; // clearfix
|
8
|
+
margin: 0 -1.5rem 1rem;
|
9
|
+
color: #ccc;
|
10
|
+
text-align: center;
|
11
|
+
}
|
12
|
+
|
13
|
+
// Pagination items can be `span`s or `a`s
|
14
|
+
.pagination-item {
|
15
|
+
display: block;
|
16
|
+
padding: 1rem;
|
17
|
+
border: solid #eee;
|
18
|
+
border-width: 1px 0;
|
19
|
+
|
20
|
+
@media (prefers-color-scheme: dark) {
|
21
|
+
border: solid #111111;
|
22
|
+
}
|
23
|
+
|
24
|
+
&:first-child {
|
25
|
+
margin-bottom: -1px;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
// Only provide a hover state for linked pagination items
|
30
|
+
a.pagination-item:hover {
|
31
|
+
background-color: #f5f5f5;
|
32
|
+
|
33
|
+
@media (prefers-color-scheme: dark) {
|
34
|
+
background-color: #060606;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@media (min-width: 30em) {
|
39
|
+
.pagination {
|
40
|
+
margin: 3rem 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
.pagination-item {
|
44
|
+
float: left;
|
45
|
+
width: 50%;
|
46
|
+
border-width: 1px;
|
47
|
+
|
48
|
+
&:first-child {
|
49
|
+
margin-bottom: 0;
|
50
|
+
border-top-left-radius: 4px;
|
51
|
+
border-bottom-left-radius: 4px;
|
52
|
+
}
|
53
|
+
&:last-child {
|
54
|
+
margin-left: -1px;
|
55
|
+
border-top-right-radius: 4px;
|
56
|
+
border-bottom-right-radius: 4px;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
data/_sass/_posts.scss
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
// Posts and pages
|
2
|
+
//
|
3
|
+
// Each post is wrapped in `.post` and is used on default and post layouts. Each
|
4
|
+
// page is wrapped in `.page` and is only used on the page layout.
|
5
|
+
|
6
|
+
.page,
|
7
|
+
.post {
|
8
|
+
margin-bottom: 4em;
|
9
|
+
|
10
|
+
li + li {
|
11
|
+
margin-top: .25rem;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
// Blog post or page title
|
16
|
+
.page-title,
|
17
|
+
.post-title,
|
18
|
+
.post-title a {
|
19
|
+
color: $gray-7;
|
20
|
+
|
21
|
+
@media (prefers-color-scheme: dark) {
|
22
|
+
color: $gray-8;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
.page-title,
|
27
|
+
.post-title {
|
28
|
+
margin-top: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
// Meta data line below post title
|
32
|
+
.post-date {
|
33
|
+
display: block;
|
34
|
+
margin-top: -.5rem;
|
35
|
+
margin-bottom: 1rem;
|
36
|
+
color: $gray-9;
|
37
|
+
|
38
|
+
@media (prefers-color-scheme: dark) {
|
39
|
+
color: $gray-10;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
// Related posts
|
44
|
+
.related {
|
45
|
+
padding-top: 2rem;
|
46
|
+
padding-bottom: 2rem;
|
47
|
+
margin-bottom: 2rem;
|
48
|
+
border-top: 1px solid #eee;
|
49
|
+
border-bottom: 1px solid #eee;
|
50
|
+
|
51
|
+
@media (prefers-color-scheme: dark) {
|
52
|
+
border-top: 1px solid #8e8e8e;
|
53
|
+
border-bottom: 1px solid #8e8e8e;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.related-posts {
|
58
|
+
padding-left: 0;
|
59
|
+
list-style: none;
|
60
|
+
|
61
|
+
h3 {
|
62
|
+
margin-top: 0;
|
63
|
+
}
|
64
|
+
|
65
|
+
li {
|
66
|
+
small {
|
67
|
+
font-size: 75%;
|
68
|
+
color: #999;
|
69
|
+
}
|
70
|
+
|
71
|
+
a:hover {
|
72
|
+
color: $green;
|
73
|
+
text-decoration: none;
|
74
|
+
|
75
|
+
small {
|
76
|
+
color: inherit;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
data/_sass/_syntax.scss
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
.highlight .hll { background-color: #ffc; }
|
2
|
+
.highlight .c { color: #999; } /* Comment */
|
3
|
+
.highlight .err { color: #a00; background-color: #faa } /* Error */
|
4
|
+
.highlight .k { color: #069; } /* Keyword */
|
5
|
+
.highlight .o { color: #555 } /* Operator */
|
6
|
+
.highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */
|
7
|
+
.highlight .cp { color: #099 } /* Comment.Preproc */
|
8
|
+
.highlight .c1 { color: #999; } /* Comment.Single */
|
9
|
+
.highlight .cs { color: #999; } /* Comment.Special */
|
10
|
+
.highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */
|
11
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
12
|
+
.highlight .gr { color: #f00 } /* Generic.Error */
|
13
|
+
.highlight .gh { color: #030; } /* Generic.Heading */
|
14
|
+
.highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */
|
15
|
+
.highlight .go { color: #aaa } /* Generic.Output */
|
16
|
+
.highlight .gp { color: #009; } /* Generic.Prompt */
|
17
|
+
.highlight .gs { } /* Generic.Strong */
|
18
|
+
.highlight .gu { color: #030; } /* Generic.Subheading */
|
19
|
+
.highlight .gt { color: #9c6 } /* Generic.Traceback */
|
20
|
+
.highlight .kc { color: #069; } /* Keyword.Constant */
|
21
|
+
.highlight .kd { color: #069; } /* Keyword.Declaration */
|
22
|
+
.highlight .kn { color: #069; } /* Keyword.Namespace */
|
23
|
+
.highlight .kp { color: #069 } /* Keyword.Pseudo */
|
24
|
+
.highlight .kr { color: #069; } /* Keyword.Reserved */
|
25
|
+
.highlight .kt { color: #078; } /* Keyword.Type */
|
26
|
+
.highlight .m { color: #f60 } /* Literal.Number */
|
27
|
+
.highlight .s { color: #d44950 } /* Literal.String */
|
28
|
+
.highlight .na { color: #4f9fcf } /* Name.Attribute */
|
29
|
+
.highlight .nb { color: #366 } /* Name.Builtin */
|
30
|
+
.highlight .nc { color: #0a8; } /* Name.Class */
|
31
|
+
.highlight .no { color: #360 } /* Name.Constant */
|
32
|
+
.highlight .nd { color: #99f } /* Name.Decorator */
|
33
|
+
.highlight .ni { color: #999; } /* Name.Entity */
|
34
|
+
.highlight .ne { color: #c00; } /* Name.Exception */
|
35
|
+
.highlight .nf { color: #c0f } /* Name.Function */
|
36
|
+
.highlight .nl { color: #99f } /* Name.Label */
|
37
|
+
.highlight .nn { color: #0cf; } /* Name.Namespace */
|
38
|
+
.highlight .nt { color: #2f6f9f; } /* Name.Tag */
|
39
|
+
.highlight .nv { color: #033 } /* Name.Variable */
|
40
|
+
.highlight .ow { color: #000; } /* Operator.Word */
|
41
|
+
.highlight .w { color: #bbb } /* Text.Whitespace */
|
42
|
+
.highlight .mf { color: #f60 } /* Literal.Number.Float */
|
43
|
+
.highlight .mh { color: #f60 } /* Literal.Number.Hex */
|
44
|
+
.highlight .mi { color: #f60 } /* Literal.Number.Integer */
|
45
|
+
.highlight .mo { color: #f60 } /* Literal.Number.Oct */
|
46
|
+
.highlight .sb { color: #c30 } /* Literal.String.Backtick */
|
47
|
+
.highlight .sc { color: #c30 } /* Literal.String.Char */
|
48
|
+
.highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */
|
49
|
+
.highlight .s2 { color: #c30 } /* Literal.String.Double */
|
50
|
+
.highlight .se { color: #c30; } /* Literal.String.Escape */
|
51
|
+
.highlight .sh { color: #c30 } /* Literal.String.Heredoc */
|
52
|
+
.highlight .si { color: #a00 } /* Literal.String.Interpol */
|
53
|
+
.highlight .sx { color: #c30 } /* Literal.String.Other */
|
54
|
+
.highlight .sr { color: #3aa } /* Literal.String.Regex */
|
55
|
+
.highlight .s1 { color: #c30 } /* Literal.String.Single */
|
56
|
+
.highlight .ss { color: #fc3 } /* Literal.String.Symbol */
|
57
|
+
.highlight .bp { color: #366 } /* Name.Builtin.Pseudo */
|
58
|
+
.highlight .vc { color: #033 } /* Name.Variable.Class */
|
59
|
+
.highlight .vg { color: #033 } /* Name.Variable.Global */
|
60
|
+
.highlight .vi { color: #033 } /* Name.Variable.Instance */
|
61
|
+
.highlight .il { color: #f60 } /* Literal.Number.Integer.Long */
|
62
|
+
|
63
|
+
.css .o,
|
64
|
+
.css .o + .nt,
|
65
|
+
.css .nt + .nt { color: #999; }
|
data/_sass/_type.scss
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
// Typography
|
2
|
+
//
|
3
|
+
// Headings, body text, lists, and other misc typographic elements.
|
4
|
+
|
5
|
+
h1, h2, h3, h4, h5, h6 {
|
6
|
+
margin-bottom: .5rem;
|
7
|
+
font-weight: 600;
|
8
|
+
line-height: 1.25;
|
9
|
+
color: $gray-5;
|
10
|
+
text-rendering: optimizeLegibility;
|
11
|
+
|
12
|
+
@media (prefers-color-scheme: dark) {
|
13
|
+
color: $gray-9;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
h1 {
|
18
|
+
font-size: 2rem;
|
19
|
+
}
|
20
|
+
|
21
|
+
h2 {
|
22
|
+
margin-top: 1rem;
|
23
|
+
font-size: 1.5rem;
|
24
|
+
}
|
25
|
+
|
26
|
+
h3 {
|
27
|
+
margin-top: 1.5rem;
|
28
|
+
font-size: 1.25rem;
|
29
|
+
}
|
30
|
+
|
31
|
+
h4, h5, h6 {
|
32
|
+
margin-top: 1rem;
|
33
|
+
font-size: 1rem;
|
34
|
+
}
|
35
|
+
|
36
|
+
p {
|
37
|
+
margin-top: 0;
|
38
|
+
margin-bottom: 1rem;
|
39
|
+
}
|
40
|
+
|
41
|
+
ul, ol, dl {
|
42
|
+
margin-top: 0;
|
43
|
+
margin-bottom: 1rem;
|
44
|
+
}
|
45
|
+
|
46
|
+
dt {
|
47
|
+
font-weight: bold;
|
48
|
+
}
|
49
|
+
|
50
|
+
dd {
|
51
|
+
margin-bottom: .5rem;
|
52
|
+
}
|
53
|
+
|
54
|
+
hr {
|
55
|
+
position: relative;
|
56
|
+
margin: 1.5rem 0;
|
57
|
+
border: 0;
|
58
|
+
border-top: 1px solid #eee;
|
59
|
+
border-bottom: 1px solid #fff;
|
60
|
+
|
61
|
+
@media (prefers-color-scheme: dark) {
|
62
|
+
border-top: 1px solid #090909;
|
63
|
+
border-bottom: 1px solid #070707;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
abbr {
|
68
|
+
font-size: 85%;
|
69
|
+
font-weight: bold;
|
70
|
+
color: #555;
|
71
|
+
text-transform: uppercase;
|
72
|
+
|
73
|
+
@media (prefers-color-scheme: dark) {
|
74
|
+
color: #777;
|
75
|
+
}
|
76
|
+
|
77
|
+
&[title] {
|
78
|
+
cursor: help;
|
79
|
+
border-bottom: 1px dotted #e5e5e5;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
blockquote {
|
84
|
+
padding: .5rem 1rem;
|
85
|
+
margin: .8rem 0;
|
86
|
+
color: #7a7a7a;
|
87
|
+
border-left: .25rem solid #e5e5e5;
|
88
|
+
|
89
|
+
@media (prefers-color-scheme: dark) {
|
90
|
+
color: #5d5d5d;
|
91
|
+
border-left: .25rem solid #838383;
|
92
|
+
}
|
93
|
+
|
94
|
+
p:last-child {
|
95
|
+
margin-bottom: 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
@media (min-width: 30em) {
|
99
|
+
padding-right: 5rem;
|
100
|
+
padding-left: 1.25rem;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
figure {
|
105
|
+
margin: 0;
|
106
|
+
}
|
107
|
+
|
108
|
+
// Markdown footnotes
|
109
|
+
//
|
110
|
+
// See the example content post for an example.
|
111
|
+
|
112
|
+
// Footnote number within body text
|
113
|
+
a[href^="#fn:"],
|
114
|
+
// Back to footnote link
|
115
|
+
a[href^="#fnref:"] {
|
116
|
+
display: inline-block;
|
117
|
+
margin-left: .1rem;
|
118
|
+
font-weight: bold;
|
119
|
+
}
|
120
|
+
|
121
|
+
a.footnote:before {
|
122
|
+
content: "[";
|
123
|
+
}
|
124
|
+
|
125
|
+
a.footnote:after {
|
126
|
+
content: "]";
|
127
|
+
}
|
128
|
+
|
129
|
+
// List of footnotes
|
130
|
+
.footnotes {
|
131
|
+
margin-top: 2rem;
|
132
|
+
font-size: 80%;
|
133
|
+
|
134
|
+
:target {
|
135
|
+
padding: 5px;
|
136
|
+
background: #eee;
|
137
|
+
border: solid 1px $green;
|
138
|
+
|
139
|
+
@media (prefers-color-scheme: dark) {
|
140
|
+
background: #202020;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
// Custom type
|
146
|
+
//
|
147
|
+
// Extend paragraphs with `.lead` for larger introductory text.
|
148
|
+
|
149
|
+
.lead {
|
150
|
+
font-size: 1.25rem;
|
151
|
+
font-weight: 300;
|
152
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
$gray-1: #f9f9f9;
|
2
|
+
$gray-2: #ccc;
|
3
|
+
$gray-3: #767676;
|
4
|
+
$gray-4: #515151;
|
5
|
+
$gray-5: #313131;
|
6
|
+
$gray-6: #e1e1e1;
|
7
|
+
$gray-7: #303030;
|
8
|
+
$gray-8: #bababa;
|
9
|
+
$gray-9: #909090;
|
10
|
+
$gray-10: #a4a4a4;
|
11
|
+
|
12
|
+
$green: #1ba77e;
|
13
|
+
|
14
|
+
$danger: #f44336;
|
15
|
+
$success: #4CAF50;
|
16
|
+
$info: #2196F3;
|
17
|
+
$warning: #ff9800;
|
18
|
+
|
19
|
+
$root-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
20
|
+
$root-font-size: 16px;
|
21
|
+
$root-line-height: 1.5;
|
22
|
+
|
23
|
+
$body-color: #515151;
|
24
|
+
$body-bg: #fff;
|
25
|
+
$body-color-dark: #bababa;
|
26
|
+
$body-bg-dark: #000;
|
27
|
+
$link-color: $green;
|
28
|
+
|
29
|
+
$border-color: #e5e5e5;
|
30
|
+
|
31
|
+
$large-breakpoint: 38em;
|
32
|
+
$large-font-size: 20px;
|
33
|
+
|
34
|
+
$code-font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
35
|
+
$code-color: #bf616a;
|
metadata
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: noir-for-jekyll
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Victor Johnson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-01-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.16'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.16'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '12.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '12.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- me@essentialenemy.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.md
|
63
|
+
- README.md
|
64
|
+
- _includes/head.html
|
65
|
+
- _layouts/default.html
|
66
|
+
- _layouts/page.html
|
67
|
+
- _layouts/post.html
|
68
|
+
- _sass/_base.scss
|
69
|
+
- _sass/_code.scss
|
70
|
+
- _sass/_layout.scss
|
71
|
+
- _sass/_masthead.scss
|
72
|
+
- _sass/_message.scss
|
73
|
+
- _sass/_pagination.scss
|
74
|
+
- _sass/_posts.scss
|
75
|
+
- _sass/_syntax.scss
|
76
|
+
- _sass/_type.scss
|
77
|
+
- _sass/_variables.scss
|
78
|
+
homepage: https://noir.essentialenemy.com
|
79
|
+
licenses:
|
80
|
+
- MIT
|
81
|
+
metadata: {}
|
82
|
+
post_install_message:
|
83
|
+
rdoc_options: []
|
84
|
+
require_paths:
|
85
|
+
- lib
|
86
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
requirements: []
|
97
|
+
rubygems_version: 3.0.3
|
98
|
+
signing_key:
|
99
|
+
specification_version: 4
|
100
|
+
summary: Noir. An automatic dark mode adaptation of the Poole theme for Jekyll.
|
101
|
+
test_files: []
|