jumbo-jekyll-theme 1.4.2.29 → 1.4.2.30

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a9e6b4e1d72e2335914cdd772b69ad4123fc6f5
4
- data.tar.gz: 28e533f5d1f2680869e75cba9f6fcbe9d370cd62
3
+ metadata.gz: 6a72c894869694da8bce36b4e407bc26f9de6db3
4
+ data.tar.gz: d22025144ad29fa1f4c4dc3f310497b407876121
5
5
  SHA512:
6
- metadata.gz: b12a4e5019bbb4becfa7ac357723e344ae50dda95c598438518adb0e12fb5ff38210082bd62e69e408e8edd03106e6a81a68921ef469d95ce6e1b4c215a30fb7
7
- data.tar.gz: 18804ea8a21f831604f14d45ccc8853247ddf96e61b9fe7aa50fdfe4d5ef6d48a4954be4a33ddb2e2b89a1fb7a6f5227804b68facd4ad6ff2428aeccbe358b7a
6
+ metadata.gz: 674ad57175c1451e9495b6f3c48e8e4d5f2714b800bc822061a91f7ca8c126d8c0273945117f18e3d6efb19420788d16399e5ededf94ffd9f70a61d1add613f1
7
+ data.tar.gz: 9be9a7e8d1c79b0f37551156d338dead3d7e8ed4102810c7be573f966b51ed49964c35b6558acabae5802c089cb32172475d89f5d6dbdd970932285d15e27b49
data/_data/settings.yml CHANGED
@@ -14,6 +14,8 @@ linaro-footer-image: Linaro-Sprinkle.png
14
14
 
15
15
  # Settings for the home page
16
16
  home:
17
+ #Content Background Image E.g. DeviceTree.org
18
+ # content-image: background-image.png
17
19
  # If this is set then the navigation will be transparent.
18
20
  transparent-nav: true
19
21
  # If this is set to true then the shape divider will be displayed
data/_layouts/home.html CHANGED
@@ -10,8 +10,12 @@ home: true
10
10
  {% endif %}
11
11
 
12
12
  <div class="container-fluid" id="content-container">
13
- <div class="row">
14
- <div class="container">
13
+ <div class="row {% if site.data.settings.home.content-image %}content-background-image-row{% endif %}">
14
+ {% if site.data.settings.home.content-image %}
15
+ <div class="content-background-image"
16
+ style="background-image: url({% asset_path '{{site.data.settings.home.content-image}}' %});"></div>
17
+ {% endif %}
18
+ <div class="container {% if site.data.settings.home.content-image %}content-background-image-container{% endif %}">
15
19
  {{ content }}
16
20
  </div>
17
21
  </div>
@@ -44,6 +44,7 @@
44
44
  -moz-background-size: cover;
45
45
  -o-background-size: cover;
46
46
  background-size: cover;
47
+ background-position: center center;
47
48
  }
48
49
 
49
50
  /* Sub Text in Home Page Header */
@@ -93,4 +94,25 @@ div#wrapper.home-container {
93
94
  .row.activity-holder.center-block {
94
95
  height: auto;
95
96
  }
97
+ }
98
+
99
+ .content-background-image {
100
+ background-repeat: no-repeat;
101
+ background-position: center;
102
+ background-size: cover;
103
+ border-bottom: 1px solid #ccc;
104
+ position: absolute;
105
+ height: 100%;
106
+ width: 100%;
107
+ opacity: .5;
108
+ }
109
+
110
+
111
+ .content-background-image-container{
112
+ position: relative;
113
+ }
114
+
115
+ .content-background-image-row{
116
+ position: relative;
117
+ overflow: hidden;
96
118
  }
@@ -20,8 +20,9 @@ div#featured-jumbotron {
20
20
  opacity: .5;
21
21
  }
22
22
 
23
+ /* Featured Image Overlay - 50% opacity */
23
24
  .overlay {
24
- background-color: rgba(0, 0, 0, 0.7);
25
+ background-color: rgba(0, 0, 0, 0.5);
25
26
  position: relative;
26
27
  }
27
28
 
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.29
4
+ version: 1.4.2.30
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-02-12 00:00:00.000000000 Z
11
+ date: 2018-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll