jekyll-theme-mcmurdo 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c9976963a5bcd2e123fb0ccdb893b2249a909fefd66c8471f30b42fc4cf3a087
4
+ data.tar.gz: 3d86c5d9f60e5628189002c113a5e310eb1fd18ca5e6b73813535a6587a8013e
5
+ SHA512:
6
+ metadata.gz: ec597188d4a1d98e9214661b247ab98d05ade36e5524ca914cdc7d96af8f4551fb95bc9a004c742d47f7ea84aff70ac8ceca6ae302c2dcd65e5c04d90bc06b90
7
+ data.tar.gz: 8aa4b5af2fc3bed1c4ba7a2d8b943f1cb9e4f94f5ce8e21304ded6a92dde634bdda2901915ee447076e452958ac29e5999c87c04ca0851be9260187ee4567a19
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018-2022 Petru Madar
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # McMurdo
2
+
3
+ 2007 called, it wants its theme back!
4
+
5
+ There used to be a time when websites were not all fancy slideshows, 36px fonts and endless scrolling and content was king. McMurdo offers a rather classical blogging experience. The design is based on the [Vostok theme](https://code.google.com/archive/p/vostok-theme/downloads) for WordPress.
6
+
7
+ There are three color schemes available:
8
+ * black (default)
9
+ * white
10
+ * midnight
11
+
12
+ You can change the theme by modifying the import in `assets/core.scss`.
13
+
14
+ Here's a screenshot of the dark theme:
15
+
16
+ ![McMurdo screenshot](mcmurdo.png)
@@ -0,0 +1,14 @@
1
+ <footer class="footer">
2
+ <div class="left">
3
+ <nav>
4
+ <p><a href="#"><span class="fas fa-user-circle"></span> About me</a></p>
5
+ <p><a href="#"><span class="fas fa-file-signature"></span> Get in touch</a></p>
6
+ </nav>
7
+ </div>
8
+ <div class="right">
9
+ <p><a href="#"><span class="fas fa-rss"></span> RSS feed</a></p>
10
+ <p><a href="#"><span class="fas fa-envelope"></span> hello@example.com</a></p>
11
+ </div>
12
+
13
+ <div class="copy"><span class="fas fa-code"></span> Powered by <a href="https://jekyllrb.com">Jekyll</a> and <a href="https://github.com/petru/mcmurdo">McMurdo</a>.</div>
14
+ </footer>
@@ -0,0 +1,22 @@
1
+ <meta charset="utf-8">
2
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
4
+
5
+ {% if page.title %}
6
+ <title>{{ page.title }} · {{ site.title }}</title>
7
+ {% else %}
8
+ <title>{{ site.title }}</title>
9
+ {% endif %}
10
+
11
+ <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
12
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" integrity="sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP" crossorigin="anonymous">
13
+ <link rel="stylesheet" href="https://necolas.github.io/normalize.css/8.0.1/normalize.css">
14
+ <link rel="icon" href="{{ "/assets/favicon.ico" | prepend: site.baseurl | prepend: site.url }}">
15
+ <link rel="apple-touch-icon" href="{{ "/assets/touch-icon.png" | prepend: site.baseurl | prepend: site.url }}">
16
+ <link rel="stylesheet" href="{{ "/assets/core.css" | prepend: site.baseurl | prepend: site.url }}">
17
+ <link rel="canonical" href="{{ page.url | prepend: site.baseurl | prepend: site.url }}">
18
+ <link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
19
+
20
+ {% if site.mathjax %}
21
+ <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
22
+ {% endif %}
@@ -0,0 +1,4 @@
1
+ <div class="header">
2
+ <h1><a href="{{ "" | prepend: site.baseurl | prepend: site.url }}"><span class="fas fa-igloo"></span> McMurdo</a></h1>
3
+ <p class="tagline">A simple Jekyll theme focused on content</p>
4
+ </div>
@@ -0,0 +1,23 @@
1
+ ---
2
+ published: true
3
+ ---
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+
8
+ <head>
9
+ {% include head.html %}
10
+ </head>
11
+
12
+ <body>
13
+ <div class="wrapper">
14
+ {% include header.html %}
15
+ <section>
16
+ {{ content }}
17
+ </section>
18
+ {% include footer.html %}
19
+ </div>
20
+
21
+ </body>
22
+
23
+ </html>
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post">
5
+ <time datetime="{{ page.date | date: "%Y-%m-%e" }}">{{ page.date | date_to_long_string: "ordinal", "US" }}</time>
6
+ <h2>
7
+ <a href="{{ page.url }}">
8
+ {{ page.title }}
9
+ </a>
10
+ </h2>
11
+ {{ content }}
12
+ </article>
data/_sass/black.scss ADDED
@@ -0,0 +1,16 @@
1
+ /*
2
+ Black color scheme
3
+ */
4
+ $bg: #2F2F2F;
5
+ $bg-post: #3C3C3C;
6
+ $border-post: $bg-post;
7
+ $border-img: #fff;
8
+ $link-header: #09c;
9
+ $link-header-hover: #FFF;
10
+ $link: #CCC;
11
+ $link-hover: #F90;
12
+ $text: #999;
13
+ $text-strong: #ccc;
14
+ $bg-code: $bg;
15
+ $bg-inline-code: $bg;
16
+ $text-inline-code: #F90;
data/_sass/main.scss ADDED
@@ -0,0 +1,141 @@
1
+ /*
2
+ Main CSS file
3
+ */
4
+
5
+ body {
6
+ font-family: Arial, Helvetica, sans-serif;
7
+ font-size: 0.9rem;
8
+ line-height: 1.5rem;
9
+ background-color: $bg;
10
+
11
+ }
12
+ .wrapper {
13
+ max-width: 43.5rem;
14
+ margin: 4.6rem auto;
15
+ }
16
+ .header {
17
+ padding: 0;
18
+ h1 {
19
+ padding: 0;
20
+ font-weight: normal;
21
+ a {
22
+ color: $link-header;
23
+ &:hover {
24
+ color: $link-header-hover;
25
+ }
26
+ text-decoration: none;
27
+ }
28
+ }
29
+ p {
30
+ line-height: .1rem;
31
+ font-size: .8rem;
32
+ }
33
+ .tagline {
34
+ color: $text;
35
+ }
36
+ }
37
+ .post {
38
+ margin: 4.6rem auto;
39
+ padding: 2.7rem 3rem 2.7rem 2.7rem;
40
+ background-color: $bg-post;
41
+ border: 1px solid $border-post;
42
+ color: $text;
43
+ p {
44
+ margin: 1rem 0;
45
+ }
46
+ a {
47
+ color: $link;
48
+ &:hover {
49
+ color: $link-hover;
50
+ }
51
+ }
52
+ img {
53
+ display: block;
54
+ margin: 2rem 2.7rem 2rem auto;
55
+ max-width: 100%;
56
+ border: 5px solid $border-img;
57
+ }
58
+ strong {
59
+ color: $text-strong;
60
+ font-weight: normal;
61
+ text-shadow: 0px 0px 1px $text-strong;
62
+ }
63
+ pre, blockquote {
64
+ margin: 2rem;
65
+ padding: .1rem 1.5rem;
66
+ position: relative;
67
+ background: $bg;
68
+ }
69
+ pre.highlight {
70
+ font-family: 'Courier New', Courier, monospace;
71
+ font-size: .7rem;
72
+ line-height: 1.2rem;
73
+ background: $bg-code;
74
+ overflow: auto;
75
+ }
76
+ code.highlighter-rouge {
77
+ background: $bg-inline-code;
78
+ color: $text-inline-code;
79
+ }
80
+ h1,h2,h3,h4 {
81
+ font-weight: normal;
82
+ a {
83
+ text-decoration: none;
84
+ }
85
+ }
86
+ a.reversefootnote {
87
+ text-decoration: none;
88
+ }
89
+ time {
90
+ position: relative;
91
+ top: -1.5rem;
92
+ float: right;
93
+ font-size: 0.8rem;
94
+ padding-left: .3rem;
95
+ height: 1rem;
96
+ }
97
+ table {
98
+ width: 100%;
99
+ }
100
+ th {
101
+ background-color: $bg;
102
+ }
103
+ td,th {
104
+ padding: .3rem;
105
+ }
106
+ }
107
+ .footer {
108
+ a {
109
+ color: $link;
110
+ &:hover {
111
+ color: $link-hover;
112
+ }
113
+ text-decoration: none;
114
+ }
115
+ .left, .right {
116
+ color: $text;
117
+ p {
118
+ margin: .1rem 0;
119
+ }
120
+ margin-bottom: 3rem;
121
+
122
+ //border: 1px solid red;
123
+ }
124
+ .right {
125
+ margin-left: 1rem;
126
+ float: left;
127
+ width: 48%;
128
+ }
129
+ .left {
130
+ width: 48%;
131
+ float: left;
132
+ }
133
+ .copy {
134
+ clear: both;
135
+ padding-top: 0.5rem;
136
+ //margin: 1rem;
137
+ color: $text;
138
+ border-top: 1px solid $text;
139
+ font-size: 0.8rem;
140
+ }
141
+ }
@@ -0,0 +1,17 @@
1
+ /*
2
+ midnight color scheme
3
+ */
4
+
5
+ $bg: #0D0D0D;
6
+ $bg-post: #027368;
7
+ $border-post: #027368;
8
+ $border-img: #f3f3f3;
9
+ $link-header: #fff;
10
+ $link-header-hover: #F2CB05;
11
+ $link: #fff;
12
+ $link-hover: #F2CB05;
13
+ $text: #f3f3f3;
14
+ $text-strong: #f3f3f3;
15
+ $bg-code: #0D0D0D;
16
+ $bg-inline-code: $bg;
17
+ $text-inline-code: #fff;
data/_sass/syntax.scss ADDED
@@ -0,0 +1,158 @@
1
+ .highlight {
2
+ .c {
3
+ color: #75715e;
4
+ }
5
+
6
+ .err {
7
+ color: #960050;
8
+ background-color: #1e0010;
9
+ }
10
+
11
+ .k {
12
+ color: #66d9ef;
13
+ }
14
+
15
+ .l {
16
+ color: #ae81ff;
17
+ }
18
+
19
+ .n {
20
+ color: #f8f8f2;
21
+ }
22
+
23
+ .o {
24
+ color: #f92672;
25
+ }
26
+
27
+ .p {
28
+ color: #f8f8f2;
29
+ }
30
+
31
+ .ch, .cm, .cp, .cpf, .c1, .cs {
32
+ color: #75715e;
33
+ }
34
+
35
+ .gd {
36
+ color: #f92672;
37
+ }
38
+
39
+ .ge {
40
+ font-style: italic;
41
+ }
42
+
43
+ .gi {
44
+ color: #a6e22e;
45
+ }
46
+
47
+ .gs {
48
+ font-weight: bold;
49
+ }
50
+
51
+ .gu {
52
+ color: #75715e;
53
+ }
54
+
55
+ .kc, .kd {
56
+ color: #66d9ef;
57
+ }
58
+
59
+ .kn {
60
+ color: #f92672;
61
+ }
62
+
63
+ .kp, .kr, .kt {
64
+ color: #66d9ef;
65
+ }
66
+
67
+ .ld {
68
+ color: #e6db74;
69
+ }
70
+
71
+ .m {
72
+ color: #ae81ff;
73
+ }
74
+
75
+ .s {
76
+ color: #e6db74;
77
+ }
78
+
79
+ .na {
80
+ color: #a6e22e;
81
+ }
82
+
83
+ .nb {
84
+ color: #f8f8f2;
85
+ }
86
+
87
+ .nc {
88
+ color: #a6e22e;
89
+ }
90
+
91
+ .no {
92
+ color: #66d9ef;
93
+ }
94
+
95
+ .nd {
96
+ color: #a6e22e;
97
+ }
98
+
99
+ .ni {
100
+ color: #f8f8f2;
101
+ }
102
+
103
+ .ne, .nf {
104
+ color: #a6e22e;
105
+ }
106
+
107
+ .nl, .nn {
108
+ color: #f8f8f2;
109
+ }
110
+
111
+ .nx {
112
+ color: #a6e22e;
113
+ }
114
+
115
+ .py {
116
+ color: #f8f8f2;
117
+ }
118
+
119
+ .nt {
120
+ color: #f92672;
121
+ }
122
+
123
+ .nv {
124
+ color: #f8f8f2;
125
+ }
126
+
127
+ .ow {
128
+ color: #f92672;
129
+ }
130
+
131
+ .w {
132
+ color: #f8f8f2;
133
+ }
134
+
135
+ .mb, .mf, .mh, .mi, .mo {
136
+ color: #ae81ff;
137
+ }
138
+
139
+ .sb, .sc, .sd, .s2 {
140
+ color: #e6db74;
141
+ }
142
+
143
+ .se {
144
+ color: #ae81ff;
145
+ }
146
+
147
+ .sh, .si, .sx, .sr, .s1, .ss {
148
+ color: #e6db74;
149
+ }
150
+
151
+ .bp, .vc, .vg, .vi {
152
+ color: #f8f8f2;
153
+ }
154
+
155
+ .il {
156
+ color: #ae81ff;
157
+ }
158
+ }
data/_sass/white.scss ADDED
@@ -0,0 +1,16 @@
1
+ /*
2
+ White color scheme
3
+ */
4
+ $bg: #F3F3F3;
5
+ $bg-post: #FFF;
6
+ $border-post: #ddd;
7
+ $border-img: #ddd;
8
+ $link-header: #222;
9
+ $link-header-hover: #0087C1;
10
+ $link: #222;
11
+ $link-hover: #0087C1;
12
+ $text: #666;
13
+ $text-strong: #222;
14
+ $bg-code: #2F2F2F;
15
+ $bg-inline-code: $bg;
16
+ $text-inline-code: #222;
data/assets/core.scss ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ # Make sure you import a color scheme before 'main'
3
+ ---
4
+
5
+ @import 'black';
6
+ @import 'main';
7
+ @import 'syntax';
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-mcmurdo
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Petru Madar
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-01-26 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: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '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: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: McMurdo is a simple Jekyll theme based on the Vostok theme for WordPress
56
+ email:
57
+ - petru@mdr.sh
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE
63
+ - README.md
64
+ - _includes/footer.html
65
+ - _includes/head.html
66
+ - _includes/header.html
67
+ - _layouts/default.html
68
+ - _layouts/post.html
69
+ - _sass/black.scss
70
+ - _sass/main.scss
71
+ - _sass/midnight.scss
72
+ - _sass/syntax.scss
73
+ - _sass/white.scss
74
+ - assets/core.scss
75
+ homepage: https://github.com/petru/jekyll-theme-mcmurdo
76
+ licenses:
77
+ - MIT
78
+ metadata:
79
+ plugin_type: theme
80
+ post_install_message:
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubygems_version: 3.3.3
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: A simple Jekyll theme focused on content
99
+ test_files: []