cafe-theme 0.1.10 → 0.1.11

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: 44b7cb4a85f3ff6f2aaf2f805069d20e603cd1249267d2953c263ff06ef7ea21
4
- data.tar.gz: 7a4d42e780b932ce7ce584cd534af32e91bb86d8140f1390b7bb73a59328ac65
3
+ metadata.gz: bf3883afd1a321bda7d0963dc5ce325491cbeaabfc112fa47c2d3ef9725188dd
4
+ data.tar.gz: d4810a628abd2e7e646a60057b8b6209e172b17611fc92e25db4c1f6cec4cddd
5
5
  SHA512:
6
- metadata.gz: eacb1eb173dec74379747a918b8b911f1d53037180c32065e2a00dca9b6ec46bf1eb6ee9c49f0b83bac08ba2399971d5eb01cc854c337ca386d72b684646ed0a
7
- data.tar.gz: '08c2d9a570a6a0e8110301359d7aebdd59532c6ad4d137effd81891fa604f6eaa166e41bd9d1ba96024e7f84d96140a4e3d7a41553084298b7ef425944fd8370'
6
+ metadata.gz: d24be536cc6dd16bacc245138a3d43296e32d4798f4bb3aadf12b2a2c3ee8dfcfeab734f2579ec9311a88366e2df73b3a81dd4852a6753bc54f1748e8248c409
7
+ data.tar.gz: bd4a730fd886649b7f87ad09e44b88afa2f2e3d9881804e8a3e80210c6f8a6da314ede9abc98c383cb5a9152ba8835bcf07fd89875984bbaa3fad9f90888f069
data/_includes/nav.html CHANGED
@@ -1,4 +1,4 @@
1
- <nav {% if page.banner %}{% else %}id="scrolled"{% endif %}>
1
+ <nav {% unless page.banner %}id="scrolled"{% endunless %}>
2
2
  <a id="title" href="{{ '/' | relative_url }}">
3
3
  <img src="{{ '/assets/images/logo.webp' | relative_url }}" alt="{{ site.data.brand.name }} logo">
4
4
  <span>{{ site.data.brand.name }}{% if site.data.production.demo %} - Unofficial{% endif %}</span>
data/_sass/nav.scss CHANGED
@@ -28,7 +28,17 @@ nav {
28
28
  }
29
29
  }
30
30
 
31
- &#scrolled, &:hover {
31
+ @if $permanent_nav_background == false {
32
+ &#scrolled, &:hover {
33
+ background-color: transparentize($background-color, $opacity);
34
+
35
+ a {
36
+ color: $foreground-color;
37
+ text-shadow: 0 0 5px transparent;
38
+ }
39
+ }
40
+ }
41
+ @else {
32
42
  background-color: transparentize($background-color, $opacity);
33
43
 
34
44
  a {
@@ -25,6 +25,7 @@
25
25
  $accent-color: {{ site.data.brand.accent_color }};
26
26
  $opacity: 0.3;
27
27
  $border-radius: 10px;
28
+ $permanent_nav_background: {{ site.data.brand.permanent_nav_background }};
28
29
 
29
30
  @import "main";
30
31
  @import "nav";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cafe-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Douch