jekyll-oedipus-theme 0.1.0 → 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/README.md +3 -1
- data/_layouts/home.html +1 -1
- data/_layouts/page.html +3 -1
- data/_layouts/post.html +18 -1
- data/_sass/dark.scss +35 -0
- data/_sass/main.scss +92 -0
- data/_sass/variables.scss +6 -0
- data/assets/style.scss +3 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7aa620504354fdfe705b8302a74f78be5a8599878299856c9489b0c69b3a8e7
|
4
|
+
data.tar.gz: 634ef930492a8929462cb88f79c04b020f222fb2b4d29c0cbb8e83ca2c5f6616
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcae0ce543bfc7637d1f8a9472d05d3b87c40b77836188eb4d5edb3ba3d54e02d5c8dfeb86984d3812e1d98d8ce4bcd5d7b52715632e896bfeeb174afd04694f
|
7
|
+
data.tar.gz: 8c9fbeb100ecb59ea2329af71b7d19a5abd529d90f88b88ea0d764145f72baeee1a5fa075a1d6b22c4f0a008d759a014365c66b2115225201f84e3b918d20e97
|
data/README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
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
|
+
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Add this line to your Jekyll site's `Gemfile`:
|
@@ -36,5 +38,5 @@ The code of conduct is simple: **don't annoy me**.
|
|
36
38
|
|
37
39
|
## License
|
38
40
|
|
39
|
-
The theme is available as open source under the terms of the [GNU
|
41
|
+
The theme is available as open source under the terms of the [GNU GPL-3.0](https://opensource.org/licenses/GPL-3.0).
|
40
42
|
|
data/_layouts/home.html
CHANGED
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -2,4 +2,21 @@
|
|
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
|
+
<hr />
|
14
|
+
<footer>
|
15
|
+
<p>
|
16
|
+
Thanks for reading.<br />
|
17
|
+
The best way to subscribe is with a feed reader:
|
18
|
+
<a href="/feed.xml" title="subscribe to the Atom feed">Atom</a>
|
19
|
+
<a href="/feed.json" title="subscribe to the JSON feed">JSON</a><br />
|
20
|
+
Questions or comments: email <a href="mailto:{{ site.email }}" title="please allow up to 7 days for a reply">{{ site.email }}</a></p>
|
21
|
+
</footer>
|
22
|
+
</article>
|
data/_sass/dark.scss
ADDED
@@ -0,0 +1,35 @@
|
|
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: 4px solid invert($fg-color);
|
28
|
+
}
|
29
|
+
|
30
|
+
hr {
|
31
|
+
border: 2px solid invert($fg-color);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
data/_sass/main.scss
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
html {
|
2
|
+
font-size: medium;
|
3
|
+
background-color: $bg-color;
|
4
|
+
color: $fg-color;
|
5
|
+
|
6
|
+
body {
|
7
|
+
background-color: $bg-color;
|
8
|
+
color: $fg-color;
|
9
|
+
margin: 1rem;
|
10
|
+
font: 1rem/1.62 sans-serif;
|
11
|
+
|
12
|
+
a {
|
13
|
+
color: $link-color;
|
14
|
+
}
|
15
|
+
|
16
|
+
a:hover {
|
17
|
+
color: $link-hover-color;
|
18
|
+
}
|
19
|
+
|
20
|
+
a:active {
|
21
|
+
color: $link-active-color;
|
22
|
+
}
|
23
|
+
|
24
|
+
a:visited {
|
25
|
+
color: $link-visited-color;
|
26
|
+
}
|
27
|
+
|
28
|
+
h1, h2, h3 {
|
29
|
+
line-height: 1.2
|
30
|
+
}
|
31
|
+
|
32
|
+
header, footer, nav {
|
33
|
+
text-align: center;
|
34
|
+
|
35
|
+
h1 {
|
36
|
+
margin-bottom: 1rem;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
nav {
|
41
|
+
p {
|
42
|
+
a {
|
43
|
+
margin-left: .5rem;
|
44
|
+
margin-right: .5rem;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
main {
|
50
|
+
margin: 1rem auto;
|
51
|
+
max-width: 40rem;
|
52
|
+
padding: 0 .62rem;
|
53
|
+
|
54
|
+
article {
|
55
|
+
margin-left: 2rem;
|
56
|
+
}
|
57
|
+
|
58
|
+
nav {
|
59
|
+
text-align: left;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
article {
|
64
|
+
margin: 1rem auto;
|
65
|
+
max-width: 40rem;
|
66
|
+
padding: 0 .62rem;
|
67
|
+
|
68
|
+
header, footer {
|
69
|
+
text-align: left;
|
70
|
+
margin: 2rem auto;
|
71
|
+
}
|
72
|
+
|
73
|
+
section {
|
74
|
+
margin: 2rem auto;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
blockquote {
|
79
|
+
margin: 2rem 4rem;
|
80
|
+
padding: 0 1rem;
|
81
|
+
border-left: 4px solid $fg-color;
|
82
|
+
|
83
|
+
cite {
|
84
|
+
font-style: normal;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
hr {
|
89
|
+
border: 2px solid $fg-color;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
data/assets/style.scss
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-oedipus-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
|
- Matthew Graybosch
|
@@ -116,6 +116,9 @@ files:
|
|
116
116
|
- _layouts/home.html
|
117
117
|
- _layouts/page.html
|
118
118
|
- _layouts/post.html
|
119
|
+
- _sass/dark.scss
|
120
|
+
- _sass/main.scss
|
121
|
+
- _sass/variables.scss
|
119
122
|
- assets/favicon.ico
|
120
123
|
- assets/favicon.svg
|
121
124
|
- assets/style.scss
|
@@ -141,5 +144,5 @@ requirements: []
|
|
141
144
|
rubygems_version: 3.2.5
|
142
145
|
signing_key:
|
143
146
|
specification_version: 4
|
144
|
-
summary: Build a
|
147
|
+
summary: Build a motherfucking website with Jekyll (patricide optional)
|
145
148
|
test_files: []
|