benjeto-jekyll-theme 0.2.9 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/nicovideo.html +1 -1
- data/_includes/postbox-feed.html +1 -1
- data/_includes/youtube.html +1 -1
- data/_sass/benjeto/base.scss +3 -2
- data/_sass/benjeto/css/figure.scss +0 -10
- 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: 9af5628f32a23074a4ce89b7ab14ff2b3b7bddb0d121160687b2c29d2c1b4fc1
|
4
|
+
data.tar.gz: ed5bdc52393bbf4e6360bda721d3614a9240c28d406460b1630eae6c13d894b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9caed8aa6a7aac518e62a855e13d1549513161b6dfabcb40e06505c2ece810a9ddce61f7baaa246379fbdce452529e7bec0598c9c768792b9cb86b0017969942
|
7
|
+
data.tar.gz: b1ca7d9be862c568cd583df7670c0a82f6a8e2cc8831af743093374bb0b364ec6498a6409f12ee4e77367e3dceb6ea506e132a2793a7102f597492cb894e3964
|
data/_includes/nicovideo.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
{%- assign title = include.title -%}
|
3
3
|
{%- assign aspect = include.aspect | default: "16 / 9" -%}
|
4
4
|
{%- if id -%}
|
5
|
-
<iframe class="nicovideo" style="aspect-ratio: {{ aspect }}" src="https://embed.nicovideo.jp/watch/{{ id }}" title="{{ texts.nicovideo_title }}"
|
5
|
+
<iframe class="nicovideo" style="aspect-ratio: {{ aspect }}" src="https://embed.nicovideo.jp/watch/{{ id }}" title="{{ texts.nicovideo_title }}" allow="clipboard-write; encrypted-media; picture-in-picture; web-share" referrerpolicy="no-referrer" allowfullscreen sandbox="allow-scripts allow-same-origin">
|
6
6
|
<a href="https://www.nicovideo.jp/watch/{{ id }}" target="_blank" rel="noopener noreferrer">{{ title | default: texts.nicovideo_link }}</a>
|
7
7
|
</iframe>
|
8
8
|
{%- endif -%}
|
data/_includes/postbox-feed.html
CHANGED
data/_includes/youtube.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
{%- assign title = include.title -%}
|
3
3
|
{%- assign aspect = include.aspect | default: "16 / 9" -%}
|
4
4
|
{%- if id -%}
|
5
|
-
<iframe class="youtube" style="aspect-ratio: {{ aspect }}" src="https://www.youtube-nocookie.com/embed/{{ id }}" title="{{ texts.youtube_title }}"
|
5
|
+
<iframe class="youtube" style="aspect-ratio: {{ aspect }}" src="https://www.youtube-nocookie.com/embed/{{ id }}" title="{{ texts.youtube_title }}" allow="clipboard-write; encrypted-media; picture-in-picture; web-share" referrerpolicy="no-referrer" allowfullscreen sandbox="allow-scripts allow-same-origin">
|
6
6
|
<a href="https://www.youtube.com/watch?v={{ id }}" target="_blank" rel="noopener noreferrer">{{ title | default: texts.youtube_link }}</a>
|
7
7
|
</iframe>
|
8
8
|
{%- endif -%}
|
data/_sass/benjeto/base.scss
CHANGED
@@ -379,6 +379,7 @@ div.header {
|
|
379
379
|
margin-bottom: -8px;
|
380
380
|
background: var(--boxbg);
|
381
381
|
border-radius: 0 0 8px 8px;
|
382
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
|
382
383
|
img {
|
383
384
|
vertical-align: bottom;
|
384
385
|
width: 100%;
|
@@ -506,10 +507,10 @@ article.feed-post, div.custom-feed {
|
|
506
507
|
}
|
507
508
|
div.post-excerpt {
|
508
509
|
p {
|
509
|
-
margin: 0;
|
510
|
+
margin: 2px 0;
|
510
511
|
}
|
511
512
|
iframe.youtube, iframe.nicovideo {
|
512
|
-
margin:
|
513
|
+
margin: 8px 0;
|
513
514
|
height: 240px;
|
514
515
|
}
|
515
516
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: benjeto-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cizzuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|