benjeto-jekyll-theme 0.3.8 → 0.4.0

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: 840a28951aed083adf6cc2d0791f1fffe266508696d9870e259beb3b599e82cb
4
- data.tar.gz: 0c6b92c01df2d644646b6d5805115e3e52a8d52be9013e8e43e3aafa33d2a9cd
3
+ metadata.gz: 5d20883e96e7c1be78c9c452aca03e5c05ee83e596b5cfe5fef26d2f2896b716
4
+ data.tar.gz: 12068c6990fd945c121761551e90897bd37ae19831485a206988f014bd80128a
5
5
  SHA512:
6
- metadata.gz: 5fe7f821695c6238431aca785a3ee86bf69f2c8074aff548159c7028c62229baf4946fb0a0afb25f064a9261d4eaad7f2b9ff4c54e093bd0ed0d24b5d2a832f5
7
- data.tar.gz: 54ee71d96422958da3692945fae9029331655849e15ad4147cf294c97c1d79c29f990dcc1f00768c98ecb7e87b2b756d0f64572215016c3f4bb6a12aaed84f4c
6
+ metadata.gz: c923ee81938869b3f4a9bcf0a8be79a0ed1421f41ad0e2003a11e92dd4f2fadd1b085dabb73ba95f1e6637e9d0a894a8667450ea216c3c374c75242e7428ca8b
7
+ data.tar.gz: 40cd899def181b22e78e1525fa19e3300ce646ac8a92fac2b3e02be5e4ec5301f8c5655b0726e5040fd93517c68cada8c9338409ec9d068e478fba02210712ef
@@ -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"{% if post.lang %} lang="{{ post.lang }}"{% endif %}>
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>
@@ -319,7 +319,7 @@ iframe.youtube, iframe.nicovideo, iframe.mastodon-embed {
319
319
  }
320
320
 
321
321
  header.post {
322
- margin: 32px 16px 16px;
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:200px) {
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: 200px;
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);
@@ -54,3 +54,13 @@ div.tab-description {
54
54
  margin-inline-start: auto;
55
55
  }
56
56
  }
57
+
58
+ @media only screen and (max-width:200px) {
59
+ nav.home-tab {
60
+ width: calc(100% + 8px);
61
+ margin-inline-start: -4px;
62
+ ul {
63
+ margin: 0 4px;
64
+ }
65
+ }
66
+ }
@@ -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;
@@ -1,35 +1,35 @@
1
1
  :root {
2
2
  color-scheme:dark;
3
3
  --bg: #000;
4
- --bglight: #1a1c2a;
5
- --page: #10111a;
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: #233055;
12
- --boxbglight: #252843;
13
- --boxbgtext: #1a1e30;
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: #10121a;
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: #303a60;
27
- --boxbglight: #2a2c48;
28
- --boxbgtext: #202335;
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
 
@@ -9,8 +9,8 @@
9
9
  --linkhover: #0020a0;
10
10
  --boxbg: #c5daff;
11
11
  --boxbglight: #e0e8ff;
12
- --boxbgtext: #e0e8ff;
13
- --border: #75a5ff;
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: #d5def6;
28
- --boxbgtext: #d5def6;
29
- --border: #4898f8;
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.3.8
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-18 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll