benjeto-jekyll-theme 0.3.9 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/postbox-feed.html +11 -5
- data/_sass/benjeto/base.scss +15 -3
- data/_sass/benjeto/css/home-tab.scss +10 -0
- data/_sass/benjeto/css/menu.scss +3 -0
- data/_sass/benjeto/dark.scss +6 -6
- data/_sass/benjeto/light.scss +1 -1
- 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: 115d171836dab544a1eb9295b1b831589b6bbc636c5fe0c4ca5cb32cf15f7114
|
4
|
+
data.tar.gz: 1700b27f4fe7551b864b7d3d04c493a050846a2e6b9319a5e8f9436304c0dd4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f62eebe93382c0a8c66c9cb607c338583bfbb25728ea635e5d25f19011f74a50b2c468721bb7cb3e403a1ce011a050c51fef61ba5ee37b2e087723680351883e
|
7
|
+
data.tar.gz: 204c798728d6a2bc90b546ed675332cd41865567d6afe62e947778e1e373bbe2121e142ba1dde80e3059f5c4820e79db565f194c081ddaab2b08fc1f6657282a
|
data/_includes/postbox-feed.html
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
{%- assign texts = site.texts | default: site.text | default: site.data.texts -%}
|
3
3
|
{%- assign settings = site.settings | default: site.data.settings -%}
|
4
4
|
|
5
|
-
<article class="feed-post pagebox"
|
6
|
-
<div class="post-excerpt">
|
5
|
+
<article class="feed-post pagebox">
|
6
|
+
<div class="post-excerpt" {% if post.lang %} lang="{{ post.lang }}"{% endif %}>
|
7
7
|
<a href="{{ post.url | relative_url }}" class="post-link post-lighter">
|
8
8
|
{%- if post.title != "" and post.hide_title != true %}
|
9
9
|
<h2>{{ post.title | escape }}</h2>
|
@@ -16,9 +16,15 @@
|
|
16
16
|
<div class="post-foot">
|
17
17
|
<div class="meta">
|
18
18
|
<a href="{{ post.url | relative_url }}" class="post-lighter">
|
19
|
-
|
20
|
-
|
21
|
-
{%-
|
19
|
+
{%- if settings.home.show_date == true %}
|
20
|
+
<time datetime="{{ post.date | date_to_xmlschema }}">{{- post.date | date: texts.date_format -}}</time>
|
21
|
+
{%- endif %}
|
22
|
+
{%- if settings.home.show_categories == true %}
|
23
|
+
{%- include category.html category=post.category -%}
|
24
|
+
{%- endif %}
|
25
|
+
{%- if settings.home.show_tags == true %}
|
26
|
+
{%- include tags.html tags=post.tag -%}
|
27
|
+
{%- endif %}
|
22
28
|
</a>
|
23
29
|
</div>
|
24
30
|
{%- if settings.home.share_button == true %}
|
data/_sass/benjeto/base.scss
CHANGED
@@ -319,7 +319,7 @@ iframe.youtube, iframe.nicovideo, iframe.mastodon-embed {
|
|
319
319
|
}
|
320
320
|
|
321
321
|
header.post {
|
322
|
-
margin:
|
322
|
+
margin: 24px 16px 16px;
|
323
323
|
h1 {
|
324
324
|
font-size: 1.8em;
|
325
325
|
margin-bottom: 8px;
|
@@ -519,6 +519,7 @@ div.post-custom {
|
|
519
519
|
}
|
520
520
|
.post-foot {
|
521
521
|
display: flex;
|
522
|
+
flex-wrap: wrap;
|
522
523
|
align-items: center;
|
523
524
|
.meta {
|
524
525
|
flex: 1 auto;
|
@@ -673,12 +674,23 @@ ul.lang-select {
|
|
673
674
|
}
|
674
675
|
}
|
675
676
|
|
676
|
-
@media only screen and (max-width:
|
677
|
+
@media only screen and (max-width:240px) {
|
678
|
+
main, article.post {
|
679
|
+
width: 100%;
|
680
|
+
padding: 4px;
|
681
|
+
}
|
682
|
+
header.post {
|
683
|
+
margin: 16px 4px 16px;
|
684
|
+
}
|
685
|
+
}
|
686
|
+
|
687
|
+
@media only screen and (max-width:120px) {
|
677
688
|
body {
|
678
|
-
width:
|
689
|
+
width: 120px;
|
679
690
|
}
|
680
691
|
}
|
681
692
|
|
693
|
+
|
682
694
|
@media (prefers-contrast: more) {
|
683
695
|
header.home ul.exlink li a {
|
684
696
|
color: var(--text);
|
data/_sass/benjeto/css/menu.scss
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
.menu {
|
2
2
|
display: none;
|
3
|
+
overflow-y: auto;
|
3
4
|
position: fixed;
|
4
5
|
top: 50%;
|
5
6
|
left: 50%;
|
@@ -11,6 +12,7 @@
|
|
11
12
|
z-index: 2;
|
12
13
|
width: 500px;
|
13
14
|
max-width: 90%;
|
15
|
+
max-height: 90%;
|
14
16
|
}
|
15
17
|
|
16
18
|
.menu ul {
|
@@ -29,6 +31,7 @@
|
|
29
31
|
|
30
32
|
.menu .menuline {
|
31
33
|
display: flex;
|
34
|
+
flex-wrap: wrap;
|
32
35
|
flex-direction: row-reverse;
|
33
36
|
justify-content: space-between;
|
34
37
|
align-items: center;
|
data/_sass/benjeto/dark.scss
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
color-scheme:dark;
|
3
3
|
--bg: #000;
|
4
4
|
--bglight: #1c1e2e;
|
5
|
-
--page: #
|
5
|
+
--page: #14141e;
|
6
6
|
--text: #eaeaea;
|
7
7
|
--gray: #aaa;
|
8
8
|
--head: #f5f5f5;
|
9
|
-
--link: #
|
10
|
-
--linkhover: #
|
9
|
+
--link: #10a0ff;
|
10
|
+
--linkhover: #70baff;
|
11
11
|
--boxbg: #2a385c;
|
12
12
|
--boxbglight: #2a2c48;
|
13
13
|
--boxbgtext: #202338;
|
@@ -17,19 +17,19 @@
|
|
17
17
|
:root {
|
18
18
|
--bg: #000;
|
19
19
|
--bglight: #202333;
|
20
|
-
--page: #
|
20
|
+
--page: #13131a;
|
21
21
|
--text: #fff;
|
22
22
|
--gray: #ccc;
|
23
23
|
--head: #fff;
|
24
|
-
--link: #
|
24
|
+
--link: #6abaff;
|
25
25
|
--linkhover: #aadaff;
|
26
26
|
--boxbg: #333c60;
|
27
27
|
--boxbglight: #30334c;
|
28
28
|
--boxbgtext: #25283a;
|
29
29
|
--border: #6078a0;
|
30
30
|
}
|
31
|
-
}
|
32
31
|
article.post {
|
33
32
|
border-color: var(--bglight);
|
34
33
|
}
|
34
|
+
}
|
35
35
|
|
data/_sass/benjeto/light.scss
CHANGED
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.4.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-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|