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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cba0fa8a350b3d693a52ad4df8da012fff361ef520c18a3eaf2c86b3590c18b2
4
- data.tar.gz: fd6a705fe319fbd747847bbe2664701c2baba337a84facafd5e14535fd01c35d
3
+ metadata.gz: e7aa620504354fdfe705b8302a74f78be5a8599878299856c9489b0c69b3a8e7
4
+ data.tar.gz: 634ef930492a8929462cb88f79c04b020f222fb2b4d29c0cbb8e83ca2c5f6616
5
5
  SHA512:
6
- metadata.gz: 208527a84c8049e000a46c3b7559fe9df6a30e6d61a4b64bec176399933eed17505654283ac1e95ba453b95f104d337c6d9409b436fc90d4dc3513ac7c3b1296
7
- data.tar.gz: b17e0dc3adb0a74cf285410a79758bc5cde34d142472c37505a5a72607e614b9c56011fc34766fd421c4c46e8ce5f74fe17438ceb18e2ec49281c6e21bcf45ba
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 GPLv3](https://opensource.org/licenses/GPL-3.0).
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
@@ -4,7 +4,7 @@ layout: base
4
4
 
5
5
  {% include home-header.html %}
6
6
  <hr />
7
- <main>
7
+ <main id="content">
8
8
  {{ content }}
9
9
  </main>
10
10
  <hr />
data/_layouts/page.html CHANGED
@@ -2,4 +2,6 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {{ content }}
5
+ <main id="content">
6
+ {{ content }}
7
+ </main>
data/_layouts/post.html CHANGED
@@ -2,4 +2,21 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {{ content }}
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
+ }
@@ -0,0 +1,6 @@
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;
data/assets/style.scss CHANGED
@@ -1,3 +1,6 @@
1
1
  ---
2
2
  ---
3
3
 
4
+ @import "variables";
5
+ @import "main";
6
+ @import "dark";
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.1.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 motherloving website with Jekyll (patricide optional)
147
+ summary: Build a motherfucking website with Jekyll (patricide optional)
145
148
  test_files: []