jekyll-theme-console 0.1.0

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: 1f32924875adba50eac37969e085748e04acc5ce0cd68473ecbab687e8f87e1f
4
+ data.tar.gz: a7cf89dd2493017f97099c76cb78586193f7ff58825c0605812bd76e97a11b95
5
+ SHA512:
6
+ metadata.gz: a63242aac94f9bcaad5ecf088cdff692079303300c915baf5953809ad7fbc3b97f695fead92703f38af2d0eb335fea0c7d665a892b5dd34cdcae7efcb3636a6a
7
+ data.tar.gz: 30304e55daad642e40a9d3bfd85a689a71fb3427e190a6a90acce9f2b4b0474152c14a1e981d59d96c321801771f6f3f7da69902484f856b45464ce51f098494
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 b2a3e8
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-console
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-console"
16
+ ```
17
+
18
+ And add this line to your Jekyll site's `_config.yml`:
19
+
20
+ ```yaml
21
+ theme: jekyll-theme-console
22
+ ```
23
+
24
+ And then execute:
25
+
26
+ $ bundle
27
+
28
+ Or install it yourself as:
29
+
30
+ $ gem install jekyll-theme-console
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-console.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,3 @@
1
+ <footer>
2
+ {{ site.footer }}
3
+ </footer>
@@ -0,0 +1,8 @@
1
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2
+ <script>
3
+ window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
4
+ window.dataLayer = window.dataLayer || [];
5
+ function gtag(){dataLayer.push(arguments);}
6
+ gtag('js', new Date());
7
+ gtag('config', '{{ site.google_analytics }}');
8
+ </script>
@@ -0,0 +1,12 @@
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, shrink-to-fit=no">
5
+
6
+ {%- seo -%}
7
+
8
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
9
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
10
+ {%- include google-analytics.html -%}
11
+ {%- endif -%}
12
+ </head>
@@ -0,0 +1,13 @@
1
+ {%- assign page_paths = site.header_pages | default: default_paths -%}
2
+ <header>
3
+ <div class="menu">
4
+ <ul>
5
+ {%- for path in page_paths -%}
6
+ {%- assign my_page = site.pages | where: "path", path | first -%}
7
+ {%- if my_page.title -%}
8
+ <li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
9
+ {%- endif -%}
10
+ {%- endfor -%}
11
+ </ul>
12
+ </div>
13
+ </header>
@@ -0,0 +1,24 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body>
7
+ <div class="container">
8
+
9
+ {%- include header.html -%}
10
+
11
+ <!--<main class="page-content" aria-label="Content">
12
+
13
+ </main>-->
14
+
15
+ <div class="xxx">
16
+ {{ content }}
17
+ </div>
18
+
19
+ {%- include footer.html -%}
20
+
21
+ </div>
22
+ </body>
23
+
24
+ </html>
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,118 @@
1
+ @charset "utf-8";
2
+ @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
3
+
4
+ /**
5
+ * Style variables
6
+ */
7
+ $base-font-family: 'Source Code Pro', monospace !default;
8
+ $base-font-size: 16px !default;
9
+ $base-line-height: 1.7 !default;
10
+ $text-color: #fff !default;
11
+ $background-color: #000 !default;
12
+ $primary-color: #a1fc8f !default;
13
+ $container-max-width: 600px !default;
14
+
15
+ /**
16
+ * Global
17
+ */
18
+ body { background-color: $background-color; margin: 0 auto; padding: 0; font-family: $base-font-family; font-size: 13px; color: $text-color; text-align: left; line-height: $base-line-height !important; }
19
+ h1, h2, h3, h4, h5, h6 { font-size: 13px; margin: 0px; margin-bottom: 3px; margin-top: 25px; font-weight: bold; color: #fff; }
20
+ p { margin: 0px; }
21
+ a { text-decoration: underline; color: #fff; }
22
+ a:hover { color: #000; background-color: #fff; }
23
+ .post-header { margin: 0px; }
24
+
25
+ /**
26
+ * Layout
27
+ */
28
+ .container { width: 80%; max-width: $container-max-width; margin-right: auto; margin-left: auto; }
29
+ p { word-wrap: break-word; word-break: break-word; white-space: pre-wrap; }
30
+ footer { color: #fff; border-top: dashed 1px rgba(255,255,255,0.8); margin: 20px auto 15px; padding-top: 10px; text-align: right; }
31
+ header { margin-top: 25px; margin-bottom: 10px; color: rgba(161,252,143,1); }
32
+ header p { text-align: left; margin: 0; color: rgba(255,255,255,1); }
33
+
34
+ /**
35
+ * Highlight/Markup
36
+ */
37
+ ::selection { background: rgba(255,255,255,0.99); color: #000; }
38
+ ::-moz-selection { background: rgba(255,255,255,0.99); color: #000; }
39
+
40
+ /**
41
+ * Lists
42
+ */
43
+ :not(.menu) > ul { list-style: none; padding-left: 0; }
44
+ :not(.menu) > ul { list-style-type: none; }
45
+ :not(.menu) > ul > li:before { content: "-"; margin-right: 9px; }
46
+
47
+ /**
48
+ * Header/Navigation
49
+ */
50
+ .menu { border-top: 1px dashed rgba(255,255,255,0.8); border-bottom: 1px dashed rgba(255,255,255,0.8); margin-bottom: 25px; }
51
+ .menu ul { margin-top: 12px; margin-bottom: 12px; padding-left: 0px; list-style-type: none; text-align: right; }
52
+ .menu ul li { display: inline; margin-left: 10px; }
53
+ .menu ul li a { text-decoration: none; color: #fff; }
54
+ .menu ul li a:hover { text-decoration: none; color: #000; background-color: #fff; }
55
+
56
+ /**
57
+ * Code and syntax highlighting
58
+ */
59
+ pre { background-color: rgba(255,255,255,0); border: none; padding: 0px; overflow:auto; font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.7 !important; }
60
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
61
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
62
+ .highlight .k { font-weight: bold } /* Keyword */
63
+ .highlight .o { font-weight: bold } /* Operator */
64
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
65
+ .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
66
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
67
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
68
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
69
+ .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
70
+ .highlight .ge { font-style: italic } /* Generic.Emph */
71
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
72
+ .highlight .gh { color: #999999 } /* Generic.Heading */
73
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
74
+ .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
75
+ .highlight .go { color: #888888 } /* Generic.Output */
76
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
77
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
78
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
79
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
80
+ .highlight .kc { font-weight: bold } /* Keyword.Constant */
81
+ .highlight .kd { font-weight: bold } /* Keyword.Declaration */
82
+ .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
83
+ .highlight .kr { font-weight: bold } /* Keyword.Reserved */
84
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
85
+ .highlight .m { color: #009999 } /* Literal.Number */
86
+ .highlight .s { color: #d14 } /* Literal.String */
87
+ .highlight .na { color: #008080 } /* Name.Attribute */
88
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
89
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
90
+ .highlight .no { color: #008080 } /* Name.Constant */
91
+ .highlight .ni { color: #800080 } /* Name.Entity */
92
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
93
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
94
+ .highlight .nn { color: #555555 } /* Name.Namespace */
95
+ .highlight .nt { color: #000080 } /* Name.Tag */
96
+ .highlight .nv { color: #008080 } /* Name.Variable */
97
+ .highlight .ow { font-weight: bold } /* Operator.Word */
98
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
99
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
100
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
101
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
102
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
103
+ .highlight .sb { color: #d14 } /* Literal.String.Backtick */
104
+ .highlight .sc { color: #d14 } /* Literal.String.Char */
105
+ .highlight .sd { color: #d14 } /* Literal.String.Doc */
106
+ .highlight .s2 { color: #d14 } /* Literal.String.Double */
107
+ .highlight .se { color: #d14 } /* Literal.String.Escape */
108
+ .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
109
+ .highlight .si { color: #d14 } /* Literal.String.Interpol */
110
+ .highlight .sx { color: #d14 } /* Literal.String.Other */
111
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
112
+ .highlight .s1 { color: #d14 } /* Literal.String.Single */
113
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
114
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
115
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
116
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
117
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
118
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
data/assets/main.scss ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "jekyll-theme-console";
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-theme-console
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - b2a3e8
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-11-07 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.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.8'
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.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ description:
56
+ email:
57
+ - b2a3e8@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README.md
64
+ - _includes/footer.html
65
+ - _includes/google-analytics.html
66
+ - _includes/head.html
67
+ - _includes/header.html
68
+ - _layouts/default.html
69
+ - _layouts/page.html
70
+ - _layouts/post.html
71
+ - _sass/jekyll-theme-console.scss
72
+ - assets/main.scss
73
+ homepage: https://github.com/b2a3e8/
74
+ licenses:
75
+ - MIT
76
+ metadata: {}
77
+ post_install_message:
78
+ rdoc_options: []
79
+ require_paths:
80
+ - lib
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ required_rubygems_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ requirements: []
92
+ rubyforge_project:
93
+ rubygems_version: 2.7.6
94
+ signing_key:
95
+ specification_version: 4
96
+ summary: A jekyll theme wich is inspired by linux consoles.
97
+ test_files: []