j1_template_mde 2018.4.35 → 2018.4.36

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: cae96d300c71a8b958a141d3535c4345c32b93ad
4
- data.tar.gz: 18f4659dff1647711d6a391906f6cb4d545db9bc
3
+ metadata.gz: 48afa71a2fef6a4ba144bc09c9519187d14afffd
4
+ data.tar.gz: 71e86c390fe4b1facc4a1b1fb0ec1b7505b6d738
5
5
  SHA512:
6
- metadata.gz: 9f609b237b5e43a185a68efbbde77d7e13e64ef9a0e92710627a51b4ec00e8aa15ed7ef6cc7d44e796ae85770a9050ab079f07af29740453c5df7c028b520370
7
- data.tar.gz: ce08278b5aff1ab78b6915fa3c893e73fa975f5cdc9e9c50e60ac4726bc0bf2a77dec004989a5d11c3dd732df9db0e64e4f96adc088aa4dfac0c483e8ec3e971
6
+ metadata.gz: 4fffcf90cfbf7782d957f0d41db84c74d5e96626c19aa0e3eefcdbc9b9eaf4ac33fc152007edced54becd0c2a46eb136314376b48c0dfd12edaad02a688a9cd2
7
+ data.tar.gz: 972165e7e148b8baa56b57ded2007adbc2217668fff3d92baec0bab24f120e59d08957c4cbecf5cf5b724d5095c871590858fe806b845be29d8f883b3b21bbfb
@@ -121,7 +121,6 @@
121
121
  e.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}"));
122
122
  document.querySelector("head").appendChild(e);
123
123
  }
124
-
125
124
  </script>
126
125
 
127
126
 
@@ -56,18 +56,18 @@
56
56
  var themeExtensionCss;
57
57
  var themeExtensionCssHtml;
58
58
 
59
- var j1_user_state = {};
60
- var j1_user_state_json;
61
- var j1_user_state_cookie;
59
+ var user_state = {};
60
+ var user_state_json;
61
+ var user_state_cookie;
62
62
 
63
63
  // Detect|Set J1 UserState
64
64
  user_state_detected = j1.existsCookie ( 'j1.user.state' );
65
65
  if ( user_state_detected ) {
66
66
  logger.info('Read UserState cookie');
67
- j1_user_state = j1.getUserStateCookie();
68
- themeName = j1_user_state.theme_name;
69
- themeCss = j1_user_state.theme_css;
70
- themeExtensionCss = j1_user_state.theme_extension_css;
67
+ user_state = j1.getUserStateCookie();
68
+ themeName = user_state.theme_name;
69
+ themeCss = user_state.theme_css;
70
+ themeExtensionCss = user_state.theme_extension_css;
71
71
  } else {
72
72
  logger.warn('UserState cookie NOT found');
73
73
  }
@@ -56,40 +56,40 @@
56
56
 
57
57
  {% comment %} Main
58
58
  -------------------------------------------------------------------------------- {% endcomment %}
59
- <div id="word-cloud" class="row ml-2 mr-3">
59
+ <div id="word-cloud" class="row ml-3 mr-3">
60
60
  <div class="card tagbox raised-z0 mt-0 mb-2">
61
- <div class="tag-cloud">
62
-
63
- {% unless word_list %}
64
- {% assign word_list = 'empty wordlist' %}
65
- <div class="content"><b>Cannot create word cloud. <span class="color-red">EMPTY or INVALID word cloud specified: <i>{{word_list}}</i></span></b></div>
66
- {% else %}
67
- <ul class="content">
68
- {% if source == 'categories' %}
69
- {% for tag in word_array %}
70
- <li>
71
- <a class="toc-link" href="#{{tag|slugify}}">
72
- {{ tag | capitalize }}
73
- <span>{{ site.categories[tag] | size }}</span>
74
- </a>
75
- </li>
76
- {% endfor %}
77
- {% elsif source == 'tags' %}
78
- {% for tag in word_array %}
79
- <li>
80
- <a class="toc-link" href="#{{ tag | replace: '+','_' | replace: ' ','_' | downcase }}">
81
- {{ tag }}
82
- <span>{{ site.tags[tag] | size }}</span>
83
- </a>
84
- </li>
85
- {% endfor %}
86
- {% else %}
87
- {% unless source %} {% assign source = 'wrong parameter or missing' %} {% endunless %}
88
- <b>Cannot create word cloud. <span class="color-red">Unknown SOURCE of word cloud specified: <i>{{source}}</i></span></b>
89
- {% endif %}
90
- </ul>
91
- {% endunless %}
92
61
 
62
+ <div class="tag-cloud">
63
+ {% unless word_list %}
64
+ {% assign word_list = 'empty wordlist' %}
65
+ <div class="content"><b>Cannot create word cloud. <span class="color-red">EMPTY or INVALID word cloud specified: <i>{{word_list}}</i></span></b></div>
66
+ {% else %}
67
+ <ul class="content">
68
+ {% if source == 'categories' %}
69
+ {% for tag in word_array %}
70
+ <li>
71
+ <a href="#{{tag|slugify}}">
72
+ {{ tag | capitalize }}
73
+ <span>{{ site.categories[tag] | size }}</span>
74
+ </a>
75
+ </li>
76
+ {% endfor %}
77
+ {% elsif source == 'tags' %}
78
+ {% for tag in word_array %}
79
+ <li>
80
+ <a href="#{{ tag | replace: '+','_' | replace: ' ','_' | downcase }}">
81
+ {{ tag }}
82
+ <span>{{ site.tags[tag] | size }}</span>
83
+ </a>
84
+ </li>
85
+ {% endfor %}
86
+ {% else %}
87
+ {% unless source %} {% assign source = 'wrong parameter or missing' %} {% endunless %}
88
+ <b>Cannot create word cloud. <span class="color-red">Unknown SOURCE of word cloud specified: <i>{{source}}</i></span></b>
89
+ {% endif %}
90
+ </ul>
91
+ {% endunless %}
93
92
  </div> <!-- end tag-cloud -->
93
+
94
94
  </div><!-- end card -->
95
95
  </div><!-- end row -->
@@ -1,7 +1,7 @@
1
1
  {% comment %}
2
2
  # -----------------------------------------------------------------------------
3
- # ~/_includes/themes/j1/procedures/posts/pager.proc
4
- # HTML/Liquid procedure to create a pagination for pages of type "post"
3
+ # ~/_includes/themes/j1/procedures/global/pager.proc
4
+ # HTML/Liquid procedure to create a paginator for pages of type "post"
5
5
  #
6
6
  # Product/Info:
7
7
  # http://jekyll.one
@@ -37,38 +37,35 @@
37
37
  <div class="paginator">
38
38
  <ul class="pagination raised-z0">
39
39
 
40
+ {% comment %} Set PREVIOUS page
41
+ -------------------------------------------------------------------------- {% endcomment %}
40
42
  {% if page.previous %}
41
43
  <li class="page-item"><a class="page-link" href="{{ base_path }}{{ page.previous.url }}" title="{{ page.previous.title }}">Prev</a></li>
42
44
  {% else %}
43
45
  <li class="page-item disabled"><a class="page-link">Prev</a></li>
44
46
  {% endif %}
45
- <!-- [INFO ] [j1.posts.pager.proc ] [Load the current posts browser page from cookie: {{ builder_path }}] -->
46
- <script>
47
- /* Manage the current pager settings */
48
- /* TODO: 2018-12-13, fix the last|current_page settings */
49
- var re;
50
- var j1_user_state;
51
- var lastPager;
52
-
53
- var user_state_detected = j1.existsCookie ( 'j1.user.state' );
54
- if ( user_state_detected ) {
55
- re = new RegExp("navigator|dateview|tagview|archive");
56
- j1_user_state = j1.getUserStateCookie();
57
- if (re.test(j1_user_state.current_page)) {
58
- lastPager = j1_user_state.current_page; /* switched to !!current_page!! */
59
- j1.setUserStateCookie( {last_pager:lastPager} );
60
- } else {
61
- lastPager = j1_user_state.last_pager;
62
- }
63
- } else {
64
- /* Fallback to root|index.html */
65
- lastPager = '/'
66
- }
67
47
 
68
- <!-- [INFO ] [j1.page.{{page.title}} ] [Read BackURL from User State Cookie: {{ browser_page_url }}] -->
69
- var setBackURL = '<li class="page-item"><a class="page-link" href="' + lastPager + '" title="Back to Top Page">Back</a></li>';
70
- document.write(setBackURL);
48
+ {% comment %} Set BACK page (PagerURL)
49
+ -------------------------------------------------------------------------- {% endcomment %}
50
+ <!-- [INFO ] [j1.posts.pager.proc ] [Manage the current pager settings for: {{ builder_path }}] -->
51
+ <script>
52
+ var user_state = j1.getUserStateCookie();
53
+ var re = new RegExp("navigator|dateview|tagview|archive");
54
+ var last_pager = user_state.last_pager;
55
+ var last_pager_url;
56
+
57
+ <!-- [INFO ] [j1.page.{{page.title}} ] [Calculate BackURL from User State Cookie] -->
58
+ if (re.test(last_pager)) {
59
+ last_pager_url = '<li class="page-item"><a class="page-link" href="' + last_pager + '" title="Back to Top Page">Back</a></li>';
60
+ } else {
61
+ last_pager_url = '<li class="page-item disabled"><a class="page-link" title="Back to Top Page">Back</a></li>';
62
+ }
63
+ document.write( last_pager_url );
64
+ j1.setUserStateCookie( user_state );
71
65
  </script>
66
+
67
+ {% comment %} Set NEXT page
68
+ -------------------------------------------------------------------------- {% endcomment %}
72
69
  {% if page.next %}
73
70
  <li class="page-item"><a class="page-link" href="{{ base_path }}{{ page.next.url }}" title="{{ page.next.title }}">Next</a></li>
74
71
  {% else %}
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2018.4.35'
2
+ VERSION = '2018.4.36'
3
3
  end
@@ -46,7 +46,7 @@ gem 'jekyll', '~> 3.8.5'
46
46
  # Theme Rubies
47
47
  # Default: J1 Template
48
48
  #
49
- gem 'j1_template_mde', '~> 2018.4.35'
49
+ gem 'j1_template_mde', '~> 2018.4.36'
50
50
 
51
51
  # --------------------------------------------------------------------
52
52
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -60,7 +60,7 @@ environment: development
60
60
  # anything here because version information is bumped-in by
61
61
  # the build process
62
62
  #
63
- version: 2018.4.35
63
+ version: 2018.4.36
64
64
 
65
65
 
66
66
  # ==============================================================================
@@ -216,6 +216,10 @@
216
216
  href: http://www.freeformatter.com/
217
217
  target: blank
218
218
  icon: cached
219
+ - title: Convert CSS to Sass
220
+ href: http://sebastianpontow.de/css2compass/
221
+ target: blank
222
+ icon: language-css3
219
223
  - title: CSS Matic Tools
220
224
  href: https://www.cssmatic.com
221
225
  target: blank
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "web",
4
- "version": "2018.4.35",
4
+ "version": "2018.4.36",
5
5
  "description": "Web/Content sources for J1 Starter",
6
6
  "main": "_config.yml",
7
7
  "config": {
@@ -3518,183 +3518,182 @@ h2.featured-headline, h3.featured-headline {
3518
3518
  #
3519
3519
  # J1 Template is licensed under the MIT License.
3520
3520
  # See: https://github.com/jekyll-one/j1_template_mde/blob/master/LICENSE
3521
- #
3521
+ # -----------------------------------------------------------------------------
3522
+ # NOTE: Inspired by Justin James
3523
+ # See: http://digitaldrummerj.me/
3524
+ # https://github.com/digitaldrummerj/digitaldrummerj.github.io
3522
3525
  # -----------------------------------------------------------------------------
3523
3526
  */
3524
- /* Content
3525
- ---------------------------------------------------------------------------- */
3526
- /* Service link block
3527
- ---------------------------------------------------------------------------- */
3527
+ /* Tag Box classes
3528
+ -------------------------------------------------------------------------------- */
3529
+ .tag-box:before, .tag-box:after {
3530
+ display: table;
3531
+ content: "";
3532
+ line-height: 0; }
3533
+
3528
3534
  .tag-box {
3529
3535
  list-style: none;
3530
3536
  margin: 0;
3531
3537
  padding: 4px 0;
3532
3538
  overflow: hidden;
3533
3539
  *zoom: 1; }
3540
+ .tag-box:after {
3541
+ clear: both; }
3542
+ .tag-box a {
3543
+ padding: 4px 6px;
3544
+ margin: 2px;
3545
+ color: #fafafa;
3546
+ background-color: #e91e63;
3547
+ border-radius: 4px;
3548
+ text-decoration: none; }
3549
+ .tag-box a span {
3550
+ vertical-align: super;
3551
+ font-size: 0.9rem; }
3552
+ .tag-box.inline li {
3553
+ float: left;
3554
+ font-size: 1.25rem;
3555
+ font-weight: 600;
3556
+ line-height: 2.5; }
3534
3557
 
3535
- .tag-box:before, .tag-box:after {
3536
- display: table;
3537
- content: "";
3538
- line-height: 0; }
3539
-
3540
- .tag-box:after {
3541
- clear: both; }
3542
-
3543
- .tag-box.inline li {
3544
- float: left;
3545
- font-size: 1.25rem;
3546
- font-weight: 600;
3547
- line-height: 2.5; }
3548
-
3549
- .tag-box a {
3550
- padding: 4px 6px;
3551
- margin: 2px;
3552
- color: #FAFAFA;
3553
- background-color: #E91E63;
3554
- -webkit-border-radius: 4px;
3555
- -moz-border-radius: 4px;
3556
- border-radius: 4px;
3557
- text-decoration: none; }
3558
+ /* Tag Cloud classes
3559
+ -------------------------------------------------------------------------------- */
3560
+ .tag-cloud {
3561
+ margin-bottom: 10px;
3562
+ margin-top: 20px; }
3563
+ .tag-cloud ul {
3564
+ margin: 0;
3565
+ padding: 0;
3566
+ list-style: none; }
3567
+ .tag-cloud ul li {
3568
+ display: inline-block;
3569
+ margin: 0 .3em .3em 0;
3570
+ padding: 0; }
3571
+ .tag-cloud ul li a {
3572
+ position: relative;
3573
+ display: inline-block;
3574
+ line-height: 1.75rem;
3575
+ padding: 0 2em 0 1em;
3576
+ background-color: #3f51b5;
3577
+ border-radius: 3px;
3578
+ white-space: nowrap;
3579
+ text-overflow: ellipsis;
3580
+ overflow: hidden;
3581
+ color: #fafafa;
3582
+ font-size: 1rem !important;
3583
+ font-weight: 400;
3584
+ text-decoration: none;
3585
+ transition: .2s; }
3586
+ .tag-cloud ul li a:hover {
3587
+ background-color: #7986cb; }
3588
+ .tag-cloud ul li a:hover span {
3589
+ color: #7986cb; }
3590
+ .tag-cloud ul li span {
3591
+ position: absolute;
3592
+ top: 5px;
3593
+ right: 6px;
3594
+ z-index: 2;
3595
+ width: 20px;
3596
+ height: 20px;
3597
+ line-height: 1.5;
3598
+ background-color: #e8eaf6;
3599
+ border-radius: 100%;
3600
+ color: #000;
3601
+ font-size: 11px;
3602
+ padding: 3px;
3603
+ margin: -1px 0 5px 5px;
3604
+ text-align: center;
3605
+ transition: .2s; }
3606
+ .tag-cloud ul.cloud li {
3607
+ margin: 0; }
3608
+ .tag-cloud ul.cloud li a {
3609
+ padding: 0 1em;
3610
+ padding-top: 5px;
3611
+ padding-bottom: 5px; }
3558
3612
 
3559
- .tag-box a span {
3560
- vertical-align: super;
3561
- font-size: 0.9rem; }
3613
+ .tag-numerator .badge {
3614
+ padding: 5px 20px;
3615
+ background-color: #616161; }
3562
3616
 
3563
- .page, .post {
3564
- margin-bottom: 4em; }
3617
+ /* Unused classes (potentially conflicts with other POST classes)
3618
+ -------------------------------------------------------------------------------- */
3619
+ /*
3620
+ .page,.post {
3621
+ margin-bottom: 4em
3622
+ }
3565
3623
 
3566
- .page-title, .post-title, .post-title a {
3567
- color: #303030; }
3624
+ .page-title,.post-title,.post-title a {
3625
+ color: #303030
3626
+ }
3568
3627
 
3569
- .page-title, .post-title {
3570
- margin-top: 0; }
3628
+ .page-title,.post-title {
3629
+ margin-top: 0
3630
+ }
3571
3631
 
3572
3632
  .post-date {
3573
- display: block;
3574
- margin-top: -.5rem;
3575
- margin-bottom: 1rem;
3576
- color: #9a9a9a; }
3633
+ display: block;
3634
+ margin-top: -.5rem;
3635
+ margin-bottom: 1rem;
3636
+ color: #9a9a9a
3637
+ }
3577
3638
 
3578
3639
  ul.posts {
3579
- list-style-type: none;
3580
- margin-bottom: 2rem;
3581
- padding: 0; }
3640
+ list-style-type: none;
3641
+ margin-bottom: 2rem;
3642
+ padding: 0
3643
+ }
3582
3644
 
3583
3645
  ul.posts li {
3584
- padding: 0.2rem 0; }
3646
+ padding: 0.2rem 0
3647
+ }
3585
3648
 
3586
3649
  ul.posts li span {
3587
- color: #9E9E9E;
3588
- margin-left: 2rem;
3589
- font-size: 2rem;
3590
- font-weight: 600; }
3650
+ color: #9E9E9E;
3651
+ margin-left: 2rem;
3652
+ font-size: 2rem;
3653
+ font-weight: 600;
3654
+ }
3591
3655
 
3592
3656
  ul.posts li a {
3593
- /* color: #9E9E9E; */
3594
- font-size: 1.75rem;
3595
- font-weight: 400; }
3657
+ font-size: 1.75rem;
3658
+ font-weight: 400;
3659
+ }
3596
3660
 
3597
3661
  ul.posts li a:hover {
3598
- color: #9E9E9E;
3599
- text-decoration: none;
3600
- font-weight: 600; }
3662
+ color: #9E9E9E;
3663
+ text-decoration: none;
3664
+ font-weight: 600;
3665
+ }
3601
3666
 
3602
3667
  .related {
3603
- padding-top: 2rem;
3604
- padding-bottom: 2rem;
3605
- border-top: 1px solid #eee; }
3668
+ padding-top: 2rem;
3669
+ padding-bottom: 2rem;
3670
+ border-top: 1px solid #eee
3671
+ }
3606
3672
 
3607
3673
  .related-posts {
3608
- padding-left: 0;
3609
- list-style: none; }
3674
+ padding-left: 0;
3675
+ list-style: none
3676
+ }
3610
3677
 
3611
3678
  .related-posts h3 {
3612
- margin-top: 0; }
3679
+ margin-top: 0
3680
+ }
3613
3681
 
3614
3682
  .related-posts li small {
3615
- font-size: 75%;
3616
- color: #999; }
3683
+ font-size: 75%;
3684
+ color: #999
3685
+ }
3617
3686
 
3618
3687
  .related-posts li a:hover {
3619
- color: #268bd2;
3620
- text-decoration: none; }
3688
+ color: #268bd2;
3689
+ text-decoration: none
3690
+ }
3621
3691
 
3622
3692
  .related-posts li a:hover small {
3623
- color: inherit; }
3624
-
3625
- /* Tag Cloud classes
3626
- Inspired by Justin James.
3627
- See: http://digitaldrummerj.me/,
3628
- https://github.com/digitaldrummerj/digitaldrummerj.github.io
3629
- ---------------------------------------------------------------------------- */
3630
- .tag-cloud {
3631
- margin-bottom: 10px;
3632
- margin-top: 20px; }
3633
-
3634
- .tag-cloud ul.cloud li {
3635
- margin: 0; }
3636
-
3637
- .tag-cloud ul.cloud li a {
3638
- padding: 0 1em 0 1em;
3639
- /* border: none !important; */
3640
- padding-top: 5px;
3641
- padding-bottom: 5px; }
3642
-
3643
- .tag-cloud ul {
3644
- margin: 0;
3645
- padding: 0;
3646
- list-style: none; }
3647
-
3648
- .tag-cloud ul li {
3649
- display: inline-block;
3650
- margin: 0 .3em .3em 0;
3651
- padding: 0; }
3652
-
3653
- .tag-cloud ul li a {
3654
- position: relative;
3655
- display: inline-block;
3656
- line-height: 1.75rem;
3657
- padding: 0 2em 0 1em;
3658
- background-color: #3F51B5;
3659
- border-radius: 3px;
3660
- white-space: nowrap;
3661
- text-overflow: ellipsis;
3662
- overflow: hidden;
3663
- color: #FAFAFA;
3664
- font-size: 1rem !important;
3665
- font-weight: 400;
3666
- text-decoration: none;
3667
- -webkit-transition: .2s;
3668
- transition: .2s; }
3669
-
3670
- .tag-cloud ul li a:hover {
3671
- background-color: #1A237E; }
3672
-
3673
- .tag-cloud ul li a:hover span {
3674
- color: #1A237E; }
3675
-
3676
- .tag-cloud ul li span {
3677
- position: absolute;
3678
- top: 5px;
3679
- right: 5px;
3680
- z-index: 2;
3681
- width: 20px;
3682
- height: 20px;
3683
- line-height: 1.5;
3684
- background-color: #fff;
3685
- border-radius: 100%;
3686
- color: #000;
3687
- font-size: 11px;
3688
- padding: 3px;
3689
- margin: -1px 0px 5px 5px;
3690
- text-align: center;
3691
- -webkit-transition: .2s;
3692
- transition: .2s; }
3693
-
3694
- .tag-numerator .badge {
3695
- padding: 5px 20px;
3696
- background-color: #444; }
3693
+ color: inherit
3694
+ }
3697
3695
 
3696
+ */
3698
3697
  /*
3699
3698
  # -----------------------------------------------------------------------------
3700
3699
  # ~/scss/vendor/mde/_typography.scss
@@ -8596,8 +8595,7 @@ table.s-tag-table td {
8596
8595
  @media screen and (max-width: 800px) {
8597
8596
  .col-list .module {
8598
8597
  overflow-x: auto; }
8599
- .col-list .col-2 > div,
8600
- .col-list .col-3 > div {
8598
+ .col-list .col-2 > div, .col-list .col-3 > div {
8601
8599
  width: 100%;
8602
8600
  margin: 20px 0; } }
8603
8601
 
@@ -9054,11 +9052,8 @@ a.bg-pink:focus, a.bg-pink:hover {
9054
9052
  .nav-pills .nav-link.active:focus,
9055
9053
  .nav-pills .nav-link.active:hover,
9056
9054
  .nav-pills .nav-item.open .nav-link,
9057
- .nav-pills .nav-item.open
9058
- .nav-link:focus,
9059
- .nav-pills
9060
- .nav-item.open
9061
- .nav-link:hover {
9055
+ .nav-pills .nav-item.open .nav-link:focus,
9056
+ .nav-pills .nav-item.open .nav-link:hover {
9062
9057
  background-color: #3f51b5;
9063
9058
  color: #f5f5f5; }
9064
9059