jekyll-theme-louis 0.1.5 → 0.1.6

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: 0ff0ad2c01a112392cb936fed0d8b663f31e0fc6563bab47aac75906650bbc0c
4
- data.tar.gz: b6c3b2c40ed4089420c6b7e703e34a77e31dc5edec8c7f4cc770655a44c754d6
3
+ metadata.gz: 9c4595288142c5c07a0e76a1e6d242d7ba5742d3646c2816caf400facd87913b
4
+ data.tar.gz: d20bd2236591ab4c9009bd93ded67c6daf6c6d4dc1ca288281f18dcbe9e0615e
5
5
  SHA512:
6
- metadata.gz: 0b9fb1822d45af177eab404a4b69ea329ac3c41c367fd55ab5f7f31aaf7829dc344878405bd51e54dbbdfa7fa724cd6c1a6f0d4f088bc5b36ca9b706c3ef58d2
7
- data.tar.gz: b8bb489f407188979f02e6d7c063f25f7c2d1f64c65b051de6d8bff4e89bfd96ba9cbc3c5db65fe536468d4e8daf4577ba668b37cd4ec0af48464febd5c0d161
6
+ metadata.gz: 5b6dc012957368f7c4be556a8335c40c7db7fe8ad544946bbfe0898c9af747a5b66d6e6f4082691f9d205459f82d3d814861a3bcbaa079ee2d5ad613ade3ff3d
7
+ data.tar.gz: 5cb501be0d428c06b9330d1852d7e662b84d366436e5be6df19c094e28008437eaafa75d712177dbf01d1cf08a1686960c4bab4c2a51dfae51626a07d792d661
@@ -12,5 +12,9 @@
12
12
  <meta name="twitter:description" content="{{ site.description }}">
13
13
  {% endif %}
14
14
 
15
- <meta name="twitter:image" content="{{ "assets/images/default_ogp.png" | absolute_url }}">
16
- <meta name="twitter:url" content="{{ page.url | replace:'index.html','' | absolute_url }}">
15
+ {% if page.ogp %}
16
+ <meta name="twitter:image" content="{{ "assets/ogp/" | absolute_url }}{{page.ogp}}">
17
+ {% else %}
18
+ <meta name="twitter:image" content="{{ "assets/images/default_ogp.png" | absolute_url }}">
19
+ {% endif %}
20
+ <meta name="twitter:url" content="{{ page.url | replace:'index.html','' | absolute_url }}">
@@ -1,8 +1,9 @@
1
+
1
2
  <div class="posts">
2
3
  {% for post in paginator.posts %}
3
4
  <div class="posts-content">
4
5
  <a href="{{ post.url | relative_url }}">
5
- <h1 class="post__title">{{ post.title }}</h1>
6
+ <h2 class="post__title">{{ post.title }}</h2>
6
7
  </a>
7
8
  <div class="post-meta">
8
9
  <p class="post__date">{{ post.date | date: '%Y/%-m/%-d' }}</p>
@@ -1,13 +1,15 @@
1
- <div class="tag-cloud">
2
- <p class="tag-cloud__title">Tags</p>
3
- <div class="cloud-tags">
4
- {% for tag in site.tags %}
5
- <div class="cloud-tag">
6
- {% capture cat %}{{ tag | first }}{% endcapture %}
7
- <a class="cloud-tag__link" href="{{ '/archives/tag/' | append: cat | relative_url }}">
8
- <i class="fa fa-tag cloud-tag__icon"></i>{{ cat }}
9
- </a>
10
- </div>
11
- {% endfor %}
1
+ {% if site.tags.first %}
2
+ <div class="tag-cloud">
3
+ <p class="tag-cloud__title">Tags</p>
4
+ <div class="cloud-tags">
5
+ {% for tag in site.tags %}
6
+ <div class="cloud-tag">
7
+ {% capture cat %}{{ tag | first }}{% endcapture %}
8
+ <a class="cloud-tag__link" href="{{ '/archives/tag/' | append: cat | relative_url }}">
9
+ <i class="fa fa-tag cloud-tag__icon"></i>{{ cat }}
10
+ </a>
11
+ </div>
12
+ {% endfor %}
13
+ </div>
12
14
  </div>
13
- </div>
15
+ {% endif %}
@@ -3,4 +3,4 @@ layout: default
3
3
  ---
4
4
  <div class="page-content">
5
5
  {{ content }}
6
- </div>
6
+ </div>
@@ -11,6 +11,8 @@ layout: default
11
11
  </div>
12
12
  </div>
13
13
 
14
+ <div class="profile-container">
14
15
  <div class="profile-content">
15
16
  {{ content }}
16
17
  </div>
18
+ </div>
@@ -1,7 +1,14 @@
1
1
  html {
2
+ min-width: 70rem;
2
3
  min-height: 100vh;
3
4
  color: $color-font-main;
4
5
  font-size: $size-font-base;
6
+ @media screen and (max-width: 479px) {
7
+ min-width: 100%;
8
+ min-height: 100vh;
9
+ color: $color-font-main;
10
+ font-size: $size-font-base;
11
+ }
5
12
  }
6
13
 
7
14
  body {
@@ -9,19 +16,11 @@ body {
9
16
  align-items: center;
10
17
  flex-direction: column;
11
18
  min-height: 100vh;
12
- }
13
-
14
- @media screen and (max-width: 479px) {
15
- html {
16
- min-height: 100vh;
17
- color: $color-font-main;
18
- font-size: $size-font-base;
19
- }
20
-
21
- body {
19
+ width: auto;
20
+ @media screen and (max-width: 479px) {
22
21
  display: flex;
23
22
  align-items: center;
24
23
  flex-direction: column;
25
24
  min-height: 100vh;
26
25
  }
27
- }
26
+ }
@@ -19,4 +19,4 @@
19
19
  &__title {
20
20
  font-size: 1rem;
21
21
  }
22
- }
22
+ }
@@ -52,4 +52,4 @@
52
52
  &__link {
53
53
  color: $color-font-main;
54
54
  }
55
- }
55
+ }
@@ -3,12 +3,14 @@
3
3
  align-items: center;
4
4
  flex-direction: column;
5
5
  justify-content: center;
6
+ min-width: 70rem;
6
7
  width: 100%;
7
8
  height: $size-header-height;
8
9
 
9
10
  @include shadow-bottom();
10
11
 
11
12
  @media screen and (max-width: 479px) {
13
+ min-width: 100%;
12
14
  width: $size-additional-container-width-sp;
13
15
  height: $size-header-height-sp;
14
16
  }
@@ -22,24 +24,29 @@
22
24
  width: $size-additional-container-width-sp;
23
25
  }
24
26
  &__link {
27
+ margin-left: 5rem;
25
28
  text-decoration: none;
29
+
30
+ &:hover {
31
+ opacity: 0.6;
32
+ }
33
+
26
34
  @media screen and (max-width: 479px) {
27
35
  display: flex;
28
36
  align-content: center;
29
37
  justify-content: center;
38
+ margin-left: 0;
30
39
  width: $size-additional-container-width-sp;
31
40
  }
32
41
  }
33
42
 
34
43
  &__title {
35
- padding-left: 5rem;
36
44
  width: 100%;
37
45
  color: $color-font-main;
38
46
  font-size: $size-font-header;
39
47
  @media screen and (max-width: 479px) {
40
- padding-left: 0;
41
48
  width: 90%;
42
49
  font-size: $size-font-header-sp;
43
50
  }
44
51
  }
45
- }
52
+ }
@@ -0,0 +1,24 @@
1
+ .not-found {
2
+ display: flex;
3
+ align-content: center;
4
+ align-items: center;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ height: 20rem;
8
+
9
+ &__title{
10
+ margin-bottom: 2rem;
11
+ font-weight: bold;
12
+ font-size: 4.5rem;
13
+ line-height: 4.5rem;
14
+ }
15
+
16
+ &__text{
17
+ text-align: center;
18
+ font-size: 1.25rem;
19
+ line-height: 1.5rem;
20
+ @media screen and (max-width: 479px) {
21
+ font-size: 0.875rem;
22
+ }
23
+ }
24
+ }
@@ -33,4 +33,4 @@
33
33
  color: $color-font-sub;
34
34
  font-size: 1rem;
35
35
  }
36
- }
36
+ }
@@ -1,5 +1,6 @@
1
1
  .additional-container{
2
2
  display: flex;
3
+ align-items: baseline;
3
4
  flex-direction: row;
4
5
  flex-wrap: wrap;
5
6
  margin-bottom: 2rem;
@@ -36,7 +37,6 @@
36
37
 
37
38
  .post-container {
38
39
  box-sizing: border-box;
39
- margin-left: 5rem;
40
40
  padding: 2rem 0 0;
41
41
  width: 50rem;
42
42
 
@@ -255,7 +255,7 @@
255
255
  padding-bottom: 2rem !important;
256
256
  width: $size-post-container-width !important;
257
257
  @media screen and (max-width: 479px) {
258
- padding-bottom: 0rem !important;
258
+ padding-bottom: 0.5rem !important;
259
259
  width: 100% !important;
260
260
  }
261
- }
261
+ }
@@ -40,4 +40,4 @@
40
40
  color: $color-font-sub;
41
41
  font-size: 1rem;
42
42
  }
43
- }
43
+ }
@@ -1,3 +1,14 @@
1
+ .profile-container {
2
+ box-sizing: border-box;
3
+ padding: 2rem 0 0;
4
+
5
+ @media screen and (max-width: 479px) {
6
+ margin-left: 0;
7
+ padding: 0;
8
+ width: 90%;
9
+ }
10
+ }
11
+
1
12
  .profile-page {
2
13
  &__name {
3
14
  margin-bottom: 0.5rem;
@@ -9,6 +20,10 @@
9
20
  height: $size-profile-page-icon;
10
21
  border-radius: $size-profile-page-icon / 2;
11
22
  box-shadow: 0.25rem 0.25rem 0.25rem $color-shadow;
23
+ @media screen and (max-width: 479px) {
24
+ width: $size-profile-page-icon * 0.85;
25
+ height: $size-profile-page-icon * 0.85;
26
+ }
12
27
  }
13
28
  }
14
29
 
@@ -28,4 +43,4 @@
28
43
  flex-direction: column;
29
44
  justify-content: center;
30
45
  }
31
- }
46
+ }
@@ -1,4 +1,6 @@
1
1
  .recent_articles {
2
+ position: sticky;
3
+ top: 3rem;
2
4
  display: flex;
3
5
  flex-direction: column;
4
6
  padding: 2.5rem 0 0 2rem;
@@ -1,13 +1,14 @@
1
1
  .sns-container {
2
- position: fixed;
2
+ position: sticky;
3
+ top: 3rem;
3
4
  display: flex;
4
5
  align-items: center;
5
6
  flex-direction: column;
6
7
  padding: 2.5rem 0 0;
7
8
  width: 5rem;
8
-
9
9
  @media screen and (max-width: 479px) {
10
10
  position: relative;
11
+ top: 0;
11
12
  display: flex;
12
13
  align-content: center;
13
14
  align-items: center;
@@ -113,4 +113,4 @@
113
113
 
114
114
  @extend .fa-social-link;
115
115
  }
116
- }
116
+ }
@@ -55,4 +55,4 @@
55
55
  text-decoration: none;
56
56
  font-size: 0.75rem;
57
57
  }
58
- }
58
+ }
@@ -7,6 +7,7 @@
7
7
  @import "block/amazon-associate";
8
8
  @import "block/footer";
9
9
  @import "block/header";
10
+ @import "block/not-found";
10
11
  @import "block/post";
11
12
  @import "block/post-pager";
12
13
  @import "block/posts";
@@ -5,4 +5,4 @@
5
5
  display: flex;
6
6
  width: $size-container-width-sp;
7
7
  }
8
- }
8
+ }
@@ -1,3 +1,3 @@
1
1
  @mixin shadow-bottom() {
2
2
  box-shadow: 0 0.15rem 0.15rem $color-shadow;
3
- }
3
+ }
@@ -209,4 +209,4 @@ input[type="date"]::-webkit-calendar-picker-indicator {
209
209
  *::before,
210
210
  *::after {
211
211
  box-sizing: border-box
212
- }
212
+ }
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-louis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ShimeWataru
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-29 00:00:00.000000000 Z
11
+ date: 2020-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -112,6 +112,7 @@ files:
112
112
  - _sass/block/amazon-associate.scss
113
113
  - _sass/block/footer.scss
114
114
  - _sass/block/header.scss
115
+ - _sass/block/not-found.scss
115
116
  - _sass/block/post-pager.scss
116
117
  - _sass/block/post.scss
117
118
  - _sass/block/posts-pager.scss
@@ -144,6 +145,7 @@ files:
144
145
  - assets/images/favicon/site.webmanifest
145
146
  - assets/images/profile_icon.png
146
147
  - assets/images/usage_image.png
148
+ - assets/ogp/ogp.png
147
149
  homepage: https://github.com/wawawatataru/louis
148
150
  licenses:
149
151
  - MIT
@@ -163,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
165
  - !ruby/object:Gem::Version
164
166
  version: '0'
165
167
  requirements: []
166
- rubygems_version: 3.1.4
168
+ rubygems_version: 3.0.3
167
169
  signing_key:
168
170
  specification_version: 4
169
171
  summary: Louis is a Jekyll theme for Blog