jekyll-theme-kernel 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/_includes/clear.html +1 -0
- data/_includes/footer.html +4 -0
- data/_includes/head.html +9 -0
- data/_includes/header.html +5 -0
- data/_includes/sidebar.html +11 -0
- data/_layouts/default.html +19 -0
- data/_layouts/post.html +38 -0
- data/_sass/jekyll-theme-kernel.scss +152 -0
- data/assets/css/style.scss +4 -0
- metadata +97 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 69f22ccd78b21a3f739ec5fa61476ed552abc26e57893a4e5744fe0b32c57137
|
4
|
+
data.tar.gz: 9a220c2261929fafda77b2f3b91a7e126b8623ba1b439113e89ab06234d260cf
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3f9f17102ed3447b7c4232ebec80fea982c73ccc251da5b02cafd3a06359af6238a0114fd9b75e26ae5ab78c0cd9867ca1586db5158a3428b3912a8ed6b55b24
|
7
|
+
data.tar.gz: '08f0a868f77137ddcfff1e6ca089f72b4b002ac76083f137269b9a9481b45112a2cf4098ad9477f590a96eec029d36d2cd6fda47c0fc4ca9feeec102a569d82d'
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Quytelda Kahja
|
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,43 @@
|
|
1
|
+
# jekyll-theme-kernel
|
2
|
+
|
3
|
+
The kernel theme is a simple static Jekyll theme inspired by kernel.org.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your Jekyll site's `Gemfile`:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "jekyll-theme-kernel"
|
11
|
+
```
|
12
|
+
|
13
|
+
And add this line to your Jekyll site's `_config.yml`:
|
14
|
+
|
15
|
+
```yaml
|
16
|
+
theme: jekyll-theme-kernel
|
17
|
+
```
|
18
|
+
|
19
|
+
And then execute:
|
20
|
+
|
21
|
+
$ bundle
|
22
|
+
|
23
|
+
Or install it yourself as:
|
24
|
+
|
25
|
+
$ gem install jekyll-theme-kernel
|
26
|
+
|
27
|
+
## Usage
|
28
|
+
|
29
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
30
|
+
|
31
|
+
## Contributing
|
32
|
+
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/quytelda/jekyll-theme-kernel. 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.
|
34
|
+
|
35
|
+
## Development
|
36
|
+
|
37
|
+
To set up your environment to develop this theme, run `bundle install`.
|
38
|
+
|
39
|
+
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.
|
40
|
+
|
41
|
+
## License
|
42
|
+
|
43
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1 @@
|
|
1
|
+
<div style="clear: both;"></div>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8" />
|
3
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
4
|
+
<title>{{site.title | default: site.github.repository_name }}</title>
|
5
|
+
<link rel="stylesheet"
|
6
|
+
href="{{ '/assets/css/style.css?v=' |
|
7
|
+
append: site.github.build_revision |
|
8
|
+
relative_url }}" />
|
9
|
+
</head>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<div id="sidebar">
|
2
|
+
<h1 class="title">
|
3
|
+
{{site.title | default: site.github.repository_name }}
|
4
|
+
</h1>
|
5
|
+
|
6
|
+
{% if site.logo %}
|
7
|
+
<img class="logo" src="{{ site.logo | relative_url }}" />
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
<p>{{ site.description | default: site.github.project_tagline }}</p>
|
11
|
+
</div>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
2
|
+
<html lang="en">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
{% include header.html %}
|
6
|
+
|
7
|
+
<div id="wrapper">
|
8
|
+
{% include sidebar.html %}
|
9
|
+
|
10
|
+
<main>
|
11
|
+
{{ content }}
|
12
|
+
</main>
|
13
|
+
|
14
|
+
{% include clear.html %}
|
15
|
+
</div>
|
16
|
+
|
17
|
+
{% include footer.html %}
|
18
|
+
</body>
|
19
|
+
</html>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
2
|
+
<html lang="en">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
{% include header.html %}
|
6
|
+
|
7
|
+
<div id="wrapper">
|
8
|
+
{% include sidebar.html %}
|
9
|
+
|
10
|
+
<main>
|
11
|
+
<h1>{{ page.title }}</h1>
|
12
|
+
|
13
|
+
<article>
|
14
|
+
{{ content }}
|
15
|
+
</article>
|
16
|
+
|
17
|
+
<footer>
|
18
|
+
<a href="{{ page.previous | absolute_url }}">
|
19
|
+
« Previous
|
20
|
+
</a>
|
21
|
+
|
22
|
+
<span id="metadata">
|
23
|
+
| Posted {{ page.date | date: "%B %-d, %Y" }} by
|
24
|
+
{{ page.author | default: site.author }} |
|
25
|
+
</span>
|
26
|
+
|
27
|
+
<a href="{{ page.next | absolute_url }}">
|
28
|
+
Next »
|
29
|
+
</a>
|
30
|
+
</footer>
|
31
|
+
</main>
|
32
|
+
|
33
|
+
{% include clear.html %}
|
34
|
+
</div>
|
35
|
+
|
36
|
+
{% include footer.html %}
|
37
|
+
</body>
|
38
|
+
</html>
|
@@ -0,0 +1,152 @@
|
|
1
|
+
* {
|
2
|
+
margin: 0;
|
3
|
+
padding: 0;
|
4
|
+
|
5
|
+
font-family: sans-serif;
|
6
|
+
}
|
7
|
+
|
8
|
+
body {
|
9
|
+
min-width: 342px;
|
10
|
+
padding-left: 100px;
|
11
|
+
padding-right: 100px;
|
12
|
+
|
13
|
+
color: #333;
|
14
|
+
background: #e5e5e5;
|
15
|
+
}
|
16
|
+
|
17
|
+
h1, h2, h3, h4, h5, h6 {
|
18
|
+
margin: 10px 0;
|
19
|
+
|
20
|
+
color: #333;
|
21
|
+
}
|
22
|
+
|
23
|
+
header {
|
24
|
+
margin: 20px auto 0 auto;
|
25
|
+
|
26
|
+
text-align: center;
|
27
|
+
}
|
28
|
+
|
29
|
+
header a#title {
|
30
|
+
color: inherit;
|
31
|
+
|
32
|
+
font-size: 40px;
|
33
|
+
font-weight: bold;
|
34
|
+
|
35
|
+
text-decoration: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* On screens 860px wide or wider, display a two column flex layout with the
|
39
|
+
* sidebar taking 1/5 of the horizontal space, and the main content filling the
|
40
|
+
* remainder. There will be a border between the sidebar on the left and the
|
41
|
+
* main body on the right. */
|
42
|
+
@media only screen and (min-width: 860px) {
|
43
|
+
#wrapper {
|
44
|
+
display: flex;
|
45
|
+
}
|
46
|
+
|
47
|
+
#sidebar {
|
48
|
+
flex: 1;
|
49
|
+
|
50
|
+
border-right: 1px dashed lightgrey;
|
51
|
+
}
|
52
|
+
|
53
|
+
main {
|
54
|
+
flex: 4;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
/* On screens less than 860px wide, do not do any flex rendering, which means
|
59
|
+
* the sidebar and the main body will both be rendered in order, stacked
|
60
|
+
* vertically. Draw a border between the sidebar on the top and the main body
|
61
|
+
* on the bottom.
|
62
|
+
*/
|
63
|
+
@media only screen and (max-width: 859px) {
|
64
|
+
#sidebar {
|
65
|
+
border-bottom: 1px dashed lightgrey;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
#wrapper {
|
70
|
+
margin: 20px auto 0 auto;
|
71
|
+
padding: 40px 30px 40px 30px;
|
72
|
+
|
73
|
+
color: #606060;
|
74
|
+
background: white;
|
75
|
+
|
76
|
+
border: 2px solid silver;
|
77
|
+
border-radius: 15px;
|
78
|
+
}
|
79
|
+
|
80
|
+
#wrapper a {
|
81
|
+
text-decoration: none;
|
82
|
+
color: #393;
|
83
|
+
}
|
84
|
+
|
85
|
+
#wrapper a:hover {
|
86
|
+
color: #528;
|
87
|
+
}
|
88
|
+
|
89
|
+
#sidebar {
|
90
|
+
padding: 0 20px 20px 20px;
|
91
|
+
|
92
|
+
text-align: right;
|
93
|
+
}
|
94
|
+
|
95
|
+
#sidebar h1.title {
|
96
|
+
margin: 0;
|
97
|
+
padding: 0;
|
98
|
+
|
99
|
+
color: #333;
|
100
|
+
|
101
|
+
font-size: 24px;
|
102
|
+
letter-spacing: -1px;
|
103
|
+
|
104
|
+
text-align: left;
|
105
|
+
text-transform: uppercase;
|
106
|
+
}
|
107
|
+
|
108
|
+
#sidebar img.logo {
|
109
|
+
display: block;
|
110
|
+
|
111
|
+
width: 256px;
|
112
|
+
height: 256px;
|
113
|
+
margin: 10px auto 10px auto;
|
114
|
+
|
115
|
+
border: 1px solid lightgrey;
|
116
|
+
border-radius: 15px;
|
117
|
+
}
|
118
|
+
|
119
|
+
main {
|
120
|
+
padding: 0 20px 0 20px;
|
121
|
+
}
|
122
|
+
|
123
|
+
main h1 {
|
124
|
+
font-size: 30px;
|
125
|
+
font-weight: bold;
|
126
|
+
letter-spacing: -1px;
|
127
|
+
}
|
128
|
+
|
129
|
+
main p {
|
130
|
+
margin: 0 0 20px 0;
|
131
|
+
|
132
|
+
font-size: 15px;
|
133
|
+
line-height: 20px;
|
134
|
+
}
|
135
|
+
|
136
|
+
main ul, main ol {
|
137
|
+
margin: 0 0 20px 20px;
|
138
|
+
|
139
|
+
font-size: 15px;
|
140
|
+
}
|
141
|
+
|
142
|
+
main ul {
|
143
|
+
list-style-type: square;
|
144
|
+
}
|
145
|
+
|
146
|
+
#metadata {
|
147
|
+
color: #aaa;
|
148
|
+
}
|
149
|
+
|
150
|
+
footer {
|
151
|
+
margin: 20px 0;
|
152
|
+
}
|
metadata
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jekyll-theme-kernel
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Quytelda Kahja
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-05-29 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.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
|
+
- quytelda@tamalin.org
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/clear.html
|
65
|
+
- _includes/footer.html
|
66
|
+
- _includes/head.html
|
67
|
+
- _includes/header.html
|
68
|
+
- _includes/sidebar.html
|
69
|
+
- _layouts/default.html
|
70
|
+
- _layouts/post.html
|
71
|
+
- _sass/jekyll-theme-kernel.scss
|
72
|
+
- assets/css/style.scss
|
73
|
+
homepage: https://github.com/quytelda/jekyll-theme-kernel
|
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.7
|
94
|
+
signing_key:
|
95
|
+
specification_version: 4
|
96
|
+
summary: A simple static Jekyll theme, inspired by kernel.org.
|
97
|
+
test_files: []
|