linaro-jekyll-theme 0.10.149 → 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/_theme-includes/_head/head.html +3 -0
- data/_includes/_theme-includes/_navigation/nav.html +118 -93
- data/_includes/_theme-includes/_script-includes/javascript.html +27 -27
- data/_layouts/blog.html +1 -1
- data/_layouts/default-plain.html +1 -1
- data/_layouts/default-stacked-breadcrumb.html +1 -1
- data/_layouts/default-stacked.html +1 -1
- data/_layouts/default.html +1 -1
- data/_layouts/post.html +4 -4
- data/_layouts/redirect.html +11 -0
- data/_sass/bootstrap/_variables.scss +2 -2
- data/_sass/core/blog.scss +123 -2
- data/_sass/core/breadcrumb.scss +53 -30
- data/_sass/core/carousel.scss +15 -0
- data/_sass/core/footer.scss +14 -2
- data/_sass/core/forms.scss +0 -0
- data/_sass/core/homepage.scss +5 -0
- data/_sass/core/nav.scss +405 -339
- data/_sass/core/old-search.scss +239 -0
- data/_sass/core/theme.scss +79 -170
- data/_sass/core/youtube.scss +65 -0
- data/assets/js/vendor/loadCSS.js +79 -0
- metadata +7 -8
- data/assets/css/main-blog.scss +0 -19
- data/assets/css/main-home.scss +0 -16
- data/assets/css/main-lightbox.scss +0 -22
- data/assets/css/main-openhours.scss +0 -19
- data/assets/css/main-products.scss +0 -20
- data/assets/css/main-projects.scss +0 -20
@@ -0,0 +1,65 @@
|
|
1
|
+
.videoWrapper {
|
2
|
+
position: relative;
|
3
|
+
padding-bottom: 56.25%; /* 16:9 */
|
4
|
+
padding-top: 25px;
|
5
|
+
height: 0;
|
6
|
+
margin-top: 50px;
|
7
|
+
}
|
8
|
+
.videoWrapper iframe {
|
9
|
+
position: absolute;
|
10
|
+
top: 0;
|
11
|
+
left: 0;
|
12
|
+
width: 100%;
|
13
|
+
height: 100%;
|
14
|
+
}
|
15
|
+
.youtube {
|
16
|
+
background-color: #000;
|
17
|
+
margin-bottom: 30px;
|
18
|
+
position: relative;
|
19
|
+
padding-top: 56.25%;
|
20
|
+
overflow: hidden;
|
21
|
+
cursor: pointer;
|
22
|
+
}
|
23
|
+
.youtube img {
|
24
|
+
width: 100%;
|
25
|
+
top: -16.84%;
|
26
|
+
left: 0;
|
27
|
+
opacity: 0.7;
|
28
|
+
}
|
29
|
+
.youtube .play-button {
|
30
|
+
width: 90px;
|
31
|
+
height: 60px;
|
32
|
+
background-color: #333;
|
33
|
+
box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
|
34
|
+
z-index: 1;
|
35
|
+
opacity: 0.8;
|
36
|
+
border-radius: 6px;
|
37
|
+
}
|
38
|
+
.youtube .play-button:before {
|
39
|
+
content: "";
|
40
|
+
border-style: solid;
|
41
|
+
border-width: 15px 0 15px 26.0px;
|
42
|
+
border-color: transparent transparent transparent #fff;
|
43
|
+
}
|
44
|
+
.youtube img,
|
45
|
+
.youtube .play-button {
|
46
|
+
cursor: pointer;
|
47
|
+
}
|
48
|
+
.youtube img,
|
49
|
+
.youtube iframe,
|
50
|
+
.youtube .play-button,
|
51
|
+
.youtube .play-button:before {
|
52
|
+
position: absolute;
|
53
|
+
}
|
54
|
+
.youtube .play-button,
|
55
|
+
.youtube .play-button:before {
|
56
|
+
top: 50%;
|
57
|
+
left: 50%;
|
58
|
+
transform: translate3d( -50%, -50%, 0 );
|
59
|
+
}
|
60
|
+
.youtube iframe {
|
61
|
+
height: 100%;
|
62
|
+
width: 100%;
|
63
|
+
top: 0;
|
64
|
+
left: 0;
|
65
|
+
}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
/*! loadCSS. [c]2017 Filament Group, Inc. MIT License */
|
2
|
+
(function(w){
|
3
|
+
"use strict";
|
4
|
+
/* exported loadCSS */
|
5
|
+
var loadCSS = function( href, before, media ){
|
6
|
+
// Arguments explained:
|
7
|
+
// `href` [REQUIRED] is the URL for your CSS file.
|
8
|
+
// `before` [OPTIONAL] is the element the script should use as a reference for injecting our stylesheet <link> before
|
9
|
+
// By default, loadCSS attempts to inject the link after the last stylesheet or script in the DOM. However, you might desire a more specific location in your document.
|
10
|
+
// `media` [OPTIONAL] is the media type or query of the stylesheet. By default it will be 'all'
|
11
|
+
var doc = w.document;
|
12
|
+
var ss = doc.createElement( "link" );
|
13
|
+
var ref;
|
14
|
+
if( before ){
|
15
|
+
ref = before;
|
16
|
+
}
|
17
|
+
else {
|
18
|
+
var refs = ( doc.body || doc.getElementsByTagName( "head" )[ 0 ] ).childNodes;
|
19
|
+
ref = refs[ refs.length - 1];
|
20
|
+
}
|
21
|
+
|
22
|
+
var sheets = doc.styleSheets;
|
23
|
+
ss.rel = "stylesheet";
|
24
|
+
ss.href = href;
|
25
|
+
// temporarily set media to something inapplicable to ensure it'll fetch without blocking render
|
26
|
+
ss.media = "only x";
|
27
|
+
|
28
|
+
// wait until body is defined before injecting link. This ensures a non-blocking load in IE11.
|
29
|
+
function ready( cb ){
|
30
|
+
if( doc.body ){
|
31
|
+
return cb();
|
32
|
+
}
|
33
|
+
setTimeout(function(){
|
34
|
+
ready( cb );
|
35
|
+
});
|
36
|
+
}
|
37
|
+
// Inject link
|
38
|
+
// Note: the ternary preserves the existing behavior of "before" argument, but we could choose to change the argument to "after" in a later release and standardize on ref.nextSibling for all refs
|
39
|
+
// Note: `insertBefore` is used instead of `appendChild`, for safety re: http://www.paulirish.com/2011/surefire-dom-element-insertion/
|
40
|
+
ready( function(){
|
41
|
+
ref.parentNode.insertBefore( ss, ( before ? ref : ref.nextSibling ) );
|
42
|
+
});
|
43
|
+
// A method (exposed on return object for external use) that mimics onload by polling document.styleSheets until it includes the new sheet.
|
44
|
+
var onloadcssdefined = function( cb ){
|
45
|
+
var resolvedHref = ss.href;
|
46
|
+
var i = sheets.length;
|
47
|
+
while( i-- ){
|
48
|
+
if( sheets[ i ].href === resolvedHref ){
|
49
|
+
return cb();
|
50
|
+
}
|
51
|
+
}
|
52
|
+
setTimeout(function() {
|
53
|
+
onloadcssdefined( cb );
|
54
|
+
});
|
55
|
+
};
|
56
|
+
|
57
|
+
function loadCB(){
|
58
|
+
if( ss.addEventListener ){
|
59
|
+
ss.removeEventListener( "load", loadCB );
|
60
|
+
}
|
61
|
+
ss.media = media || "all";
|
62
|
+
}
|
63
|
+
|
64
|
+
// once loaded, set link's media back to `all` so that the stylesheet applies once it loads
|
65
|
+
if( ss.addEventListener ){
|
66
|
+
ss.addEventListener( "load", loadCB);
|
67
|
+
}
|
68
|
+
ss.onloadcssdefined = onloadcssdefined;
|
69
|
+
onloadcssdefined( loadCB );
|
70
|
+
return ss;
|
71
|
+
};
|
72
|
+
// commonjs
|
73
|
+
if( typeof exports !== "undefined" ){
|
74
|
+
exports.loadCSS = loadCSS;
|
75
|
+
}
|
76
|
+
else {
|
77
|
+
w.loadCSS = loadCSS;
|
78
|
+
}
|
79
|
+
}( typeof global !== "undefined" ? global : this ));
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linaro-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0
|
4
|
+
version: '1.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: 2017-
|
11
|
+
date: 2017-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -252,6 +252,7 @@ files:
|
|
252
252
|
- _layouts/post.html
|
253
253
|
- _layouts/product-display-page.html
|
254
254
|
- _layouts/project-display-page.html
|
255
|
+
- _layouts/redirect.html
|
255
256
|
- _sass/_bootstrap-compass.scss
|
256
257
|
- _sass/_bootstrap-mincer.scss
|
257
258
|
- _sass/_bootstrap-sprockets.scss
|
@@ -338,9 +339,11 @@ files:
|
|
338
339
|
- _sass/core/font-awesome.min.scss
|
339
340
|
- _sass/core/fonts.scss
|
340
341
|
- _sass/core/footer.scss
|
342
|
+
- _sass/core/forms.scss
|
341
343
|
- _sass/core/homepage.scss
|
342
344
|
- _sass/core/lightbox.scss
|
343
345
|
- _sass/core/nav.scss
|
346
|
+
- _sass/core/old-search.scss
|
344
347
|
- _sass/core/openhours.scss
|
345
348
|
- _sass/core/owl.carousel.min.scss
|
346
349
|
- _sass/core/owl.theme.default.min.scss
|
@@ -350,13 +353,8 @@ files:
|
|
350
353
|
- _sass/core/syntax.scss
|
351
354
|
- _sass/core/tables.scss
|
352
355
|
- _sass/core/theme.scss
|
356
|
+
- _sass/core/youtube.scss
|
353
357
|
- _sass/custom.scss
|
354
|
-
- assets/css/main-blog.scss
|
355
|
-
- assets/css/main-home.scss
|
356
|
-
- assets/css/main-lightbox.scss
|
357
|
-
- assets/css/main-openhours.scss
|
358
|
-
- assets/css/main-products.scss
|
359
|
-
- assets/css/main-projects.scss
|
360
358
|
- assets/css/main.scss
|
361
359
|
- assets/fonts/fontawesome-webfont.eot
|
362
360
|
- assets/fonts/fontawesome-webfont.svg
|
@@ -405,6 +403,7 @@ files:
|
|
405
403
|
- assets/js/vendor/jquery.min.js
|
406
404
|
- assets/js/vendor/lazysizes.min.js
|
407
405
|
- assets/js/vendor/lightbox.min.js
|
406
|
+
- assets/js/vendor/loadCSS.js
|
408
407
|
- assets/js/vendor/mc-validate.js
|
409
408
|
- assets/js/vendor/owl.carousel.min.js
|
410
409
|
- robots.txt
|
data/assets/css/main-blog.scss
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
@import "custom";
|
4
|
-
|
5
|
-
@import 'bootstrap';
|
6
|
-
@import 'bootstrap/variables';
|
7
|
-
|
8
|
-
@import "core/fonts";
|
9
|
-
@import "core/nav";
|
10
|
-
@import "core/theme";
|
11
|
-
@import "core/cookieconsent";
|
12
|
-
@import "core/footer";
|
13
|
-
@import "core/social-media-icons";
|
14
|
-
@import "core/breadcrumb";
|
15
|
-
@import "core/tables";
|
16
|
-
@import "core/animations";
|
17
|
-
@import "core/blog";
|
18
|
-
@import "core/lightbox";
|
19
|
-
@import "core/syntax";
|
data/assets/css/main-home.scss
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
@import "custom";
|
4
|
-
|
5
|
-
@import 'bootstrap';
|
6
|
-
@import 'bootstrap/variables';
|
7
|
-
|
8
|
-
@import "core/fonts";
|
9
|
-
@import "core/nav";
|
10
|
-
@import "core/theme";
|
11
|
-
@import "core/cookieconsent";
|
12
|
-
@import "core/footer";
|
13
|
-
@import "core/social-media-icons";
|
14
|
-
@import "core/animations";
|
15
|
-
@import "core/carousel-styles";
|
16
|
-
@import 'core/homepage';
|
@@ -1,22 +0,0 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
|
4
|
-
@import "custom";
|
5
|
-
|
6
|
-
@import 'bootstrap';
|
7
|
-
@import 'bootstrap/variables';
|
8
|
-
|
9
|
-
@import "core/fonts";
|
10
|
-
@import "core/font-awesome.min";
|
11
|
-
@import "core/nav";
|
12
|
-
@import "core/theme";
|
13
|
-
@import "core/cookieconsent";
|
14
|
-
@import "core/footer";
|
15
|
-
@import "core/owl.carousel.min";
|
16
|
-
@import "core/owl.theme.default.min";
|
17
|
-
@import "core/social-media-icons";
|
18
|
-
@import "core/breadcrumb";
|
19
|
-
@import "core/tables";
|
20
|
-
@import "core/lightbox";
|
21
|
-
|
22
|
-
@import "core/animations";
|
@@ -1,19 +0,0 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
@import "custom";
|
4
|
-
|
5
|
-
@import 'bootstrap';
|
6
|
-
@import 'bootstrap/variables';
|
7
|
-
|
8
|
-
@import "core/fonts";
|
9
|
-
@import "core/nav";
|
10
|
-
@import "core/theme";
|
11
|
-
@import "core/cookieconsent";
|
12
|
-
@import "core/footer";
|
13
|
-
@import "core/social-media-icons";
|
14
|
-
@import "core/breadcrumb";
|
15
|
-
@import "core/tables";
|
16
|
-
@import "core/animations";
|
17
|
-
@import "core/syntax";
|
18
|
-
@import "core/flipclock";
|
19
|
-
@import "core/openhours";
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
@import "custom";
|
4
|
-
|
5
|
-
@import 'bootstrap';
|
6
|
-
@import 'bootstrap/variables';
|
7
|
-
|
8
|
-
@import "core/fonts";
|
9
|
-
@import "core/nav";
|
10
|
-
@import "core/theme";
|
11
|
-
@import "core/cookieconsent";
|
12
|
-
@import "core/footer";
|
13
|
-
@import "core/social-media-icons";
|
14
|
-
@import "core/breadcrumb";
|
15
|
-
@import "core/tables";
|
16
|
-
@import "core/animations";
|
17
|
-
|
18
|
-
@import "core/products";
|
19
|
-
@import "core/lightbox";
|
20
|
-
@import "core/carousel-styles";
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
@import "custom";
|
4
|
-
|
5
|
-
@import 'bootstrap';
|
6
|
-
@import 'bootstrap/variables';
|
7
|
-
|
8
|
-
@import "core/fonts";
|
9
|
-
@import "core/nav";
|
10
|
-
@import "core/theme";
|
11
|
-
@import "core/cookieconsent";
|
12
|
-
@import "core/footer";
|
13
|
-
@import "core/social-media-icons";
|
14
|
-
@import "core/breadcrumb";
|
15
|
-
@import "core/tables";
|
16
|
-
@import "core/animations";
|
17
|
-
|
18
|
-
@import "core/projects";
|
19
|
-
@import "core/carousel-styles";
|
20
|
-
@import "core/lightbox";
|