jekyll-theme-dark-minimal 0.1.0

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: a7a7b6500e521cf9d8518ff6243fbee424bf9e44b0be73244428bd65d78f3f29
4
+ data.tar.gz: 467a86a490c63b096e995258b2145fba49a63174b33ad4182fa2d1a88e94da18
5
+ SHA512:
6
+ metadata.gz: 2aec8709364960368aeef88c4501106c7801695e7160e9fd16d68f7849da66983372dd4a61a16a6d51a0126e3f51898114f9d998d693fc2f1714dbebf89e1743
7
+ data.tar.gz: 6401db44f70cd7256ced7c176d9d77fe41176ed04579aad7b746a1376ff926dc713f9a4b590b83064ec54b5909c90259c94da0883e90c86c63139e334c698f01
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Will Badart
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,52 @@
1
+ # jekyll-theme-dark-minimal
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
4
+
5
+ To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
6
+
7
+ TODO: Delete this and the text above, and describe your gem
8
+
9
+
10
+ ## Installation
11
+
12
+ Add this line to your Jekyll site's `Gemfile`:
13
+
14
+ ```ruby
15
+ gem "jekyll-theme-dark-minimal"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: jekyll-theme-dark-minimal
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install jekyll-theme-dark-minimal
31
+
32
+ ## Usage
33
+
34
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
35
+
36
+ ## Contributing
37
+
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
39
+
40
+ ## Development
41
+
42
+ To set up your environment to develop this theme, run `bundle install`.
43
+
44
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
45
+
46
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
47
+ To add a custom directory to your theme-gem, please edit the regexp in `jekyll-theme-dark-minimal.gemspec` accordingly.
48
+
49
+ ## License
50
+
51
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
52
+
@@ -0,0 +1,15 @@
1
+ <br>
2
+ <footer>
3
+ <p>
4
+ {% if site.cclicense %}
5
+ <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/" target="_blank">
6
+ <img alt="Creative Commons License"
7
+ style="border-width:0; display:inline"
8
+ src="https://i.creativecommons.org/l/{{ site.cclicense }}/4.0/80x15.png" />
9
+ <i class="fa fa-external-link"></i></a>
10
+ {% else %}
11
+ <small>&copy;</small>
12
+ {% endif %}
13
+ <small> {{ site.author }} 2018</small>
14
+ </p>
15
+ </footer>
@@ -0,0 +1,4 @@
1
+ <header>
2
+ <h1><a href="/">{{ site.title }}</a></h1>
3
+ <p>{{ site.description }}</p>
4
+ </header>
@@ -0,0 +1,2 @@
1
+ <meta charset="utf-8">
2
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
@@ -0,0 +1,8 @@
1
+ <link rel="stylesheet" href="/assets/css/main.css">
2
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-122884358-2"></script>
3
+ <script>
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+ gtag('config', 'UA-122884358-2');
8
+ </script>
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ {% include meta.html %}
5
+ <title>Blog | {{ site.author }}</title>
6
+ {% include resources.html %}
7
+ </head>
8
+ <body class="container">
9
+ {% include header.html %}
10
+ {{ content }}
11
+ {% include footer.html %}
12
+ </body>
13
+ </html>
@@ -0,0 +1 @@
1
+ {{ content }}
@@ -0,0 +1,34 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+
5
+ <main>
6
+ {% for post in paginator.posts %}
7
+ <h2>
8
+ <a href="{{ post.url }}">{{ post.title }}</a>
9
+ </h2>
10
+ <p>
11
+ {{ post.excerpt | strip_html }}
12
+ </p>
13
+ {% endfor %}
14
+
15
+ <hr>
16
+
17
+ <p class="pagination">
18
+ {% if paginator.previous_page %}
19
+ <a href="{{ paginator.previous_page_path }}">
20
+ <i class="fa fa-backward"></i></a>
21
+ {% else %}
22
+ <i class="fa fa-backward"></i>
23
+ {% endif %}
24
+
25
+ {{ paginator.page }} of {{ paginator.total_pages }}
26
+
27
+ {% if paginator.next_page %}
28
+ <a href="{{ paginator.next_page_path }}">
29
+ <i class="fa fa-forward"></i></a>
30
+ {% else %}
31
+ <i class="fa fa-forward"></i>
32
+ {% endif %}
33
+ </p>
34
+ </main>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,41 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+
5
+ <h1 class="post-title">{{ page.title }}</h1>
6
+
7
+ {{ content }}
8
+
9
+ <hr>
10
+
11
+ <div class="row">
12
+
13
+ <div class="column">
14
+ {% if site.related_posts %}
15
+ <p style="margin-bottom:0.2em">
16
+ <small>Related posts:</small>
17
+ </p>
18
+ <ul>
19
+ {% for post in site.related_posts limit:3 %}
20
+ <li><a href="{{ post.url }}">{{ post.title }}</a></li>
21
+ {% endfor %}
22
+ </ul>
23
+ {% endif %}
24
+ </div>
25
+
26
+ <div class="column">
27
+ {% if page.next or page.previous %}
28
+ <p>
29
+ {% if page.next %}
30
+ <small>Next post:</small>
31
+ <a href="{{ page.next.url }}">{{ page.next.title }}</a><br>
32
+ {% endif %}
33
+ {% if page.previous %}
34
+ <small>Previous post:</small>
35
+ <a href="{{ page.previous.url }}">{{ page.previous.title }}</a>
36
+ {% endif %}
37
+ </p>
38
+ {% endif %}
39
+ </div>
40
+
41
+ </div>
@@ -0,0 +1,9 @@
1
+ /**
2
+ * _sass/dark-minimal.sass
3
+ *
4
+ * Global entry point for dark-minimal styles.
5
+ * (c) Will Badart 2018
6
+ */
7
+
8
+ @import 'dark-minimal/base'
9
+ @import 'dark-minimal/colors'
@@ -0,0 +1,69 @@
1
+ /**
2
+ * _sass/_base.sass
3
+ *
4
+ * Base styles for blog.
5
+ *
6
+ * Will Badart <wbadart@live.com>
7
+ * created: JAN 2018
8
+ */
9
+
10
+ @import 'colors'
11
+
12
+
13
+ html
14
+ background-color: $site-background
15
+
16
+ body
17
+ color: $body-fg
18
+ font-family: 'Share Tech Mono', monospace
19
+
20
+ header
21
+ background-color: white
22
+ color: $site-background
23
+ margin: 4em auto 3em auto
24
+ padding: 1em
25
+ p, a, a:active, a:visited, a:link
26
+ color: $site-background
27
+
28
+ footer
29
+ font-size: 0.7em
30
+ text-align: center
31
+
32
+ h1, h2, h3, h4, h5, h6
33
+ color: $header-fg
34
+ &.post-title
35
+ border-bottom: 2px solid white
36
+
37
+ p, ol, ul
38
+ font-size: 1.2em
39
+
40
+ small
41
+ color: $body-minor !important
42
+ p &
43
+ font-size: 1em
44
+
45
+ a, a:active, a:visited, a:link
46
+ color: $body-fg
47
+ border-bottom: 3px solid $site-accent
48
+ text-decoration: none
49
+ transition-property: background-color, color
50
+ transition-duration: 0.2s
51
+ transition-timing-function: ease-out
52
+
53
+ &:hover
54
+ background-color: $site-accent
55
+ color: white
56
+ &[target=_blank] i
57
+ margin-left: 0.4em
58
+ font-size: 0.7em
59
+
60
+ img
61
+ border: 4px solid $site-accent
62
+ display: block
63
+ margin: auto
64
+
65
+ code
66
+ color: $site-background
67
+
68
+ .pagination
69
+ text-align: center
@@ -0,0 +1,14 @@
1
+ /**
2
+ * _sass/_colors.scss
3
+ *
4
+ * Color definitions for site.
5
+ *
6
+ * Will Badart <wbadart@live.com>
7
+ * created: JAN 2017
8
+ */
9
+
10
+ $site-background: #282828
11
+ $site-accent: #55b2de
12
+ $header-fg: #ffffff
13
+ $body-fg: #ffffff
14
+ $body-minor: #838383
@@ -0,0 +1,9 @@
1
+ ---
2
+ ---
3
+
4
+ @import 'https://cdn.rawgit.com/necolas/normalize.css/master/normalize.css'
5
+ @import 'https://cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css'
6
+ @import 'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'
7
+ @import 'https://fonts.googleapis.com/css?family=Share+Tech+Mono'
8
+
9
+ @import 'dark-minimal'
metadata ADDED
@@ -0,0 +1,101 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-dark-minimal
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Will Badart
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-09-04 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: '3.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.12'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.12'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ description:
56
+ email:
57
+ - wbadart@live.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/footer.html
65
+ - _includes/header.html
66
+ - _includes/meta.html
67
+ - _includes/resources.html
68
+ - _layouts/base.html
69
+ - _layouts/default.html
70
+ - _layouts/home.html
71
+ - _layouts/page.html
72
+ - _layouts/post.html
73
+ - _sass/dark-minimal.sass
74
+ - _sass/dark-minimal/_base.sass
75
+ - _sass/dark-minimal/_colors.sass
76
+ - assets/css/main.sass
77
+ homepage: https://github.com/wbadart/jekyll-theme-dark-minimal
78
+ licenses:
79
+ - MIT
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubyforge_project:
97
+ rubygems_version: 2.7.7
98
+ signing_key:
99
+ specification_version: 4
100
+ summary: A simple, dark-colored theme.
101
+ test_files: []