jumbo-jekyll-theme 4.1.6 → 4.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
  SHA256:
3
- metadata.gz: 7a2d19163da94304448061d6124b0a330967f4489bd1f7e7076f26e6bbbfe55e
4
- data.tar.gz: d01d361d7592f631d7caff8c4e3affe94ca7d55fda6fde81eef36acd259d02b3
3
+ metadata.gz: '091acf39b39cad805c3a23f8ca10a8fde1424d0c375622496f2bcf314b772d1f'
4
+ data.tar.gz: 02e417dfe056b28e3e2e465c18c8bf6de61189071b2104e98b764ecf1a41fb57
5
5
  SHA512:
6
- metadata.gz: 15b87b29fbacf19987bf7313cdee9aa454a1b0211b84cb8fdd00342b6d15088412e6d5cbd122f3ba2846e9cbe0da0479b2d5fca1c21dcd8d93bae447ec550f8b
7
- data.tar.gz: b96991e0e1c1f55df51d85e8f194c40ec8d6b140ce9f14dbeea34c6e3245a9431b7213d82b7cec4379a794de08f78dc7e860cc1a7d61427a86ed812cb7075f1c
6
+ metadata.gz: '083b07070be7bcaea73b116f6a6a4973a32a745fbf1890c98f035e6f665390f78121e6396adeb90d079464a8acc6c80113f4a981c1702dcaf55aeb69d2ec4c1e'
7
+ data.tar.gz: 566330fa9789d58e44c61a8ea17e317a34532e4e20df5ec2edd5e1e8c10a64b7634cccc5efe2fe3d5a7d4670c634cbedcdcce9ff73c581befb0c18a6567416f2
@@ -16,6 +16,8 @@
16
16
  {% comment %}
17
17
  Recent Posts Displayed here.
18
18
  {% endcomment %}
19
+ <div class="col-xs-12 col-sm-6">
20
+
19
21
  <div class="panel panel-primary" class="blog-sidebar">
20
22
  <div class="panel-heading">
21
23
  <h3 class="panel-title">Recent Posts</h3>
@@ -99,9 +101,11 @@
99
101
  {% endfor %}
100
102
  </div>
101
103
  </div>
104
+ </div>
102
105
  {% comment %}
103
106
  Other Posts
104
107
  {% endcomment %}
108
+ <div class="col-xs-12 col-sm-6">
105
109
 
106
110
  <div class="panel panel-primary" class="blog-sidebar">
107
111
  <div class="panel-heading">
@@ -187,6 +191,7 @@
187
191
  {% endfor %}
188
192
  </div>
189
193
  </div>
194
+ </div>
190
195
  {% if site.data.settings.blog.sidebar.custom-include %}
191
196
  {% include {{site.data.settings.blog.sidebar.custom-include}} %}
192
197
  {% endif %}
@@ -4,7 +4,7 @@ title: Blog
4
4
  css-package: blog
5
5
  js-package: blog
6
6
  ---
7
- <div class="col-md-9">
7
+ <div class="col-xs-12">
8
8
  {{content}}
9
9
  {% include display-blog-posts.html %}
10
10
 
@@ -14,6 +14,3 @@ js-package: blog
14
14
  {% include pagination.html path="/blog/:num/"%}
15
15
  {% endif %}
16
16
  </div>
17
- <div class="col-md-3 blog-sidebar">
18
- {% include post-sidebar.html %}
19
- </div>
@@ -54,7 +54,7 @@ css-package: blog
54
54
  <div class="row" id="content-container">
55
55
  <div class="container">
56
56
  {% if site.data.settings.blog.sidebar.display-on-posts %}
57
- <div class="col-md-9">
57
+ <div class="col-xs-12 col-sm-8 col-sm-offset-2 blog-content">
58
58
  <article class="post-content">
59
59
  {% unless page.image %}
60
60
  <div class="post-info">
@@ -104,7 +104,7 @@ css-package: blog
104
104
 
105
105
  {% include disqus-comments.html %}
106
106
  </div>
107
- <div class="col-md-3 blog-sidebar no-padding">
107
+ <div class="col-xs-12 col-sm-8 col-sm-offset-2 blog-sidebar ">
108
108
  {% if site.data.settings.blog.tags_enabled %}
109
109
  {% if page.tags %}
110
110
  {% assign post_tags = page.tags %}
@@ -9,6 +9,7 @@ $footer-text-color: #fff;
9
9
  // Sub footer
10
10
  $sub-footer-bg-color: #ccc;
11
11
  $footer-border-color: #272727;
12
+ $text-color: rgba(0,0,0,.84);
12
13
  // Navbar
13
14
  $navbar-text-color: #fff !default;
14
15
  $navbar-hover-text-color: #fff !default;
@@ -24,10 +25,20 @@ $breadcrumb-title-color: #fff !default;
24
25
  $breadcrumb-span-color: #fff !default;
25
26
  // Fonts
26
27
  // Change the fonts used by Bootstrap here.
27
- $font-family-sans-serif: Arial, sans-serif !default;
28
28
  $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
29
29
  //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
30
30
  $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
31
+ @font-face {
32
+ font-family: 'Lato';
33
+ src: url('/assets/fonts/lato-regular/Lato-regular.eot'); /* IE9 Compat Modes */
34
+ src: url('/assets/fonts/lato-regular/Lato-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
35
+ url('/assets/fonts/lato-regular/Lato-regular.woff2') format('woff2'), /* Super Modern Browsers */
36
+ url('/assets/fonts/lato-regular/Lato-regular.woff') format('woff'), /* Pretty Modern Browsers */
37
+ url('/assets/fonts/lato-regular/Lato-regular.ttf') format('truetype'), /* Safari, Android, iOS */
38
+ url('/assets/fonts/lato-regular/Lato-regular.svg') format('svg'); /* Legacy iOS */
39
+ }
40
+ // Fonts
41
+ $font-family-sans-serif: 'Lato', Arial, sans-serif !default;
31
42
  //Contact Page
32
43
  $contact-banner-text-color: #fff !default;
33
44
  // Jumbotron Settings
@@ -450,4 +450,41 @@ span.reading-time {
450
450
  opacity: .8;
451
451
  height: 20px;
452
452
  line-height: 10px;
453
+ }
454
+ .blog-content {
455
+ @media(max-width: $screen-sm-min - 1){
456
+ padding-left:0px;
457
+ padding-right: 0px;
458
+ }
459
+ }
460
+ .col-xs-12.col-sm-8.col-sm-offset-2.blog-sidebar {
461
+ margin-top: 40px;
462
+ margin-bottom: 40px;
463
+ @media(max-width: $screen-sm-min - 1){
464
+ padding-left:0px;
465
+ padding-right: 0px;
466
+ }
467
+ }
468
+ article.post-content {
469
+ margin-top: 20px;
470
+ }
471
+ .highlighter-rouge > div {
472
+ position: relative;
473
+ }
474
+ button.btn.copyBtn {
475
+ position: absolute;
476
+ bottom: 0px;
477
+ z-index: 9999;
478
+ height: 40px;
479
+ right: 0px;
480
+ border-left: 1px solid white;
481
+ border-top: 1px solid white;
482
+ width: 40px;
483
+ }
484
+ button.btn.copyBtn:hover, button.btn.copyBtn:focus {
485
+ background-color:$brand-primary;
486
+ }
487
+ pre.highlight {
488
+ padding: 15px;
489
+ position: relative;
453
490
  }
@@ -88,7 +88,7 @@ ol.breadcrumb li span:hover {
88
88
  color: #fff;
89
89
  }
90
90
 
91
- .breadcrumb-inner-container h1, .breadcrumb-inner-container h2, .breadcrumb-inner-container h3{
91
+ #wrapper .breadcrumb-inner-container h1,#wrapper .breadcrumb-inner-container h2,#wrapper .breadcrumb-inner-container h3{
92
92
  color: $breadcrumb-title-color;
93
93
  }
94
94
 
@@ -1,5 +1,5 @@
1
1
  /* Home Page Jumbotron Div */
2
- div#jumbotron-content {
2
+ #wrapper div#jumbotron-content {
3
3
  text-align: center;
4
4
  height: $jumbotron-height;
5
5
  }
@@ -45,7 +45,7 @@ div#jumbotron-content {
45
45
  width: 100%;
46
46
  z-index: 0;
47
47
  }
48
- div#jumbotron.background-image.bg-up {
48
+ #wrapper div#jumbotron.background-image.bg-up {
49
49
  background-position-y: 0px !important;
50
50
  background-position-x: center !important;
51
51
  }
@@ -58,19 +58,19 @@ video#jumbotronVideo {
58
58
  top:0px;
59
59
  z-index:-2;
60
60
  }
61
- div#jumbotron.video {
61
+ #wrapper div#jumbotron.video {
62
62
  height: 600px !important;
63
63
  }
64
- div#jumbotron.video:before {
64
+ #wrapper div#jumbotron.video:before {
65
65
  height: 600px !important;
66
66
  }
67
- div#jumbotron.video h1#jumbotron-heading {
67
+ #wrapper div#jumbotron.video h1#jumbotron-heading {
68
68
  font-size: 50px;
69
69
  }
70
- div#jumbotron.video div#jumbotron-content {
70
+ #wrapper div#jumbotron.video div#jumbotron-content {
71
71
  height:600px;
72
72
  }
73
- div#jumbotron.background-image {
73
+ #wrapper div#jumbotron.background-image {
74
74
  background-size: cover !important;
75
75
  background-position: center center !important;
76
76
  background-repeat: no-repeat !important;
@@ -83,13 +83,13 @@ div.jumbotron-image{
83
83
  width: 100%;
84
84
  }
85
85
  /* Jumbotron Sub Title */
86
- #jumbotron-sub-title {
86
+ #wrapper #jumbotron-sub-title {
87
87
  max-width:700px;
88
88
  color: $jumbotron-sub-title-color;
89
89
  font-size: $jumbotron-sub-title-font-size;
90
90
  }
91
91
  /* Jumbotron Heading */
92
- #jumbotron-heading {
92
+ #wrapper #jumbotron-heading {
93
93
  max-width: 700px;
94
94
  color: $jumbotron-heading-color;
95
95
  font-size: $jumbotron-font-size;
@@ -97,14 +97,14 @@ div.jumbotron-image{
97
97
  }
98
98
  /* Jumbotron Styles - SM */
99
99
  @media(max-width:$screen-sm-min){
100
- #jumbotron-heading {
100
+ #wrapper #jumbotron-heading {
101
101
  font-size: $jumbotron-font-size-xs;
102
102
  }
103
- #jumbotron-sub-title {
103
+ #wrapper #jumbotron-sub-title {
104
104
  color: $jumbotron-sub-title-color;
105
105
  font-size: $jumbotron-sub-title-font-size-xs;
106
106
  }
107
- #jumbotron-sub-title.smaller {
107
+ #wrapper #jumbotron-sub-title.smaller {
108
108
  font-size: 14px !important;
109
109
  }
110
110
 
@@ -122,7 +122,7 @@ div.jumbotron-image{
122
122
  background-color: $brand-primary;
123
123
  }
124
124
  /* Jumbotron Header */
125
- #jumbotron {
125
+ #wrapper #jumbotron {
126
126
  background: $jumbotron-bottom-color; /* Old browsers */
127
127
  background: -moz-linear-gradient(top, $jumbotron-top-color 0%, $jumbotron-bottom-color 100%); /* FF3.6-15 */
128
128
  background: -webkit-linear-gradient(top, $jumbotron-top-color 0%,$jumbotron-bottom-color 100%); /* Chrome10-25,Safari5.1-6 */
@@ -134,17 +134,17 @@ div.jumbotron-image{
134
134
  background-size: cover;
135
135
  background-position: center center;
136
136
  }
137
- #jumbotron small {
137
+ #wrapper #jumbotron small {
138
138
  font-size: 14px;
139
139
  }
140
140
 
141
141
 
142
142
  // Owl Carousel Slider Full Width
143
- #jumbotron-slider + .big-triangle {
143
+ #wrapper #jumbotron-slider + .big-triangle {
144
144
  position: relative;
145
145
  z-index: 2;
146
146
  }
147
- #jumbotron-slider {
147
+ #wrapper #jumbotron-slider {
148
148
  position: relative;
149
149
  height: 100%;
150
150
 
@@ -998,3 +998,7 @@ li.dropdown.menu.active.open > a {
998
998
 
999
999
  }
1000
1000
  }
1001
+ // Bug fix for the White box flash
1002
+ #navbar-collapse {
1003
+ height: 100% !important;
1004
+ }
@@ -1,65 +1,68 @@
1
- .highlight { background: #ffffff; }
2
- .highlight .c { color: #999988; font-style: italic } /* Comment */
3
- .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
- .highlight .k { font-weight: bold } /* Keyword */
5
- .highlight .o { font-weight: bold } /* Operator */
6
- .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7
- .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
8
- .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
9
- .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10
- .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
- .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
1
+ .highlight pre { background-color: #272822; }
2
+ .highlight .hll { background-color: #272822; }
3
+ .highlight .c { color: #75715e } /* Comment */
4
+ .highlight .err { color: #960050; background-color: #1e0010 } /* Error */
5
+ .highlight .k { color: #66d9ef } /* Keyword */
6
+ .highlight .l { color: #ae81ff } /* Literal */
7
+ .highlight .n { color: #f8f8f2 } /* Name */
8
+ .highlight .o { color: #f92672 } /* Operator */
9
+ .highlight .p { color: #f8f8f2 } /* Punctuation */
10
+ .highlight .cm { color: #75715e } /* Comment.Multiline */
11
+ .highlight .cp { color: #75715e } /* Comment.Preproc */
12
+ .highlight .c1 { color: #75715e } /* Comment.Single */
13
+ .highlight .cs { color: #75715e } /* Comment.Special */
12
14
  .highlight .ge { font-style: italic } /* Generic.Emph */
13
- .highlight .gr { color: #aa0000 } /* Generic.Error */
14
- .highlight .gh { color: #999999 } /* Generic.Heading */
15
- .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
16
- .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
17
- .highlight .go { color: #888888 } /* Generic.Output */
18
- .highlight .gp { color: #555555 } /* Generic.Prompt */
19
15
  .highlight .gs { font-weight: bold } /* Generic.Strong */
20
- .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
21
- .highlight .gt { color: #aa0000 } /* Generic.Traceback */
22
- .highlight .kc { font-weight: bold } /* Keyword.Constant */
23
- .highlight .kd { font-weight: bold } /* Keyword.Declaration */
24
- .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
25
- .highlight .kr { font-weight: bold } /* Keyword.Reserved */
26
- .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
27
- .highlight .m { color: #009999 } /* Literal.Number */
28
- .highlight .s { color: #d14 } /* Literal.String */
29
- .highlight .na { color: #008080 } /* Name.Attribute */
30
- .highlight .nb { color: #0086B3 } /* Name.Builtin */
31
- .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
32
- .highlight .no { color: #008080 } /* Name.Constant */
33
- .highlight .ni { color: #800080 } /* Name.Entity */
34
- .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
35
- .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
36
- .highlight .nn { color: #555555 } /* Name.Namespace */
37
- .highlight .nt { color: #000080 } /* Name.Tag */
38
- .highlight .nv { color: #008080 } /* Name.Variable */
39
- .highlight .ow { font-weight: bold } /* Operator.Word */
40
- .highlight .w { color: #bbbbbb } /* Text.Whitespace */
41
- .highlight .mf { color: #009999 } /* Literal.Number.Float */
42
- .highlight .mh { color: #009999 } /* Literal.Number.Hex */
43
- .highlight .mi { color: #009999 } /* Literal.Number.Integer */
44
- .highlight .mo { color: #009999 } /* Literal.Number.Oct */
45
- .highlight .sb { color: #d14 } /* Literal.String.Backtick */
46
- .highlight .sc { color: #d14 } /* Literal.String.Char */
47
- .highlight .sd { color: #d14 } /* Literal.String.Doc */
48
- .highlight .s2 { color: #d14 } /* Literal.String.Double */
49
- .highlight .se { color: #d14 } /* Literal.String.Escape */
50
- .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
51
- .highlight .si { color: #d14 } /* Literal.String.Interpol */
52
- .highlight .sx { color: #d14 } /* Literal.String.Other */
53
- .highlight .sr { color: #009926 } /* Literal.String.Regex */
54
- .highlight .s1 { color: #d14 } /* Literal.String.Single */
55
- .highlight .ss { color: #990073 } /* Literal.String.Symbol */
56
- .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
57
- .highlight .vc { color: #008080 } /* Name.Variable.Class */
58
- .highlight .vg { color: #008080 } /* Name.Variable.Global */
59
- .highlight .vi { color: #008080 } /* Name.Variable.Instance */
60
- .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
16
+ .highlight .kc { color: #66d9ef } /* Keyword.Constant */
17
+ .highlight .kd { color: #66d9ef } /* Keyword.Declaration */
18
+ .highlight .kn { color: #f92672 } /* Keyword.Namespace */
19
+ .highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
20
+ .highlight .kr { color: #66d9ef } /* Keyword.Reserved */
21
+ .highlight .kt { color: #66d9ef } /* Keyword.Type */
22
+ .highlight .ld { color: #e6db74 } /* Literal.Date */
23
+ .highlight .m { color: #ae81ff } /* Literal.Number */
24
+ .highlight .s { color: #e6db74 } /* Literal.String */
25
+ .highlight .na { color: #a6e22e } /* Name.Attribute */
26
+ .highlight .nb { color: #f8f8f2 } /* Name.Builtin */
27
+ .highlight .nc { color: #a6e22e } /* Name.Class */
28
+ .highlight .no { color: #66d9ef } /* Name.Constant */
29
+ .highlight .nd { color: #a6e22e } /* Name.Decorator */
30
+ .highlight .ni { color: #f8f8f2 } /* Name.Entity */
31
+ .highlight .ne { color: #a6e22e } /* Name.Exception */
32
+ .highlight .nf { color: #a6e22e } /* Name.Function */
33
+ .highlight .nl { color: #f8f8f2 } /* Name.Label */
34
+ .highlight .nn { color: #f8f8f2 } /* Name.Namespace */
35
+ .highlight .nx { color: #a6e22e } /* Name.Other */
36
+ .highlight .py { color: #f8f8f2 } /* Name.Property */
37
+ .highlight .nt { color: #f92672 } /* Name.Tag */
38
+ .highlight .nv { color: #f8f8f2 } /* Name.Variable */
39
+ .highlight .ow { color: #f92672 } /* Operator.Word */
40
+ .highlight .w { color: #f8f8f2 } /* Text.Whitespace */
41
+ .highlight .mf { color: #ae81ff } /* Literal.Number.Float */
42
+ .highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
43
+ .highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
44
+ .highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
45
+ .highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
46
+ .highlight .sc { color: #e6db74 } /* Literal.String.Char */
47
+ .highlight .sd { color: #e6db74 } /* Literal.String.Doc */
48
+ .highlight .s2 { color: #e6db74 } /* Literal.String.Double */
49
+ .highlight .se { color: #ae81ff } /* Literal.String.Escape */
50
+ .highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
51
+ .highlight .si { color: #e6db74 } /* Literal.String.Interpol */
52
+ .highlight .sx { color: #e6db74 } /* Literal.String.Other */
53
+ .highlight .sr { color: #e6db74 } /* Literal.String.Regex */
54
+ .highlight .s1 { color: #e6db74 } /* Literal.String.Single */
55
+ .highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
56
+ .highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
57
+ .highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
58
+ .highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
59
+ .highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
60
+ .highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
61
61
 
62
- /* Make line numbers unselectable: excludes line numbers from copy-paste user ops */
63
- .highlight .lineno {-webkit-user-select: none;-moz-user-select: none; -o-user-select: none;}
64
- .lineno::-moz-selection {background-color: transparent;} /* Mozilla specific */
65
- .lineno::selection {background-color: transparent;} /* Other major browsers */
62
+ .highlight .gh { } /* Generic Heading & Diff Header */
63
+ .highlight .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
64
+ .highlight .gd { color: #f92672; } /* Generic.Deleted & Diff Deleted */
65
+ .highlight .gi { color: #a6e22e; } /* Generic.Inserted & Diff Inserted */
66
+ pre code {
67
+ color: white;
68
+ }
@@ -159,10 +159,10 @@ label.control-label {
159
159
 
160
160
 
161
161
  //Headings
162
- h1, h2, h3, h4, h5, h6 {
162
+ #wrapper h1, #wrapper h2, #wrapper h3, #wrapper h4, #wrapper h5,#wrapper h6 {
163
163
  font-family: $font-family-sans-serif;
164
164
  line-height: 1.1;
165
- color: inherit;
165
+ color: rgba(0,0,0,.84);
166
166
  font-weight: bold;
167
167
  }
168
168
 
@@ -185,13 +185,23 @@ div#contact-thanks {
185
185
  }
186
186
 
187
187
  /*-------------Paragraphs --------------------*/
188
- p {
189
- font-size: 16px;
190
- color: #252525;
188
+ #wrapper p {
189
+ font-family: $font-family-sans-serif;
190
+ font-size: 20px;
191
+ color: $text-color;
191
192
  line-height: 1.66em;
192
193
  word-wrap: break-word;
194
+ @media(max-width: $screen-sm-min){
195
+ font-size: 18px;
196
+ }
197
+ }
198
+ #wrapper ul, ol {
199
+ font-size: 20px;
200
+ font-family: $font-family-sans-serif;
201
+ @media(max-width: $screen-sm-min){
202
+ font-size: 18px;
203
+ }
193
204
  }
194
-
195
205
  .container-fluid p.justify {
196
206
  font-size: 16px;
197
207
  text-align: justify;
@@ -573,8 +583,8 @@ ul#tab-row {
573
583
  }
574
584
 
575
585
  .container-fluid ul {
576
- color: #252525;
577
- font-size: 16px;
586
+ color: $text-color;
587
+ font-size: 18px;
578
588
  }
579
589
 
580
590
  /* Blockquote Styles*/
@@ -640,7 +650,7 @@ blockquote:before {
640
650
  }
641
651
 
642
652
  ul {
643
- font-size: 16px;
653
+ font-size: 18px;
644
654
  }
645
655
  // FlexBox
646
656
  .flex-center {
@@ -3,6 +3,22 @@ $(window).click(function() {
3
3
  $(".dropdown-submenu.sub-menu > .dropdown-menu.sub-menu").hide();
4
4
  });
5
5
  $(document).ready(function () {
6
+
7
+ // Clipboard JS
8
+ if($("div.highlight").length > 0){
9
+ $('div.highlight').each(function (index) {
10
+ var uniqueId = "highlight" + index;
11
+ $(this).attr("id", uniqueId);
12
+ var copyBtn = '<button id="copyBtn' + index + '" data-toggle="tooltip" data-placement="left" title="Copied to Clipboard" class="btn copyBtn" data-clipboard-target="#' + uniqueId + '">';
13
+ copyBtn += '<img src="https://clipboardjs.com/assets/images/clippy.svg" width="13" alt="Copy to clipboard"></button>';
14
+ $(this).append(copyBtn);
15
+ (function () {
16
+ new ClipboardJS('#copyBtn' + index);
17
+ })();
18
+
19
+ });
20
+ }
21
+
6
22
  if ($("#jumbotron-slider").length > 0 ){
7
23
  $("#jumbotron-slider").owlCarousel({
8
24
  navigation: true,
@@ -24,12 +24,7 @@ $(function () {
24
24
  $table.find('tr:lt(' + numShown + ')').show();
25
25
  });
26
26
  $('#all').click(function() {
27
- numShown = numRows;
28
- // no more "show more" if done
29
- if (numShown >= numRows) {
30
- $('#all').remove();
31
- }
32
- $table.find('tr:lt(' + numShown + ')').show();
27
+ $table.find('tr:lt(' + numRows + ')').show();
33
28
  });
34
29
 
35
30
  });
@@ -5,6 +5,7 @@
5
5
  //= require vendor/ls.unveilhooks
6
6
  //= require vendor/jquery.doubleScroll
7
7
  //= require vendor/featherlight
8
+ //= require vendor/clipboard.min
8
9
 
9
10
  //= require app/main
10
11
  //= require app/search
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * clipboard.js v2.0.4
3
+ * https://zenorocha.github.io/clipboard.js
4
+ *
5
+ * Licensed MIT © Zeno Rocha
6
+ */
7
+ !function (t, e) { "object" == typeof exports && "object" == typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define([], e) : "object" == typeof exports ? exports.ClipboardJS = e() : t.ClipboardJS = e() }(this, function () { return function (n) { var o = {}; function r(t) { if (o[t]) return o[t].exports; var e = o[t] = { i: t, l: !1, exports: {} }; return n[t].call(e.exports, e, e.exports, r), e.l = !0, e.exports } return r.m = n, r.c = o, r.d = function (t, e, n) { r.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: n }) }, r.r = function (t) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 }) }, r.t = function (e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var o in e) r.d(n, o, function (t) { return e[t] }.bind(null, o)); return n }, r.n = function (t) { var e = t && t.__esModule ? function () { return t.default } : function () { return t }; return r.d(e, "a", e), e }, r.o = function (t, e) { return Object.prototype.hasOwnProperty.call(t, e) }, r.p = "", r(r.s = 0) }([function (t, e, n) { "use strict"; var r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t }, i = function () { function o(t, e) { for (var n = 0; n < e.length; n++) { var o = e[n]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o) } } return function (t, e, n) { return e && o(t.prototype, e), n && o(t, n), t } }(), a = o(n(1)), c = o(n(3)), u = o(n(4)); function o(t) { return t && t.__esModule ? t : { default: t } } var l = function (t) { function o(t, e) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, o); var n = function (t, e) { if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !e || "object" != typeof e && "function" != typeof e ? t : e }(this, (o.__proto__ || Object.getPrototypeOf(o)).call(this)); return n.resolveOptions(e), n.listenClick(t), n } return function (t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function, not " + typeof e); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, enumerable: !1, writable: !0, configurable: !0 } }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e) }(o, c.default), i(o, [{ key: "resolveOptions", value: function () { var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}; this.action = "function" == typeof t.action ? t.action : this.defaultAction, this.target = "function" == typeof t.target ? t.target : this.defaultTarget, this.text = "function" == typeof t.text ? t.text : this.defaultText, this.container = "object" === r(t.container) ? t.container : document.body } }, { key: "listenClick", value: function (t) { var e = this; this.listener = (0, u.default)(t, "click", function (t) { return e.onClick(t) }) } }, { key: "onClick", value: function (t) { var e = t.delegateTarget || t.currentTarget; this.clipboardAction && (this.clipboardAction = null), this.clipboardAction = new a.default({ action: this.action(e), target: this.target(e), text: this.text(e), container: this.container, trigger: e, emitter: this }) } }, { key: "defaultAction", value: function (t) { return s("action", t) } }, { key: "defaultTarget", value: function (t) { var e = s("target", t); if (e) return document.querySelector(e) } }, { key: "defaultText", value: function (t) { return s("text", t) } }, { key: "destroy", value: function () { this.listener.destroy(), this.clipboardAction && (this.clipboardAction.destroy(), this.clipboardAction = null) } }], [{ key: "isSupported", value: function () { var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : ["copy", "cut"], e = "string" == typeof t ? [t] : t, n = !!document.queryCommandSupported; return e.forEach(function (t) { n = n && !!document.queryCommandSupported(t) }), n } }]), o }(); function s(t, e) { var n = "data-clipboard-" + t; if (e.hasAttribute(n)) return e.getAttribute(n) } t.exports = l }, function (t, e, n) { "use strict"; var o, r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) { return typeof t } : function (t) { return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t }, i = function () { function o(t, e) { for (var n = 0; n < e.length; n++) { var o = e[n]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o) } } return function (t, e, n) { return e && o(t.prototype, e), n && o(t, n), t } }(), a = n(2), c = (o = a) && o.__esModule ? o : { default: o }; var u = function () { function e(t) { !function (t, e) { if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") }(this, e), this.resolveOptions(t), this.initSelection() } return i(e, [{ key: "resolveOptions", value: function () { var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : {}; this.action = t.action, this.container = t.container, this.emitter = t.emitter, this.target = t.target, this.text = t.text, this.trigger = t.trigger, this.selectedText = "" } }, { key: "initSelection", value: function () { this.text ? this.selectFake() : this.target && this.selectTarget() } }, { key: "selectFake", value: function () { var t = this, e = "rtl" == document.documentElement.getAttribute("dir"); this.removeFake(), this.fakeHandlerCallback = function () { return t.removeFake() }, this.fakeHandler = this.container.addEventListener("click", this.fakeHandlerCallback) || !0, this.fakeElem = document.createElement("textarea"), this.fakeElem.style.fontSize = "12pt", this.fakeElem.style.border = "0", this.fakeElem.style.padding = "0", this.fakeElem.style.margin = "0", this.fakeElem.style.position = "absolute", this.fakeElem.style[e ? "right" : "left"] = "-9999px"; var n = window.pageYOffset || document.documentElement.scrollTop; this.fakeElem.style.top = n + "px", this.fakeElem.setAttribute("readonly", ""), this.fakeElem.value = this.text, this.container.appendChild(this.fakeElem), this.selectedText = (0, c.default)(this.fakeElem), this.copyText() } }, { key: "removeFake", value: function () { this.fakeHandler && (this.container.removeEventListener("click", this.fakeHandlerCallback), this.fakeHandler = null, this.fakeHandlerCallback = null), this.fakeElem && (this.container.removeChild(this.fakeElem), this.fakeElem = null) } }, { key: "selectTarget", value: function () { this.selectedText = (0, c.default)(this.target), this.copyText() } }, { key: "copyText", value: function () { var e = void 0; try { e = document.execCommand(this.action) } catch (t) { e = !1 } this.handleResult(e) } }, { key: "handleResult", value: function (t) { this.emitter.emit(t ? "success" : "error", { action: this.action, text: this.selectedText, trigger: this.trigger, clearSelection: this.clearSelection.bind(this) }) } }, { key: "clearSelection", value: function () { this.trigger && this.trigger.focus(), window.getSelection().removeAllRanges() } }, { key: "destroy", value: function () { this.removeFake() } }, { key: "action", set: function () { var t = 0 < arguments.length && void 0 !== arguments[0] ? arguments[0] : "copy"; if (this._action = t, "copy" !== this._action && "cut" !== this._action) throw new Error('Invalid "action" value, use either "copy" or "cut"') }, get: function () { return this._action } }, { key: "target", set: function (t) { if (void 0 !== t) { if (!t || "object" !== (void 0 === t ? "undefined" : r(t)) || 1 !== t.nodeType) throw new Error('Invalid "target" value, use a valid Element'); if ("copy" === this.action && t.hasAttribute("disabled")) throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute'); if ("cut" === this.action && (t.hasAttribute("readonly") || t.hasAttribute("disabled"))) throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes'); this._target = t } }, get: function () { return this._target } }]), e }(); t.exports = u }, function (t, e) { t.exports = function (t) { var e; if ("SELECT" === t.nodeName) t.focus(), e = t.value; else if ("INPUT" === t.nodeName || "TEXTAREA" === t.nodeName) { var n = t.hasAttribute("readonly"); n || t.setAttribute("readonly", ""), t.select(), t.setSelectionRange(0, t.value.length), n || t.removeAttribute("readonly"), e = t.value } else { t.hasAttribute("contenteditable") && t.focus(); var o = window.getSelection(), r = document.createRange(); r.selectNodeContents(t), o.removeAllRanges(), o.addRange(r), e = o.toString() } return e } }, function (t, e) { function n() { } n.prototype = { on: function (t, e, n) { var o = this.e || (this.e = {}); return (o[t] || (o[t] = [])).push({ fn: e, ctx: n }), this }, once: function (t, e, n) { var o = this; function r() { o.off(t, r), e.apply(n, arguments) } return r._ = e, this.on(t, r, n) }, emit: function (t) { for (var e = [].slice.call(arguments, 1), n = ((this.e || (this.e = {}))[t] || []).slice(), o = 0, r = n.length; o < r; o++)n[o].fn.apply(n[o].ctx, e); return this }, off: function (t, e) { var n = this.e || (this.e = {}), o = n[t], r = []; if (o && e) for (var i = 0, a = o.length; i < a; i++)o[i].fn !== e && o[i].fn._ !== e && r.push(o[i]); return r.length ? n[t] = r : delete n[t], this } }, t.exports = n }, function (t, e, n) { var d = n(5), h = n(6); t.exports = function (t, e, n) { if (!t && !e && !n) throw new Error("Missing required arguments"); if (!d.string(e)) throw new TypeError("Second argument must be a String"); if (!d.fn(n)) throw new TypeError("Third argument must be a Function"); if (d.node(t)) return s = e, f = n, (l = t).addEventListener(s, f), { destroy: function () { l.removeEventListener(s, f) } }; if (d.nodeList(t)) return a = t, c = e, u = n, Array.prototype.forEach.call(a, function (t) { t.addEventListener(c, u) }), { destroy: function () { Array.prototype.forEach.call(a, function (t) { t.removeEventListener(c, u) }) } }; if (d.string(t)) return o = t, r = e, i = n, h(document.body, o, r, i); throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList"); var o, r, i, a, c, u, l, s, f } }, function (t, n) { n.node = function (t) { return void 0 !== t && t instanceof HTMLElement && 1 === t.nodeType }, n.nodeList = function (t) { var e = Object.prototype.toString.call(t); return void 0 !== t && ("[object NodeList]" === e || "[object HTMLCollection]" === e) && "length" in t && (0 === t.length || n.node(t[0])) }, n.string = function (t) { return "string" == typeof t || t instanceof String }, n.fn = function (t) { return "[object Function]" === Object.prototype.toString.call(t) } }, function (t, e, n) { var a = n(7); function i(t, e, n, o, r) { var i = function (e, n, t, o) { return function (t) { t.delegateTarget = a(t.target, n), t.delegateTarget && o.call(e, t) } }.apply(this, arguments); return t.addEventListener(n, i, r), { destroy: function () { t.removeEventListener(n, i, r) } } } t.exports = function (t, e, n, o, r) { return "function" == typeof t.addEventListener ? i.apply(null, arguments) : "function" == typeof n ? i.bind(null, document).apply(null, arguments) : ("string" == typeof t && (t = document.querySelectorAll(t)), Array.prototype.map.call(t, function (t) { return i(t, e, n, o, r) })) } }, function (t, e) { if ("undefined" != typeof Element && !Element.prototype.matches) { var n = Element.prototype; n.matches = n.matchesSelector || n.mozMatchesSelector || n.msMatchesSelector || n.oMatchesSelector || n.webkitMatchesSelector } t.exports = function (t, e) { for (; t && 9 !== t.nodeType;) { if ("function" == typeof t.matches && t.matches(e)) return t; t = t.parentNode } } }]) });
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.6
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-14 00:00:00.000000000 Z
11
+ date: 2019-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -585,6 +585,7 @@ files:
585
585
  - assets/js/package-search.js
586
586
  - assets/js/vendor/bootstrap-multiselect.js
587
587
  - assets/js/vendor/bootstrap.js
588
+ - assets/js/vendor/clipboard.min.js
588
589
  - assets/js/vendor/cognito.js
589
590
  - assets/js/vendor/cookieconsent.js
590
591
  - assets/js/vendor/disqus-loader.js