forest-time-jekyll 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/home.html +45 -25
  3. data/_sass/main.scss +15 -33
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad8deeba0523a673de2120827d58989f7cd68473d4fc325611931ab77004ca0e
4
- data.tar.gz: 55cab70aa8fd64bfa95428516775ef3574f2e119cd60eb9f2dff32aac9ca002d
3
+ metadata.gz: b528c4314875bfe1c3c50da588bafc5ff6cbc687cbd189937ff1e90be01bab15
4
+ data.tar.gz: 2a6fd172c4ec01c7104f28c20630c571bde80f5af053496fa16d864efc1b3c64
5
5
  SHA512:
6
- metadata.gz: ada3bff8f8d761d8f74051d7194df86315f59bbe5e140775f89b666a25c90f4a08c23b2f84fad3e0ca1f9c72893089ee83063a279e37e3034dfa44d5d8e5d8c9
7
- data.tar.gz: 54823cab3b82e76996c035a838e3e38e96e7c2cd2e66c9a968edf001961e43e132deecec4b584b7de5507d1d42753ffcedfccea13a4f6c005d0b67a658caa946
6
+ metadata.gz: 801b3d3df4f079c4e0297dbe0254afcbead9f8ab84a7c0cda9e9b3de70783f8efb590650b44f2740de9ec3d8533f84372fbb9201d643334bfb9eb616f3d37a13
7
+ data.tar.gz: '0449f409b9cfdeb41c5d175aa1adb61ae2be763e92d4216987eb41ac7ad31add52e6f2e5aef63b9ccd1732ccd80aa4053da27e350db042541d07cf162e9bfbc6'
data/_layouts/home.html CHANGED
@@ -7,36 +7,56 @@ layout: default
7
7
 
8
8
  <!-- paginated posts -->
9
9
  <section>
10
- {% for post in paginator.posts %}
11
10
  <ul>
12
- <li>
13
- <div class="post-date"> <span>{{ post.date | date: "%b %d" }}</span> </div>
14
- <div class="title">
15
- <a href="{{ post.url | prepend: site.baseurl }}"> {{ post.title }} </a>
16
- </div>
17
- <div class="description"> {{ post.description}} </div>
18
- </li>
11
+ {% for post in paginator.posts %}
12
+ <li>
13
+ <div class="post-date">
14
+ <time>
15
+ {% assign m = post.date | date: "%-m" %}
16
+ {{ post.date | date: "%-d" }}
17
+ {% case m %}
18
+ {% when '1' %} {{ site.data.ui-text.months.january }}
19
+ {% when '2' %} {{ site.data.ui-text.months.february }}
20
+ {% when '3' %} {{ site.data.ui-text.months.march }}
21
+ {% when '4' %} {{ site.data.ui-text.months.april }}
22
+ {% when '5' %} {{ site.data.ui-text.months.may }}
23
+ {% when '6' %} {{ site.data.ui-text.months.june }}
24
+ {% when '7' %} {{ site.data.ui-text.months.july }}
25
+ {% when '8' %} {{ site.data.ui-text.months.august }}
26
+ {% when '9' %} {{ site.data.ui-text.months.september }}
27
+ {% when '10' %} {{ site.data.ui-text.months.october }}
28
+ {% when '11' %} {{ site.data.ui-text.months.november }}
29
+ {% when '12' %} {{ site.data.ui-text.months.december }}
30
+ {% endcase %}
31
+ {{ post.date | date: "%Y" }}
32
+ </time>
33
+ </div>
34
+ <div class="title">
35
+ <a href="{{ post.url | prepend: site.baseurl }}"> {{ post.title }} </a>
36
+ </div>
37
+ <div class="description"> {{ post.description}} </div>
38
+ </li>
39
+ {% endfor %}
19
40
  </ul>
20
- {% endfor %}
21
41
  </section>
22
42
 
23
43
  <!-- Pagination links -->
24
44
  {% if paginator.total_pages > 1 %}
25
- <section>
26
- <div class="pagination">
27
- {% if paginator.previous_page %}
28
- <a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="previous">
29
- {{ site.data.ui-text.previous }}
30
- </a>
31
- {% endif %}
45
+ <section>
46
+ <div class="pagination">
47
+ {% if paginator.previous_page %}
48
+ <a href="{{ site.baseurl }}{{ paginator.previous_page_path }}" class="previous">
49
+ {{ site.data.ui-text.previous }}
50
+ </a>
51
+ {% endif %}
32
52
 
33
- <span class="page_number ">
34
- {{ site.data.ui-text.page }} {{ paginator.page }} {{ site.data.ui-text.of }} {{ paginator.total_pages }}
35
- </span>
53
+ <span class="page_number ">
54
+ {{ site.data.ui-text.page }} {{ paginator.page }} {{ site.data.ui-text.of }} {{ paginator.total_pages }}
55
+ </span>
36
56
 
37
- {% if paginator.next_page %}
38
- <a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="next">{{ site.data.ui-text.next }}</a>
39
- {% endif %}
40
- </div>
41
- </section>
42
- {% endif %}
57
+ {% if paginator.next_page %}
58
+ <a href="{{ site.baseurl }}{{ paginator.next_page_path }}" class="next">{{ site.data.ui-text.next }}</a>
59
+ {% endif %}
60
+ </div>
61
+ </section>
62
+ {% endif %}
data/_sass/main.scss CHANGED
@@ -77,10 +77,9 @@ mark {
77
77
  }
78
78
 
79
79
  blockquote {
80
- // border: 1px solid #81D4FA;
81
- border-left: 5px solid #81D4FA; // border-radius: 4px;
80
+ border-left: 5px solid #81D4FA;
82
81
  margin: 40px 0;
83
- padding: 5px 30px; // background: #E1F5FE;
82
+ padding: 5px 30px;
84
83
  font-style: italic;
85
84
  }
86
85
 
@@ -316,7 +315,7 @@ article {
316
315
  text-align: center;
317
316
  max-width: $max-width;
318
317
  margin: 0 auto;
319
- font-size: 0.9rem;
318
+ font-size: 1rem;
320
319
  }
321
320
 
322
321
  .page-navigation {
@@ -342,42 +341,36 @@ article {
342
341
 
343
342
  section {
344
343
  max-width: $max-width--home;
345
- margin: 0 auto 50px auto;
344
+ margin: 0 auto 70px auto;
346
345
  ul {
347
346
  list-style: none;
348
347
  margin: 0;
349
348
  padding: 0;
350
349
  li {
351
- margin: 25px 0;
350
+ margin: 35px 0;
352
351
  .description {
353
352
  color: gray;
354
- font-size: 15px;
353
+ font-size: 16px;
354
+ margin-top: 10px;
355
355
  }
356
356
  .title {
357
- font-size: larger;
357
+ font-size: 22px;
358
358
  max-width: 100%;
359
359
  word-wrap: normal !important;
360
360
  }
361
- a {
362
- text-decoration: none;
363
- font-weight: normal;
364
- border: 0;
365
- color: #000;
366
- box-sizing: border-box;
361
+ a {
362
+ color: #3d3d3d;
367
363
  }
368
364
  .post-date {
369
365
  float: right;
370
366
  margin: 0 0 0 20px;
371
367
  }
372
- span {
368
+ time {
373
369
  display: inline-block;
374
370
  color: #757575;
375
- letter-spacing: 1px;
376
- text-transform: uppercase;
377
371
  }
378
372
  @media (min-width: 992px) {
379
373
  a {
380
- // border-bottom: 2px solid transparent;
381
374
  &:hover {
382
375
  border-color: #000;
383
376
  }
@@ -505,7 +498,6 @@ article .c-post-header {
505
498
  }
506
499
 
507
500
  .c-article__meta--link {
508
- font-weight: inherit;
509
501
  color: inherit;
510
502
  &:hover {
511
503
  text-decoration: underline;
@@ -513,10 +505,6 @@ article .c-post-header {
513
505
  }
514
506
  }
515
507
 
516
- .c-post--highlighted {
517
- // font-weight: 700;
518
- }
519
-
520
508
  .c-post-header__subtitle {
521
509
  font-size: 1.2rem;
522
510
  color: #555;
@@ -526,10 +514,7 @@ article .c-post-header {
526
514
  text-align: center;
527
515
  color: #777;
528
516
  font-style: italic;
529
- margin-top: 1rem;
530
- p {
531
- // color: #777;
532
- }
517
+ margin-top: 1rem;
533
518
  }
534
519
 
535
520
  .c-bio__avatar {
@@ -579,20 +564,17 @@ a.phantom {
579
564
  }
580
565
 
581
566
  .alert {
567
+ font-size: medium;
582
568
  position: relative;
583
569
  padding: .75rem 1.25rem;
584
- margin-bottom: 1rem;
570
+ margin-bottom: 3rem;
585
571
  border: 1px solid transparent;
586
572
  border-radius: .15rem;
587
- font-size: medium;
573
+ margin-top: 60px;
588
574
  }
589
575
 
590
576
  .alert-light {
591
577
  color: #717171;
592
578
  background-color: #f6f6f6;
593
579
  border-color: #e4e4e4;
594
- }
595
-
596
- .alert-bottom {
597
- margin-top: 50px;
598
580
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest-time-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudiu Constantin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-08 00:00:00.000000000 Z
11
+ date: 2018-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll