simple-gh-pages-theme 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 +50 -0
- data/_data/navigation.yml +6 -0
- data/_includes/highlights.html +19 -0
- data/_includes/intro.html +11 -0
- data/_includes/navigation.html +23 -0
- data/_includes/post-date-categories.html +18 -0
- data/_includes/post-list-item.html +24 -0
- data/_includes/sidebar-categories.html +48 -0
- data/_includes/sidebar-short.html +15 -0
- data/_layouts/404.html +12 -0
- data/_layouts/category-posts.html +21 -0
- data/_layouts/default.html +52 -0
- data/_layouts/index.html +24 -0
- data/_layouts/post.html +36 -0
- data/_layouts/posts.html +21 -0
- data/_sass/main.scss +0 -0
- data/assets/css/main.scss +366 -0
- metadata +103 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d3182d134b44acc94d186145ae91f03996475b96bca8f2b2821a2fa9d6c5dfb8
|
4
|
+
data.tar.gz: b59e2a96ce1944ca44e8d9d8b1534066115f352410c367abbbf3177c2ba270f5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3d1fd77df7585e8b3d39d2b83110a86925244e96a899c8680b6abf1b9a94b2711d5942af2e4756219a94e50e5121933911db6fccf1c539ec941c304e9faf9d79
|
7
|
+
data.tar.gz: abf4e45bcf5ca2f76db5967fe6a276a092d9d88160b8754ebcab089f0f967b6b1386ca2d9d03c8dc036050ab42fcf2f7a8d2d4253ee45f8e422a763146237a0a
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2023 LiveNL
|
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,50 @@
|
|
1
|
+
# simple-gh-pages-theme
|
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
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's `Gemfile`:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "simple-gh-pages-theme"
|
15
|
+
```
|
16
|
+
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
18
|
+
|
19
|
+
```yaml
|
20
|
+
theme: simple-gh-pages-theme
|
21
|
+
```
|
22
|
+
|
23
|
+
And then execute:
|
24
|
+
|
25
|
+
$ bundle
|
26
|
+
|
27
|
+
Or install it yourself as:
|
28
|
+
|
29
|
+
$ gem install simple-gh-pages-theme
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/simple-gh-pages-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
|
38
|
+
|
39
|
+
## Development
|
40
|
+
|
41
|
+
To set up your environment to develop this theme, run `bundle install`.
|
42
|
+
|
43
|
+
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.
|
44
|
+
|
45
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
46
|
+
To add a custom directory to your theme-gem, please edit the regexp in `simple-gh-pages-theme.gemspec` accordingly.
|
47
|
+
|
48
|
+
## License
|
49
|
+
|
50
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<table>
|
2
|
+
{% assign selection = site.posts | where_exp:"post", "post.highlight == true"
|
3
|
+
%} {% for post in selection %}
|
4
|
+
<tr>
|
5
|
+
<td>
|
6
|
+
<h4><span class="date">{{ post.date | date: "%b '%y"}}</span></h4>
|
7
|
+
</td>
|
8
|
+
<td>
|
9
|
+
{% if post.list_post == true %}
|
10
|
+
<a href="{{ post.url }}" style="text-decoration: none !important">
|
11
|
+
<h4> {{ post.title }}</h4>
|
12
|
+
</a>
|
13
|
+
{% else %}
|
14
|
+
<h4> {{ post.title }}</h4>
|
15
|
+
{% endif %}
|
16
|
+
</td>
|
17
|
+
</tr>
|
18
|
+
{% endfor %}
|
19
|
+
</table>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<nav>
|
2
|
+
<!-- prettier-ignore -->
|
3
|
+
{% for item in site.data.navigation %}
|
4
|
+
<a href="{{ item.link }}" {% if page.url == item.link %} class="current_page" {% endif %}>
|
5
|
+
<h2>{{ item.name }}</h2>
|
6
|
+
</a>
|
7
|
+
{% endfor %}
|
8
|
+
<div class="social">
|
9
|
+
{% assign socials = site.about.socials %}
|
10
|
+
{% for items in socials %}
|
11
|
+
{% for item in items %}
|
12
|
+
<a target="_blank" href="{{items[item]}}">
|
13
|
+
<i class="fa-brands fa-{{item}} text-muted" aria-hidden="true"></i>
|
14
|
+
</a>
|
15
|
+
{% endfor %}
|
16
|
+
{% endfor %}
|
17
|
+
<a href="mailto: {{site.about.email}}">
|
18
|
+
<i class="fa fa-envelope text-muted" aria-hidden="true"></i>
|
19
|
+
</a>
|
20
|
+
</div>
|
21
|
+
</nav>
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<h4>
|
2
|
+
<span class="date">{{ post.date | date: "%d %b %Y"}}, </span>
|
3
|
+
<span class="categories">
|
4
|
+
in {% for category in post.categories %}
|
5
|
+
<a
|
6
|
+
class="category"
|
7
|
+
href="{{site.baseurl}}/category/{{ category | downcase }}"
|
8
|
+
>
|
9
|
+
<!-- prettier-ignore -->
|
10
|
+
{% if post.categories.size > 1 %}
|
11
|
+
{{ category | downcase }},
|
12
|
+
{% else %}
|
13
|
+
{{ category | downcase }}
|
14
|
+
{% endif %}
|
15
|
+
</a>
|
16
|
+
{% endfor %}
|
17
|
+
</span>
|
18
|
+
</h4>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<div class="post">
|
2
|
+
<a href="{{ post.url }}">
|
3
|
+
<span class="link homepage-post"></span>
|
4
|
+
<li class="posts-list-item">
|
5
|
+
{% if post.image contains 'https://' %}
|
6
|
+
<div
|
7
|
+
class="posts-image-item"
|
8
|
+
style="background-image: url({{ post.image }});"
|
9
|
+
></div>
|
10
|
+
{% else %}
|
11
|
+
<div
|
12
|
+
class="posts-image-item"
|
13
|
+
style="background-image: url({{site.baseurl}}/{{ post.image }});"
|
14
|
+
></div>
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
<div class="posts-list-text">
|
18
|
+
<h3>{{ post.title }}</h3>
|
19
|
+
<h4>{{ post.excerpt | strip_html | truncate: 85, "..."}}</h4>
|
20
|
+
{% include post-date-categories.html %}
|
21
|
+
</div>
|
22
|
+
</li>
|
23
|
+
</a>
|
24
|
+
</div>
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<h2 class="title no-decoration">Categories</h2>
|
2
|
+
<div class="line"></div>
|
3
|
+
<div>
|
4
|
+
<!-- prettier-ignore -->
|
5
|
+
{% for category in site.categories %}
|
6
|
+
{% assign nr_of_posts = 0 %}
|
7
|
+
{% assign cat = category | first %}
|
8
|
+
{% assign posts = site.categories[cat] %}
|
9
|
+
{% assign selection = posts | where_exp:"post", "post.list_post == true" %}
|
10
|
+
{% for post in selection %}
|
11
|
+
{% assign nr_of_posts = nr_of_posts | plus:1 %}
|
12
|
+
{% endfor %}
|
13
|
+
|
14
|
+
<li class="posts-list-item short-post category-list-item">
|
15
|
+
<span class="categories">
|
16
|
+
<h4>
|
17
|
+
<a class="category" href="/category/{{ cat }}">
|
18
|
+
{{ cat }} ({{ nr_of_posts }})
|
19
|
+
</a>
|
20
|
+
</h4>
|
21
|
+
</span>
|
22
|
+
</li>
|
23
|
+
{% endfor %}
|
24
|
+
</div>
|
25
|
+
<h2 class="title no-decoration" style="margin-top: 20px">Tags</h2>
|
26
|
+
<div class="line"></div>
|
27
|
+
<div>
|
28
|
+
<!-- prettier-ignore -->
|
29
|
+
{% for tag_post in site.tags %}
|
30
|
+
{% assign nr_of_posts = 0 %}
|
31
|
+
{% assign tag = tag_post | first %}
|
32
|
+
{% assign tag_posts = site.tags[tag] %}
|
33
|
+
{% assign tag_posts_selection = tag_posts | where_exp:"post", "post.list_post == true" %}
|
34
|
+
{% for post in tag_posts_selection %}
|
35
|
+
{% assign nr_of_posts = nr_of_posts | plus:1 %}
|
36
|
+
{% endfor %}
|
37
|
+
|
38
|
+
<li class="posts-list-item short-post category-list-item">
|
39
|
+
<span class="categories">
|
40
|
+
<h4>
|
41
|
+
<a class="category" href="/tag/{{ tag }}">
|
42
|
+
{{ tag }} ({{ nr_of_posts }})
|
43
|
+
</a>
|
44
|
+
</h4>
|
45
|
+
</span>
|
46
|
+
</li>
|
47
|
+
{% endfor %}
|
48
|
+
</div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<div class="short-posts">
|
2
|
+
<h2 class="title no-decoration">Short</h2>
|
3
|
+
<div class="line"></div>
|
4
|
+
{% assign selection = site.posts | where_exp:"post", "post.short == true" %}
|
5
|
+
{% for post in selection limit: 3%}
|
6
|
+
<li class="posts-list-item short-post">
|
7
|
+
<span>
|
8
|
+
<a href="{{site.baseurl}}{{ post.url }}" class="short-post-link">
|
9
|
+
<h3><span class="arrow">❯ </span> {{ post.title }}</h3>
|
10
|
+
</a>
|
11
|
+
{% include post-date-categories.html %}
|
12
|
+
</span>
|
13
|
+
</li>
|
14
|
+
{% endfor %}
|
15
|
+
</div>
|
data/_layouts/404.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: categories
|
4
|
+
---
|
5
|
+
|
6
|
+
<div class="posts-all">
|
7
|
+
<!-- prettier-ignore -->
|
8
|
+
{% assign selection = page.posts | where_exp:"post", "post.list_post == true" %}
|
9
|
+
{% for post in selection %}
|
10
|
+
{% include post-list-item.html %}
|
11
|
+
{% assign nr_of_posts = nr_of_posts | plus:1 %}
|
12
|
+
{% endfor %}
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div class="sidebar-short">
|
16
|
+
<div class="div-subtitle">
|
17
|
+
<h4>{{nr_of_posts}} posts with {{ page.type }} '{{ page.title }}'</h4>
|
18
|
+
</div>
|
19
|
+
|
20
|
+
{% include sidebar-categories.html %}
|
21
|
+
</div>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6
|
+
<title>{{ site.about.name }} | {{ page.title }}</title>
|
7
|
+
<!-- Google tag (gtag.js) -->
|
8
|
+
<script
|
9
|
+
async
|
10
|
+
src="https://www.googletagmanager.com/gtag/js?id={{site.gtag}}"
|
11
|
+
></script>
|
12
|
+
<script>
|
13
|
+
window.dataLayer = window.dataLayer || [];
|
14
|
+
function gtag() {
|
15
|
+
dataLayer.push(arguments);
|
16
|
+
}
|
17
|
+
gtag("js", new Date());
|
18
|
+
|
19
|
+
gtag("config", "{{site.gtag}}");
|
20
|
+
</script>
|
21
|
+
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico" />
|
22
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
23
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
24
|
+
<link rel="stylesheet" href="/assets/css/main.css" />
|
25
|
+
<link
|
26
|
+
rel="stylesheet"
|
27
|
+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
|
28
|
+
/>
|
29
|
+
<link
|
30
|
+
href="https://fonts.googleapis.com/css?family=Lora:400,400i,700"
|
31
|
+
rel="stylesheet"
|
32
|
+
/>
|
33
|
+
<link
|
34
|
+
href="https://fonts.googleapis.com/css2?family=Arvo&display=swap"
|
35
|
+
rel="stylesheet"
|
36
|
+
/>
|
37
|
+
<link
|
38
|
+
href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;500;600;700&display=swap"
|
39
|
+
rel="stylesheet"
|
40
|
+
/>
|
41
|
+
</head>
|
42
|
+
|
43
|
+
<body>
|
44
|
+
<div class="container">
|
45
|
+
{% include intro.html %}
|
46
|
+
|
47
|
+
<div class="menubar">{% include navigation.html %}</div>
|
48
|
+
|
49
|
+
{{ content }}
|
50
|
+
</div>
|
51
|
+
</body>
|
52
|
+
</html>
|
data/_layouts/index.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: home
|
4
|
+
---
|
5
|
+
|
6
|
+
<div class="content">
|
7
|
+
<div class="posts-top">
|
8
|
+
<!-- prettier-ignore -->
|
9
|
+
{% assign selection = site.posts | where_exp:"post", "post.list_post == true" %}
|
10
|
+
{% assign selection = site.posts | where_exp:"post", "post.short != true" %}
|
11
|
+
{% for post in selection limit: 5 %}
|
12
|
+
{% include post-list-item.html %}
|
13
|
+
{% endfor %}
|
14
|
+
<h2 style="font-family: 'Arvo'">
|
15
|
+
<a href="{{site.baseurl}}/posts.html">❯ All posts </a>
|
16
|
+
</h2>
|
17
|
+
</div>
|
18
|
+
|
19
|
+
<div class="sidebar-short">
|
20
|
+
<!-- prettier-ignore -->
|
21
|
+
{% include sidebar-short.html %}
|
22
|
+
{% include sidebar-categories.html %}
|
23
|
+
</div>
|
24
|
+
</div>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: post
|
4
|
+
---
|
5
|
+
|
6
|
+
<div class="post-content" style="width: 100%">
|
7
|
+
<div class="div-post-title title">
|
8
|
+
{{ page.title }}
|
9
|
+
<div class="line"></div>
|
10
|
+
<h4 style="margin-bottom: 15px">
|
11
|
+
<!-- prettier-ignore -->
|
12
|
+
{% if page.tags.size != 0 %}
|
13
|
+
tags:
|
14
|
+
{% for tag in page.tags %}
|
15
|
+
<a
|
16
|
+
class="category"
|
17
|
+
style="text-decoration: none !important"
|
18
|
+
href="/tag/{{ tag }}"
|
19
|
+
>
|
20
|
+
{{ tag }}</a
|
21
|
+
>
|
22
|
+
<!-- prettier-ignore -->
|
23
|
+
{% if page.tags.size > 1 %}, {% endif %}
|
24
|
+
{% endfor %}
|
25
|
+
{% endif %}
|
26
|
+
{% assign date = page.date | date: "%d %b %Y" %}
|
27
|
+
{% if date != '01 Jan 1970' %}
|
28
|
+
<span class="date" style="float: right">
|
29
|
+
<!-- prettier-ignore -->
|
30
|
+
{{ date }}
|
31
|
+
</span>
|
32
|
+
{% endif %}
|
33
|
+
</h4>
|
34
|
+
</div>
|
35
|
+
{{ content }}
|
36
|
+
</div>
|
data/_layouts/posts.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
permalink: /posts.html
|
3
|
+
layout: default
|
4
|
+
---
|
5
|
+
|
6
|
+
<div class="content">
|
7
|
+
<div class="posts-all">
|
8
|
+
<!-- prettier-ignore -->
|
9
|
+
{% assign selection = site.posts | where_exp:"post", "post.list_post == true" %}
|
10
|
+
{% for post in selection %}
|
11
|
+
{% include post-list-item.html %}
|
12
|
+
{% assign nr_of_posts = nr_of_posts | plus:1 %}
|
13
|
+
{% endfor %}
|
14
|
+
</div>
|
15
|
+
<div class="sidebar-short">
|
16
|
+
<div class="div-subtitle">
|
17
|
+
<h4>{{nr_of_posts}} posts in {{ site.categories | size }} categories</h4>
|
18
|
+
</div>
|
19
|
+
{% include sidebar-categories.html %}
|
20
|
+
</div>
|
21
|
+
</div>
|
data/_sass/main.scss
ADDED
File without changes
|
@@ -0,0 +1,366 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
$base: #272b32;
|
4
|
+
$light: $base;
|
5
|
+
$highlight: #fc036f;
|
6
|
+
|
7
|
+
$light-background: rgba(255, 255, 255, 1);
|
8
|
+
$dark-background: rgba(0, 36, 61, 1);
|
9
|
+
$background-color: $light-background;
|
10
|
+
|
11
|
+
@media screen and (max-width: 480px) {
|
12
|
+
.container {
|
13
|
+
width: 90% !important;
|
14
|
+
}
|
15
|
+
|
16
|
+
.content {
|
17
|
+
flex-direction: column;
|
18
|
+
|
19
|
+
.posts-image-item {
|
20
|
+
height: 50px !important;
|
21
|
+
width: 50px !important;
|
22
|
+
min-width: 50px !important;
|
23
|
+
}
|
24
|
+
.posts-top,
|
25
|
+
.sidebar-short {
|
26
|
+
width: 110%;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
h1,
|
32
|
+
h2,
|
33
|
+
h3,
|
34
|
+
h4,
|
35
|
+
span,
|
36
|
+
p,
|
37
|
+
ul,
|
38
|
+
li {
|
39
|
+
line-height: 1.6em;
|
40
|
+
color: $light;
|
41
|
+
a {
|
42
|
+
color: $light;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
p,
|
47
|
+
ul {
|
48
|
+
font-size: 0.7em;
|
49
|
+
font-weight: 400;
|
50
|
+
}
|
51
|
+
|
52
|
+
h1 {
|
53
|
+
font-size: 4em;
|
54
|
+
line-height: 1;
|
55
|
+
letter-spacing: -1px;
|
56
|
+
}
|
57
|
+
|
58
|
+
h2 {
|
59
|
+
font-size: 0.9em;
|
60
|
+
font-weight: 500;
|
61
|
+
margin-top: 0px;
|
62
|
+
margin-bottom: 0px;
|
63
|
+
}
|
64
|
+
|
65
|
+
h3 {
|
66
|
+
font-size: 0.75em;
|
67
|
+
margin-top: 0px;
|
68
|
+
margin-bottom: 0px;
|
69
|
+
}
|
70
|
+
|
71
|
+
h4 {
|
72
|
+
font-size: 0.7em;
|
73
|
+
font-weight: 400;
|
74
|
+
margin-top: 0px;
|
75
|
+
margin-bottom: 0px;
|
76
|
+
}
|
77
|
+
|
78
|
+
i {
|
79
|
+
color: $light;
|
80
|
+
}
|
81
|
+
|
82
|
+
i:hover,
|
83
|
+
h2:hover,
|
84
|
+
a:hover,
|
85
|
+
.hover:hover {
|
86
|
+
color: $highlight !important;
|
87
|
+
}
|
88
|
+
|
89
|
+
a:link,
|
90
|
+
a:visited {
|
91
|
+
text-decoration: none !important;
|
92
|
+
}
|
93
|
+
|
94
|
+
.no-decoration {
|
95
|
+
text-decoration: none !important;
|
96
|
+
pointer-events: none;
|
97
|
+
}
|
98
|
+
|
99
|
+
.link {
|
100
|
+
position: absolute;
|
101
|
+
width: 100%;
|
102
|
+
height: 100%;
|
103
|
+
top: 0;
|
104
|
+
left: 0;
|
105
|
+
z-index: 1;
|
106
|
+
}
|
107
|
+
|
108
|
+
blockquote > p {
|
109
|
+
font-style: italic;
|
110
|
+
}
|
111
|
+
|
112
|
+
.title {
|
113
|
+
color: $light;
|
114
|
+
font-family: "Arvo";
|
115
|
+
}
|
116
|
+
|
117
|
+
hr {
|
118
|
+
border: none;
|
119
|
+
height: 1px;
|
120
|
+
/* Set the hr color */
|
121
|
+
color: white; /* old IE */
|
122
|
+
background-color: white; /* Modern Browsers */
|
123
|
+
opacity: 0.2;
|
124
|
+
}
|
125
|
+
|
126
|
+
body {
|
127
|
+
background: no-repeat center center cover;
|
128
|
+
background-color: $background-color;
|
129
|
+
font-family: "Open Sans", sans-serif;
|
130
|
+
}
|
131
|
+
|
132
|
+
.container {
|
133
|
+
width: 60%;
|
134
|
+
margin: auto;
|
135
|
+
margin-bottom: 50px;
|
136
|
+
}
|
137
|
+
|
138
|
+
.posts-top,
|
139
|
+
.posts-all {
|
140
|
+
width: 75%;
|
141
|
+
}
|
142
|
+
|
143
|
+
.post {
|
144
|
+
height: 100%;
|
145
|
+
width: auto;
|
146
|
+
position: relative;
|
147
|
+
padding-right: 5%;
|
148
|
+
margin-bottom: 15px;
|
149
|
+
}
|
150
|
+
|
151
|
+
.post:hover {
|
152
|
+
cursor: pointer;
|
153
|
+
|
154
|
+
h2,
|
155
|
+
p,
|
156
|
+
a {
|
157
|
+
cursor: pointer;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
.homepage-post {
|
162
|
+
width: 95%;
|
163
|
+
border-radius: 6px;
|
164
|
+
cursor: pointer;
|
165
|
+
}
|
166
|
+
.homepage-post:hover {
|
167
|
+
box-shadow: 0px 0px 0px 1px $highlight;
|
168
|
+
}
|
169
|
+
|
170
|
+
.date,
|
171
|
+
.categories,
|
172
|
+
.category {
|
173
|
+
}
|
174
|
+
|
175
|
+
.posts-list-item {
|
176
|
+
list-style-type: none;
|
177
|
+
display: flex;
|
178
|
+
flex-direction: row;
|
179
|
+
align-items: center;
|
180
|
+
border-radius: 6px;
|
181
|
+
transition: 0.2s;
|
182
|
+
overflow: hidden;
|
183
|
+
|
184
|
+
.posts-list-text {
|
185
|
+
text-overflow: ellipsis;
|
186
|
+
overflow: hidden;
|
187
|
+
height: 100px;
|
188
|
+
display: flex;
|
189
|
+
flex-direction: column;
|
190
|
+
justify-content: center;
|
191
|
+
}
|
192
|
+
|
193
|
+
.posts-image-item {
|
194
|
+
height: 100px;
|
195
|
+
width: 100px;
|
196
|
+
min-width: 100px;
|
197
|
+
border-radius: 6px;
|
198
|
+
background-position: center;
|
199
|
+
background-size: cover;
|
200
|
+
background-color: white;
|
201
|
+
margin-right: 20px;
|
202
|
+
border: 0px;
|
203
|
+
border-style: solid;
|
204
|
+
border-color: $background-color;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
.sidebar-short {
|
209
|
+
width: 25%;
|
210
|
+
|
211
|
+
.short-posts {
|
212
|
+
margin-bottom: 30px;
|
213
|
+
}
|
214
|
+
|
215
|
+
.short-post-link:hover > h3 {
|
216
|
+
color: $highlight;
|
217
|
+
}
|
218
|
+
|
219
|
+
.short-post {
|
220
|
+
margin-bottom: 10px;
|
221
|
+
}
|
222
|
+
|
223
|
+
.category:hover {
|
224
|
+
color: $highlight;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
.current_page {
|
229
|
+
h2 {
|
230
|
+
text-decoration-line: underline !important;
|
231
|
+
text-decoration-thickness: 0.8px !important;
|
232
|
+
text-underline-offset: 4px !important;
|
233
|
+
text-decoration-color: $highlight;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
.line {
|
238
|
+
width: 100%;
|
239
|
+
border-bottom: 1px solid $base;
|
240
|
+
margin-bottom: 5px;
|
241
|
+
margin-top: 3px;
|
242
|
+
opacity: 0.2;
|
243
|
+
}
|
244
|
+
|
245
|
+
.menubar {
|
246
|
+
margin-top: 20px;
|
247
|
+
margin-bottom: 30px;
|
248
|
+
width: 100%;
|
249
|
+
nav {
|
250
|
+
display: flex;
|
251
|
+
flex-direction: row;
|
252
|
+
flex-wrap: wrap;
|
253
|
+
align-items: flex-start;
|
254
|
+
|
255
|
+
a {
|
256
|
+
padding-right: 20px;
|
257
|
+
font-family: Arvo;
|
258
|
+
}
|
259
|
+
|
260
|
+
.social {
|
261
|
+
margin-left: auto;
|
262
|
+
a {
|
263
|
+
padding-right: 10px;
|
264
|
+
text-decoration: none;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
.intro {
|
271
|
+
width: 100%;
|
272
|
+
padding-top: 30px;
|
273
|
+
display: flex;
|
274
|
+
flex-direction: row;
|
275
|
+
flex-wrap: wrap;
|
276
|
+
align-items: flex-start;
|
277
|
+
|
278
|
+
.intro-j {
|
279
|
+
font-family: monospace;
|
280
|
+
white-space: pre;
|
281
|
+
font-size: 1em;
|
282
|
+
color: $light;
|
283
|
+
width: 15%;
|
284
|
+
margin-right: 20px;
|
285
|
+
}
|
286
|
+
|
287
|
+
.intro-description {
|
288
|
+
font-weight: 300;
|
289
|
+
margin-top: 0px;
|
290
|
+
text-align: center;
|
291
|
+
}
|
292
|
+
|
293
|
+
.intro-description {
|
294
|
+
h2:hover {
|
295
|
+
color: $base !important;
|
296
|
+
}
|
297
|
+
}
|
298
|
+
|
299
|
+
.intro-name {
|
300
|
+
font-family: Arvo;
|
301
|
+
font-size: 2em;
|
302
|
+
width: 85%;
|
303
|
+
padding-top: 10px;
|
304
|
+
}
|
305
|
+
}
|
306
|
+
|
307
|
+
.page-not-found {
|
308
|
+
text-align: center;
|
309
|
+
width: 100%;
|
310
|
+
h1 {
|
311
|
+
margin: 30px 0;
|
312
|
+
}
|
313
|
+
}
|
314
|
+
|
315
|
+
.content {
|
316
|
+
display: flex;
|
317
|
+
flex-direction: row;
|
318
|
+
flex-wrap: wrap;
|
319
|
+
align-items: flex-start;
|
320
|
+
width: 100%;
|
321
|
+
}
|
322
|
+
|
323
|
+
.post-content {
|
324
|
+
img {
|
325
|
+
width: 100%;
|
326
|
+
max-width: 500px;
|
327
|
+
margin-top: 10px;
|
328
|
+
margin-bottom: 10px;
|
329
|
+
transition: transform 0.25s ease;
|
330
|
+
}
|
331
|
+
|
332
|
+
img:active {
|
333
|
+
-webkit-transform: scale(1.5);
|
334
|
+
transform: scale(1.5);
|
335
|
+
}
|
336
|
+
|
337
|
+
p {
|
338
|
+
margin-bottom: 15px;
|
339
|
+
}
|
340
|
+
|
341
|
+
ul {
|
342
|
+
width: 100%;
|
343
|
+
}
|
344
|
+
|
345
|
+
h2:hover {
|
346
|
+
color: $light !important;
|
347
|
+
}
|
348
|
+
|
349
|
+
a {
|
350
|
+
text-decoration-line: underline !important;
|
351
|
+
text-decoration-thickness: 0.1px !important;
|
352
|
+
text-underline-offset: 2px !important;
|
353
|
+
}
|
354
|
+
}
|
355
|
+
|
356
|
+
.category-list-item {
|
357
|
+
margin-bottom: 0px !important;
|
358
|
+
}
|
359
|
+
|
360
|
+
.div-post-title {
|
361
|
+
width: 100%;
|
362
|
+
}
|
363
|
+
|
364
|
+
.div-subtitle {
|
365
|
+
height: 35px;
|
366
|
+
}
|
metadata
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simple-gh-pages-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- LiveNL
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-04-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll-archives
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-redirect-from
|
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: jekyll-sitemap
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- simple-gh-pages-theme@jordiwippert.nl
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _data/navigation.yml
|
65
|
+
- _includes/highlights.html
|
66
|
+
- _includes/intro.html
|
67
|
+
- _includes/navigation.html
|
68
|
+
- _includes/post-date-categories.html
|
69
|
+
- _includes/post-list-item.html
|
70
|
+
- _includes/sidebar-categories.html
|
71
|
+
- _includes/sidebar-short.html
|
72
|
+
- _layouts/404.html
|
73
|
+
- _layouts/category-posts.html
|
74
|
+
- _layouts/default.html
|
75
|
+
- _layouts/index.html
|
76
|
+
- _layouts/post.html
|
77
|
+
- _layouts/posts.html
|
78
|
+
- _sass/main.scss
|
79
|
+
- assets/css/main.scss
|
80
|
+
homepage: https://github.com/LiveNL/simple-gh-pages-theme
|
81
|
+
licenses:
|
82
|
+
- MIT
|
83
|
+
metadata: {}
|
84
|
+
post_install_message:
|
85
|
+
rdoc_options: []
|
86
|
+
require_paths:
|
87
|
+
- lib
|
88
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
requirements: []
|
99
|
+
rubygems_version: 3.4.10
|
100
|
+
signing_key:
|
101
|
+
specification_version: 4
|
102
|
+
summary: This gem provides a simple GitHub pages theme
|
103
|
+
test_files: []
|