cosy-jekyll-theme 1.1.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,12 +6,22 @@ body {
6
6
  overflow-x: hidden;
7
7
  }
8
8
 
9
+ iframe {
10
+ border: 0;
11
+ }
9
12
  // Main
10
13
  // --------------------------------------------------
11
14
  .entry,
12
15
  .hentry {
13
16
  @include clearfix;
14
- h1, h2, h3, h4, h5, h6, p, li {
17
+ h1,
18
+ h2,
19
+ h3,
20
+ h4,
21
+ h5,
22
+ h6,
23
+ p,
24
+ li {
15
25
  word-wrap: break-word;
16
26
  }
17
27
  }
@@ -34,14 +44,15 @@ body {
34
44
  margin: 0 20px;
35
45
  }
36
46
  .qr-text {
37
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA9ElEQVRYR9VXWw7DIAwbN+Yo3HjTJqUfqSI/FNaWvwpIjeOYMOac75cw1lrjuzz2xXeEUOMNdcM2APkkmRR0YgSsincwcBsAOSXVyVRGgoEc78TAYwBk1SOm2hnYBqCyhJxzVgMonl0F7QBYM6ycL2uAjWc7IdIADYBdyDqjGu93sTij0oAaqzQiVNeVdaNqyfPXA6jEhHKunrRaf2gA5bTrh6fLSBWNygxab1cB8gFWpLYRdaXkPgB2tWSIKfs2ZDUgA3BbMreM23rCvwNwU5B9wWZgGwDUw7EvICS+mLerwM15+TBh7wS2J2T7CdsJXQ1k5j7FF35r3ynsoAAAAABJRU5ErkJggg==) no-repeat;
47
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA9ElEQVRYR9VXWw7DIAwbN+Yo3HjTJqUfqSI/FNaWvwpIjeOYMOac75cw1lrjuzz2xXeEUOMNdcM2APkkmRR0YgSsincwcBsAOSXVyVRGgoEc78TAYwBk1SOm2hnYBqCyhJxzVgMonl0F7QBYM6ycL2uAjWc7IdIADYBdyDqjGu93sTij0oAaqzQiVNeVdaNqyfPXA6jEhHKunrRaf2gA5bTrh6fLSBWNygxab1cB8gFWpLYRdaXkPgB2tWSIKfs2ZDUgA3BbMreM23rCvwNwU5B9wWZgGwDUw7EvICS+mLerwM15+TBh7wS2J2T7CdsJXQ1k5j7FF35r3ynsoAAAAABJRU5ErkJggg==)
48
+ no-repeat;
38
49
  background-size: 16px 16px;
39
50
  width: 16px;
40
51
  height: 16px;
41
52
  display: none;
42
53
  position: relative;
43
54
  &::before {
44
- content: '';
55
+ content: "";
45
56
  position: absolute;
46
57
  top: -20px;
47
58
  right: -20px;
@@ -52,7 +63,7 @@ body {
52
63
  .qr-code {
53
64
  width: 128px;
54
65
  opacity: 1;
55
- @include transform(none)
66
+ @include transform(none);
56
67
  }
57
68
  }
58
69
  }
@@ -71,7 +82,7 @@ body {
71
82
  background-color: #fff;
72
83
  }
73
84
  }
74
- @media #{$medium}{
85
+ @media #{$medium} {
75
86
  @include font-size(16);
76
87
  .qr-text {
77
88
  display: inline-block;
@@ -168,9 +179,9 @@ body {
168
179
  }
169
180
  }
170
181
  }
171
- #disqus_thread {
182
+ #gitalk-container {
172
183
  margin: 20px 2px;
173
- padding: 10px 15px;
184
+ padding: 15px;
174
185
  background-color: $white;
175
186
  box-shadow: 0 0 0 1px rgba($border-color, 0.1), 0 6px 12px rgba($black, 0.1);
176
187
  @include rounded(3px);
@@ -466,7 +477,8 @@ body {
466
477
  color: $text-color;
467
478
  }
468
479
  }
469
- &.active, &:hover {
480
+ &.active,
481
+ &:hover {
470
482
  a {
471
483
  color: $header-active;
472
484
  }
@@ -501,7 +513,7 @@ body {
501
513
  padding-left: 5px;
502
514
  vertical-align: middle;
503
515
  height: $menu-height;
504
- @media #{$medium}{
516
+ @media #{$medium} {
505
517
  display: table-cell;
506
518
  }
507
519
  }
@@ -589,7 +601,7 @@ body {
589
601
  @include transition(0.4s all ease-in-out);
590
602
  @include transform(scale(0) perspective(600px) rotateX(45deg));
591
603
  &.active {
592
- height: 407px;
604
+ height: 300px;
593
605
  top: 38px;
594
606
  @include transform(none);
595
607
  }
@@ -608,7 +620,15 @@ body {
608
620
  filter: blur(5px);
609
621
  transition: filter 400ms, -webkit-filter 400ms;
610
622
  }
623
+
611
624
  .lazyloaded {
612
625
  -webkit-filter: blur(0);
613
626
  filter: blur(0);
614
627
  }
628
+
629
+ .share-img {
630
+ margin: 0 auto;
631
+ width: 0px;
632
+ height: 0px;
633
+ overflow: hidden;
634
+ }
@@ -81,7 +81,7 @@ blockquote {
81
81
 
82
82
  // Img border in a's and image quality
83
83
  // -------------------------
84
- img {
84
+ img,video {
85
85
  /* Responsive images (ensure images don't scale beyond their parents) */
86
86
  max-width: 100%; /* Part 1: Set a maxium relative to the parent */
87
87
  width: auto\9; /* IE7-8 need help adjusting responsive images */
@@ -102,7 +102,6 @@ li {
102
102
  code {
103
103
  @include font-rem(12);
104
104
  line-height: 1.5;
105
- white-space: nowrap;
106
105
  margin: 0 2px;
107
106
  padding: 0 5px;
108
107
  border: 1px solid lighten($black, 90);
@@ -1,7 +1,7 @@
1
1
  // Typography
2
2
  // --------------------------------------------------
3
3
 
4
- $base-font: 'Lato', Calibri, Arial, sans-serif;
4
+ $base-font: Calibri, Arial, sans-serif;
5
5
  $heading-font: $base-font;
6
6
  $caption-font: $base-font;
7
7
  $code-font: monospace;
metadata CHANGED
@@ -1,57 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cosy-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tw93
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-09 00:00:00.000000000 Z
11
+ date: 2020-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '3.3'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - ~>
37
+ - - "~>"
32
38
  - !ruby/object:Gem::Version
33
39
  version: '1.12'
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
- - - ~>
44
+ - - "~>"
39
45
  - !ruby/object:Gem::Version
40
46
  version: '1.12'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rake
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - ~>
51
+ - - ">="
46
52
  - !ruby/object:Gem::Version
47
- version: '10.0'
53
+ version: 12.3.3
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - ~>
58
+ - - ">="
53
59
  - !ruby/object:Gem::Version
54
- version: '10.0'
60
+ version: 12.3.3
55
61
  description:
56
62
  email:
57
63
  - tangweiyuanyou@gmail.com
@@ -62,10 +68,10 @@ files:
62
68
  - License
63
69
  - README.md
64
70
  - _includes/buy-me-coffee.html
65
- - _includes/disqus.html
66
71
  - _includes/feed-footer.html
67
72
  - _includes/footer.html
68
73
  - _includes/gallery
74
+ - _includes/gitalk.html
69
75
  - _includes/head.html
70
76
  - _includes/header.html
71
77
  - _includes/pagination.html
@@ -77,6 +83,7 @@ files:
77
83
  - _sass/_animations.scss
78
84
  - _sass/_coderay.scss
79
85
  - _sass/_elements.scss
86
+ - _sass/_gitalk.scss
80
87
  - _sass/_grid.scss
81
88
  - _sass/_mixins.scss
82
89
  - _sass/_page.scss
@@ -95,19 +102,18 @@ require_paths:
95
102
  - lib
96
103
  required_ruby_version: !ruby/object:Gem::Requirement
97
104
  requirements:
98
- - - '>='
105
+ - - ">="
99
106
  - !ruby/object:Gem::Version
100
107
  version: '0'
101
108
  required_rubygems_version: !ruby/object:Gem::Requirement
102
109
  requirements:
103
- - - '>='
110
+ - - ">="
104
111
  - !ruby/object:Gem::Version
105
112
  version: '0'
106
113
  requirements: []
107
- rubyforge_project:
108
- rubygems_version: 2.6.8
114
+ rubygems_version: 3.0.3
109
115
  signing_key:
110
116
  specification_version: 4
111
- summary: cosy-jekyll-theme is a responsive blog template providing a good reading
117
+ summary: cosy jekyll theme is a responsive blog template providing a good reading
112
118
  experience. No jQuery,And More concise,More geeks and Faster than other jekyll theme.
113
119
  test_files: []
@@ -1,5 +0,0 @@
1
- {% if page.comments != false and site.disqus_shortname %}
2
- <section id="disqus_thread">Disqus is climbing the Great Fire Wall of China, Maybe She needs <a href="https://sodatea.github.io/2015/12/23/all-i-know-about-the-wall/" target="_blank" class="need_dotted">a ladder.</a>&nbsp;&nbsp; 🤦🏼‍️ 🤷🏼‍️
3
- </section>
4
- {% endif %}
5
-