paloma-jekyll 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: 51fe195ae545a16af675b9546c79d2a108c40cfb5be95b239661b69bb686551f
4
+ data.tar.gz: 86efef01ed943e5e37f5cd690300dc16173a609846f6ff608a2482d912c59023
5
+ SHA512:
6
+ metadata.gz: d42889cb0db1dd03b3b6bb2655cd1b385aedf0798531597b5ef13e0427d209a137476ccc1d043eff82de72cc0a4fa07da682de5684366af704ac0c98cd153987
7
+ data.tar.gz: f1cba3993cae28c4fc9eddb4d5fbb981771e102525dcb904474c7f8acd630e6a78fea6bc7df63d7a8f004769263268f662039792792c985fc596987546c35f22
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Ffyud
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,54 @@
1
+ # paloma-jekyll
2
+
3
+ This is a Jekyll theme which you can use in your Jekyll project.
4
+
5
+ To experiment with this theme as a standalone website, add some sample content and run `bundle exec jekyll serve`.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's `Gemfile`:
10
+
11
+ ```ruby
12
+ gem "paloma-jekyll"
13
+ ```
14
+
15
+ And add this line to your Jekyll site's `_config.yml`:
16
+
17
+ ```yaml
18
+ theme: paloma-jekyll
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install paloma-jekyll
28
+
29
+ ## Usage
30
+
31
+ Using this theme is pretty straightforward. It consists of an index page and a docs page.
32
+
33
+ The docs page shows the articles that have been added to the `_post` folder. Take a look at the example markdown document to see that works.
34
+
35
+ `_config.yml` contains some configuration options that you should to change when you are using this theme as the basis for your Jekyll website.
36
+
37
+
38
+ ## Contributing
39
+
40
+ Bug reports and pull requests are welcome on GitHub at https://github.com/ffyud/paloma-jekyll. 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.
41
+
42
+ ## Development
43
+
44
+ To set up your environment to develop this theme, run `bundle install`.
45
+
46
+ 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.
47
+
48
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
49
+ To add a custom directory to your theme-gem, please edit the regexp in `paloma-jekyll.gemspec` accordingly.
50
+
51
+ ## License
52
+
53
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
54
+
data/_config.yml ADDED
@@ -0,0 +1,10 @@
1
+ theme: paloma-jekyll
2
+
3
+ markdown: kramdown
4
+ highlighter: rouge
5
+
6
+ navigation_header:
7
+ - title: home
8
+ url: /
9
+ - title: docs
10
+ url: /docs
@@ -0,0 +1,5 @@
1
+ <header class="header">
2
+ <div class="container">
3
+ {% include nav.html %}
4
+ </div>
5
+ </header>
@@ -0,0 +1,17 @@
1
+ <nav class="nav nav--header">
2
+ <ul class="list list--nav">
3
+ {{ navigation_header }}
4
+ {% for item in site.navigation_header %}
5
+
6
+ {% if item.url contains '://' %}
7
+ {% assign url = item.url %}
8
+ {% else %}
9
+ {% assign url = item.url | relative_url %}
10
+ {% endif %}
11
+
12
+ <li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
13
+ <a href="{{ url }}">{{ item.title }}</a>
14
+ </li>
15
+ {% endfor %}
16
+ </ul>
17
+ </nav>
@@ -0,0 +1,21 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ site.lang | default: "en-US" }}">
3
+
4
+ <head>
5
+ <link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
6
+ </head>
7
+
8
+ <body>
9
+ {% include header.html %}
10
+
11
+ <div class="wrap">
12
+ <div class="container">
13
+ <div class="main">
14
+ {{ content }}
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </body>
19
+ </html>
20
+
21
+
@@ -0,0 +1,21 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ site.lang | default: "en-US" }}">
3
+
4
+ <head>
5
+ <link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
6
+ </head>
7
+
8
+ <body>
9
+ {% include header.html %}
10
+
11
+ <div class="wrap">
12
+ <div class="container">
13
+ <article class="article">
14
+ {{ content }}
15
+ </article>
16
+ </div>
17
+ </div>
18
+ </body>
19
+ </html>
20
+
21
+
@@ -0,0 +1,208 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
4
+ color: #5e5d83;
5
+ font-style: italic;
6
+ }
7
+ .highlight .cm {
8
+ color: #5e5d83;
9
+ font-style: italic;
10
+ }
11
+ .highlight .c1 {
12
+ color: #5e5d83;
13
+ font-style: italic;
14
+ }
15
+ .highlight .cp {
16
+ color: #465457;
17
+ font-weight: bold;
18
+ }
19
+ .highlight .cs {
20
+ color: #465457;
21
+ font-weight: bold;
22
+ font-style: italic;
23
+ }
24
+ .highlight .err {
25
+ color: #f8f8f2;
26
+ background-color: #403d3d;
27
+ }
28
+ .highlight .gi {
29
+ color: #a6e22e;
30
+ }
31
+ .highlight .gd {
32
+ color: #f92672;
33
+ }
34
+ .highlight .ge {
35
+ color: #1b1d1e;
36
+ font-style: italic;
37
+ }
38
+ .highlight .gr {
39
+ color: #f92672;
40
+ }
41
+ .highlight .gt {
42
+ color: #f92672;
43
+ }
44
+ .highlight .gh {
45
+ color: #403d3d;
46
+ }
47
+ .highlight .go {
48
+ color: #403d3d;
49
+ }
50
+ .highlight .gp {
51
+ color: #66d9ef;
52
+ }
53
+ .highlight .gs {
54
+ font-weight: bold;
55
+ }
56
+ .highlight .gu {
57
+ color: #465457;
58
+ }
59
+ .highlight .k, .highlight .kv {
60
+ color: #66d9ef;
61
+ font-weight: bold;
62
+ }
63
+ .highlight .kc {
64
+ color: #66d9ef;
65
+ font-weight: bold;
66
+ }
67
+ .highlight .kd {
68
+ color: #66d9ef;
69
+ font-weight: bold;
70
+ }
71
+ .highlight .kp {
72
+ color: #66d9ef;
73
+ font-weight: bold;
74
+ }
75
+ .highlight .kr {
76
+ color: #66d9ef;
77
+ font-weight: bold;
78
+ }
79
+ .highlight .kt {
80
+ color: #66d9ef;
81
+ font-weight: bold;
82
+ }
83
+ .highlight .kn {
84
+ color: #f92672;
85
+ font-weight: bold;
86
+ }
87
+ .highlight .ow {
88
+ color: #f92672;
89
+ font-weight: bold;
90
+ }
91
+ .highlight .o {
92
+ color: #f92672;
93
+ font-weight: bold;
94
+ }
95
+ .highlight .mf {
96
+ color: #af87ff;
97
+ }
98
+ .highlight .mh {
99
+ color: #af87ff;
100
+ }
101
+ .highlight .il {
102
+ color: #af87ff;
103
+ }
104
+ .highlight .mi {
105
+ color: #af87ff;
106
+ }
107
+ .highlight .mo {
108
+ color: #af87ff;
109
+ }
110
+ .highlight .m, .highlight .mb, .highlight .mx {
111
+ color: #af87ff;
112
+ }
113
+ .highlight .se {
114
+ color: #af87ff;
115
+ }
116
+ .highlight .sb {
117
+ color: #d7d787;
118
+ }
119
+ .highlight .sc {
120
+ color: #d7d787;
121
+ }
122
+ .highlight .sd {
123
+ color: #d7d787;
124
+ }
125
+ .highlight .s2 {
126
+ color: #d7d787;
127
+ }
128
+ .highlight .sh {
129
+ color: #d7d787;
130
+ }
131
+ .highlight .si {
132
+ color: #d7d787;
133
+ }
134
+ .highlight .sx {
135
+ color: #d7d787;
136
+ }
137
+ .highlight .sr {
138
+ color: #d7d787;
139
+ }
140
+ .highlight .s1 {
141
+ color: #d7d787;
142
+ }
143
+ .highlight .ss {
144
+ color: #d7d787;
145
+ }
146
+ .highlight .s, .highlight .sa, .highlight .dl {
147
+ color: #d7d787;
148
+ }
149
+ .highlight .na {
150
+ color: #a6e22e;
151
+ }
152
+ .highlight .nc {
153
+ color: #a6e22e;
154
+ font-weight: bold;
155
+ }
156
+ .highlight .nd {
157
+ color: #a6e22e;
158
+ font-weight: bold;
159
+ }
160
+ .highlight .ne {
161
+ color: #a6e22e;
162
+ font-weight: bold;
163
+ }
164
+ .highlight .nf, .highlight .fm {
165
+ color: #a6e22e;
166
+ font-weight: bold;
167
+ }
168
+ .highlight .no {
169
+ color: #66d9ef;
170
+ }
171
+ .highlight .bp {
172
+ color: #f8f8f2;
173
+ }
174
+ .highlight .nb {
175
+ color: #f8f8f2;
176
+ }
177
+ .highlight .ni {
178
+ color: #f8f8f2;
179
+ }
180
+ .highlight .nn {
181
+ color: #f8f8f2;
182
+ }
183
+ .highlight .vc {
184
+ color: #f8f8f2;
185
+ }
186
+ .highlight .vg {
187
+ color: #f8f8f2;
188
+ }
189
+ .highlight .vi {
190
+ color: #f8f8f2;
191
+ }
192
+ .highlight .nv, .highlight .vm {
193
+ color: #f8f8f2;
194
+ }
195
+ .highlight .w {
196
+ color: #f8f8f2;
197
+ }
198
+ .highlight .nl {
199
+ color: #f8f8f2;
200
+ font-weight: bold;
201
+ }
202
+ .highlight .nt {
203
+ color: #f92672;
204
+ }
205
+ .highlight {
206
+ color: #f8f8f2;
207
+ background-color: #1b1d1e;
208
+ }
data/_sass/_theme.scss ADDED
@@ -0,0 +1,61 @@
1
+ body {
2
+ color: #000;
3
+ background: #EEE;
4
+ height: 100%;
5
+ padding: 0px;
6
+ margin: 0px;
7
+ font-family: monospace;
8
+ font-size: 20px;
9
+ }
10
+
11
+ .container {
12
+ max-width: 600px;
13
+ margin: 0px auto;
14
+ }
15
+
16
+ .wrap {
17
+ top: 100px;
18
+ position: relative;
19
+ }
20
+
21
+ pre {
22
+ overflow-x: scroll;
23
+ padding: 10px;
24
+ }
25
+ .highlight { border-radius: 10px !important;}
26
+
27
+ .header {
28
+ z-index: 900;
29
+ width: 100%;
30
+ top: 0px;
31
+ // position: fixed;
32
+ }
33
+
34
+ .article, .main {
35
+ padding: 15px 15px 15px 15px;
36
+ border-radius: 8px;
37
+ }
38
+
39
+ .nav { }
40
+
41
+ .nav--header {}
42
+
43
+ .list {
44
+ padding: 10px 10px 10px 10px;
45
+ margin: 0px 0px 0px 0px;
46
+ list-style-type: none;
47
+ }
48
+
49
+ .list--nav {}
50
+
51
+ .item {
52
+ display: inline-block;
53
+ padding: 10px 10px 10px 10px;
54
+ margin: 0px 10px 0px 0px;
55
+ background: #ecff66;
56
+ color: #000;
57
+ }
58
+
59
+ .item a { text-decoration: none; color: inherit;}
60
+ .item--nav {}
61
+ .item--current { color: rgb(0, 0, 0);}
@@ -0,0 +1,6 @@
1
+ @charset "utf-8";
2
+
3
+ @import
4
+ "theme",
5
+ "rouge-highlighting"
6
+ ;
@@ -0,0 +1,6 @@
1
+ ---
2
+ title: false
3
+ styles: true
4
+ ---
5
+
6
+ @import "paloma-jekyll";
metadata ADDED
@@ -0,0 +1,68 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: paloma-jekyll
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ffyud
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-12-23 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
+ description:
28
+ email:
29
+ - 5263778+Ffyud@users.noreply.github.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - _config.yml
37
+ - _includes/header.html
38
+ - _includes/nav.html
39
+ - _layouts/default.html
40
+ - _layouts/post.html
41
+ - _sass/_rouge-highlighting.scss
42
+ - _sass/_theme.scss
43
+ - _sass/paloma-jekyll.scss
44
+ - assets/styles.scss
45
+ homepage: https://github.com/Ffyud/paloma-jekyll
46
+ licenses:
47
+ - MIT
48
+ metadata: {}
49
+ post_install_message:
50
+ rdoc_options: []
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: '0'
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubygems_version: 3.2.32
65
+ signing_key:
66
+ specification_version: 4
67
+ summary: Paloma Jekyll is clean theme for personal websites.
68
+ test_files: []