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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f73e6e8110536513a01f65e3029929cc3156c81
4
- data.tar.gz: 84475356889ca94ea6b3f49afccd102c84ae4f66
3
+ metadata.gz: db5464428e710b6e298a3d49d6088dd3afaa0d15
4
+ data.tar.gz: 8c5a731e25a09053d89f1c3a4f721020e267ae34
5
5
  SHA512:
6
- metadata.gz: c3da0fc79e2c65a57883a14b31026f6d5194ca870f9d543265315f0903b885f64a9a54c92dc39a7e3f32a6fd38c274c69f97a345198beff80236b65265b5d0de
7
- data.tar.gz: dbdebdd82a42959be272440fe4377b954797ae2a1dd9a33b0ce31e1bf702836c42b381202f86cd2ed29aaae4682fb844687432748443c6d3074b3013a8847f71
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 %}
@@ -3,7 +3,7 @@
3
3
 
4
4
  {% include head.html %}
5
5
 
6
- <body>
6
+ <body class="centered">
7
7
 
8
8
  {% include header.html %}
9
9
 
data/_layouts/home.html CHANGED
@@ -6,26 +6,30 @@ layout: default
6
6
 
7
7
  {{ content }}
8
8
 
9
- <div class="row">
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
- <a class="post-link" href="{{ post.url | relative_url }}">
14
- <div class="card primary z-depth-5">
15
- <div class="card-title center">
16
- <h5 class="title">{{ post.title | escape }}</h5>
17
- <hr />
18
- </div>
19
- <div class="post-content center" itemprop="articleBody">
20
- <i class="material-icons small">account_balance</i> - {{ post.date | date: date_format }}
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
- </div>
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 l10 cards-container">
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: KirstyRegular;
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: #828282 !default;
121
- $grey-color-light: lighten($grey-color, 40%) !default;
122
- $grey-color-dark: darken($grey-color, 25%) !default;
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: 1px solid $grey-color-light;
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.1.0
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-10-31 00:00:00.000000000 Z
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.6.11
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