jekyll-theme-puzzleduck 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -1
- data/_includes/head.html +0 -1
- data/_layouts/default.html +1 -1
- data/_layouts/home.html +21 -17
- data/_layouts/page.html +3 -3
- data/_layouts/post.html +1 -1
- data/assets/main.scss +29 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db5464428e710b6e298a3d49d6088dd3afaa0d15
|
4
|
+
data.tar.gz: 8c5a731e25a09053d89f1c3a4f721020e267ae34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c53974b621234827444524703a39831913ba4dc192ab2d445a2ed719698ac82bebe5e9f44a4b9b3c37cac13f269d38c4f320f9c7447c5e024e3fdd7b10ccd5e
|
7
|
+
data.tar.gz: 5cfb5378d66dd843503ba795437ddf1e40018fad32b5e02d5ea9e7b10239500a150641cc165f2af153f6e6d32c23db398c64cac5c4c6a0df8ad13c37387932bd
|
data/README.md
CHANGED
@@ -31,7 +31,7 @@ Or install it yourself as:
|
|
31
31
|
|
32
32
|
## Additional configuration
|
33
33
|
|
34
|
-
Configure additional links in _config.yml
|
34
|
+
Configure additional links in ```_config.yml```
|
35
35
|
|
36
36
|
- linkedin_username
|
37
37
|
- android_username
|
@@ -40,6 +40,16 @@ Configure additional links in _config.yml
|
|
40
40
|
- source_url
|
41
41
|
|
42
42
|
|
43
|
+
## Development
|
44
|
+
|
45
|
+
```bash
|
46
|
+
git clone https://github.com/PuZZleDucK/jekyll-theme-puzzleduck.git
|
47
|
+
cd jekyll-theme-puzzleduck
|
48
|
+
bundle install
|
49
|
+
# add some _posts, a config file and index.md for testing
|
50
|
+
bundle exec jekyll serve
|
51
|
+
```
|
52
|
+
|
43
53
|
## About
|
44
54
|
|
45
55
|
Based on Minima and using Materialize.
|
data/_includes/head.html
CHANGED
@@ -11,7 +11,6 @@
|
|
11
11
|
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" media="screen,projection"/>
|
12
12
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
13
13
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
14
|
-
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
15
14
|
|
16
15
|
{% if jekyll.environment == 'production' and site.google_analytics %}
|
17
16
|
{% include google-analytics.html %}
|
data/_layouts/default.html
CHANGED
data/_layouts/home.html
CHANGED
@@ -6,26 +6,30 @@ layout: default
|
|
6
6
|
|
7
7
|
{{ content }}
|
8
8
|
|
9
|
-
<div class="
|
10
|
-
<div class="col s12 l10 cards-container">
|
11
|
-
<h1 class="page-heading center">Blog Posts</h1> {% for post in site.posts %}
|
9
|
+
<div class="col card-panel highlight">
|
12
10
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
11
|
+
<div class="col card-panel primary">
|
12
|
+
<h4 class="page-heading center-align">Articles</h4>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div class="row">
|
16
|
+
|
17
|
+
{% for post in site.posts %}
|
18
|
+
<div class="col s12 m6 l4 cards-container">
|
19
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
20
|
+
<div class="card primary z-depth-5">
|
21
|
+
<div class="card-title center">
|
22
|
+
<h5 class="title">{{ post.title | escape }}</h5>
|
23
|
+
<hr />
|
24
|
+
</div>
|
25
|
+
<div class="post-content center" itemprop="articleBody">
|
26
|
+
<i class="material-icons small">account_balance</i> - {{ post.date | date: date_format }}
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</a>
|
21
30
|
</div>
|
22
|
-
|
23
|
-
</a>
|
31
|
+
{% endfor %}
|
24
32
|
|
25
|
-
{% endfor %}
|
26
33
|
</div>
|
27
34
|
</div>
|
28
|
-
|
29
|
-
<p class="rss-subscribe">subscribe <a href="{{ " /feed.xml " | relative_url }}">via RSS</a></p>
|
30
|
-
|
31
35
|
</div>
|
data/_layouts/page.html
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<article class="post">
|
4
|
+
<article class="post card-panel highlight">
|
5
5
|
|
6
|
-
<header class="post-header">
|
6
|
+
<header class="post-header card-panel primary">
|
7
7
|
<h1 class="post-title">{{ page.title | escape }}</h1>
|
8
8
|
</header>
|
9
9
|
|
10
|
-
<div class="post-content">
|
10
|
+
<div class="post-content card-panel primary">
|
11
11
|
{{ content }}
|
12
12
|
</div>
|
13
13
|
|
data/_layouts/post.html
CHANGED
@@ -4,7 +4,7 @@ layout: default
|
|
4
4
|
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
5
5
|
|
6
6
|
<div class="row">
|
7
|
-
<div class="col s12
|
7
|
+
<div class="col s12 l12 cards-container highlight">
|
8
8
|
|
9
9
|
<div class="card primary z-depth-5">
|
10
10
|
<div class="card-title center">
|
data/assets/main.scss
CHANGED
@@ -28,10 +28,31 @@
|
|
28
28
|
font-family: Kirsty;
|
29
29
|
}
|
30
30
|
|
31
|
+
h1, h2, h3, h4, h5, h6 {
|
32
|
+
font-family: Kirsty;
|
33
|
+
}
|
34
|
+
|
31
35
|
html {
|
32
|
-
font-family:
|
36
|
+
font-family: Ubuntu;
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
.centered {
|
41
|
+
display: inline;
|
42
|
+
align-content:center;
|
43
|
+
align-self: center;
|
44
|
+
align-items: center;
|
45
|
+
text-align: center;
|
33
46
|
}
|
34
47
|
|
48
|
+
.inset {
|
49
|
+
padding-left: 1%;
|
50
|
+
width: 99%;
|
51
|
+
display: block;
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
|
35
56
|
/* Title and Nav */
|
36
57
|
nav .brand-logo {
|
37
58
|
font-size: 3rem;
|
@@ -108,6 +129,9 @@ img {
|
|
108
129
|
|
109
130
|
|
110
131
|
|
132
|
+
$primary-color: #332000;
|
133
|
+
$highlight-color: #329A00;
|
134
|
+
|
111
135
|
|
112
136
|
/**
|
113
137
|
* Code formatting
|
@@ -117,9 +141,9 @@ img {
|
|
117
141
|
|
118
142
|
$ratio: 0;
|
119
143
|
|
120
|
-
$grey-color:
|
121
|
-
$grey-color-light: lighten($grey-color,
|
122
|
-
$grey-color-dark: darken($grey-color,
|
144
|
+
$grey-color: $primary-color !default;
|
145
|
+
$grey-color-light: lighten($grey-color, 10%) !default;
|
146
|
+
$grey-color-dark: darken($grey-color, 10%) !default;
|
123
147
|
|
124
148
|
@mixin relative-font-size($ratio) {
|
125
149
|
font-size: $base-font-size * $ratio;
|
@@ -128,9 +152,8 @@ img {
|
|
128
152
|
pre,
|
129
153
|
code {
|
130
154
|
@include relative-font-size(0.9375);
|
131
|
-
border:
|
155
|
+
border: 3px inset $grey-color-light;
|
132
156
|
border-radius: 3px;
|
133
|
-
background-color: #666;
|
134
157
|
}
|
135
158
|
|
136
159
|
code {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-puzzleduck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PuZZleDucK
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
145
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
146
|
+
rubygems_version: 2.5.2
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Jekyll theme using Materialize for the PuZZleDucK.org blog
|