jekyll-twitter-theme 0.1.0 → 0.1.1
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/README.md +64 -1
- data/_config.yml +0 -1
- data/_sass/_main.scss +5 -0
- data/_sass/_mixins.scss +10 -1
- data/assets/images/beach.jpg +0 -0
- data/assets/images/jekyll-twitter-theme-responsive-ipad-body.png +0 -0
- data/assets/images/jekyll-twitter-theme-responsive-ipad.png +0 -0
- data/assets/images/jekyll-twitter-theme-responsive-iphone-x-body.png +0 -0
- data/assets/images/jekyll-twitter-theme-responsive-iphone-x.png +0 -0
- data/assets/images/jekyll-twitter-theme-responsive.png +0 -0
- data/assets/images/octojekyll.png +0 -0
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '058fe07683c1ede02dcdde4a255c51abc7f265a7afd7e6ec97ecddbc73a45033'
|
4
|
+
data.tar.gz: cdabad6983ba18fd3bb70237fb323b203ff8f06c09b39fa6866de2cbe36d0f48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 836418f9e0215150269f7b9eb5ad93a842a4a0e3742354a26bed17415003beed4523b9973142b066103ace1512c4bab25754f07ee5cfcf951f66484da44d76bb
|
7
|
+
data.tar.gz: 2da7cbe80b12d30ffc1e718f02c677a96e9404c26b1e828d11ed8fe31eefc36a861b02c734d43ecf24d1b52f744aabb92957631c085beb356ee770614a8483aa
|
data/README.md
CHANGED
@@ -1,9 +1,72 @@
|
|
1
1
|

|
2
2
|
|
3
|
+
<p align="center">
|
4
|
+
<img src="https://img.shields.io/gem/v/jekyll-twitter-theme?style=for-the-badge">
|
5
|
+
<img src="https://img.shields.io/github/license/kkent030315/jekyll-twitter-theme?style=for-the-badge">
|
6
|
+
<img src="https://img.shields.io/travis/kkent030315/jekyll-twitter-theme?style=for-the-badge">
|
7
|
+
<img src="https://img.shields.io/badge/DEMO-AVAILABLE-%23008000?style=for-the-badge">
|
8
|
+
</p>
|
9
|
+
|
3
10
|
[Demo](https://www.godeye.club/jekyll-twitter-theme/)
|
4
11
|
|
5
12
|
# jekyll-twitter-theme
|
6
13
|
|
7
14
|
A twitter theme for Jekyll.
|
8
15
|
|
9
|
-
|
16
|
+
# Usage
|
17
|
+
|
18
|
+
1. Install [Jekyll](https://jekyllrb.com/docs/step-by-step/01-setup/)
|
19
|
+
|
20
|
+
2. Install theme:
|
21
|
+
|
22
|
+
```sh
|
23
|
+
$ gem install jekyll-twitter-theme
|
24
|
+
```
|
25
|
+
|
26
|
+
3. In `_config.yml`:
|
27
|
+
|
28
|
+
```yml
|
29
|
+
# Build settings
|
30
|
+
theme: jekyll-twitter-theme
|
31
|
+
```
|
32
|
+
|
33
|
+
4. launch on local as development:
|
34
|
+
|
35
|
+
```sh
|
36
|
+
$ bundle exec jekyll serve
|
37
|
+
```
|
38
|
+
|
39
|
+
# Responsive
|
40
|
+
|
41
|
+
This theme is responsive for every single environments.
|
42
|
+
|
43
|
+
(`iPad (left)`, `iPhoneX (right)`)
|
44
|
+
|
45
|
+

|
46
|
+
|
47
|
+
# Configurations
|
48
|
+
|
49
|
+
There are some theme-specific configurations as follows:
|
50
|
+
|
51
|
+
```yml
|
52
|
+
global:
|
53
|
+
# site icon should have 1:1 aspect ratio
|
54
|
+
site_icon: "<site icon shown in left-top of the page>"
|
55
|
+
nav:
|
56
|
+
caption_home: "Home"
|
57
|
+
profile:
|
58
|
+
image:
|
59
|
+
url: "<url of your profile image>"
|
60
|
+
name: "Jekyll Blog"
|
61
|
+
id: "@jekyll_blog"
|
62
|
+
post:
|
63
|
+
default_thumbnail: "<default thumbnail of the post>"
|
64
|
+
twitter:
|
65
|
+
show_twitter_embed_timeline: true
|
66
|
+
target_id: "<twitter id that you desired to show timeline on the right side of the page>"
|
67
|
+
limit: 5
|
68
|
+
```
|
69
|
+
|
70
|
+
# Issues
|
71
|
+
|
72
|
+
Having issues with this theme? Don't heistate to [Create New Issue](https://github.com/kkent030315/jekyll-twitter-theme/issues) :)
|
data/_config.yml
CHANGED
data/_sass/_main.scss
CHANGED
@@ -287,6 +287,7 @@ main {
|
|
287
287
|
position: sticky;
|
288
288
|
top: 0;
|
289
289
|
width: 100%;
|
290
|
+
max-width: 100%;
|
290
291
|
min-height: 60px;
|
291
292
|
border-bottom: 1px solid $color-border;
|
292
293
|
border-right: 1px solid $color-border;
|
@@ -298,12 +299,15 @@ main {
|
|
298
299
|
border-right: 0;
|
299
300
|
}
|
300
301
|
.content-title {
|
302
|
+
margin-right: 4px;
|
301
303
|
font-size: 19px;
|
302
304
|
font-weight: bold;
|
305
|
+
@include elipse_force();
|
303
306
|
}
|
304
307
|
.content-date {
|
305
308
|
color: $color-font-thin;
|
306
309
|
margin: 0 0 0 auto;
|
310
|
+
white-space: nowrap;
|
307
311
|
}
|
308
312
|
.back-icon {
|
309
313
|
cursor: pointer;
|
@@ -314,6 +318,7 @@ main {
|
|
314
318
|
border-radius: 50%;
|
315
319
|
width: 39px;
|
316
320
|
height: 39px;
|
321
|
+
transition: .2s ease;
|
317
322
|
&:hover {
|
318
323
|
background: rgba($color-primary, 0.15);
|
319
324
|
}
|
data/_sass/_mixins.scss
CHANGED
@@ -43,6 +43,15 @@
|
|
43
43
|
-ms-overflow-style: none; // IE, Edge
|
44
44
|
scrollbar-width: none; // Firefox
|
45
45
|
&::-webkit-scrollbar {
|
46
|
-
display:none; // Chrome, Safari
|
46
|
+
display: none; // Chrome, Safari
|
47
47
|
}
|
48
48
|
}
|
49
|
+
|
50
|
+
@mixin elipse_force() {
|
51
|
+
display: inline-block;
|
52
|
+
white-space: nowrap;
|
53
|
+
overflow: hidden;
|
54
|
+
text-overflow: ellipsis;
|
55
|
+
-webkit-text-overflow: ellipsis;
|
56
|
+
-o-text-overflow: ellipsis;
|
57
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-twitter-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kento
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -52,7 +52,14 @@ files:
|
|
52
52
|
- _sass/_variables.scss
|
53
53
|
- assets/css/main.scss
|
54
54
|
- assets/css/ress.min.css
|
55
|
+
- assets/images/beach.jpg
|
56
|
+
- assets/images/jekyll-twitter-theme-responsive-ipad-body.png
|
57
|
+
- assets/images/jekyll-twitter-theme-responsive-ipad.png
|
58
|
+
- assets/images/jekyll-twitter-theme-responsive-iphone-x-body.png
|
59
|
+
- assets/images/jekyll-twitter-theme-responsive-iphone-x.png
|
60
|
+
- assets/images/jekyll-twitter-theme-responsive.png
|
55
61
|
- assets/images/markdown.png
|
62
|
+
- assets/images/octojekyll.png
|
56
63
|
homepage: https://github.com/kkent030315/jekyll-twitter-theme
|
57
64
|
licenses:
|
58
65
|
- MIT
|