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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4310f2d8efcbd455918fc6a57a5969b49d47f0b919e323a00b6ba1bb7f13343b
4
- data.tar.gz: 5cf97a9118a9902a41e86b19f28ece2f09208940b9d3f7cfde143de426eed835
3
+ metadata.gz: 115d171836dab544a1eb9295b1b831589b6bbc636c5fe0c4ca5cb32cf15f7114
4
+ data.tar.gz: 1700b27f4fe7551b864b7d3d04c493a050846a2e6b9319a5e8f9436304c0dd4b
5
5
  SHA512:
6
- metadata.gz: 9145523a3dac4814d3c23998e2c5cc7d7ab85c3dce65cbb558e2d13d46024e74362db0a87caa3245ac7f157bd03eabc08abf57dd938e8a121a003c97ae50ad9d
7
- data.tar.gz: 0e603d6f1508dcb272350ef063830f3fc22913ced7e06a5cd781eeeb049c1dc4093a6253ca8ce57d692f730b719c868438467ca8b7f729965aaa10df7ecacc8c
6
+ metadata.gz: f62eebe93382c0a8c66c9cb607c338583bfbb25728ea635e5d25f19011f74a50b2c468721bb7cb3e403a1ce011a050c51fef61ba5ee37b2e087723680351883e
7
+ data.tar.gz: 204c798728d6a2bc90b546ed675332cd41865567d6afe62e947778e1e373bbe2121e142ba1dde80e3059f5c4820e79db565f194c081ddaab2b08fc1f6657282a
@@ -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>
@@ -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
- <time datetime="{{ post.date | date_to_xmlschema }}">{{- post.date | date: texts.date_format -}}</time>
20
- {%- include category.html category=post.category -%}
21
- {%- include tags.html tags=post.tag -%}
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 %}
@@ -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;
@@ -2,12 +2,12 @@
2
2
  color-scheme:dark;
3
3
  --bg: #000;
4
4
  --bglight: #1c1e2e;
5
- --page: #10111a;
5
+ --page: #14141e;
6
6
  --text: #eaeaea;
7
7
  --gray: #aaa;
8
8
  --head: #f5f5f5;
9
- --link: #00b2ff;
10
- --linkhover: #a0d0ff;
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: #10121a;
20
+ --page: #13131a;
21
21
  --text: #fff;
22
22
  --gray: #ccc;
23
23
  --head: #fff;
24
- --link: #5acaff;
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
 
@@ -5,7 +5,7 @@
5
5
  --text: #2a2a2a;
6
6
  --gray: #585858;
7
7
  --head: #0a0a0a;
8
- --link: #0050ea;
8
+ --link: #1050ea;
9
9
  --linkhover: #0020a0;
10
10
  --boxbg: #c5daff;
11
11
  --boxbglight: #e0e8ff;
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.9
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-08-26 00:00:00.000000000 Z
11
+ date: 2024-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll