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 +4 -4
- data/assets/_sass/_overrides.scss +37 -19
- data/lib/octopod/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1e97c76791da4caf394541907199b2009985f42854b547c8644321d057f1ca36
|
|
4
|
+
data.tar.gz: 0e0b22eba05771002edc86a2894dbae32fa67ad1bda9d9b348b601d5c794b006
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
//
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
//
|
|
28
|
-
//
|
|
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: #
|
|
33
|
-
--bulma-navbar-h:
|
|
34
|
-
--bulma-navbar-s:
|
|
35
|
-
--bulma-navbar-l:
|
|
36
|
-
|
|
37
|
-
|
|
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
|
|
59
|
+
// Links and buttons in the website match the navbar, but get lightened on hover for feedback
|
|
41
60
|
a {
|
|
42
|
-
color: #
|
|
61
|
+
color: #48CFAD;
|
|
43
62
|
}
|
|
44
63
|
a:hover {
|
|
45
|
-
color: #
|
|
64
|
+
color: #7BD1BD;
|
|
46
65
|
}
|
|
47
66
|
.button.is-primary {
|
|
48
|
-
background-color: #
|
|
67
|
+
background-color: #48CFAD;
|
|
49
68
|
}
|
|
50
69
|
.button.is-primary:hover, .button.is-primary:focus {
|
|
51
|
-
background-color: #
|
|
70
|
+
background-color: #7BD1BD;
|
|
52
71
|
}
|
|
53
|
-
*/
|
data/lib/octopod/version.rb
CHANGED