jekyll-theme-iamlynnmckay 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fe9d32d007583873aca4e23f046dbb6dfc91188fa0fe42e40a6e5f7a1d5eb0ae
4
+ data.tar.gz: 35462d3305568b25a2df4da86e377b4ff22ebb50592158d0dd37d8c7e502309e
5
+ SHA512:
6
+ metadata.gz: e060d829a1d08685b8038bfa3d0ca1bcaa65f9fc17944592c8b480ee8f80f0d40bc698a55cb7b83ad805fe4158529bd5013636b72a2798f599a6a7c595cf7d1a
7
+ data.tar.gz: 61209640a12b7cf8066657b79abce3ae12e2a85c86995e7ddea365e63697b9bcf08e66d8f526d4bcd6b6c58a4c10cd67a034e5003e7f5b9427eceac313f78ff1
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Lynn McKay
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # jekyll-theme-iamlynnmckay
2
+
3
+ Jekyll theme for [iamlynnmckay.com](http://iamlynnmckay.com).
data/_config.yml ADDED
@@ -0,0 +1,78 @@
1
+ # minima
2
+
3
+ email: site.email@example.com
4
+ baseurl: ""
5
+
6
+ # jekyll-seo-tag
7
+ author: "Site.Author"
8
+ url: "https://site.url"
9
+ title: "site.title"
10
+ description: "This is the value of site.description."
11
+ descriptions:
12
+ posts: "posts..."
13
+ about: "about..."
14
+ twitter:
15
+ username: "site.twitter.username"
16
+ card: "site.twitter.card"
17
+ logo: "assets/logo.svg"
18
+
19
+ # jekyll-scholar
20
+ scholar:
21
+ style: apa
22
+
23
+ # custom social links
24
+ bandcamp:
25
+ username: site.?.username
26
+ github:
27
+ username: site.?.username
28
+ instagram:
29
+ username: site.?.username
30
+ patreon:
31
+ username: site.?.username
32
+ pinterest:
33
+ username: site.?.username
34
+ reddit:
35
+ username: site.?.username
36
+ soundcloud:
37
+ username: site.?.username
38
+ stack-overflow:
39
+ username: site.?.username
40
+ twitch:
41
+ username: site.?.username
42
+ venmo:
43
+ username: site.?.username
44
+ wikipedia:
45
+ username: site.?.username
46
+ youtube:
47
+ username: site.?.username
48
+
49
+ # Build settings
50
+ theme: jekyll-theme-iamlynnmckay
51
+
52
+ plugins:
53
+ - jekyll-feed
54
+ - jekyll-seo-tag
55
+ - jekyll-sitemap
56
+ - jekyll-postcss
57
+ - jekyll-scholar
58
+
59
+ exclude:
60
+ - .gitignore
61
+ - .jekyll-cache/
62
+ - .sass-cache/
63
+ - .todo
64
+ - Gemfile
65
+ - Gemfile.lock
66
+ - README.md
67
+ - bin
68
+ - gemfiles/
69
+ - netlify.toml
70
+ - node_modules/
71
+ - package-lock.json
72
+ - postcss.config.js
73
+ - purgecss.config.js
74
+ - vendor/bundle/
75
+ - vendor/cache/
76
+ - vendor/gems/
77
+ - vendor/ruby/
78
+ - yarn.lock
@@ -0,0 +1,19 @@
1
+ {%- if page.comments != false and jekyll.environment == "production" -%}
2
+ <div id="disqus_thread"></div>
3
+ <script>
4
+ var disqus_config = function () {
5
+ this.page.url = '{{ page.url | absolute_url }}';
6
+ this.page.identifier = '{{ page.url | absolute_url }}';
7
+ };
8
+ (function () {
9
+ var d = document, s = d.createElement('script');
10
+
11
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
12
+
13
+ s.setAttribute('data-timestamp', +new Date());
14
+ (d.head || d.body).appendChild(s);
15
+ })();
16
+ </script>
17
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments
18
+ powered by Disqus.</a></noscript>
19
+ {%- endif -%}
@@ -0,0 +1,115 @@
1
+ <footer>
2
+ <div class="text-center">
3
+ <div class="text-lg">
4
+ {{ site.title | escape }}
5
+ </div>
6
+ <div class="text-sm m-2">
7
+ {{- site.description | escape -}}
8
+ </div>
9
+ </div>
10
+ <div class="flex flex-wrap justify-center m-2">
11
+ <div class="m-2">
12
+ <a href="{{ " /feed.xml" | relative_url }}">
13
+ <i class="fas fa-rss"></i>
14
+ </a>
15
+ </div>
16
+ {% if site.bandcamp.username %}
17
+ <div class="m-2">
18
+ <a href="https://bandcamp.com/{{ site.bandcamp.username }}">
19
+ <i class="fab fa-bandcamp"></i>
20
+ </a>
21
+ </div>
22
+ {% endif %}
23
+ {% if site.facebook.username %}
24
+ <div class="m-2">
25
+ <a href="https://facebook.com/{{ site.facebook.username }}">
26
+ <i class="fab fa-facebook"></i>
27
+ </a>
28
+ </div>
29
+ {% endif %}
30
+ {% if site.github.username %}
31
+ <div class="m-2">
32
+ <a href="https://github.com/{{ site.github.username }}">
33
+ <i class="fab fa-github"></i>
34
+ </a>
35
+ </div>
36
+ {% endif %}
37
+ {% if site.instagram.username %}
38
+ <div class="m-2">
39
+ <a href="https://instagram.com/{{ site.instagram.username }}">
40
+ <i class="fab fa-instagram"></i>
41
+ </a>
42
+ </div>
43
+ {% endif %}
44
+ {% if site.patreon.username %}
45
+ <div class="m-2">
46
+ <a href="https://patreon.com/{{ site.patreon.username }}">
47
+ <i class="fab fa-patreon"></i>
48
+ </a>
49
+ </div>
50
+ {% endif %}
51
+ {% if site.pinterest.username %}
52
+ <div class="m-2">
53
+ <a href="https://pinterest.com/{{ site.pinterest.username }}">
54
+ <i class="fab fa-pinterest"></i>
55
+ </a>
56
+ </div>
57
+ {% endif %}
58
+ {% if site.reddit.username %}
59
+ <div class="m-2">
60
+ <a href="https://reddit.com/{{ site.reddit.username }}">
61
+ <i class="fab fa-reddit"></i>
62
+ </a>
63
+ </div>
64
+ {% endif %}
65
+ {% if site.soundcloud.username %}
66
+ <div class="m-2">
67
+ <a href="https://soundcloud.com/{{ site.soundcloud.username }}">
68
+ <i class="fab fa-soundcloud"></i>
69
+ </a>
70
+ </div>
71
+ {% endif %}
72
+ {% if site.stack-overflow.username %}
73
+ <div class="m-2">
74
+ <a href="https://stack-overflow.com/{{ site.stack-overflow.username }}">
75
+ <i class="fab fa-stack-overflow"></i>
76
+ </a>
77
+ </div>
78
+ {% endif %}
79
+ {% if site.twitch.username %}
80
+ <div class="m-2">
81
+ <a href="https://twitch.com/{{ site.twitch.username }}">
82
+ <i class="fab fa-twitch"></i>
83
+ </a>
84
+ </div>
85
+ {% endif %}
86
+ {% if site.twitter.username %}
87
+ <div class="m-2">
88
+ <a href="https://twitter.com/{{ site.twitter.username }}">
89
+ <i class="fab fa-twitter"></i>
90
+ </a>
91
+ </div>
92
+ {% endif %}
93
+ {% if site.venmo.username %}
94
+ <div class="m-2">
95
+ <a href="https://venmo.com/u/{{ site.venmo.username }}">
96
+ <i class="fab fa-paypal"></i>
97
+ </a>
98
+ </div>
99
+ {% endif %}
100
+ {% if site.wikipedia.username %}
101
+ <div class="m-2">
102
+ <a href="https://wikipedia.com/{{ site.wikipedia.username }}">
103
+ <i class="fab fa-wikipedia-w"></i>
104
+ </a>
105
+ </div>
106
+ {% endif %}
107
+ {% if site.youtube.username %}
108
+ <div class="m-2">
109
+ <a href="https://youtube.com/{{ site.youtube.username }}">
110
+ <i class="fab fa-youtube"></i>
111
+ </a>
112
+ </div>
113
+ {% endif %}
114
+ </div>
115
+ </footer>
@@ -0,0 +1,13 @@
1
+ <script>
2
+ if (!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
3
+ (function (i, s, o, g, r, a, m) {
4
+ i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
5
+ (i[r].q = i[r].q || []).push(arguments)
6
+ }, i[r].l = 1 * new Date(); a = s.createElement(o),
7
+ m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
8
+ })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
9
+
10
+ ga('create', '{{ site.google_analytics }}', 'auto');
11
+ ga('send', 'pageview');
12
+ }
13
+ </script>
@@ -0,0 +1,13 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ {%- seo -%}
6
+ <!-- TODO: build this with the page source -->
7
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.3/css/all.min.css">
8
+ <link rel="stylesheet" href="{{ 'assets/main.css' | relative_url }}">
9
+ {%- feed_meta -%}
10
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
11
+ {%- include google-analytics.html -%}
12
+ {%- endif -%}
13
+ </head>
@@ -0,0 +1,26 @@
1
+ <header role="banner">
2
+ <nav>
3
+ <div class="flex place-items-center">
4
+ <div class="flex flex-auto place-items-center m-2">
5
+ <div class="mr-2">
6
+ <a href="/">
7
+ <img width="54" height="54" viewBox="0 0 54 54" src="/{{ site.logo }}" />
8
+ </a>
9
+ </div>
10
+ <div>
11
+ <a href="/" class="hover:underline">{{ site.title | escape }}</a>
12
+ </div>
13
+ </div>
14
+ <div>
15
+ <span class="m-2">
16
+ <i class="fa fa-caret-right"></i>
17
+ <a href="/about">about</a>
18
+ </span>
19
+ <span class="m-2">
20
+ <i class="fa fa-caret-right"></i>
21
+ <a href="/posts">posts</a>
22
+ </span>
23
+ </div>
24
+ </div>
25
+ </nav>
26
+ </header>
@@ -0,0 +1,72 @@
1
+ <script>
2
+ window.onload = () => {
3
+
4
+ function randomColor() {
5
+ return '#' + Math.floor(Math.random() * 16777215).toString(16);
6
+ }
7
+
8
+ function sleep(time) {
9
+ return new Promise((resolve) => setTimeout(resolve, time));
10
+ }
11
+
12
+ (() => {
13
+ document.querySelectorAll("i.fa").forEach((elem) => {
14
+ //sleep(500).then(() => {
15
+ // Do something after the sleep!
16
+ elem.style.color = randomColor();
17
+ //});
18
+ });
19
+ })();
20
+
21
+ (() => {
22
+ var canvas = document.getElementById('canvas');
23
+ var ctx = canvas.getContext('2d');
24
+ var raf;
25
+
26
+ var ball = {
27
+ x: 1,
28
+ y: 0,
29
+ vx: 3,
30
+ vy: 2,
31
+ radius: 5,
32
+ color: 'white',
33
+ draw: function () {
34
+ ctx.beginPath();
35
+ ctx.arc(this.x, this.y, this.radius, 0, Math.PI * 2, true);
36
+ ctx.closePath();
37
+ ctx.fillStyle = this.color;
38
+ ctx.fill();
39
+ }
40
+ };
41
+
42
+
43
+ function draw() {
44
+ ctx.clearRect(0, 0, canvas.width, canvas.height);
45
+ ball.draw();
46
+ ball.x += ball.vx;
47
+ ball.y += ball.vy;
48
+ if (ball.y + ball.vy > canvas.height || ball.y + ball.vy < 0) {
49
+ ball.color = randomColor();
50
+ ball.vy = -ball.vy;
51
+ }
52
+ if (ball.x + ball.vx > canvas.width || ball.x + ball.vx < 0) {
53
+ ball.color = randomColor();
54
+ ball.vx = -ball.vx;
55
+ }
56
+ raf = window.requestAnimationFrame(draw);
57
+ }
58
+
59
+ raf = window.requestAnimationFrame(draw);
60
+ /*
61
+ canvas.addEventListener('mouseover', function(e) {
62
+ raf = window.requestAnimationFrame(draw);
63
+ });
64
+
65
+ canvas.addEventListener('mouseout', function(e) {
66
+ window.cancelAnimationFrame(raf);
67
+ });
68
+ */
69
+ })();
70
+
71
+ };
72
+ </script>
@@ -0,0 +1,12 @@
1
+ module.exports = {
2
+ future: {
3
+ // removeDeprecatedGapUtilities: true,
4
+ // purgeLayersByDefault: true,
5
+ },
6
+ purge: [],
7
+ theme: {
8
+ extend: {},
9
+ },
10
+ variants: {},
11
+ plugins: [],
12
+ }
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <h1>About</h1>
6
+
7
+ {{ content }}
data/_layouts/bib.html ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ <li>{{ reference }}</li>
@@ -0,0 +1,16 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: ' en' }}">
3
+ {%- include head.html -%}
4
+ <body>
5
+ {%- include header.html -%}
6
+ <main aria-label="Content">
7
+ <div class="flex flex-col min-h-screen">
8
+ <div class="relative sm:max-w-xl sm:mx-auto mr-8 ml-8">
9
+ {{ content }}
10
+ </div>
11
+ </div>
12
+ </main>
13
+ {%- include footer.html -%}
14
+ {%- include scripts.html -%}
15
+ </body>
16
+ </html>
@@ -0,0 +1,61 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <blockquote>
6
+ <h1>{{- site.description | escape -}}</h1>
7
+ </blockquote>
8
+ <figure>
9
+ <img width="250" height="250" viewBox="0 0 250 250" src="/{{ site.logo }}" />
10
+ </figure>
11
+ <section>
12
+ <h3 class="text-center italic">
13
+ e.g.
14
+ </h3>
15
+ <ul class="grid grid-cols-1">
16
+ {% for i in (0..2) %}
17
+ <li class="x-fa">
18
+ <i class="fa fa-angle-double-right"></i>
19
+ <span class="text-category">
20
+ <a href="/blog#{{ site.posts[i].categories[0] }}"> {{ site.posts[i].categories[0] | escape }}</a>
21
+ </span>
22
+ <div class="text-title text-center">
23
+ <i class="fa fa-caret-right"></i>
24
+ <a href="{{ site.posts[i].url }}"> {{ site.posts[i].title | escape }}</a>
25
+ </div>
26
+ <div class="grid grid-cols-2">
27
+ <span class="text-tag">
28
+ {% for tag in site.posts[i].tags %}
29
+ <a href="/blog">#{{ tag }}</a>
30
+ {% endfor %}
31
+ </span>
32
+ <span>
33
+ <time class="text-date text-right" datetime="{{ post.date | date_to_xmlschema }}">
34
+ {{ site.posts[i].date | date: "%b %-d, %Y" }}
35
+ </time>
36
+ </span>
37
+ </div>
38
+ </li>
39
+ {% endfor %}
40
+ </ul>
41
+ <h3 class="text-center italic">
42
+ goto
43
+ </h3>
44
+ <div class="grid lg:grid-cols-2 sm:grid-cols-1 m-5 text-center">
45
+ <a href="/posts">
46
+ <h2>
47
+ <i class="fa fa-angle-right"></i>
48
+ {{ site.descriptions.posts | escape }}
49
+ </h2>
50
+ </a>
51
+ <a href="/about">
52
+ <h2>
53
+ <i class="fa fa-angle-right"></i>
54
+ {{ site.descriptions.about | escape }}
55
+ </h2>
56
+ </a>
57
+ </div>
58
+ <div class="flex justify-center">
59
+ <canvas id="canvas" width="300"></canvas>
60
+ </div>
61
+ </section>
@@ -0,0 +1,47 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article itemscope itemtype="http://schema.org/BlogPosting">
6
+ <header class="mb-8">
7
+ <div class="text-category">
8
+ <i class="fa fa-angle-double-right"></i>
9
+ <a href="/blog#{{ page.categories[0] }}"> {{ page.categories[0] | escape }}</a>
10
+ </div>
11
+ <div class="ml-3">
12
+ <h1 itemprop="name headline">
13
+ <i class="fa fa-angle-right"></i>
14
+ {{ page.title | escape }}
15
+ </h1>
16
+ </div>
17
+ <p>
18
+ <span class="text-tag">
19
+ {% for tag in page.tags %}
20
+ <a href="/blog">#{{ tag }}</a>
21
+ {% endfor %}
22
+ </span>
23
+ <time class="text-date text-right" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
24
+ {{ page.date | date: "%b %-d, %Y" }}
25
+ </time>
26
+ {%- if page.author -%}
27
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
28
+ <span itemprop="name">{{ page.author }}</span>
29
+ </span>
30
+ {%- endif -%}
31
+ </p>
32
+ </header>
33
+ <div itemprop="articleBody">
34
+ <section>
35
+ {{ content }}
36
+ </section>
37
+ </div>
38
+ {%- if site.disqus.shortname -%}
39
+ {%- include disqus-comments.html -%}
40
+ {%- endif -%}
41
+ <div class="mt-8">
42
+ <h2>References:</h2>
43
+ <ul>
44
+ {% bibliography --file references --cited %}
45
+ </ul>
46
+ </div>
47
+ </article>
@@ -0,0 +1,36 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <h1>Posts</h1>
6
+ <ul class="grid grid-cols-1">
7
+ {% for category in site.categories %}
8
+ <li class="x-fa">
9
+ {% capture category_key %}{{ category | first }}{% endcapture %}
10
+ <div id="{{ category_key }}">
11
+ <i class="fa fa-angle-double-right"></i>
12
+ <a class="text-category" href="#{{ category_key }}">{{ category_key }}</a>
13
+ </div>
14
+ <ul class="grid grid-cols-1">
15
+ {% for post in site.categories[category_key] %}
16
+ <li class="x-fa">
17
+ <span class="text-title">
18
+ <i class="fa fa-angle-right"></i>
19
+ <a href="{{ post.url }}"> {{ post.title | escape }}</a>
20
+ </span>
21
+ <div class="grid grid-cols-2">
22
+ <span class="text-tag">
23
+ {% for tag in post.tags %}
24
+ <a href="#">#{{ tag }}</a>
25
+ {% endfor %}
26
+ </span>
27
+ <time class="text-right" datetime="{{ post.date | date_to_xmlschema }}">
28
+ {{ post.date | date: "%b %-d, %Y" }}
29
+ </time>
30
+ </div>
31
+ </li>
32
+ {% endfor %}
33
+ </ul>
34
+ </li>
35
+ {% endfor %}
36
+ </ul>
@@ -0,0 +1,71 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+ .highlight {
5
+ background: #fff;
6
+ @extend %vertical-rhythm;
7
+
8
+ .highlighter-rouge & {
9
+ background: #eef;
10
+ }
11
+
12
+ .c { color: #998; font-style: italic } // Comment
13
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
14
+ .k { font-weight: bold } // Keyword
15
+ .o { font-weight: bold } // Operator
16
+ .cm { color: #998; font-style: italic } // Comment.Multiline
17
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
18
+ .c1 { color: #998; font-style: italic } // Comment.Single
19
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
20
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
21
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
22
+ .ge { font-style: italic } // Generic.Emph
23
+ .gr { color: #a00 } // Generic.Error
24
+ .gh { color: #999 } // Generic.Heading
25
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
26
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
27
+ .go { color: #888 } // Generic.Output
28
+ .gp { color: #555 } // Generic.Prompt
29
+ .gs { font-weight: bold } // Generic.Strong
30
+ .gu { color: #aaa } // Generic.Subheading
31
+ .gt { color: #a00 } // Generic.Traceback
32
+ .kc { font-weight: bold } // Keyword.Constant
33
+ .kd { font-weight: bold } // Keyword.Declaration
34
+ .kp { font-weight: bold } // Keyword.Pseudo
35
+ .kr { font-weight: bold } // Keyword.Reserved
36
+ .kt { color: #458; font-weight: bold } // Keyword.Type
37
+ .m { color: #099 } // Literal.Number
38
+ .s { color: #d14 } // Literal.String
39
+ .na { color: #008080 } // Name.Attribute
40
+ .nb { color: #0086B3 } // Name.Builtin
41
+ .nc { color: #458; font-weight: bold } // Name.Class
42
+ .no { color: #008080 } // Name.Constant
43
+ .ni { color: #800080 } // Name.Entity
44
+ .ne { color: #900; font-weight: bold } // Name.Exception
45
+ .nf { color: #900; font-weight: bold } // Name.Function
46
+ .nn { color: #555 } // Name.Namespace
47
+ .nt { color: #000080 } // Name.Tag
48
+ .nv { color: #008080 } // Name.Variable
49
+ .ow { font-weight: bold } // Operator.Word
50
+ .w { color: #bbb } // Text.Whitespace
51
+ .mf { color: #099 } // Literal.Number.Float
52
+ .mh { color: #099 } // Literal.Number.Hex
53
+ .mi { color: #099 } // Literal.Number.Integer
54
+ .mo { color: #099 } // Literal.Number.Oct
55
+ .sb { color: #d14 } // Literal.String.Backtick
56
+ .sc { color: #d14 } // Literal.String.Char
57
+ .sd { color: #d14 } // Literal.String.Doc
58
+ .s2 { color: #d14 } // Literal.String.Double
59
+ .se { color: #d14 } // Literal.String.Escape
60
+ .sh { color: #d14 } // Literal.String.Heredoc
61
+ .si { color: #d14 } // Literal.String.Interpol
62
+ .sx { color: #d14 } // Literal.String.Other
63
+ .sr { color: #009926 } // Literal.String.Regex
64
+ .s1 { color: #d14 } // Literal.String.Single
65
+ .ss { color: #990073 } // Literal.String.Symbol
66
+ .bp { color: #999 } // Name.Builtin.Pseudo
67
+ .vc { color: #008080 } // Name.Variable.Class
68
+ .vg { color: #008080 } // Name.Variable.Global
69
+ .vi { color: #008080 } // Name.Variable.Instance
70
+ .il { color: #099 } // Literal.Number.Integer.Long
71
+ }
data/assets/logo.svg ADDED
@@ -0,0 +1 @@
1
+ <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="500" height="500" style="fill:#FFF" /></svg>
data/assets/main.scss ADDED
@@ -0,0 +1,205 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "tailwindcss/base";
6
+ @import "tailwindcss/components";
7
+ @import "tailwindcss/utilities";
8
+
9
+ /**
10
+ * Syntax highlighting styles, stolen from minima theme
11
+ */
12
+ .highlight {
13
+ font-weight: bold;
14
+
15
+ .c { @apply text-gray-200; font-style: italic } /* Comment */
16
+ .err { @apply text-pink-900; @apply bg-white; } /* Error */
17
+ .k { font-weight: bold } /* Keyword */
18
+ .o { font-weight: bold } /* Operator */
19
+ .cm { @apply text-gray-200; font-style: italic } /* Comment.Multiline */
20
+ .cp { @apply text-gray-100; font-weight: bold } /* Comment.Preproc */
21
+ .c1 { @apply text-gray-200; font-style: italic } /* Comment.Single */
22
+ .cs { @apply text-gray-100; font-weight: bold; font-style: italic } /* Comment.Special */
23
+ .gd { @apply text-gray-900; @apply bg-white; } /* Generic.Deleted */
24
+ .gd .x { @apply text-gray-900; @apply bg-white; } /* Generic.Deleted.Specific */
25
+ .ge { font-style: italic } /* Generic.Emph */
26
+ .gr { @apply text-red-600; } /* Generic.Error */
27
+ .gh { @apply text-gray-100; } /* Generic.Heading */
28
+ .gi { @apply text-gray-900; background-color: #dfd } /* Generic.Inserted */
29
+ .gi .x { @apply text-gray-900; background-color: #afa } /* Generic.Inserted.Specific */
30
+ .go { @apply text-gray-300; } /* Generic.Output */
31
+ .gp { @apply text-gray-400; } /* Generic.Prompt */
32
+ .gs { font-weight: bold } /* Generic.Strong */
33
+ .gu { @apply text-gray-500; } /* Generic.Subheading */
34
+ .gt { @apply text-red-600; } /* Generic.Traceback */
35
+ .kc { font-weight: bold } /* Keyword.Constant */
36
+ .kd { font-weight: bold } /* Keyword.Declaration */
37
+ .kp { font-weight: bold } /* Keyword.Pseudo */
38
+ .kr { font-weight: bold } /* Keyword.Reserved */
39
+ .kt { @apply text-teal-900; font-weight: bold } /* Keyword.Type */
40
+ .m { @apply text-indigo-200; } /* Literal.Number */
41
+ .s { @apply text-red-500; } /* Literal.String */
42
+ .n { @apply text-indigo-600; } /* Name.??? */
43
+ .na { @apply text-indigo-500; } /* Name.Attribute */
44
+ .nb { @apply text-indigo-700; } /* Name.Builtin */
45
+ .nc { @apply text-indigo-800; font-weight: bold } /* Name.Class */
46
+ .no { @apply text-indigo-500; } /* Name.Constant */
47
+ .ni { @apply text-red-800; } /* Name.Entity */
48
+ .ne { @apply text-red-400; font-weight: bold } /* Name.Exception */
49
+ .nf { @apply text-red-400; font-weight: bold } /* Name.Function */
50
+ .nn { @apply text-gray-400; } /* Name.Namespace */
51
+ .nt { @apply text-indigo-900; } /* Name.Tag */
52
+ .nv { @apply text-indigo-500; } /* Name.Variable */
53
+ .ow { font-weight: bold } /* Operator.Word */
54
+ .w { @apply text-gray-600; } /* Text.Whitespace */
55
+ .mf { @apply text-indigo-200; } /* Literal.Number.Float */
56
+ .mh { @apply text-indigo-200; } /* Literal.Number.Hex */
57
+ .mi { @apply text-indigo-200; } /* Literal.Number.Integer */
58
+ .mo { @apply text-indigo-200; } /* Literal.Number.Oct */
59
+ .sb { @apply text-red-500; } /* Literal.String.Backtick */
60
+ .sc { @apply text-red-500; } /* Literal.String.Char */
61
+ .sd { @apply text-red-500; } /* Literal.String.Doc */
62
+ .s2 { @apply text-red-500; } /* Literal.String.Double */
63
+ .se { @apply text-red-500; } /* Literal.String.Escape */
64
+ .sh { @apply text-red-500; } /* Literal.String.Heredoc */
65
+ .si { @apply text-red-500; } /* Literal.String.Interpol */
66
+ .sx { @apply text-red-500; } /* Literal.String.Other */
67
+ .sr { @apply text-indigo-900; } /* Literal.String.Regex */
68
+ .s1 { @apply text-red-500; } /* Literal.String.Single */
69
+ .ss { @apply text-red-900; } /* Literal.String.Symbol */
70
+ .bp { @apply text-gray-100; } /* Name.Builtin.Pseudo */
71
+ .vc { @apply text-indigo-500; } /* Name.Variable.Class */
72
+ .vg { @apply text-indigo-500; } /* Name.Variable.Global */
73
+ .vi { @apply text-indigo-500; } /* Name.Variable.Instance */
74
+ .il { @apply text-indigo-200; } /* Literal.Number.Integer.Long */
75
+ }
76
+
77
+
78
+ .text-shadow-black {
79
+ text-shadow: 1px 1px 5px #000;
80
+ }
81
+
82
+ /* @@TODO: look at the tailwind website and use of @apply, it does a lot of what you're trying to do */
83
+ /*
84
+ div {
85
+ border: 1px solid rgb(255, 0, 0) !important;
86
+ }
87
+ */
88
+
89
+ a:hover {
90
+ @apply underline;
91
+ }
92
+
93
+ .x-h1 {
94
+ @apply text-3xl;
95
+ @apply mt-8;
96
+ @apply mb-8;
97
+ }
98
+ .x-h2 {
99
+ @apply text-2xl;
100
+ @apply mt-4;
101
+ @apply mb-4;
102
+ }
103
+ .x-h3 {
104
+ @apply text-xl;
105
+ @apply mt-2;
106
+ @apply mb-2;
107
+ }
108
+ .x-h4 {
109
+ @apply text-lg;
110
+ }
111
+ .x-h5 {
112
+ @apply text-lg;
113
+ }
114
+ .x-h6 {
115
+ @apply text-lg;
116
+ }
117
+ .x-p {
118
+ @apply text-base;
119
+ @apply mt-2;
120
+ @apply mb-2;
121
+ }
122
+ .x-body {
123
+ @apply text-gray-200;
124
+ @apply bg-black;
125
+ }
126
+ .x-blockquote {
127
+ @apply m-2;
128
+ @apply text-center;
129
+ @apply italic;
130
+ }
131
+ .x-figure {
132
+ @apply mt-8;
133
+ @apply mb-8;
134
+ @apply flex;
135
+ @apply justify-center;
136
+ }
137
+ .x-ul {
138
+ @apply mt-4;
139
+ @apply mb-4;
140
+ }
141
+ .x-li {
142
+ @apply ml-3;
143
+ @apply mt-2;
144
+ @apply mb-2;
145
+ }
146
+ .x-a {
147
+ &:hover {
148
+ @apply underline;
149
+ }
150
+ }
151
+ .x-time {
152
+ @apply block;
153
+ }
154
+ .x-section {
155
+ @apply mt-8;
156
+ @apply mb-8;
157
+ }
158
+ .x-code {
159
+ @apply text-gray-400;
160
+ @apply font-mono;
161
+ }
162
+ .x-pre {
163
+ @apply text-gray-400;
164
+ @apply font-mono;
165
+ }
166
+ .x-nav {
167
+ @apply m-1;
168
+ }
169
+
170
+ h1 { @extend .x-h1;}
171
+ h2 { @extend .x-h2;}
172
+ h3 { @extend .x-h3;}
173
+ h4 { @extend .x-h4;}
174
+ h5 { @extend .x-h5;}
175
+ h6 { @extend .x-h6;}
176
+ p { @extend .x-p;}
177
+ body { @extend .x-body;}
178
+ blockquote { @extend .x-blockquote; }
179
+ figure { @extend .x-figure; }
180
+ ul { @extend .x-ul;}
181
+ li { @extend .x-li;}
182
+ li::before { content: "• "; }
183
+ li.x-fa::before { content: ""; }
184
+ a { @extend .x-a;}
185
+ time { @extend .x-time; }
186
+ section { @extend .x-section; }
187
+ code { @extend .x-code; }
188
+ pre { @extend .x-code; }
189
+ nav { @extend .x-nav; }
190
+
191
+ .text-category {
192
+ @apply text-gray-400;
193
+ }
194
+ .text-tag {
195
+ @apply text-gray-400;
196
+ }
197
+ .text-date {
198
+ @apply text-gray-400;
199
+
200
+ }
201
+ .text-title {
202
+ @apply text-white;
203
+ @apply m-2;
204
+
205
+ }
metadata ADDED
@@ -0,0 +1,160 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-iamlynnmckay
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Lynn McKay
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-10-03 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.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll-feed
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.9'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.9'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll-postcss
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-seo-tag
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.1'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jekyll-sitemap
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll-scholar
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: bundler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description:
112
+ email:
113
+ - iamlynnmckay@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - LICENSE.txt
119
+ - README.md
120
+ - _config.yml
121
+ - _includes/disqus-comments.html
122
+ - _includes/footer.html
123
+ - _includes/google-analytics.html
124
+ - _includes/head.html
125
+ - _includes/header.html
126
+ - _includes/scripts.html
127
+ - _includes/tailwind.config.js
128
+ - _layouts/about.html
129
+ - _layouts/bib.html
130
+ - _layouts/default.html
131
+ - _layouts/home.html
132
+ - _layouts/post.html
133
+ - _layouts/posts.html
134
+ - _sass/syntax-highlighting.scss
135
+ - assets/logo.svg
136
+ - assets/main.scss
137
+ homepage: https://github.com/iamlynnmckay/jekyll-theme-iamlynnmckay
138
+ licenses:
139
+ - MIT
140
+ metadata: {}
141
+ post_install_message:
142
+ rdoc_options: []
143
+ require_paths:
144
+ - lib
145
+ required_ruby_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ requirements: []
156
+ rubygems_version: 3.0.3
157
+ signing_key:
158
+ specification_version: 4
159
+ summary: Jekyll theme for iamlynmckay.com.
160
+ test_files: []