bulma-clean-theme 0.7 → 0.7.1

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: 8d67bce7574a528187ff83f42a98c92cbddcadfb
4
- data.tar.gz: 245b335b23f5d019642025070d86f115a5790672
3
+ metadata.gz: 47db56aedee8c60258a2017150dd715fcfa43deb
4
+ data.tar.gz: 252c1dfab1869321cbfbdf94cdfb338e7f070cf5
5
5
  SHA512:
6
- metadata.gz: 5709435bc0f60ac0755de293f39027b321f991f7201081a5e275e9eb02007137fdc367b15d016aeb9cfa94f0ce70fc5089274afb4822bb7dc6cb584664a91f28
7
- data.tar.gz: af4fb3b2db23b8c3e9b0e811438ffd29e4f119719e1e3dc85cf4b90d062440120238eafe248a41e6ca3a091840a73c1a78684e285c86d58adf1fa84cae7273fb
6
+ metadata.gz: 7393d7fdfb5b174679c859d47f4efa08de4854e2d7acafb6d99d019c78be93b47d5ff348f140a6fa05eae8139f933de48a29b245f03838be96cb080652760034
7
+ data.tar.gz: ad8d25343e0a3c73a20fb4ab835738e3805b610fd0e1e0f536a488949e0c713e9c3163a80cdc52ed8017f8c78026f650eb5adfbac1b70c274524488f14da4ffb
data/README.md CHANGED
@@ -75,6 +75,9 @@ If you would like to add a call to action button in the hero then add `hero_link
75
75
  **New in 0.5.7**
76
76
  If you would like to hide the hero, you can set `hide_hero: true` in the page's front matter.
77
77
 
78
+ **New in 0.7.1**
79
+ If you would like to darken the hero so the title stands out more, you can set `hero_darken: true` in the page's front matter. You can overwrite the default background colour by setting the `$hero-darken` sass variable.
80
+
78
81
  #### Table Of Contents
79
82
 
80
83
  **New in 0.5.8**
@@ -1,5 +1,5 @@
1
1
  <section class="hero {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} is-bold is-primary" {% if page.hero_image %} style="background: url('{{ page.hero_image }}') no-repeat center center; background-size: cover;" {% endif %}>
2
- <div class="hero-body">
2
+ <div class="hero-body {% if page.hero_darken %} hero-darken {% endif %}">
3
3
  <div class="container">
4
4
  <p class="title is-2">{{ page.title }}</p>
5
5
  <p class="subtitle is-3">{{ page.subtitle }}</p>
@@ -16,4 +16,8 @@ div.highlight {
16
16
  box-shadow: $box-shadow;
17
17
  padding: 1.5rem;
18
18
  margin-bottom: 3rem;
19
+ }
20
+
21
+ .hero-darken {
22
+ background-color: rgba($hero-darken, 0.5);
19
23
  }
@@ -8,6 +8,8 @@ $tabs-link-active-color: $primary;
8
8
  $tabs-link-active-border-bottom-color: $primary;
9
9
 
10
10
  @import "../node_modules/bulma/bulma.sass";
11
+ $hero-darken: $dark !default;
12
+
11
13
  @import "layout";
12
14
  @import "syntax";
13
15
  @import "showcase";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulma-clean-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrisrhymes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-07 00:00:00.000000000 Z
11
+ date: 2020-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll