cafe-theme 0.1.9 → 0.1.12
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/_includes/banner.html +5 -3
- data/_includes/nav.html +1 -1
- data/_layouts/menu.html +1 -1
- data/_sass/menu.mobile.scss +4 -0
- data/_sass/nav.scss +11 -1
- data/assets/css/style.scss +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 626fceb82d97f4295f7f5fd3bbe54320e171ecdd3347d719dbb64fc56aa5c8c6
|
4
|
+
data.tar.gz: 47bfec79991d2726b8c15b30541e2e214ff2ba5d5f05940443002ad307ebc749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cff0bec24fcd430ef0e8973b5d18bfb2bbd3eb7c9199f570ca4b5489845e1d1008df98bb5492fc244e0762bf6c09b95eb092d444342e54029086ad217d63993a
|
7
|
+
data.tar.gz: 00cab115504e703560141118969c456f7fd2a5108b95aa0e08a50e55ff6ed0b51b942b552282daaf9e65f1ccfc3ed7fc6265602f8e39cccf470b442f31cbb974
|
data/_includes/banner.html
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
{% if page.banner %}
|
2
2
|
{% assign banner_path = "/assets/images/banners/" | append: page.banner | append: "/" | append: page.banner %}
|
3
3
|
<video id="banner" autoplay loop muted playsinline poster="{{ banner_path | append: '.webp' | relative_url }}" style="background-image: url({{ banner_path | append: '.webp' | relative_url }});">
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
{% if page.banner_video %}
|
5
|
+
<source src="{{ banner_path | append: '.webm' | relative_url }}" type="video/webm">
|
6
|
+
<source src="{{ banner_path | append: '.mp4' | relative_url }}" type="video/mp4">
|
7
|
+
Your browser does not support the video tag.
|
8
|
+
{% endif %}
|
7
9
|
</video>
|
8
10
|
|
9
11
|
<!-- Updates scrolling attribute to change nav bar opacity -->
|
data/_includes/nav.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<nav {%
|
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/_layouts/menu.html
CHANGED
@@ -14,7 +14,7 @@ layout: default
|
|
14
14
|
{% endunless %}
|
15
15
|
<h1>{{ section.title | upcase }}</h1>
|
16
16
|
<p>{{ section.time }}</p>
|
17
|
-
<div id="{{
|
17
|
+
<div id="{{ section.title }}">
|
18
18
|
{% for heading in section.headings %}
|
19
19
|
{% if heading.name %}
|
20
20
|
<h2>{{ heading.name }}</h2>
|
data/_sass/menu.mobile.scss
CHANGED
data/_sass/nav.scss
CHANGED
@@ -28,7 +28,17 @@ nav {
|
|
28
28
|
}
|
29
29
|
}
|
30
30
|
|
31
|
-
|
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 {
|
data/assets/css/style.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cafe-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin Douch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|