jekyll-theme-superb 0.1.4 → 0.2.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 +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +80 -80
- data/_includes/header.html +1 -1
- data/_layouts/default.html +15 -15
- data/_layouts/page.html +7 -7
- data/_layouts/post.html +13 -13
- data/_sass/base16.solarized.light.css +79 -0
- data/_sass/theme.scss +45 -318
- data/assets/css/style.css +435 -647
- metadata +6 -6
- data/_sass/highlighter.css +0 -61
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a55f4d1cb6277b73e4e20a9a21f3facf269078d037d68cbcb4655ffe1541ba59
|
4
|
+
data.tar.gz: d36d5dd2032807a60a126200439b4a19d405848cfef5e3c664772554011efe81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c35ffdd2abed773d5f58fe034cc41ab8e55e238c57532aa70c3a069e8461cc4f87fb9f1cc5bd211fd3922f6b603e4506b9acfc5e172620bcaf27bb9fb60095c8
|
7
|
+
data.tar.gz: b0b140494cbbfa53cf1ae3ec9a96b0e4a466e2c84035b33118e1df360a12f812206ff8c5bdaf865a114e0ad3167a9b5dd6e8ae7b10555ee00670768d15827005
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2022 Ivanka Todorova
|
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.
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2022 Ivanka Todorova
|
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
CHANGED
@@ -1,80 +1,80 @@
|
|
1
|
-
# jekyll-theme-superb
|
2
|
-
|
3
|
-
This is a simple Jekyll theme that uses [tailwindCSS's-based ui-kit](https://github.com/simplysuperb-dev/ui-kit) of simply**superb**. My blog uses it currently, so you can see it live at: https://blog.simplysuperb.app/. Additionally, here's a screenshot*:
|
4
|
-
|
5
|
-

|
6
|
-
|
7
|
-
_\* Article titles were copied from [dev.to](dev.to)'s homepage at the time of designing of this template._
|
8
|
-
|
9
|
-
## Installation
|
10
|
-
|
11
|
-
Add this line to your Jekyll site's `Gemfile`:
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
gem "jekyll-theme-superb"
|
15
|
-
```
|
16
|
-
|
17
|
-
And add this line to your Jekyll site's `_config.yml`:
|
18
|
-
|
19
|
-
```yaml
|
20
|
-
theme: jekyll-theme-superb
|
21
|
-
```
|
22
|
-
|
23
|
-
And then execute:
|
24
|
-
|
25
|
-
$ bundle
|
26
|
-
|
27
|
-
Or install it yourself as:
|
28
|
-
|
29
|
-
$ gem install jekyll-theme-superb
|
30
|
-
|
31
|
-
## Usage
|
32
|
-
|
33
|
-
Theme has a `post` layout used for displaying a single post, an `index` layout used for displaying all posts and a page layout that differs slightly from the `post` layout.
|
34
|
-
|
35
|
-
## Configuration
|
36
|
-
|
37
|
-
Additional to other config options already present in jekyll itself, this theme also has:
|
38
|
-
|
39
|
-
- **subtitle**: Shown next to the name of the blog (top left corner, visible desktop only)
|
40
|
-
|
41
|
-
## Contributing
|
42
|
-
|
43
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/simplysuperb-dev/jekyll-theme-superb. 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.
|
44
|
-
|
45
|
-
## Development
|
46
|
-
|
47
|
-
To set up your environment to develop this theme, run `bundle install` and `npm install`.
|
48
|
-
|
49
|
-
To run `postcss` for the tailwind part:
|
50
|
-
|
51
|
-
```
|
52
|
-
npm run css:dev
|
53
|
-
```
|
54
|
-
|
55
|
-
To run jekyll and its processor:
|
56
|
-
|
57
|
-
```
|
58
|
-
npm run jekyll:dev
|
59
|
-
```
|
60
|
-
|
61
|
-
> Note: You might checkout [`concurrently`](https://www.npmjs.com/package/concurrently), if you want to run both commands... wait for it... *concurrently*.
|
62
|
-
|
63
|
-
## Releasing
|
64
|
-
|
65
|
-
First, make sure the theme runs smoothly (or at all) locally.
|
66
|
-
|
67
|
-
Then create the 💎
|
68
|
-
```
|
69
|
-
gem build jekyll-theme-superb.gemspec
|
70
|
-
```
|
71
|
-
|
72
|
-
Lastly, publish it to the ☁️
|
73
|
-
```
|
74
|
-
gem push jekyll-theme-superb-*.gem
|
75
|
-
```
|
76
|
-
|
77
|
-
## License
|
78
|
-
|
79
|
-
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
80
|
-
|
1
|
+
# jekyll-theme-superb
|
2
|
+
|
3
|
+
This is a simple Jekyll theme that uses [tailwindCSS's-based ui-kit](https://github.com/simplysuperb-dev/ui-kit) of simply**superb**. My blog uses it currently, so you can see it live at: https://blog.simplysuperb.app/. Additionally, here's a screenshot*:
|
4
|
+
|
5
|
+

|
6
|
+
|
7
|
+
_\* Article titles were copied from [dev.to](dev.to)'s homepage at the time of designing of this template._
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's `Gemfile`:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "jekyll-theme-superb"
|
15
|
+
```
|
16
|
+
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
18
|
+
|
19
|
+
```yaml
|
20
|
+
theme: jekyll-theme-superb
|
21
|
+
```
|
22
|
+
|
23
|
+
And then execute:
|
24
|
+
|
25
|
+
$ bundle
|
26
|
+
|
27
|
+
Or install it yourself as:
|
28
|
+
|
29
|
+
$ gem install jekyll-theme-superb
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
Theme has a `post` layout used for displaying a single post, an `index` layout used for displaying all posts and a page layout that differs slightly from the `post` layout.
|
34
|
+
|
35
|
+
## Configuration
|
36
|
+
|
37
|
+
Additional to other config options already present in jekyll itself, this theme also has:
|
38
|
+
|
39
|
+
- **subtitle**: Shown next to the name of the blog (top left corner, visible desktop only)
|
40
|
+
|
41
|
+
## Contributing
|
42
|
+
|
43
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/simplysuperb-dev/jekyll-theme-superb. 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.
|
44
|
+
|
45
|
+
## Development
|
46
|
+
|
47
|
+
To set up your environment to develop this theme, run `bundle install` and `npm install`.
|
48
|
+
|
49
|
+
To run `postcss` for the tailwind part:
|
50
|
+
|
51
|
+
```
|
52
|
+
npm run css:dev
|
53
|
+
```
|
54
|
+
|
55
|
+
To run jekyll and its processor:
|
56
|
+
|
57
|
+
```
|
58
|
+
npm run jekyll:dev
|
59
|
+
```
|
60
|
+
|
61
|
+
> Note: You might checkout [`concurrently`](https://www.npmjs.com/package/concurrently), if you want to run both commands... wait for it... *concurrently*.
|
62
|
+
|
63
|
+
## Releasing
|
64
|
+
|
65
|
+
First, make sure the theme runs smoothly (or at all) locally.
|
66
|
+
|
67
|
+
Then create the 💎
|
68
|
+
```
|
69
|
+
gem build jekyll-theme-superb.gemspec
|
70
|
+
```
|
71
|
+
|
72
|
+
Lastly, publish it to the ☁️
|
73
|
+
```
|
74
|
+
gem push jekyll-theme-superb-*.gem
|
75
|
+
```
|
76
|
+
|
77
|
+
## License
|
78
|
+
|
79
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
80
|
+
|
data/_includes/header.html
CHANGED
data/_layouts/default.html
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
-
|
4
|
-
{%- include head.html -%}
|
5
|
-
|
6
|
-
<body class="font-serif">
|
7
|
-
<div class="container mx-auto">
|
8
|
-
|
9
|
-
{%- include header.html -%}
|
10
|
-
|
11
|
-
{{content}}
|
12
|
-
|
13
|
-
{%- include footer.html -%}
|
14
|
-
</div>
|
15
|
-
</body>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: 'en' }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body class="font-serif">
|
7
|
+
<div class="container mx-auto">
|
8
|
+
|
9
|
+
{%- include header.html -%}
|
10
|
+
|
11
|
+
{{content}}
|
12
|
+
|
13
|
+
{%- include footer.html -%}
|
14
|
+
</div>
|
15
|
+
</body>
|
16
16
|
</html>
|
data/_layouts/page.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<div class="px-4 py-2 desktop:px-0 page">
|
6
|
-
{{ content }}
|
7
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="px-4 py-2 desktop:px-0 page">
|
6
|
+
{{ content }}
|
7
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<div class="px-4 py-2 desktop:px-0 post">
|
6
|
-
<div>
|
7
|
-
<span class="text-grey/50">0644</span>
|
8
|
-
<span class="text-graphite mx-4">{{ page.author }}</span>
|
9
|
-
<span class="text-graphite">{{ page.date | date: "%-d %b '%y" }}</span>
|
10
|
-
</div>
|
11
|
-
<h2 class="mb-6 mt-0 desktop:text-h4 text-h5 font-bold">{{page.title}}</h2>
|
12
|
-
<div class="font-
|
13
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="px-4 py-2 desktop:px-0 post">
|
6
|
+
<div>
|
7
|
+
<span class="text-grey/50">0644</span>
|
8
|
+
<span class="text-graphite mx-4">{{ page.author }}</span>
|
9
|
+
<span class="text-graphite">{{ page.date | date: "%-d %b '%y" }}</span>
|
10
|
+
</div>
|
11
|
+
<h2 class="mb-6 mt-0 desktop:text-h4 text-h5 font-bold">{{page.title}}</h2>
|
12
|
+
<div class="font-sans post">{{ content }}</div>
|
13
|
+
</div>
|
@@ -0,0 +1,79 @@
|
|
1
|
+
/* source https://github.com/spsarolkar/rouge-theme-preview/blob/gh-pages/css/syntax-base16.solarized.light.css */
|
2
|
+
|
3
|
+
.highlight table td { padding: 5px; }
|
4
|
+
.highlight table pre { margin: 0; }
|
5
|
+
.highlight, .highlight .w {
|
6
|
+
color: #586e75;
|
7
|
+
}
|
8
|
+
.highlight .err {
|
9
|
+
color: #002b36;
|
10
|
+
background-color: #dc322f;
|
11
|
+
}
|
12
|
+
.highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs {
|
13
|
+
color: #657b83;
|
14
|
+
}
|
15
|
+
.highlight .cp {
|
16
|
+
color: #b58900;
|
17
|
+
}
|
18
|
+
.highlight .nt {
|
19
|
+
color: #b58900;
|
20
|
+
}
|
21
|
+
.highlight .o, .highlight .ow {
|
22
|
+
color: #93a1a1;
|
23
|
+
}
|
24
|
+
.highlight .p, .highlight .pi {
|
25
|
+
color: #93a1a1;
|
26
|
+
}
|
27
|
+
.highlight .gi {
|
28
|
+
color: #859900;
|
29
|
+
}
|
30
|
+
.highlight .gd {
|
31
|
+
color: #dc322f;
|
32
|
+
}
|
33
|
+
.highlight .gh {
|
34
|
+
color: #268bd2;
|
35
|
+
background-color: #002b36;
|
36
|
+
font-weight: bold;
|
37
|
+
}
|
38
|
+
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
39
|
+
color: #6c71c4;
|
40
|
+
}
|
41
|
+
.highlight .kc {
|
42
|
+
color: #cb4b16;
|
43
|
+
}
|
44
|
+
.highlight .kt {
|
45
|
+
color: #cb4b16;
|
46
|
+
}
|
47
|
+
.highlight .kd {
|
48
|
+
color: #cb4b16;
|
49
|
+
}
|
50
|
+
.highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
51
|
+
color: #859900;
|
52
|
+
}
|
53
|
+
.highlight .sr {
|
54
|
+
color: #2aa198;
|
55
|
+
}
|
56
|
+
.highlight .si {
|
57
|
+
color: #d33682;
|
58
|
+
}
|
59
|
+
.highlight .se {
|
60
|
+
color: #d33682;
|
61
|
+
}
|
62
|
+
.highlight .nn {
|
63
|
+
color: #b58900;
|
64
|
+
}
|
65
|
+
.highlight .nc {
|
66
|
+
color: #b58900;
|
67
|
+
}
|
68
|
+
.highlight .no {
|
69
|
+
color: #b58900;
|
70
|
+
}
|
71
|
+
.highlight .na {
|
72
|
+
color: #268bd2;
|
73
|
+
}
|
74
|
+
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx {
|
75
|
+
color: #859900;
|
76
|
+
}
|
77
|
+
.highlight .ss {
|
78
|
+
color: #859900;
|
79
|
+
}
|