names_are_hard 0.2.7 → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b03b8a2ce71cd828baaf5404597f440e27f5e4b7
4
- data.tar.gz: 486bd77087687072c76e65da84fa8f432071228a
2
+ SHA256:
3
+ metadata.gz: f2e9ee6787da97f89bf321545f26f45f8879dcc164060ca06a8a8ab16e43b591
4
+ data.tar.gz: 910aad235074e90421eeb9d576deff5139cbd4d8359e29a88911d878a3aa697b
5
5
  SHA512:
6
- metadata.gz: c1f133a9ca7545c0509ef7489e37e0be91f5722c29c82c7348f2a9bb9b15496e8eb828af17581a656ff71673328597750f87e6672bd37d149e2de7e6e7e664bd
7
- data.tar.gz: 6cdd39d27907606a6fb7cd1043ba6595208190d994cb77b0ead4eacf1e4423319440f4655126be76dd815a0864ea9f0c16e31aa8f5a6ab86ef5719278ab840ab
6
+ metadata.gz: f75b16412a2d165e270111a7395da98d46923ff0c203b94d9acb6bd0501c191bee4034668093492e658afa6b6c94fbdf0aae250e135ae8e0167554fc6890268d
7
+ data.tar.gz: 48e5d784b41e77059b21cd6a9e7069f7574e0e787abb9f7eda30c88eacc6ec471acdb06053febdd9e57c8e667e3c1bee913b4be89f66cdf0be20e2392ada98bb
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
@@ -2,13 +2,12 @@
2
2
 
3
3
  // use the style reset
4
4
  @import "reset";
5
- @import url('https://fonts.googleapis.com/css?family=Oswald|Roboto+Condensed');
5
+ @import url('https://fonts.googleapis.com/css?family=Oswald|Roboto+Condensed|Roboto+Mono');
6
6
 
7
7
  // fonts
8
- $font-title: 'Oswald',
9
- sans-serif;
10
- $font-main: 'Roboto Condensed',
11
- sans-serif !important;
8
+ $font-title: 'Oswald', sans-serif;
9
+ $font-main: 'Roboto Condensed', sans-serif !important;
10
+ $font-mono: 'Roboto Mono', monospace;
12
11
 
13
12
  // colors
14
13
  $background-color: #142B51 !default;
@@ -53,6 +52,8 @@ body li {
53
52
  background-color: darken($background-color, 10%);
54
53
  color: $foreground-color;
55
54
  font-family: $font-title;
55
+ white-space: nowrap;
56
+
56
57
  }
57
58
 
58
59
  .site-title, .site-link {
@@ -170,17 +171,33 @@ a {
170
171
  }
171
172
  }
172
173
 
174
+ .project-date,
175
+ .post-date {
176
+ font-size: medium;
177
+ margin-left: 5pt;
178
+ display: inline;
179
+ color: darken($foreground-color, 30%);
180
+ }
181
+
173
182
  .post-list a,
174
183
  .project-list a {
175
- color: $foreground-color;
184
+
185
+ color: darken($foreground-color, 30%);
186
+
187
+ .project-title, .post-title
188
+ {
189
+ color: $foreground-color;
190
+ }
191
+
176
192
  text-decoration: none;
177
193
 
178
194
  &:hover {
179
195
  color: $highlight-color;
180
-
181
- .project-title,
182
- .post-title {
196
+ .project-title, .post-title,
197
+ .post-date, .project-date
198
+ {
183
199
  text-decoration: underline;
200
+ color: $highlight-color;
184
201
  }
185
202
  }
186
203
  }
@@ -192,40 +209,38 @@ a {
192
209
  margin-bottom: 25pt;
193
210
  }
194
211
 
195
- .project-title,
196
- .post-title {
197
- display: inline;
212
+ .project-gh::before {
213
+ content: "GitHub: ";
198
214
  }
199
215
 
200
- .project-date,
201
- .post-date {
202
- margin-left: 5pt;
203
- display: inline;
204
- color: darken($foreground-color, 30%);
216
+ .project-gh {
217
+ display: block;
218
+ padding-top: 4pt;
219
+ color: darken($color: $foreground-color, $amount: 30%);
220
+
221
+ &:hover
222
+ {
223
+ text-decoration: underline;
224
+ }
205
225
  }
206
226
 
207
227
  .project-description,
208
228
  .post-description {
209
229
  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%);
230
+ padding-top: 8pt;
231
+ padding-bottom: 10px;
232
+ border-bottom: 1px dashed darken($color: $foreground-color, $amount: 30%);
220
233
  }
221
234
 
222
235
  .page-gh {
223
236
  font-size: 15pt;
224
237
  }
225
238
 
226
- .project-image
239
+ .project-image,
240
+ .post-image
227
241
  {
228
242
  max-height: 300px;
243
+ border: 0.5px dashed darken($color: $foreground-color, $amount: 30%);
229
244
  }
230
245
 
231
246
  .title-wrapper {
@@ -317,7 +332,7 @@ li {
317
332
  pre.highlight {
318
333
  background-color: $code-background-color;
319
334
  color: $code-foreground-color;
320
- font-family: monospace;
335
+ font-family: $font-mono;
321
336
  border: 1px solid black;
322
337
  }
323
338
 
@@ -325,7 +340,7 @@ pre.highlight {
325
340
  code {
326
341
  background-color: $code-background-color;
327
342
  color: $code-foreground-color;
328
- font-family: monospace;
343
+ font-family: $font-mono;
329
344
 
330
345
  padding-left: 3px;
331
346
  padding-right: 3px;
@@ -399,7 +414,7 @@ table {
399
414
  }
400
415
  }
401
416
 
402
- @media screen and (max-width: 1000px)
417
+ @media screen and (max-width: 750px)
403
418
  {
404
419
  .site-title
405
420
  {
@@ -418,8 +433,8 @@ table {
418
433
  .site-header .site-link
419
434
  {
420
435
  position: static;
421
- margin-left: 10px;
422
- margin-right: 10px;
436
+ margin-left: 5px;
437
+ margin-right: 5px;
423
438
  margin-top: 5px;
424
439
  margin-bottom: 5px;
425
440
  width: auto;
@@ -450,12 +465,14 @@ table {
450
465
  max-width: 95%;
451
466
  }
452
467
 
453
- .project
468
+ .project,
469
+ .post
454
470
  {
455
- .project-title, .page-title
471
+ .project-title, .page-title, .post-title
456
472
  {
457
473
  display: block;
458
474
  margin-bottom: 2pt;
475
+ color: $foreground-color;
459
476
  }
460
477
  .project-date, .project-gh, .project-description
461
478
  {
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.7
4
+ version: 0.2.12
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>