names_are_hard 0.2.6 → 0.2.11

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
- SHA1:
3
- metadata.gz: 4448379e73f1ed2a1e29e9c798e9d638f4b70adb
4
- data.tar.gz: dfcb1275ffa1409ac1334cd734f8ac5a3d468e26
2
+ SHA256:
3
+ metadata.gz: '058008645c2a0f44311992fcef0ab573d3e88a8769df25de40fa90bdaea6b49e'
4
+ data.tar.gz: 4545f391169b0f17d5b8c9027c6ae0752febd069fe5ae1432e7f83a603877d1a
5
5
  SHA512:
6
- metadata.gz: 7d8cd643409cbf13f13833c07d28f356a04c0de7687d1bbb26b9d4aa6f00723b979bcb9a1f7b094abe31a271760aa31a7293f125f90c575b60464113bdd78771
7
- data.tar.gz: cf0644b776cd192871ca3deb68c1ad09e85f833d166a2efed55f936821d57207fc3c8f9e3fc80559272d9f96bd48fdd211405db52aeae332be733469726391d1
6
+ metadata.gz: ddc6ebf1a9a8381f7df812e9624d3f1b238c2383d97e107097ab8561f0033e6f7b05cb24431cafee6a5999e04bd0824e1b65944dc519fac011297006a7d0ab4a
7
+ data.tar.gz: a6c77055dba14b7b3717e64c4574d2585d922e48215996905eb85813740929d87199b4cc3c8ec2cf4e83af36c6939a705faf6c762c1e85243d21cdb13ef4d238
File without changes
data/README.md CHANGED
File without changes
File without changes
File without changes
@@ -5,11 +5,8 @@
5
5
  <a class="site-link" href="{{ "/posts" | relative_url }}">
6
6
  Posts
7
7
  </a>
8
- <a class="site-link" href="{{ "/projects" | relative_url }}">
9
- Projects
10
- </a>
11
8
  <a class="site-link" href="{{ "/about" | relative_url }}">
12
9
  About
13
10
  </a>
14
- <a class="github-link" href="https://github.com/{{ site.github_username }}">github.com/{{ site.github_username }}</a>
11
+ <a class="github-link site-link" href="https://github.com/{{ site.github_username }}">github.com/{{ site.github_username }}</a>
15
12
  </header>
@@ -1,18 +1,23 @@
1
1
  <div class="post-list">
2
2
  {% for post in site.posts %}
3
- {% unless post.tags contains "project" %}
4
3
  <div class="post">
5
4
  <a href="{{ post.url }}">
6
5
  <h2 class="post-title">
7
6
  {{ post.title }}
7
+ <div class="post-date">{{ post.date | date: "%B %Y" }}</div>
8
8
  </h2>
9
- <div class="post-date">{{ post.date | date_to_long_string }}</div>
10
- <br />
11
- <div class="post-description">
12
- {{ post.description | strip_html | truncatewords:50 }}
13
- </div>
14
9
  </a>
10
+ {% if post.github_url %}
11
+ <a href="{{ post.github_url }}" class="project-gh">
12
+ {{ post.github_short }}
13
+ </a>
14
+ {% endif %}
15
+ <div class="post-description">
16
+ {{ post.description | strip_html | truncatewords:50 }}
17
+ </div>
18
+ {% if post.image %}
19
+ <img class="post-image" alt="Image of {{ post.title }}" src="{{ site.baseurl }}{{ post.image }}" />
20
+ {% endif %}
15
21
  </div>
16
- {% endunless %}
17
22
  {% endfor %}
18
- </div>
23
+ </div>
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -53,6 +53,8 @@ body li {
53
53
  background-color: darken($background-color, 10%);
54
54
  color: $foreground-color;
55
55
  font-family: $font-title;
56
+ white-space: nowrap;
57
+
56
58
  }
57
59
 
58
60
  .site-title, .site-link {
@@ -170,17 +172,33 @@ a {
170
172
  }
171
173
  }
172
174
 
175
+ .project-date,
176
+ .post-date {
177
+ font-size: medium;
178
+ margin-left: 5pt;
179
+ display: inline;
180
+ color: darken($foreground-color, 30%);
181
+ }
182
+
173
183
  .post-list a,
174
184
  .project-list a {
175
- color: $foreground-color;
185
+
186
+ color: darken($foreground-color, 30%);
187
+
188
+ .project-title, .post-title
189
+ {
190
+ color: $foreground-color;
191
+ }
192
+
176
193
  text-decoration: none;
177
194
 
178
195
  &:hover {
179
196
  color: $highlight-color;
180
-
181
- .project-title,
182
- .post-title {
197
+ .project-title, .post-title,
198
+ .post-date, .project-date
199
+ {
183
200
  text-decoration: underline;
201
+ color: $highlight-color;
184
202
  }
185
203
  }
186
204
  }
@@ -192,40 +210,38 @@ a {
192
210
  margin-bottom: 25pt;
193
211
  }
194
212
 
195
- .project-title,
196
- .post-title {
197
- display: inline;
213
+ .project-gh::before {
214
+ content: "GitHub: ";
198
215
  }
199
216
 
200
- .project-date,
201
- .post-date {
202
- margin-left: 5pt;
203
- display: inline;
204
- color: darken($foreground-color, 30%);
217
+ .project-gh {
218
+ display: block;
219
+ padding-top: 4pt;
220
+ color: darken($color: $foreground-color, $amount: 30%);
221
+
222
+ &:hover
223
+ {
224
+ text-decoration: underline;
225
+ }
205
226
  }
206
227
 
207
228
  .project-description,
208
229
  .post-description {
209
230
  display: inline-block;
210
- padding-top: 2pt;
211
- }
212
-
213
- .project-gh::before {
214
- content: "GitHub: ";
215
- }
216
-
217
- .project-gh {
218
- margin-left: 5pt;
219
- color: darken($color: $foreground-color, $amount: 30%);
231
+ padding-top: 8pt;
232
+ padding-bottom: 10px;
233
+ border-bottom: 1px dashed darken($color: $foreground-color, $amount: 30%);
220
234
  }
221
235
 
222
236
  .page-gh {
223
237
  font-size: 15pt;
224
238
  }
225
239
 
226
- .project-image
240
+ .project-image,
241
+ .post-image
227
242
  {
228
243
  max-height: 300px;
244
+ border: 0.5px dashed darken($color: $foreground-color, $amount: 30%);
229
245
  }
230
246
 
231
247
  .title-wrapper {
@@ -399,7 +415,7 @@ table {
399
415
  }
400
416
  }
401
417
 
402
- @media screen and (max-width: 800px)
418
+ @media screen and (max-width: 750px)
403
419
  {
404
420
  .site-title
405
421
  {
@@ -418,8 +434,8 @@ table {
418
434
  .site-header .site-link
419
435
  {
420
436
  position: static;
421
- margin-left: 10px;
422
- margin-right: 10px;
437
+ margin-left: 5px;
438
+ margin-right: 5px;
423
439
  margin-top: 5px;
424
440
  margin-bottom: 5px;
425
441
  width: auto;
@@ -450,12 +466,14 @@ table {
450
466
  max-width: 95%;
451
467
  }
452
468
 
453
- .project
469
+ .project,
470
+ .post
454
471
  {
455
- .project-title, .page-title
472
+ .project-title, .page-title, .post-title
456
473
  {
457
474
  display: block;
458
475
  margin-bottom: 2pt;
476
+ color: $foreground-color;
459
477
  }
460
478
  .project-date, .project-gh, .project-description
461
479
  {
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: names_are_hard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Johnston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-06 00:00:00.000000000 Z
11
+ date: 2020-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.6'
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.6'
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.12'
33
+ version: 2.1.4
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.12'
40
+ version: 2.1.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: 12.3.3
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: 12.3.3
55
55
  description:
56
56
  email:
57
57
  - chjohnston@protonmail.com
@@ -65,7 +65,6 @@ files:
65
65
  - _includes/head.html
66
66
  - _includes/header.html
67
67
  - _includes/post_list.html
68
- - _includes/project_list.html
69
68
  - _includes/simple_page_head.html
70
69
  - _layouts/boring.html
71
70
  - _layouts/home.html
@@ -94,8 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
93
  - !ruby/object:Gem::Version
95
94
  version: '0'
96
95
  requirements: []
97
- rubyforge_project:
98
- rubygems_version: 2.6.14.3
96
+ rubygems_version: 3.1.2
99
97
  signing_key:
100
98
  specification_version: 4
101
99
  summary: This is a theme used for the website of github user Chris-Johnston.
@@ -1,26 +0,0 @@
1
- <div class="project-list">
2
- {% for post in site.posts %}
3
- {% if post.tags contains "project" %}
4
- <div class="project">
5
- <a href="{{ post.url }}">
6
- <h2 class="project-title">
7
- {{ post.title }}
8
- </h2>
9
- <div class="project-date">{{ post.date | date: "%B %Y" }}</div>
10
- </a>
11
- {% if post.github_url %}
12
- <a href="{{ post.github_url }}" class="project-gh">
13
- {{ post.github_short }}
14
- </a>
15
- {% endif %}
16
- <br />
17
- <div class="project-description">
18
- {{ post.description | strip_html | truncatewords:50 }}
19
- </div>
20
- {% if post.image %}
21
- <img class="project-image" alt="Image of {{ post.title }}" src="{{ site.baseurl }}{{ post.image }}" />
22
- {% endif %}
23
- </div>
24
- {% endif %}
25
- {% endfor %}
26
- </div>