jekyll-oedipus-theme 0.1.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -1
- data/_config.yml +33 -5
- data/_includes/footer.html +4 -3
- data/_includes/header.html +2 -2
- data/_includes/home-footer.html +7 -0
- data/_includes/home-header.html +3 -2
- data/_includes/license.html +12 -0
- data/_includes/masthead.html +6 -0
- data/_includes/navbar.html +2 -0
- data/_includes/navlist.html +2 -0
- data/_includes/posts-list.html +2 -2
- data/_includes/posts-table.html +2 -2
- data/_includes/recent-posts-list.html +3 -3
- data/_includes/recent-posts-table.html +3 -3
- data/_includes/skip.html +3 -0
- data/_layouts/base.html +2 -0
- data/_layouts/default.html +0 -4
- data/_layouts/home.html +2 -4
- data/_layouts/page.html +4 -1
- data/_layouts/post.html +17 -1
- data/_sass/dark.scss +72 -0
- data/_sass/main.scss +206 -0
- data/_sass/paper.scss +66 -0
- data/_sass/skip.scss +16 -0
- data/_sass/variables.scss +21 -0
- data/assets/print.scss +13 -0
- data/assets/style.scss +81 -0
- metadata +14 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 247f35fd43d5ad6558f3dadfaff25f8c9810cfe6ea3756d497af92d387b20add
|
4
|
+
data.tar.gz: 74731ab0f28e29cf73117da85608eb42845410fa3bafbfa8746cbd2806190066
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8947a9c0a5fefdb3d636d8b990803384480dd12758da5a52836e5aef94c34ea67f943bf51a3b7f3e2dc09e13db183cc6c7cdb72a02f6dfa5889222c5704c4590
|
7
|
+
data.tar.gz: 0e8400076d1f4ff7f32c741f6e729a55fb47ddabd82470fc62eb21ebd3024c130853a4452a0a86ffa3b990f44311eb0d7a660d6f9f9bb2428929f2582c5a4bfe
|
data/README.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
Build a motherfucking website with Jekyll (patricide optional).
|
4
4
|
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/jekyll-oedipus-theme.svg)](https://badge.fury.io/rb/jekyll-oedipus-theme)
|
6
|
+
|
7
|
+
## Screenshot
|
8
|
+
|
9
|
+
![Oedipus rendered on a Thinkpad T60 in Firefox ESR](https://github.com/matthewgraybosch/jekyll-oedipus-theme/blob/main/screenshot.png?raw=true)
|
10
|
+
|
5
11
|
## Installation
|
6
12
|
|
7
13
|
Add this line to your Jekyll site's `Gemfile`:
|
@@ -28,6 +34,10 @@ Or install it yourself as:
|
|
28
34
|
|
29
35
|
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
30
36
|
|
37
|
+
### Layouts
|
38
|
+
|
39
|
+
* **base.html**: a wrapper layout that sets language and encoding, sets up a skip navigation link, and links to favicons, stylesheets, and feeds.
|
40
|
+
|
31
41
|
## Contributing
|
32
42
|
|
33
43
|
I built this theme for my own use. If you find this theme useful, you are welcome to it. If you wish to customize it, by all means fork it. However, I will not accept pull requests unless they suit my tastes. Any support I provide is at my own discretion.
|
@@ -36,5 +46,5 @@ The code of conduct is simple: **don't annoy me**.
|
|
36
46
|
|
37
47
|
## License
|
38
48
|
|
39
|
-
The theme is available as open source under the terms of the [GNU
|
49
|
+
The theme is available as open source under the terms of the [GNU GPL-3.0](https://opensource.org/licenses/GPL-3.0).
|
40
50
|
|
data/_config.yml
CHANGED
@@ -9,9 +9,6 @@ github_username: matthewgraybosch
|
|
9
9
|
lang: en
|
10
10
|
encoding: utf-8
|
11
11
|
locale: en_US
|
12
|
-
rights: most rights reserved
|
13
|
-
license: "text: CC BY-NC-SA 4.0 / code: GNU GPLv3"
|
14
|
-
madeWith: "♥ in Pennsylvania"
|
15
12
|
|
16
13
|
# Build settings
|
17
14
|
theme: jekyll-oedipus-theme
|
@@ -22,6 +19,37 @@ plugins:
|
|
22
19
|
- jekyll-seo-tag
|
23
20
|
|
24
21
|
sass:
|
25
|
-
style:
|
22
|
+
style: expanded
|
26
23
|
|
27
|
-
permalink: /blog/:year/:month/:day/:title/
|
24
|
+
permalink: /blog/:year/:month/:day/:title/
|
25
|
+
|
26
|
+
oedipus:
|
27
|
+
rights: most rights reserved
|
28
|
+
license:
|
29
|
+
text:
|
30
|
+
name: "CC BY-NC-SA 4.0"
|
31
|
+
url: "https://creativecommons.org/licenses/by-nc-sa/4.0/"
|
32
|
+
code:
|
33
|
+
name: "GNU GPL-3.0"
|
34
|
+
url: "https://opensource.org/licenses/GPL-3.0/"
|
35
|
+
madeWith: "♥ in Pennsylvania"
|
36
|
+
style:
|
37
|
+
bg-color: "#FFFFFF"
|
38
|
+
fg-color: "#000000"
|
39
|
+
link-color: "#0000B5"
|
40
|
+
link-hover-color: "#3A539B"
|
41
|
+
link-active-color: "#20603C"
|
42
|
+
link-visited-color: "#550000"
|
43
|
+
border-thickness: 2px
|
44
|
+
hr-border-thickness: 1px
|
45
|
+
html-font-size: medium
|
46
|
+
body-margin: 1rem
|
47
|
+
content-font-size: 1rem
|
48
|
+
content-line-height: 1.62
|
49
|
+
content-font-family: sans-serif
|
50
|
+
preformatted-font-size: 1rem
|
51
|
+
preformatted-font-family: monospace
|
52
|
+
content-width: 40rem
|
53
|
+
content-centered: false
|
54
|
+
compact-header: true
|
55
|
+
home-header-icon: true
|
data/_includes/footer.html
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
<footer>
|
2
2
|
<p>
|
3
|
-
© {{ site.time | date: "%Y" }} {{ site.author }}, {{ site.rights }}<br />
|
4
|
-
{
|
5
|
-
made with {{ site.madeWith }}
|
3
|
+
© {{ site.time | date: "%Y" }} {{ site.author }}, {{ site.oedipus.rights }}<br />
|
4
|
+
{% include license.html %}
|
5
|
+
made with {{ site.oedipus.madeWith }}
|
6
6
|
</p>
|
7
|
+
{% include navbar.html id="footer-nav" label="bottom navigation" source=site.data.footer-nav %}
|
7
8
|
</footer>
|
data/_includes/header.html
CHANGED
data/_includes/home-header.html
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
<header>
|
2
|
+
{% if site.oedipus.style.home-header-icon %}
|
2
3
|
<img src="/assets/favicon.svg"
|
3
4
|
height="128"
|
4
5
|
width="128"
|
5
6
|
alt="favicon for the Oedipus theme for Jekyll website">
|
6
|
-
|
7
|
-
|
7
|
+
{% endif %}
|
8
|
+
{% include masthead.html %}
|
8
9
|
</header>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
{% if site.oedipus.license.text %}
|
2
|
+
text: <a href="{{ site.oedipus.license.text.url }}">{{ site.oedipus.license.text.name }}</a>
|
3
|
+
{% endif %}
|
4
|
+
{% if site.oedipus.license.text and site.oedipus.license.code %}
|
5
|
+
/
|
6
|
+
{% endif %}
|
7
|
+
{% if site.oedipus.license.code %}
|
8
|
+
code: <a href="{{ site.oedipus.license.code.url }}">{{ site.oedipus.license.code.name }}</a>
|
9
|
+
{% endif %}
|
10
|
+
{% if site.oedipus.license.text or site.oedipus.license.code %}
|
11
|
+
<br />
|
12
|
+
{% endif %}
|
data/_includes/navbar.html
CHANGED
data/_includes/navlist.html
CHANGED
data/_includes/posts-list.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{% for post in site.posts %}
|
2
2
|
<article>
|
3
|
-
<h3>{{ post.title }}</h3>
|
3
|
+
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
4
4
|
<p><em>{{ post.description }}</em></p>
|
5
|
-
<p
|
5
|
+
<p>posted on {{ post.date | date: "%Y-%m-%d" }}</p>
|
6
6
|
</article>
|
7
7
|
{% endfor %}
|
data/_includes/posts-table.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
<table>
|
2
2
|
<thead>
|
3
3
|
<tr>
|
4
|
-
<th>Date</th>
|
5
4
|
<th>Title</th>
|
5
|
+
<th>Date</th>
|
6
6
|
</tr>
|
7
7
|
</thead>
|
8
8
|
<tbody>
|
9
9
|
{% for post in site.posts %}
|
10
10
|
<tr>
|
11
|
-
<td>{{ post.date | date: "%Y-%m-%d" }}</td>
|
12
11
|
<td><a href="{{ post.url }}">{{ post.title }}</a></td>
|
12
|
+
<td>{{ post.date | date: "%Y-%m-%d" }}</td>
|
13
13
|
</tr>
|
14
14
|
{% endfor %}
|
15
15
|
</tbody>
|
@@ -1,7 +1,7 @@
|
|
1
|
-
{% for post in site.posts | limit:
|
1
|
+
{% for post in site.posts | limit: include.limit %}
|
2
2
|
<article>
|
3
|
-
<h3>{{ post.title }}</h3>
|
3
|
+
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
|
4
4
|
<p><em>{{ post.description }}</em></p>
|
5
|
-
<p
|
5
|
+
<p>posted on {{ post.date | date: "%Y-%m-%d" }}</p>
|
6
6
|
</article>
|
7
7
|
{% endfor %}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
<table>
|
2
2
|
<thead>
|
3
3
|
<tr>
|
4
|
-
<th>Date</th>
|
5
4
|
<th>Title</th>
|
5
|
+
<th>Date</th>
|
6
6
|
</tr>
|
7
7
|
</thead>
|
8
8
|
<tbody>
|
9
|
-
{% for post in site.posts | limit:
|
9
|
+
{% for post in site.posts | limit: include.limit %}
|
10
10
|
<tr>
|
11
|
-
<td>{{ post.date | date: "%Y-%m-%d" }}</td>
|
12
11
|
<td><a href="{{ post.url }}">{{ post.title }}</a></td>
|
12
|
+
<td>{{ post.date | date: "%Y-%m-%d" }}</td>
|
13
13
|
</tr>
|
14
14
|
{% endfor %}
|
15
15
|
</tbody>
|
data/_includes/skip.html
ADDED
data/_layouts/base.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -3,9 +3,5 @@ layout: base
|
|
3
3
|
---
|
4
4
|
|
5
5
|
{% include header.html %}
|
6
|
-
{% include navbar.html id="header-nav" label="main navigation" source=site.data.header-nav %}
|
7
|
-
<hr />
|
8
6
|
{{ content }}
|
9
|
-
<hr />
|
10
7
|
{% include footer.html %}
|
11
|
-
{% include navbar.html id="footer-nav" label="bottom navigation" source=site.data.footer-nav %}
|
data/_layouts/home.html
CHANGED
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -2,4 +2,20 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
|
5
|
+
<article id="content">
|
6
|
+
<header>
|
7
|
+
<h1>{{ page.title }}</h1>
|
8
|
+
<p><em>{{ page.description }}</em></p>
|
9
|
+
</header>
|
10
|
+
<section>
|
11
|
+
{{ content }}
|
12
|
+
</section>
|
13
|
+
<footer>
|
14
|
+
<p>
|
15
|
+
Thanks for reading.<br />
|
16
|
+
The best way to subscribe is with a feed reader:
|
17
|
+
<a href="/feed.xml" title="subscribe to the Atom feed">Atom</a>
|
18
|
+
<a href="/feed.json" title="subscribe to the JSON feed">JSON</a><br />
|
19
|
+
Questions or comments? Email <a href="mailto:{{ site.email }}" title="please allow up to 7 days for a reply">{{ site.email }}</a>.</p>
|
20
|
+
</footer>
|
21
|
+
</article>
|
data/_sass/dark.scss
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
@media (prefers-color-scheme: dark){
|
2
|
+
html {
|
3
|
+
background: invert($bg-color);
|
4
|
+
color: invert($fg-color);
|
5
|
+
|
6
|
+
body {
|
7
|
+
background: invert($bg-color);
|
8
|
+
color: invert($fg-color);
|
9
|
+
|
10
|
+
a {
|
11
|
+
color: invert($link-color);
|
12
|
+
}
|
13
|
+
|
14
|
+
a:hover {
|
15
|
+
color: invert($link-hover-color);
|
16
|
+
}
|
17
|
+
|
18
|
+
a:active {
|
19
|
+
color: invert($link-active-color);
|
20
|
+
}
|
21
|
+
|
22
|
+
a:visited {
|
23
|
+
color: invert($link-visited-color);
|
24
|
+
}
|
25
|
+
|
26
|
+
blockquote {
|
27
|
+
border-left: $border-thickness solid invert($fg-color);
|
28
|
+
}
|
29
|
+
|
30
|
+
figure {
|
31
|
+
border: $border-thickness solid invert($fg-color);
|
32
|
+
}
|
33
|
+
|
34
|
+
hr {
|
35
|
+
border: $hr-border-thickness solid invert($fg-color);
|
36
|
+
}
|
37
|
+
|
38
|
+
article {
|
39
|
+
hr {
|
40
|
+
border: $hr-border-thickness dashed invert($fg-color);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
table {
|
45
|
+
border: $border-thickness solid invert($fg-color);
|
46
|
+
th, td {
|
47
|
+
border: $border-thickness solid invert($fg-color);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
nav {
|
52
|
+
p {
|
53
|
+
a {
|
54
|
+
border: $border-thickness solid invert($link-color);
|
55
|
+
}
|
56
|
+
|
57
|
+
a:hover {
|
58
|
+
border: $border-thickness solid invert($link-hover-color);
|
59
|
+
}
|
60
|
+
|
61
|
+
a:active {
|
62
|
+
border: $border-thickness solid invert($link-active-color);
|
63
|
+
}
|
64
|
+
|
65
|
+
a:visited {
|
66
|
+
border: $border-thickness solid invert($link-visited-color);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
data/_sass/main.scss
ADDED
@@ -0,0 +1,206 @@
|
|
1
|
+
html {
|
2
|
+
font-size: $html-font-size;
|
3
|
+
background-color: $bg-color;
|
4
|
+
color: $fg-color;
|
5
|
+
|
6
|
+
body {
|
7
|
+
background-color: $bg-color;
|
8
|
+
color: $fg-color;
|
9
|
+
margin: $body-margin;
|
10
|
+
font-size: $content-font-size;
|
11
|
+
font-family: $content-font-family;
|
12
|
+
line-height: $content-line-height;
|
13
|
+
|
14
|
+
a {
|
15
|
+
color: $link-color;
|
16
|
+
text-underline-offset: $border-thickness * 1.5;
|
17
|
+
}
|
18
|
+
|
19
|
+
a:hover {
|
20
|
+
color: $link-hover-color;
|
21
|
+
}
|
22
|
+
|
23
|
+
a:active {
|
24
|
+
color: $link-active-color;
|
25
|
+
}
|
26
|
+
|
27
|
+
a:visited {
|
28
|
+
color: $link-visited-color;
|
29
|
+
}
|
30
|
+
|
31
|
+
h1, h2, h3 {
|
32
|
+
line-height: 1.2
|
33
|
+
}
|
34
|
+
|
35
|
+
header, footer, nav {
|
36
|
+
text-align: content-alignment;
|
37
|
+
|
38
|
+
h1 {
|
39
|
+
font-size: 1rem;
|
40
|
+
margin-bottom: 1rem;
|
41
|
+
|
42
|
+
em {
|
43
|
+
margin-left: 1rem;
|
44
|
+
font-weight: normal;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
header {
|
50
|
+
margin-bottom: 2rem;
|
51
|
+
padding-bottom: 1rem;
|
52
|
+
border-bottom: $border-thickness solid $fg-color;
|
53
|
+
}
|
54
|
+
|
55
|
+
footer {
|
56
|
+
margin-top: 2rem;
|
57
|
+
padding-top: 1rem;
|
58
|
+
border-top: $border-thickness solid $fg-color;
|
59
|
+
}
|
60
|
+
|
61
|
+
nav {
|
62
|
+
margin-top: 1.5rem;
|
63
|
+
p {
|
64
|
+
a {
|
65
|
+
margin-right: 1rem;
|
66
|
+
border: $border-thickness solid $link-color;
|
67
|
+
border-radius: .5rem;
|
68
|
+
padding: .5rem;
|
69
|
+
text-decoration: none;
|
70
|
+
}
|
71
|
+
|
72
|
+
a:last-child {
|
73
|
+
margin-right: 0;
|
74
|
+
}
|
75
|
+
|
76
|
+
a:hover {
|
77
|
+
border: $border-thickness solid $link-hover-color;
|
78
|
+
}
|
79
|
+
|
80
|
+
a:active {
|
81
|
+
border: $border-thickness solid $link-active-color;
|
82
|
+
}
|
83
|
+
|
84
|
+
a:visited {
|
85
|
+
border: $border-thickness solid $link-visited-color;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
main {
|
91
|
+
margin: $content-margin;
|
92
|
+
max-width: $content-width;
|
93
|
+
padding: $content-padding;
|
94
|
+
|
95
|
+
article {
|
96
|
+
margin-left: 2rem;
|
97
|
+
}
|
98
|
+
|
99
|
+
nav {
|
100
|
+
text-align: left;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
article {
|
105
|
+
margin: $content-margin;
|
106
|
+
max-width: $content-width;
|
107
|
+
padding: $content-padding;
|
108
|
+
|
109
|
+
header, footer {
|
110
|
+
text-align: left;
|
111
|
+
margin: 2rem auto;
|
112
|
+
}
|
113
|
+
|
114
|
+
section {
|
115
|
+
margin: 2rem auto;
|
116
|
+
}
|
117
|
+
|
118
|
+
header {
|
119
|
+
margin-bottom: 1rem;
|
120
|
+
padding-bottom: 0;
|
121
|
+
border: none;
|
122
|
+
}
|
123
|
+
|
124
|
+
footer {
|
125
|
+
border-top: $hr-border-thickness dashed $fg-color;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
main, article {
|
130
|
+
h1 {
|
131
|
+
font-size: 1.6rem;
|
132
|
+
}
|
133
|
+
|
134
|
+
h2 {
|
135
|
+
font-size: 1.4rem;
|
136
|
+
}
|
137
|
+
|
138
|
+
h3 {
|
139
|
+
font-size: 1.2rem;
|
140
|
+
}
|
141
|
+
|
142
|
+
h4, h5, h6 {
|
143
|
+
font-size: 1.1rem;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
blockquote {
|
148
|
+
font-size: $blockquote-font-size;
|
149
|
+
margin: 2rem 4rem;
|
150
|
+
padding: 0 1rem;
|
151
|
+
border-left: $border-thickness solid $fg-color;
|
152
|
+
|
153
|
+
cite {
|
154
|
+
font-style: normal;
|
155
|
+
font-weight: bold;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
159
|
+
figure {
|
160
|
+
font-size: $blockquote-font-size;
|
161
|
+
margin: 2rem 4rem;
|
162
|
+
padding: 1rem;
|
163
|
+
border: $border-thickness solid $fg-color;
|
164
|
+
|
165
|
+
img {
|
166
|
+
width: 100%;
|
167
|
+
}
|
168
|
+
|
169
|
+
figcaption {
|
170
|
+
font-style: normal;
|
171
|
+
font-weight: bold;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
dl {
|
176
|
+
dt {
|
177
|
+
font-size: 1.1rem;
|
178
|
+
font-weight: bold;
|
179
|
+
}
|
180
|
+
|
181
|
+
dd {
|
182
|
+
margin-bottom: 1.1rem;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
hr {
|
187
|
+
border: $hr-border-thickness solid $fg-color;
|
188
|
+
}
|
189
|
+
|
190
|
+
table {
|
191
|
+
margin: 2rem 0;
|
192
|
+
border-collapse: collapse;
|
193
|
+
border: $border-thickness solid $fg-color;
|
194
|
+
th, td {
|
195
|
+
padding: 1rem;
|
196
|
+
border: $border-thickness solid $fg-color;
|
197
|
+
text-align: left;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
pre, code {
|
202
|
+
font-size: $preformatted-font-size;
|
203
|
+
font-family: $preformatted-font-family;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
data/_sass/paper.scss
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
@media print {
|
2
|
+
html, body {
|
3
|
+
font: 12pt/1.3 serif !important;
|
4
|
+
background: $bg-color !important;
|
5
|
+
color: $fg-color !important;
|
6
|
+
}
|
7
|
+
|
8
|
+
body {
|
9
|
+
header {
|
10
|
+
display: none;
|
11
|
+
}
|
12
|
+
|
13
|
+
footer {
|
14
|
+
nav {
|
15
|
+
display: none;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
a, a:hover, a:active, a:visited {
|
20
|
+
color: $fg-color !important;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
main, article {
|
26
|
+
width: 100%;
|
27
|
+
max-width: 100%;
|
28
|
+
margin: 0;
|
29
|
+
float: none;
|
30
|
+
}
|
31
|
+
|
32
|
+
h1 {
|
33
|
+
font-size: 2rem;
|
34
|
+
}
|
35
|
+
|
36
|
+
h2, h3, h4 {
|
37
|
+
font-size: 1.2rem;
|
38
|
+
margin-top: 2rem;
|
39
|
+
}
|
40
|
+
|
41
|
+
a {
|
42
|
+
page-break-inside: avoid
|
43
|
+
}
|
44
|
+
|
45
|
+
blockquote {
|
46
|
+
page-break-inside: avoid;
|
47
|
+
}
|
48
|
+
|
49
|
+
h1, h2, h3, h4, h5, h6 {
|
50
|
+
page-break-after: avoid;
|
51
|
+
page-break-inside: avoid
|
52
|
+
}
|
53
|
+
|
54
|
+
img {
|
55
|
+
page-break-inside: avoid;
|
56
|
+
page-break-after: avoid;
|
57
|
+
}
|
58
|
+
|
59
|
+
table, pre {
|
60
|
+
page-break-inside: avoid
|
61
|
+
}
|
62
|
+
|
63
|
+
ul, ol, dl {
|
64
|
+
page-break-before: avoid
|
65
|
+
}
|
66
|
+
}
|
data/_sass/skip.scss
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
$bg-color: #FFFFFF;
|
2
|
+
$fg-color: #000000;
|
3
|
+
$link-color: #0000B5;
|
4
|
+
$link-hover-color: #3A539B;
|
5
|
+
$link-active-color: #20603C;
|
6
|
+
$link-visited-color: #550000;
|
7
|
+
$border-thickness: 2px;
|
8
|
+
$hr-border-thickness: 1px;
|
9
|
+
$html-font-size: medium;
|
10
|
+
$body-margin: 2rem;
|
11
|
+
$content-font-size: 1rem;
|
12
|
+
$content-line-height: 1.62;
|
13
|
+
$content-font-family: sans-serif;
|
14
|
+
$preformatted-font-size: 1rem;
|
15
|
+
$preformatted-font-family: monospace;
|
16
|
+
$content-width: 40rem;
|
17
|
+
$content-alignment: center;
|
18
|
+
$content-margin: 2rem auto;
|
19
|
+
$content-padding: 0 .62rem;
|
20
|
+
$blockquote-font-size: 1.1rem;
|
21
|
+
$figure-font-size: 1.1rem;
|
data/assets/print.scss
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
@import "variables";
|
5
|
+
|
6
|
+
// now that our variables are defined, let's override them from the config.
|
7
|
+
|
8
|
+
{% if site.oedipus.style.content-width %}
|
9
|
+
$content-width: {{ site.oedipus.style.content-width }};
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
|
13
|
+
@import "paper";
|
data/assets/style.scss
CHANGED
@@ -1,3 +1,84 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
3
|
|
4
|
+
@import "variables";
|
5
|
+
|
6
|
+
// now that our variables are defined, let's override them from the config.
|
7
|
+
|
8
|
+
{% if site.oedipus.style.bg-color %}
|
9
|
+
$bg-color: {{ site.oedipus.style.bg-color }};
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
{% if site.oedipus.style.fg-color %}
|
13
|
+
$fg-color: {{ site.oedipus.style.fg-color }};
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
{% if site.oedipus.style.link-color %}
|
17
|
+
$link-color: {{ site.oedipus.style.link-color }};
|
18
|
+
{% endif %}
|
19
|
+
|
20
|
+
{% if site.oedipus.style.link-hover-color %}
|
21
|
+
$link-hover-color: {{ site.oedipus.style.link-hover-color }};
|
22
|
+
{% endif %}
|
23
|
+
|
24
|
+
{% if site.oedipus.style.link-active-color %}
|
25
|
+
$link-active-color: {{ site.oedipus.style.link-active-color }};
|
26
|
+
{% endif %}
|
27
|
+
|
28
|
+
{% if site.oedipus.style.link-visited-color %}
|
29
|
+
$link-visited-color: {{ site.oedipus.style.link-visited-color }};
|
30
|
+
{% endif %}
|
31
|
+
|
32
|
+
{% if site.oedipus.style.border-thickness %}
|
33
|
+
$border-thickness: {{ site.oedipus.style.border-thickness }};
|
34
|
+
{% endif %}
|
35
|
+
|
36
|
+
{% if site.oedipus.style.hr-border-thickness %}
|
37
|
+
$hr-border-thickness: {{ site.oedipus.style.hr-border-thickness }};
|
38
|
+
{% endif %}
|
39
|
+
|
40
|
+
{% if site.oedipus.style.body-margin %}
|
41
|
+
$body-margin: {{ site.oedipus.style.body-margin }};
|
42
|
+
{% endif %}
|
43
|
+
|
44
|
+
{% if site.oedipus.style.html-font-size %}
|
45
|
+
$html-font-size: {{ site.oedipus.style.html-font-size }};
|
46
|
+
{% endif %}
|
47
|
+
|
48
|
+
{% if site.oedipus.style.content-font-size %}
|
49
|
+
$content-font-size: {{ site.oedipus.style.content-font-size }};
|
50
|
+
{% endif %}
|
51
|
+
|
52
|
+
{% if site.oedipus.style.content-font-family %}
|
53
|
+
$content-font-family: {{ site.oedipus.style.content-font-family }};
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
{% if site.oedipus.style.content-line-height %}
|
57
|
+
$content-line-height: {{ site.oedipus.style.content-line-height }};
|
58
|
+
{% endif %}
|
59
|
+
|
60
|
+
{% if site.oedipus.style.preformatted-font-size %}
|
61
|
+
$preformatted-font-size: {{ site.oedipus.style.preformatted-font-size }};
|
62
|
+
{% endif %}
|
63
|
+
|
64
|
+
{% if site.oedipus.style.preformatted-font-family %}
|
65
|
+
$preformatted-font-family: {{ site.oedipus.style.preformatted-font-family }};
|
66
|
+
{% endif %}
|
67
|
+
|
68
|
+
{% if site.oedipus.style.content-width %}
|
69
|
+
$content-width: {{ site.oedipus.style.content-width }};
|
70
|
+
{% endif %}
|
71
|
+
|
72
|
+
{% if site.oedipus.style.content-centered %}
|
73
|
+
$content-alignment: center;
|
74
|
+
$content-margin: 2rem auto;
|
75
|
+
$content-padding: 0 .62rem;
|
76
|
+
{% else %}
|
77
|
+
$content-alignment: left;
|
78
|
+
$content-margin: 0;
|
79
|
+
$content-padding: auto;
|
80
|
+
{% endif %}
|
81
|
+
|
82
|
+
@import "main";
|
83
|
+
@import "skip";
|
84
|
+
@import "dark";
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-oedipus-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Graybosch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -104,20 +104,30 @@ files:
|
|
104
104
|
- _config.yml
|
105
105
|
- _includes/footer.html
|
106
106
|
- _includes/header.html
|
107
|
+
- _includes/home-footer.html
|
107
108
|
- _includes/home-header.html
|
109
|
+
- _includes/license.html
|
110
|
+
- _includes/masthead.html
|
108
111
|
- _includes/navbar.html
|
109
112
|
- _includes/navlist.html
|
110
113
|
- _includes/posts-list.html
|
111
114
|
- _includes/posts-table.html
|
112
115
|
- _includes/recent-posts-list.html
|
113
116
|
- _includes/recent-posts-table.html
|
117
|
+
- _includes/skip.html
|
114
118
|
- _layouts/base.html
|
115
119
|
- _layouts/default.html
|
116
120
|
- _layouts/home.html
|
117
121
|
- _layouts/page.html
|
118
122
|
- _layouts/post.html
|
123
|
+
- _sass/dark.scss
|
124
|
+
- _sass/main.scss
|
125
|
+
- _sass/paper.scss
|
126
|
+
- _sass/skip.scss
|
127
|
+
- _sass/variables.scss
|
119
128
|
- assets/favicon.ico
|
120
129
|
- assets/favicon.svg
|
130
|
+
- assets/print.scss
|
121
131
|
- assets/style.scss
|
122
132
|
homepage: https://github.com/matthewgraybosch/jekyll-oedipus-theme
|
123
133
|
licenses:
|
@@ -131,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
131
141
|
requirements:
|
132
142
|
- - ">="
|
133
143
|
- !ruby/object:Gem::Version
|
134
|
-
version: '
|
144
|
+
version: '2.7'
|
135
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
146
|
requirements:
|
137
147
|
- - ">="
|
@@ -141,5 +151,5 @@ requirements: []
|
|
141
151
|
rubygems_version: 3.2.5
|
142
152
|
signing_key:
|
143
153
|
specification_version: 4
|
144
|
-
summary: Build a
|
154
|
+
summary: Build a motherfucking website with Jekyll (patricide optional)
|
145
155
|
test_files: []
|