jekyll-octopod 0.16.0 → 0.16.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
  SHA256:
3
- metadata.gz: 8db2f57d31d171f21e326e3ac92bf8642f958db87f38c5bd8d40375b4b839671
4
- data.tar.gz: 37fdf23887400278251eec91607e70f88e19916f32cb4dd62e9a7bfc36f8e4bd
3
+ metadata.gz: 1e97c76791da4caf394541907199b2009985f42854b547c8644321d057f1ca36
4
+ data.tar.gz: 0e0b22eba05771002edc86a2894dbae32fa67ad1bda9d9b348b601d5c794b006
5
5
  SHA512:
6
- metadata.gz: 89105dc41c40fc03e3ed92be9b542f322d9e17214fdc9eb00b6f664833a7f39c01a60f560256008affa1aab3193be8d2834e95e1758b9c58487acde8dcd223e4
7
- data.tar.gz: b512219be5552762b4fe45364df66eb949a7e3a6d47d840c1230376191e60e97fa8532e4250aafd6751242875dfc9e67128b18d19ee0f846327976ac6d7aca58
6
+ metadata.gz: b5bef749f76e82144d8b4755339710ff8a87392e8bfea9f0c30899c7fbc67c22913c6f4b100a0ad2a05b91f68a2817d1759ca7a52c169c1370dd0e123e248601
7
+ data.tar.gz: 65125e024416c0d9218ca8543fc4c641fd1dbefa1af2d9b2f9ba67a3a7f875825ef08be5adf5c711c2d47ed2c034843fe709d2714e1da792e5661ce5f285ebc3
@@ -21,33 +21,51 @@ h1 small, h2 small, h3 small {
21
21
  font-size: 45%;
22
22
  }
23
23
 
24
- // Theme for the Swiss-Sided Dice podcast, red and white based on the Swiss flag - commented out for now, until a better solution can be found
25
-
26
- /*
27
- // Bulma's navbar reads its colors from CSS custom properties scoped on .navbar,
28
- // so a single block covers the background plus the hue/saturation/lightness
29
- // triple it derives hover, active and dropdown shading from - no separate
30
- // hover/toggle overrides needed the way Bootstrap required.
24
+ // Example: give your site its own brand color instead of Bulma's default navbar. Bulma's navbar
25
+ // reads its colors from CSS custom properties scoped on .navbar, so a single block covers the
26
+ // background plus the hue/saturation/lightness triple it derives hover, active and dropdown
27
+ // shading from. Swap the values below for your own color and delete this comment once you've
28
+ // made it yours.
31
29
  .navbar {
32
- --bulma-navbar-background-color: #E11A27;
33
- --bulma-navbar-h: 356deg;
34
- --bulma-navbar-s: 87%;
35
- --bulma-navbar-l: 45%;
36
- --bulma-navbar-item-color: #FFF;
37
- --bulma-navbar-burger-color: #FFF;
30
+ --bulma-navbar-background-color: #48CFAD;
31
+ --bulma-navbar-h: 166deg;
32
+ --bulma-navbar-s: 48%;
33
+ --bulma-navbar-l: 55%;
34
+
35
+ // Without this, Bulma still colors the *currently active* nav item (a.navbar-item.is-active)
36
+ // from its own global --bulma-link-h/-s/-l default (a blue unrelated to the values above) instead
37
+ // of from this navbar's own hue/saturation/lightness - these four properties are what it actually
38
+ // reads for that state, so they need to be pointed at our own values too.
39
+ --bulma-navbar-item-selected-h: var(--bulma-navbar-h);
40
+ --bulma-navbar-item-selected-s: var(--bulma-navbar-s);
41
+ --bulma-navbar-item-selected-l: var(--bulma-navbar-l);
42
+ --bulma-navbar-item-selected-background-l: 40%;
43
+ --bulma-navbar-item-selected-color-l: 97%;
44
+ }
45
+
46
+ // The resting nav items' text color is Bulma's own --bulma-text-l, which is intentionally light
47
+ // in dark mode (for contrast against the page's now-dark background) - but our navbar's own
48
+ // background above is a literal color, so it doesn't darken with the rest of the page. Without
49
+ // this, dark mode ends up with near-white text on a background that's still light-mode teal,
50
+ // unreadable. Darkening the same hue/saturation here keeps the brand color recognizable while
51
+ // giving Bulma's light dark-mode text something dark enough to actually contrast against.
52
+ @media (prefers-color-scheme: dark) {
53
+ .navbar {
54
+ --bulma-navbar-background-color: #1B4B40;
55
+ --bulma-navbar-l: 20%;
56
+ }
38
57
  }
39
58
 
40
- // Links and buttons in the website are a dark red for best contrast, but get lightened on hover for feedback
59
+ // Links and buttons in the website match the navbar, but get lightened on hover for feedback
41
60
  a {
42
- color: #CF000F;
61
+ color: #48CFAD;
43
62
  }
44
63
  a:hover {
45
- color: #EF3743;
64
+ color: #7BD1BD;
46
65
  }
47
66
  .button.is-primary {
48
- background-color: #CF000F;
67
+ background-color: #48CFAD;
49
68
  }
50
69
  .button.is-primary:hover, .button.is-primary:focus {
51
- background-color: #EF3743;
70
+ background-color: #7BD1BD;
52
71
  }
53
- */
@@ -3,7 +3,7 @@ module Jekyll
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 16
6
- TINY = 0
6
+ TINY = 1
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-octopod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arne Eilermann