jumbo-jekyll-theme 1.4.2.6 → 1.4.2.7

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: e04c1ac48527793a8f20d1efab92b5b1f93af58a
4
- data.tar.gz: ad3a6934cb3442c0fc30620256354139d6d07fb5
3
+ metadata.gz: b4e48c317f8f7156a61c9967db510970124de1d3
4
+ data.tar.gz: eb6bf47c6ce00596a45bad9372607d6fbd6f4ae1
5
5
  SHA512:
6
- metadata.gz: bef06fa952271dec7dd672a58153b5572340c1243ac97d7230981b15b533334d15d77185a5c5e5c0a52052fcea2faec707ec1667621a7679d87d922320af3652
7
- data.tar.gz: 5869ef1a65910f8bd26eeea4de4c2f2b9a185c882bda75b8ba9b770884da5ff45d83c8568a9be7d0fecba6c13b3f3ed8962b4294a70afc79468c6fdac98db3bb
6
+ metadata.gz: 906252131538102d50936fc2e9e207b67a2ba0e98495461cfa22c80cf0a81ab5b32c62190cbf0ef44ff07d6141c1f98ae60c475510f4cf611e9d09c248817140
7
+ data.tar.gz: f5bfb31f5825cff2a60e6e09497986368d0d8f9af08ac811ec66a4ef5a6c6f92bf27373551fabb937fc93a07fb28b7df464fafc9386389a14df70deb6c94c449
data/_data/settings.yml CHANGED
@@ -40,8 +40,7 @@ home:
40
40
  class: btn btn-primary btn-lg fade-in-three bottom-border-five
41
41
  # Background image for the home page located in assets/images
42
42
  background-image: background-image.jpg
43
- #image: Linaro-Logo.svg
44
-
43
+ # image: devicetree-icon-white.png
45
44
 
46
45
  # Jekyll social media site settings. Github, LinkedIn, Google+, Facebook and Youtube
47
46
  github_username: Linaro
@@ -1,18 +1,11 @@
1
1
  <div class="container-fluid" id="homepage-header"
2
2
  {% if site.data.settings.home.jumbotron.background-image %}
3
- style="background: #000 url({% asset_path '{{site.data.settings.home.jumbotron.background-image}}' %}) no-repeat center center fixed;
4
- background-size: cover;
5
- -webkit-background-size: cover;
6
- -moz-background-size: cover;
7
- -o-background-size: cover;
8
- background-position-y: 0px"
9
- class="jumbotron text-center featured-jumbotron homepage-image-jumbotron"
3
+ style="background-image: url('{% asset_path '{{site.data.settings.home.jumbotron.background-image}}' %}');"
10
4
  {% else %}
11
5
  class="jumbotron text-center featured-jumbotron"
12
6
  {% endif %}> <!--Fluid Container -->
13
- <div class="row"> <!--Row -->
14
- <div id="featured-jumbotron"> <!--Jumbotron div -->
15
-
7
+ <div class="row overlay"> <!--Row -->
8
+ <div id="featured-jumbotron"> <!--Jumbotron div -->
16
9
  <div class="container" id="jumbotron-text"> <!--Container -->
17
10
 
18
11
  {% if site.data.settings.home.jumbotron.image %}
@@ -35,20 +28,21 @@
35
28
  <span>{{site.data.settings.home.jumbotron.text.second-line}}</span>
36
29
  </p>
37
30
  {% endif %}
31
+
32
+ {% if site.data.settings.home.jumbotron.buttons %}
33
+ <p id="buttons">
34
+ {% for button in site.data.settings.home.jumbotron.buttons %}
35
+ <a class="{{button.class}}" href="{{button.url}}" role="button">
36
+ {{button.text}}
37
+ </a>
38
+ {% endfor %}
39
+ </p>
40
+ {% endif %}
38
41
 
39
- <p id="buttons">
40
- {% for button in site.data.settings.home.jumbotron.buttons %}
41
- <a class="{{button.class}}" href="{{button.url}}" role="button">
42
- {{button.text}}
43
- </a>
44
- {% endfor %}
45
- </p>
46
-
47
- </div>
48
-
42
+ </div><!-- End Jumbotron Container Div -->
43
+ {% if site.data.settings.home.shaped-divider %}
44
+ {% include shape-divider.html %}
45
+ {% endif %}
49
46
  </div> <!--End Jumbotron div -->
50
47
  </div> <!--row -->
51
- {% if site.data.settings.home.shaped-divider %}
52
- {% include shape-divider.html %}
53
- {% endif %}
54
- </div> <!--End Container-fluid -->
48
+ </div> <!--End Container-fluid -->
@@ -1,14 +1,12 @@
1
- <div class="row">
2
- <div class="homepage-shape">
3
- <svg width="100%" height="130px">
4
- <defs>
5
- <pattern id="shapeDividerPattern-4" preserveaspectratio="none" style="background-repeat: none;" patternunits="userSpaceOnUse" x="0" y="0" width="100%" height="1300px" viewbox="0 0 100 1300">
6
- <polygon fill="#ffffff" points="0,0 0,130 50,130 "></polygon>
7
- <polygon fill="#ffffff" points="100,0 100,130 50,130 "></polygon>
8
- </pattern>
9
- </defs>
10
- <!-- Background -->
11
- <rect x="0" y="0" width="100%" height="130px" fill="url(#shapeDividerPattern-4)"></rect>
12
- </svg>
13
- </div>
14
- </div>
1
+ <div class="homepage-shape">
2
+ <svg width="100%" height="130px">
3
+ <defs>
4
+ <pattern id="shapeDividerPattern-4" preserveaspectratio="none" style="background-repeat: none;" patternunits="userSpaceOnUse" x="0" y="0" width="100%" height="1300px" viewbox="0 0 100 1300">
5
+ <polygon fill="#ffffff" points="0,0 0,130 50,130 "></polygon>
6
+ <polygon fill="#ffffff" points="100,0 100,130 50,130 "></polygon>
7
+ </pattern>
8
+ </defs>
9
+ <!-- Background -->
10
+ <rect x="0" y="0" width="100%" height="130px" fill="url(#shapeDividerPattern-4)"></rect>
11
+ </svg>
12
+ </div>
@@ -7,4 +7,40 @@
7
7
  div#featured-jumbotron {
8
8
  margin-top: $navbar-height + 10;
9
9
  text-align: center;
10
+ }
11
+
12
+ #jumbotron-image:before {
13
+ content: '';
14
+ position: absolute;
15
+ top: 0;
16
+ right: 0;
17
+ bottom: 0;
18
+ left: 0;
19
+ background-image: linear-gradient(to bottom right, #000, #000);
20
+ opacity: .5;
21
+ }
22
+
23
+ .overlay {
24
+ background-color: rgba(0, 0, 0, 0.7);
25
+ position: relative;
26
+ }
27
+
28
+
29
+ div.jumbotron-image{
30
+ background-repeat: no-repeat;
31
+ background-position: center;
32
+ background-size: cover;
33
+ height: 100%;
34
+ width: 100%;
35
+ }
36
+
37
+ .overlay:before {
38
+ content: '';
39
+ position: relative;
40
+ top: 0;
41
+ right: 0;
42
+ bottom: 0;
43
+ left: 0;
44
+ background-image: linear-gradient(to bottom right, #000, #000);
45
+ opacity: .5;
10
46
  }
Binary file
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: 1.4.2.6
4
+ version: 1.4.2.7
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-01-17 00:00:00.000000000 Z
11
+ date: 2018-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll