jumbo-jekyll-theme 3.0.30 → 3.0.31
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 +4 -4
- data/_includes/jumbotron.html +6 -1
- data/_sass/core/jumbotron.scss +21 -0
- data/_sass/core/theme.scss +34 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b023cb7a6b3c7e6b0f26aea41c471e6148010b69c96e51346ef3378ba52ec694
|
|
4
|
+
data.tar.gz: 5ab3a529e935525c7d8c38a7c4831747c195f4b698040efbcc6b0a60413f64a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 91a6c121a44f2b556bb2e89312819869305825c07495fa64ff1f0433b076da61fb029bce71eaf6981f1ff0448a7ff7bfeb56054bb1dd3d6ef57012ef2031384d
|
|
7
|
+
data.tar.gz: 4c855c86cfc8711f375f49d79720c7ac995ef04db8c63c87c401a1e58e04f4ea581f35f358d3f563716332f63dc941d3ee58450ca6f5a042b41b45a521da9bdb
|
data/_includes/jumbotron.html
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
<div class="row {% if page.jumbotron.background-image %}background-image {% endif %}{% if site.data.settings.jumbotron.darken %}overlay{% endif %}" id="jumbotron"
|
|
1
|
+
<div class="{% if page.jumbotron.video %}video {% endif %}row {% if page.jumbotron.background-image %}background-image {% endif %}{% if site.data.settings.jumbotron.darken %}overlay{% endif %}" id="jumbotron"
|
|
2
2
|
{% if page.jumbotron.background-image %}
|
|
3
3
|
style="background-image: url('{{page.jumbotron.background-image}}');"
|
|
4
4
|
{% else %}
|
|
5
5
|
class="jumbotron text-center featured-jumbotron"
|
|
6
6
|
{% endif %}> <!--Row -->
|
|
7
|
+
{% if page.jumbotron.video %}
|
|
8
|
+
<video autoplay muted preload="none" poster="{{page.jumbotron.video.poster}}" loop id="jumbotronVideo">
|
|
9
|
+
<source src="{{page.jumbotron.video.source}}" type="video/mp4">
|
|
10
|
+
</video>
|
|
11
|
+
{% endif %}
|
|
7
12
|
<div id="jumbotron-content" class=" flex-container"> <!--Jumbotron div -->
|
|
8
13
|
<div class="container flex-center" id="jumbotron-text"> <!--Container -->
|
|
9
14
|
{% if page.jumbotron.image %}
|
data/_sass/core/jumbotron.scss
CHANGED
|
@@ -32,6 +32,27 @@ div#jumbotron-content {
|
|
|
32
32
|
width: 100%;
|
|
33
33
|
z-index: -1;
|
|
34
34
|
}
|
|
35
|
+
video#jumbotronVideo {
|
|
36
|
+
position: absolute;
|
|
37
|
+
right: 0;
|
|
38
|
+
bottom: 0;
|
|
39
|
+
min-width: 100%;
|
|
40
|
+
min-height: 100%;
|
|
41
|
+
top:0px;
|
|
42
|
+
z-index:-2;
|
|
43
|
+
}
|
|
44
|
+
div#jumbotron.video {
|
|
45
|
+
height: 600px !important;
|
|
46
|
+
}
|
|
47
|
+
div#jumbotron.video:before {
|
|
48
|
+
height: 600px !important;
|
|
49
|
+
}
|
|
50
|
+
div#jumbotron.video h1#jumbotron-heading {
|
|
51
|
+
font-size: 50px;
|
|
52
|
+
}
|
|
53
|
+
div#jumbotron.video div#jumbotron-content {
|
|
54
|
+
height:600px;
|
|
55
|
+
}
|
|
35
56
|
div#jumbotron.background-image {
|
|
36
57
|
background-size: cover !important;
|
|
37
58
|
background-position: center center !important;
|
data/_sass/core/theme.scss
CHANGED
|
@@ -673,3 +673,37 @@ ul {
|
|
|
673
673
|
border: 1px solid #000000;
|
|
674
674
|
color:white;
|
|
675
675
|
}
|
|
676
|
+
.padded-row-30 {
|
|
677
|
+
padding: 30px 0;
|
|
678
|
+
}
|
|
679
|
+
.content-row {
|
|
680
|
+
background-color: white;
|
|
681
|
+
position: relative;
|
|
682
|
+
}
|
|
683
|
+
#wrapper p.home-text {
|
|
684
|
+
font-size: 22px;
|
|
685
|
+
text-align: center;
|
|
686
|
+
}
|
|
687
|
+
#wrapper .text-white {
|
|
688
|
+
color:white;
|
|
689
|
+
}
|
|
690
|
+
#wrapper a.btn.btn-block-center {
|
|
691
|
+
display:block;
|
|
692
|
+
width:100px;
|
|
693
|
+
margin: 10px auto;
|
|
694
|
+
position: relative;
|
|
695
|
+
}
|
|
696
|
+
$spaceamounts: (10, 20, 30, 40, 50, 75, 100); // Adjust this to include the pixel amounts you need.
|
|
697
|
+
$sides: (top, bottom, left, right); // Leave this variable alone
|
|
698
|
+
|
|
699
|
+
@each $space in $spaceamounts {
|
|
700
|
+
@each $side in $sides {
|
|
701
|
+
.m-#{str-slice($side, 0, 1)}-#{$space} {
|
|
702
|
+
margin-#{$side}: #{$space}px !important;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.p-#{str-slice($side, 0, 1)}-#{$space} {
|
|
706
|
+
padding-#{$side}: #{$space}px !important;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
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: 3.0.
|
|
4
|
+
version: 3.0.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kyle Kirkby
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-12-
|
|
11
|
+
date: 2018-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|