letitbex-theme 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: e385e1832671b6dd36c2a216ab8ba510ae6cea3bc440de68b170d9726169b037
4
+ data.tar.gz: e502fe5382860654c67d96672d0b891ded9343b9b138674e2abe6e09ffeecab7
5
+ SHA512:
6
+ metadata.gz: 876abe862e6d014ad551cbc669f597e34549a3995b18eb8c04c3d9e6d9fbd8eff0f464bbf9697e89045451fba5205c636a0d4bd62c92da616a752f1c1a1a23c6
7
+ data.tar.gz: ca424c3fa755d171a95de5f8fe9895549f6d257e19f05bcac5d0343a6e886ad0de7bae204f40d906b2171f4ace7eb03fd56efa1a5221b2d9b177900240714c00
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 mrtsukim0t0-
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 @@
1
+ A copy of [Jekyll-theme-console](https://github.com/b2a3e8/jekyll-theme-console) with minor personal changes.
data/_config.yml ADDED
@@ -0,0 +1,19 @@
1
+
2
+ title: page title
3
+ email: test@test.com
4
+ url: "url.com"
5
+ theme: letitbex-theme
6
+
7
+ author: mrtsukim0t0-
8
+ description: something something
9
+ style: hacker
10
+ plugins:
11
+ - jekyll-seo-tag
12
+ header_pages:
13
+ - index.markdown
14
+ - about.markdown
15
+
16
+ footer: ' Made with <a href="https://jekyllrb.com">Jekyll</a> | <a href="https://gitlab.com/mrtsukim0t0-/letitbex-theme.git">Git</a> '
17
+ permalink: /posts/:year/:month/:slug/
18
+
19
+ logo: /assets/logo.png
Binary file
@@ -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,20 @@
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.0, maximum-scale=1.0, user-scalable=no" />
5
+ <title>{{ site.title }}</title>
6
+ {%- seo title=false -%}
7
+
8
+ {% if page.robots %}
9
+ <meta name="robots" content="{{page.robots}}" />
10
+ {% endif %}
11
+
12
+ <link rel="stylesheet" type="text/css" href="{{ "/assets/main-hacker.css" | relative_url }}">
13
+ <link rel="shortcut icon" type="image/png" href="{{ site.logo }}" >
14
+
15
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
16
+ {%- include google-analytics.html -%}
17
+ {%- endif -%}
18
+ {% seo %}
19
+ </head>
20
+
@@ -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,22 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+ <meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self' https://fonts.googleapis.com; img-src 'self'; font-src 'self' https://fonts.gstatic.com; connect-src 'self'; media-src 'self'; object-src 'self'; child-src 'self'; form-action 'none'; base-uri 'self'" />
4
+ <meta http-equiv="X-XSS-Protection" content="1;mode=block" always>
5
+ <meta http-equiv="Referrer-Policy" content="no-referrer, strict-origin-when-cross-origin">
6
+
7
+ {%- include head.html -%}
8
+
9
+ <body>
10
+ <div class="container">
11
+
12
+ {%- include header.html -%}
13
+
14
+ <main>
15
+ {{ content }}
16
+ </main>
17
+
18
+ {%- include footer.html -%}
19
+
20
+ </div>
21
+ </body>
22
+ </html>
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <center>{{ site.title }}</center>
5
+ {{ content }}
6
+ {% assign contentwonl = content | strip_newlines %} {% unless contentwonl == "" %} <br /> {% endunless %} <!-- add line break if there is any content -->
7
+
8
+ <h4>Posts</h4>
9
+ {%- if site.posts.size > 0 -%}
10
+ <ul>
11
+ {%- for post in site.posts -%}
12
+ <li>
13
+ {%- assign date_format = "%d %B,%Y" -%}
14
+ [ {{ post.date | date: date_format }} ] <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
15
+ </li>
16
+ {%- endfor -%}
17
+ </ul>
18
+ {%- endif -%}
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {{ content }}
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <h1>{{ page.title }}</h1>
5
+ <p>{{ page.date | date: "%d %B,%Y" }}</p>
6
+ {{ content }}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Hacker theme variables
3
+ */
4
+
5
+ :root {
6
+ --base-color: #00ff00;
7
+ --border: dashed 1px rgba(0, 255, 0, 0.9);
8
+ --selection-background: rgba(0, 255, 0, 0.99);
9
+ --selection-text: #000;
10
+ --background-color: #000;
11
+ --text-color: var(--base-color);
12
+ --placeholder-color: var(--base-color);
13
+ --link-color: var(--code-color-2);
14
+ --code-color-1: #aaaaaa;
15
+ --code-color-2: #ffffcc;
16
+ --code-color-3: #F00000;
17
+ --code-color-4: #F0A0A0;
18
+ --code-color-5: #b38aff;
19
+ --code-color-6: #5ba711;
20
+ --code-color-7: #e4e477;
21
+ --code-color-8: #000080;
22
+ --code-color-9: #05ca05;
23
+ --code-color-10: #888888;
24
+ --code-color-11: #555555;
25
+ --code-color-12: #800080;
26
+ --code-color-13: #00d4d4;
27
+ --code-color-14: #00c1c1;
28
+ --code-color-15: #ed9d13;
29
+ --code-color-16: #1e90ff;
30
+ --code-color-17: #800000;
31
+ --code-color-18: #bbbbbb;
32
+ }
data/_sass/base.scss ADDED
@@ -0,0 +1,137 @@
1
+ @charset "utf-8";
2
+ @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700');
3
+
4
+ /**
5
+ * Style variables
6
+ */
7
+ //$base-font-family: 'Source Code Pro', monospace !default;
8
+ $base-font-family: 'Envy Code R';
9
+ $base-font-size: 16px !default;
10
+ $mobile-font-size: 13px !default;
11
+ $base-line-height: 1.5 !default;
12
+ $container-width: 90% !default;
13
+ $container-max-width: 600px !default;
14
+
15
+ /**
16
+ * Global
17
+ */
18
+ body { background-color: var(--background-color); margin: 0 auto; padding: 0; font-family: $base-font-family; font-size: $base-font-size; color: var(--text-color); text-align: left; line-height: $base-line-height !important; }
19
+ h1, h2, h3, h4, h5, h6 { font-size: $base-font-size; margin: 0px; margin-top: 22px; font-weight: bold; color: var(--text-color); }
20
+ p, ul, ol { margin: 0px; color: var(--text-color); }
21
+ img { display: inline-block; margin-left:auto; margin-right: auto; }
22
+ // #logo_foot { display:inline ;margin-left: auto; margin-right:auto; }
23
+ // #logo_head { display:inline-block ;margin-left: auto; margin-right:auto; }
24
+ a { text-decoration: none; color: var(--link-color); }
25
+ a:hover { color: var(--background-color); background-color: var(--base-color); }
26
+ @media only screen and (max-device-width: 500px) { * { font-size: $mobile-font-size !important; } }
27
+
28
+ /**
29
+ * Layout
30
+ */
31
+ .container { width: $container-width; max-width: $container-max-width; margin-right: auto; margin-left: auto; }
32
+ p { word-wrap: break-word; word-break: break-word; white-space: pre-wrap; margin-bottom: 15px; }
33
+ footer { color: var(--text-color); border-top: var(--border); margin: 20px auto 15px; padding-top: 10px; text-align: right; }
34
+ header { margin-top: 25px; margin-bottom: 10px; text-align:left; }
35
+ header p { text-align: center; margin: auto; }
36
+ footer { margin-bottom: 20px; }
37
+
38
+ /**
39
+ * Highlight/Markup
40
+ */
41
+ ::selection { background: var(--selection-background); color: var(--selection-text); }
42
+ ::-moz-selection { background: var(--selection-background); color: var(--selection-text); }
43
+
44
+ /**
45
+ * Lists
46
+ */
47
+ :not(.menu) > ul { list-style: none; padding-left: 0; }
48
+ :not(.menu) > ul { list-style-type: none; }
49
+ :not(.menu) > ul > li:before { content: "-"; margin-right: 9px; }
50
+
51
+ /**
52
+ * Header/Navigation
53
+ */
54
+ .menu { border-top: var(--border); border-bottom: var(--border); margin-bottom: 25px; }
55
+ .menu ul { margin-top: 12px; margin-bottom: 12px; padding-left: 0px; list-style-type: none; text-align: right; }
56
+ .menu ul li { display: inline; margin-left: 10px; }
57
+ .menu ul li a { text-decoration: none; color: var(--text-color); }
58
+ .menu ul li a:hover { text-decoration: none; color: var(--background-color); background-color: var(--base-color); }
59
+
60
+ /**
61
+ * Form
62
+ */
63
+ input, select, textarea { padding: 0; margin: 0; -webkit-appearance: none; -webkit-border-radius: 0; border: none; }
64
+ input[type=text], select, textarea { width: 100%; resize: none; background-color: var(--background-color); color: var(--text-color); caret-color: var(--text-color); font-size: $base-font-size; font-family: $base-font-family; line-height: $base-line-height; }
65
+ input, select, textarea, textarea::-webkit-input-placeholder { text-indent: 0px; }
66
+ ::placeholder { color: var(--placeholder-color); opacity: 1; }
67
+ :-ms-input-placeholder { color: var(--placeholder-color); }
68
+ ::-ms-input-placeholder { color: var(--placeholder-color); }
69
+ input[type=submit] { font-size: $base-font-size; font-family: $base-font-family; line-height: $base-line-height; cursor: pointer; color: var(--link-color); background-color: var(--background-color); }
70
+ input[type=submit]:hover { color: var(--background-color); background-color: var(--base-color); }
71
+ *:focus { outline: none; }
72
+ textarea { vertical-align: top; }
73
+
74
+ /**
75
+ * Code and syntax highlighting
76
+ */
77
+ .lineno { color: var(--code-color-1); margin-right: 15px; }
78
+ figure.highlight { margin: 5px 0; }
79
+ pre { background-color: var(--background-color); border: none; padding: 0; margin: 0; overflow:auto; font-size: $base-font-size; color: var(--text-color); line-height: 1.7 !important; font-family: $base-font-family !important; }
80
+ .highlight .hll { background-color: var(--code-color-2); }
81
+ .highlight .c { color: var(--code-color-1); font-style: italic } /* Comment */
82
+ .highlight .err { color: var(--code-color-3); background-color: var(--code-color-4); } /* Error */
83
+ .highlight .k { color: var(--code-color-5); } /* Keyword */
84
+ .highlight .cm { color: var(--code-color-1); font-style: italic } /* Comment.Multiline */
85
+ .highlight .cp { color: var(--code-color-6); } /* Comment.Preproc */
86
+ .highlight .c1 { color: var(--code-color-1); font-style: italic } /* Comment.Single */
87
+ .highlight .cs { color: var(--code-color-5); font-style: italic } /* Comment.Special */
88
+ .highlight .gd { color: var(--code-color-7); } /* Generic.Deleted */
89
+ .highlight .ge { font-style: italic } /* Generic.Emph */
90
+ .highlight .gr { color: var(--code-color-7); } /* Generic.Error */
91
+ .highlight .gh { color: var(--code-color-8); font-weight: bold } /* Generic.Heading */
92
+ .highlight .gi { color: var(--code-color-9); } /* Generic.Inserted */
93
+ .highlight .go { color: var(--code-color-10); } /* Generic.Output */
94
+ .highlight .gp { color: var(--code-color-11); } /* Generic.Prompt */
95
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
96
+ .highlight .gu { color: var(--code-color-12); font-weight: bold } /* Generic.Subheading */
97
+ .highlight .gt { color: var(--code-color-7); } /* Generic.Traceback */
98
+ .highlight .kc { color: var(--code-color-5); } /* Keyword.Constant */
99
+ .highlight .kd { color: var(--code-color-5); } /* Keyword.Declaration */
100
+ .highlight .kn { color: var(--code-color-5); } /* Keyword.Namespace */
101
+ .highlight .kp { color: var(--code-color-5); } /* Keyword.Pseudo */
102
+ .highlight .kr { color: var(--code-color-5); } /* Keyword.Reserved */
103
+ .highlight .kt { color: var(--code-color-13); } /* Keyword.Type */
104
+ .highlight .m { color: var(--code-color-14); } /* Literal.Number */
105
+ .highlight .s { color: var(--code-color-15); } /* Literal.String */
106
+ .highlight .na { color: var(--code-color-16); } /* Name.Attribute */
107
+ .highlight .nb { color: var(--code-color-13); } /* Name.Builtin */
108
+ .highlight .nc { color: var(--code-color-9); text-decoration: underline } /* Name.Class */
109
+ .highlight .no { color: var(--code-color-7); } /* Name.Constant */
110
+ .highlight .nd { color: var(--code-color-10); } /* Name.Decorator */
111
+ .highlight .ni { color: var(--code-color-17); font-weight: bold } /* Name.Entity */
112
+ .highlight .nf { color: var(--code-color-9); } /* Name.Function */
113
+ .highlight .nn { color: var(--code-color-13); text-decoration: underline } /* Name.Namespace */
114
+ .highlight .nt { color: var(--code-color-16); font-weight: bold } /* Name.Tag */
115
+ .highlight .nv { color: var(--code-color-7); } /* Name.Variable */
116
+ .highlight .ow { color: var(--code-color-5); } /* Operator.Word */
117
+ .highlight .w { color: var(--code-color-18); } /* Text.Whitespace */
118
+ .highlight .mf { color: var(--code-color-14); } /* Literal.Number.Float */
119
+ .highlight .mh { color: var(--code-color-14); } /* Literal.Number.Hex */
120
+ .highlight .mi { color: var(--code-color-14); } /* Literal.Number.Integer */
121
+ .highlight .mo { color: var(--code-color-14); } /* Literal.Number.Oct */
122
+ .highlight .sb { color: var(--code-color-15); } /* Literal.String.Backtick */
123
+ .highlight .sc { color: var(--code-color-15); } /* Literal.String.Char */
124
+ .highlight .sd { color: var(--code-color-15); } /* Literal.String.Doc */
125
+ .highlight .s2 { color: var(--code-color-15); } /* Literal.String.Double */
126
+ .highlight .se { color: var(--code-color-15); } /* Literal.String.Escape */
127
+ .highlight .sh { color: var(--code-color-15); } /* Literal.String.Heredoc */
128
+ .highlight .si { color: var(--code-color-15); } /* Literal.String.Interpol */
129
+ .highlight .sx { color: var(--code-color-15); } /* Literal.String.Other */
130
+ .highlight .sr { color: var(--code-color-14); } /* Literal.String.Regex */
131
+ .highlight .s1 { color: var(--code-color-15); } /* Literal.String.Single */
132
+ .highlight .ss { color: var(--code-color-5); } /* Literal.String.Symbol */
133
+ .highlight .bp { color: var(--code-color-13); } /* Name.Builtin.Pseudo */
134
+ .highlight .vc { color: var(--code-color-7); } /* Name.Variable.Class */
135
+ .highlight .vg { color: var(--code-color-7); } /* Name.Variable.Global */
136
+ .highlight .vi { color: var(--code-color-7); } /* Name.Variable.Instance */
137
+ .highlight .il { color: var(--code-color-14); } /* Literal.Number.Integer.Long */
data/assets/logo.png ADDED
Binary file
@@ -0,0 +1,6 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "hacker";
6
+ @import "base";
data/assets/main.scss ADDED
@@ -0,0 +1,9 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+
5
+ @import "base";
6
+
7
+ @media (prefers-color-scheme: hacker) {
8
+ @import "hacker";
9
+ }
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: letitbex-theme
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - mrtsukim0t0-
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-06-18 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-seo-tag
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
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: bundler
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
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description:
70
+ email:
71
+ - mrtsukim0t0@tutanota.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - LICENSE.txt
77
+ - README.md
78
+ - _config.yml
79
+ - _includes/favicon.png
80
+ - _includes/footer.html
81
+ - _includes/google-analytics.html
82
+ - _includes/head.html
83
+ - _includes/header.html
84
+ - _layouts/default.html
85
+ - _layouts/home.html
86
+ - _layouts/page.html
87
+ - _layouts/post.html
88
+ - _sass/_hacker.scss
89
+ - _sass/base.scss
90
+ - assets/logo.png
91
+ - assets/main-hacker.scss
92
+ - assets/main.scss
93
+ homepage: https://gitlbab.com/mrtsukim0t0-/letitbex-theme.git
94
+ licenses:
95
+ - MIT
96
+ metadata: {}
97
+ post_install_message:
98
+ rdoc_options: []
99
+ require_paths:
100
+ - lib
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ requirements: []
112
+ rubyforge_project:
113
+ rubygems_version: 2.7.6.2
114
+ signing_key:
115
+ specification_version: 4
116
+ summary: This is a copy of jekyll-theme-console which was tweaked a little bit.
117
+ test_files: []