benjeto-jekyll-theme 0.3.8 → 0.4.0
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 +2 -2
- 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 +10 -10
- data/_sass/benjeto/light.scss +5 -5
- 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: 5d20883e96e7c1be78c9c452aca03e5c05ee83e596b5cfe5fef26d2f2896b716
|
4
|
+
data.tar.gz: 12068c6990fd945c121761551e90897bd37ae19831485a206988f014bd80128a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c923ee81938869b3f4a9bcf0a8be79a0ed1421f41ad0e2003a11e92dd4f2fadd1b085dabb73ba95f1e6637e9d0a894a8667450ea216c3c374c75242e7428ca8b
|
7
|
+
data.tar.gz: 40cd899def181b22e78e1525fa19e3300ce646ac8a92fac2b3e02be5e4ec5301f8c5655b0726e5040fd93517c68cada8c9338409ec9d068e478fba02210712ef
|
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>
|
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
@@ -1,35 +1,35 @@
|
|
1
1
|
:root {
|
2
2
|
color-scheme:dark;
|
3
3
|
--bg: #000;
|
4
|
-
--bglight: #
|
5
|
-
--page: #
|
4
|
+
--bglight: #1c1e2e;
|
5
|
+
--page: #181820;
|
6
6
|
--text: #eaeaea;
|
7
7
|
--gray: #aaa;
|
8
8
|
--head: #f5f5f5;
|
9
9
|
--link: #00b2ff;
|
10
10
|
--linkhover: #a0d0ff;
|
11
|
-
--boxbg: #
|
12
|
-
--boxbglight: #
|
13
|
-
--boxbgtext: #
|
11
|
+
--boxbg: #2a385c;
|
12
|
+
--boxbglight: #2a2c48;
|
13
|
+
--boxbgtext: #202338;
|
14
14
|
--border: #405890;
|
15
15
|
}
|
16
16
|
@media (prefers-contrast: more) {
|
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
24
|
--link: #5acaff;
|
25
25
|
--linkhover: #aadaff;
|
26
|
-
--boxbg: #
|
27
|
-
--boxbglight: #
|
28
|
-
--boxbgtext: #
|
26
|
+
--boxbg: #333c60;
|
27
|
+
--boxbglight: #30334c;
|
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
@@ -9,8 +9,8 @@
|
|
9
9
|
--linkhover: #0020a0;
|
10
10
|
--boxbg: #c5daff;
|
11
11
|
--boxbglight: #e0e8ff;
|
12
|
-
--boxbgtext: #
|
13
|
-
--border: #
|
12
|
+
--boxbgtext: #dce5ff;
|
13
|
+
--border: #50a0ff;
|
14
14
|
}
|
15
15
|
@media (prefers-contrast: more) {
|
16
16
|
:root {
|
@@ -24,9 +24,9 @@
|
|
24
24
|
--link: #0020c0;
|
25
25
|
--linkhover: #000070;
|
26
26
|
--boxbg: #b3ccfa;
|
27
|
-
--boxbglight: #
|
28
|
-
--boxbgtext: #
|
29
|
-
--border: #
|
27
|
+
--boxbglight: #d5e0fa;
|
28
|
+
--boxbgtext: #d5defa;
|
29
|
+
--border: #2a80e0;
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|
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.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cizzuk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|