jekyll-theme-louis 0.1.5 → 0.1.6
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 +4 -4
- data/_includes/head/twitter-ogp.html +6 -2
- data/_includes/posts.html +2 -1
- data/_includes/tag-cloud.html +14 -12
- data/_layouts/page.html +1 -1
- data/_layouts/profile.html +2 -0
- data/_sass/base.scss +10 -11
- data/_sass/block/amazon-associate.scss +1 -1
- data/_sass/block/footer.scss +1 -1
- data/_sass/block/header.scss +10 -3
- data/_sass/block/not-found.scss +24 -0
- data/_sass/block/post-pager.scss +1 -1
- data/_sass/block/post.scss +3 -3
- data/_sass/block/posts-pager.scss +1 -1
- data/_sass/block/profile-page.scss +16 -1
- data/_sass/block/recent-articles.scss +2 -0
- data/_sass/block/sns-container.scss +3 -2
- data/_sass/block/social-link.scss +1 -1
- data/_sass/block/tag-cloud.scss +1 -1
- data/_sass/import.scss +1 -0
- data/_sass/mixin/container.scss +1 -1
- data/_sass/mixin/shadow.scss +1 -1
- data/_sass/reset.scss +1 -1
- data/assets/ogp/ogp.png +0 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c4595288142c5c07a0e76a1e6d242d7ba5742d3646c2816caf400facd87913b
|
4
|
+
data.tar.gz: d20bd2236591ab4c9009bd93ded67c6daf6c6d4dc1ca288281f18dcbe9e0615e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
16
|
-
<meta name="twitter:
|
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 }}">
|
data/_includes/posts.html
CHANGED
@@ -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
|
-
<
|
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>
|
data/_includes/tag-cloud.html
CHANGED
@@ -1,13 +1,15 @@
|
|
1
|
-
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
|
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
|
-
|
15
|
+
{% endif %}
|
data/_layouts/page.html
CHANGED
data/_layouts/profile.html
CHANGED
data/_sass/base.scss
CHANGED
@@ -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
|
+
}
|
data/_sass/block/footer.scss
CHANGED
data/_sass/block/header.scss
CHANGED
@@ -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
|
+
}
|
data/_sass/block/post-pager.scss
CHANGED
data/_sass/block/post.scss
CHANGED
@@ -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:
|
258
|
+
padding-bottom: 0.5rem !important;
|
259
259
|
width: 100% !important;
|
260
260
|
}
|
261
|
-
}
|
261
|
+
}
|
@@ -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,13 +1,14 @@
|
|
1
1
|
.sns-container {
|
2
|
-
position:
|
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;
|
data/_sass/block/tag-cloud.scss
CHANGED
data/_sass/import.scss
CHANGED
data/_sass/mixin/container.scss
CHANGED
data/_sass/mixin/shadow.scss
CHANGED
data/_sass/reset.scss
CHANGED
data/assets/ogp/ogp.png
ADDED
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.
|
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-
|
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.
|
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
|