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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ea0aad43e8b4ff314d4263becedec02e3b0c54200e0bc57bb7f6f6a53f286d2
4
- data.tar.gz: 460228b493d5c1460b8c7bad19ee3cadeee13b21ab430aa98cd5d6a6aeb77c0e
3
+ metadata.gz: '058fe07683c1ede02dcdde4a255c51abc7f265a7afd7e6ec97ecddbc73a45033'
4
+ data.tar.gz: cdabad6983ba18fd3bb70237fb323b203ff8f06c09b39fa6866de2cbe36d0f48
5
5
  SHA512:
6
- metadata.gz: b9ac1a0b167d43b749342e2519c5b4c6aebd1bf445cfeb1675b267d26405962f3b8fc386e8ff3e68b6ceea1e143b890efd5f9a10a78b43de8edaa6e6420bea46
7
- data.tar.gz: 77d05d3e7b90012cada61f4fe800bc092ba2d91db81220f552ee46aa711120bcd951dc37019311fd09e4720b3b06ec60182bbcb2c29859b1c7c8936b3d7cf4e4
6
+ metadata.gz: 836418f9e0215150269f7b9eb5ad93a842a4a0e3742354a26bed17415003beed4523b9973142b066103ace1512c4bab25754f07ee5cfcf951f66484da44d76bb
7
+ data.tar.gz: 2da7cbe80b12d30ffc1e718f02c677a96e9404c26b1e828d11ed8fe31eefc36a861b02c734d43ecf24d1b52f744aabb92957631c085beb356ee770614a8483aa
data/README.md CHANGED
@@ -1,9 +1,72 @@
1
1
  ![IMAGE](image.png)
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
- > This project is `WIP` so please use at your own risk.
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
+ ![Responsive](/assets/images/jekyll-twitter-theme-responsive.png)
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) :)
@@ -5,7 +5,6 @@ description: A twitter theme for Jekyll.
5
5
  global:
6
6
  # site icon should have 1:1 aspect ratio
7
7
  site_icon: "https://avatars3.githubusercontent.com/u/3083652?s=200&v=4"
8
- base_url: ""
9
8
  nav:
10
9
  caption_home: "Home"
11
10
  profile:
@@ -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
  }
@@ -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
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.0
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-16 00:00:00.000000000 Z
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