bay_jekyll_theme 1.0.12 → 1.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +74 -0
  3. data/README.md +12 -0
  4. data/_includes/foot.html +0 -1
  5. data/_includes/footer.html +38 -37
  6. data/_layouts/home.html +1 -1
  7. data/_sass/_layout.scss +9 -2
  8. data/_sass/_site.scss +31 -22
  9. data/assets/img/content/post-example/Banner.jpg +0 -0
  10. data/assets/img/icons/dribbble.png +0 -0
  11. data/assets/img/icons/email.png +0 -0
  12. data/assets/img/icons/facebook.png +0 -0
  13. data/assets/img/icons/github.png +0 -0
  14. data/assets/img/icons/keybase.png +0 -0
  15. data/assets/img/icons/linkedin.png +0 -0
  16. data/assets/img/icons/rss.png +0 -0
  17. data/assets/img/icons/twitter.png +0 -0
  18. data/assets/img/icons/wechat.png +0 -0
  19. data/assets/img/icons/weibo.png +0 -0
  20. data/assets/img/menu.png +0 -0
  21. data/assets/img/profile-pic.jpg +0 -0
  22. data/assets/img/title.png +0 -0
  23. data/assets/img/wechat-qr-code.png +0 -0
  24. data/assets/img/work/sand.png +0 -0
  25. data/assets/img/work/water.png +0 -0
  26. data/assets/js/site.js +3 -1
  27. metadata +8 -23
  28. data/assets/img/content/post-example/Banner@2x.jpg +0 -0
  29. data/assets/img/icons/email@2x.png +0 -0
  30. data/assets/img/icons/facebook@2x.png +0 -0
  31. data/assets/img/icons/github@2x.png +0 -0
  32. data/assets/img/icons/keybase@2x.png +0 -0
  33. data/assets/img/icons/linkedin@2x.png +0 -0
  34. data/assets/img/icons/rss@2x.png +0 -0
  35. data/assets/img/icons/twitter@2x.png +0 -0
  36. data/assets/img/icons/wechat@2x.png +0 -0
  37. data/assets/img/icons/weibo@2x.png +0 -0
  38. data/assets/img/menu@2x.png +0 -0
  39. data/assets/img/profile-pic@2x.jpg +0 -0
  40. data/assets/img/title@2x.png +0 -0
  41. data/assets/img/wechat-qr-code@2x.png +0 -0
  42. data/assets/img/work/sand@2x.png +0 -0
  43. data/assets/img/work/water@2x.png +0 -0
  44. data/assets/js/vendor/retina-1.3.0.min.js +0 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b569c6203e2a1f7d8d731cbad82073cf5968c302c731e75de0522c43d168975
4
- data.tar.gz: 9cb2b0bb20036436b5cacd3016b07ef0b5ea14333de25173dcfb1e5cbb42a853
3
+ metadata.gz: 40eafa0edde49611a37e6a796f4cf4f9d4e1197915efb18ca14df9167e6c0051
4
+ data.tar.gz: 2558c71971d059aa8a77c2f1258f952336e20476a366eb0cdd6fa322a0cb4c87
5
5
  SHA512:
6
- metadata.gz: 98d0d2b1eeb1d6b5c8a9cfb945395f1fa2f34fa408c75853fc3c00c9a67f83b6dcce6ea70dced0393b7e5f3e975b3c089257c9f444ffc906d09d6c5bd1b4d761
7
- data.tar.gz: 7c2f2db01ebf0381b2e45fe2db0e7739a9205c61fb4d862d66f1ac5a62952a1bfa7902e0f44bdb3503c9aa45f410f7a0a6ce68ef344298cfb37da439b4bc9b9c
6
+ metadata.gz: 01641a6b9a8143e9efaffe1efcf2a9dad057b1da08fa27e0404eb069dc50913930219b7876321a43fd0e03ee46b869dac7944f461f65afc813da20bf0b106d18
7
+ data.tar.gz: ca301dc270ec817ca9cb3d0f26ea88a796e4d67abd63d60e96f21b61f6c54ef8c002b80e061106e75311ac2091fc7481936cd4cc4c475fe1603ed0f4f32997d2
data/CHANGELOG.md ADDED
@@ -0,0 +1,74 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ### [1.0.17](https://github.com/eliottvincent/bay/compare/v1.0.16...v1.0.17) (2021-06-05)
6
+
7
+ ### Features
8
+
9
+ - Remove support for Retina-sized images
10
+
11
+ ### [1.0.16](https://github.com/eliottvincent/bay/compare/v1.0.15...v1.0.16) (2021-02-23)
12
+
13
+ ### Bug Fixes
14
+
15
+ - Rework footer's elements sizing ([1f1384b](https://github.com/eliottvincent/bay/commit/1f1384b2cfc07bc152cb8e44756e5a0fcbfbef11)), closes [#5](https://github.com/eliottvincent/bay/issues/5)
16
+
17
+ ### [1.0.15](https://github.com/eliottvincent/bay/compare/v1.0.14...v1.0.15) (2020-12-21)
18
+
19
+ ### Features
20
+
21
+ - Add Dribbble to supported "follow" list items
22
+
23
+ ### Bug Fixes
24
+
25
+ - Fix `remote_theme` value in configuration (for GitHub Pages)
26
+
27
+ ### [1.0.14](https://github.com/eliottvincent/bay/compare/v1.0.13...v1.0.14) (2020-09-02)
28
+
29
+ ### Bug Fixes
30
+
31
+ - Fix WeChat widget not moving anymore
32
+
33
+ ### [1.0.13](https://github.com/eliottvincent/bay/compare/v1.0.12...v1.0.13) (2020-08-12)
34
+
35
+ ### Bug Fixes
36
+
37
+ - Update dependencies
38
+
39
+ ### [1.0.12](https://github.com/eliottvincent/bay/compare/v1.0.11...v1.0.12) (2020-08-05)
40
+
41
+ ### Bug Fixes
42
+
43
+ - Make sure menu doesn't disappear ([ff45445](https://github.com/eliottvincent/bay/commit/ff45445761314a9b4a9b1e53f04c040ab2b62e3f)), closes [#1](https://github.com/eliottvincent/bay/issues/1)
44
+ - Fix WeChat widget not moving anymore
45
+
46
+ ### [1.0.11](https://github.com/eliottvincent/bay/compare/v1.0.10...v1.0.11) (2020-08-01)
47
+
48
+ ### Bug Fixes
49
+
50
+ - Fix work item spacing
51
+ - Year displayed in footer is now dynamic
52
+
53
+ ### [1.0.10](https://github.com/eliottvincent/bay/compare/v1.0.9...v1.0.10) (2019-10-31)
54
+
55
+ ### Bug Fixes
56
+
57
+ - Add GA
58
+
59
+ ### [1.0.9](https://github.com/eliottvincent/bay/compare/v1.0.8...v1.0.9) (2019-10-28)
60
+
61
+ ### Bug Fixes
62
+
63
+ - Render WeChat widget only if necessary
64
+
65
+ ### [1.0.8](https://github.com/eliottvincent/bay/compare/v1.0.7...v1.0.8) (2019-10-27)
66
+
67
+ ### Bug Fixes
68
+
69
+ - Update configuration to support GitHub Pages deployment
70
+ - Load assets through absolute path
71
+
72
+ ### 1.0.7 (2019-10-27)
73
+
74
+ Initial version.
data/README.md CHANGED
@@ -8,6 +8,10 @@ Inspired by [dangrover.com](http://dangrover.com/). Current theme used at [eliot
8
8
 
9
9
  ### Installation
10
10
 
11
+
12
+ The easiest solution is to [fork this repo](https://github.com/eliottvincent/bay/fork).
13
+ If you want to start from a clean website, follow the steps bellow:
14
+
11
15
  Create a new Jekyll website:
12
16
  ```
13
17
  jekyll new mysite
@@ -30,6 +34,10 @@ with:
30
34
  ```
31
35
  theme: bay_jekyll_theme
32
36
  ```
37
+ or, for GitHub Pages:
38
+ ```
39
+ remote_theme: eliottvincent/bay
40
+ ```
33
41
 
34
42
  Finally, install the dependencies:
35
43
  ```
@@ -78,8 +86,12 @@ footer:
78
86
  link: http://linkedin.com/in/YourLinkedInUsername
79
87
  - name: GitHub
80
88
  link: http://github.com/YourGitHubUsername
89
+ - name: Dribbble
90
+ link: https://dribbble.com/YourDribbbleUsername
81
91
  - name: Weibo
82
92
  link: http://weibo.com/u/YourWeiboUsername
93
+ - name: RSS
94
+ link: /feed.xml
83
95
  ```
84
96
  Re-run `jekyll serve` to see the footer updated.
85
97
 
data/_includes/foot.html CHANGED
@@ -1,3 +1,2 @@
1
- <script type="text/javascript" src="{{ "/assets/js/vendor/retina-1.3.0.min.js" | absolute_url }}"></script>
2
1
  <script type="text/javascript" src="{{ "/assets/js/vendor/cash-4.1.5.min.js" | absolute_url }}"></script>
3
2
  <script type="text/javascript" src="{{ "/assets/js/site.js" | absolute_url }}"></script>
@@ -1,53 +1,54 @@
1
1
  <footer class="site-footer">
2
2
  <div class="wrapper">
3
3
  <div class="footer-col-wrapper">
4
- <div class="footer-col footer-col-1 social-links">
4
+ <div class="footer-col footer-col-1">
5
5
  <h4>CONTACT</h4>
6
6
 
7
- {% for contact in site.footer.contact %}
7
+ <div class="social-links">
8
+ {% for contact in site.footer.contact %}
9
+ <div class="social-link contact-links">
8
10
 
9
- {% assign contact_icon_path = "/assets/img/icons/" | append: contact.name | downcase | append: ".png" | absolute_url %}
10
- <img
11
- src="{{ contact_icon_path }}"
12
- alt="{{ contact.name | downcase }}"
13
- />
14
- <a href="{{ contact.link }}" id="{{ contact.name | downcase }}-link">
15
- {% if contact.value and contact.value != "" and contact.value != nil %}
16
- {{ contact.value }}
17
- {% else %}
18
- {{ contact.name }}
19
- {% endif %}
20
- </a>
21
- <br />
11
+ {% assign contact_icon_path = "/assets/img/icons/" | append: contact.name | downcase | append: ".png" | absolute_url %}
12
+ <img
13
+ src="{{ contact_icon_path }}"
14
+ alt="{{ contact.name | downcase }}"
15
+ />
16
+ <a href="{{ contact.link }}" id="{{ contact.name | downcase }}-link">
17
+ {% if contact.value and contact.value != "" and contact.value != nil %}
18
+ {{ contact.value }}
19
+ {% else %}
20
+ {{ contact.name }}
21
+ {% endif %}
22
+ </a>
23
+ </div>
22
24
 
23
- {% endfor %}
25
+ {% endfor %}
26
+ </div>
24
27
  </div>
25
28
 
26
- <div class="footer-col footer-col-2 social-links">
29
+ <div class="footer-col footer-col-2">
27
30
  <h4>FOLLOW</h4>
28
31
 
29
- {% for follow in site.footer.follow %}
30
- <span class="wrap-link">
31
-
32
- {% assign follow_icon_path = "/assets/img/icons/" | append: follow.name | downcase | append: ".png" | absolute_url %}
33
- <img
34
- src="{{ follow_icon_path }}"
35
- alt="{{ follow.name | downcase }}"
36
- />
37
- <a href="{{ follow.link }}">
38
- {% if follow.value and follow.value != "" and follow.value != nil %}
39
- {{ follow.value }}
40
- {% else %}
41
- {{ follow.name }}
42
- {% endif %}
43
- </a>
44
- </span>
32
+ <div class="social-links follow-links">
33
+ {% for follow in site.footer.follow %}
34
+ <div class="social-link">
45
35
 
46
- {% assign mod = forloop.index | modulo: 2 %} {% if mod == 0 %}
47
- <br />
48
- {% endif %}
36
+ {% assign follow_icon_path = "/assets/img/icons/" | append: follow.name | downcase | append: ".png" | absolute_url %}
37
+ <img
38
+ src="{{ follow_icon_path }}"
39
+ alt="{{ follow.name | downcase }}"
40
+ />
41
+ <a href="{{ follow.link }}">
42
+ {% if follow.value and follow.value != "" and follow.value != nil %}
43
+ {{ follow.value }}
44
+ {% else %}
45
+ {{ follow.name }}
46
+ {% endif %}
47
+ </a>
48
+ </div>
49
49
 
50
- {% endfor %}
50
+ {% endfor %}
51
+ </div>
51
52
  </div>
52
53
 
53
54
  {% if site.footer.show_powered_by == true %}
data/_layouts/home.html CHANGED
@@ -11,7 +11,7 @@
11
11
  <img
12
12
  src="{{ page.profile_picture.src | absolute_url }}"
13
13
  alt="{{ page.profile_picture.alt }}"
14
- class="profilepic"
14
+ class="profile-pic"
15
15
  />
16
16
 
17
17
  {{ content }}
data/_sass/_layout.scss CHANGED
@@ -21,9 +21,12 @@
21
21
  font-size: 26px;
22
22
  line-height: 56px;
23
23
  letter-spacing: -1px;
24
-
25
24
  float: left;
26
25
 
26
+ img {
27
+ height: 28px;
28
+ }
29
+
27
30
  &,
28
31
  &:visited {
29
32
  color: $grey-color-dark;
@@ -132,8 +135,12 @@
132
135
  width: calc(33% - (#{$spacing-unit} / 2));
133
136
  }
134
137
 
138
+ .follow-links > .social-link {
139
+ flex: 0 50%;
140
+ }
141
+
135
142
  .powered-by {
136
- font-size: 13px;
143
+ font-size: 13px !important;
137
144
  color: $grey-color;
138
145
  }
139
146
 
data/_sass/_site.scss CHANGED
@@ -1,5 +1,6 @@
1
- .profilepic {
1
+ .profile-pic {
2
2
  float: right;
3
+ width: 202px;
3
4
  border: #ccc 1px solid;
4
5
  margin-left: 20px;
5
6
 
@@ -10,34 +11,42 @@
10
11
  }
11
12
  }
12
13
 
13
- .social-links {
14
+ .footer-col {
14
15
  font-size: 12px;
15
- line-height: 30px;
16
-
17
- @include media-query($on-mobile) {
18
- font-size: 14px;
19
- line-height: 38px;
20
- }
21
-
22
- img {
23
- margin-right: 3px;
24
- vertical-align: middle;
25
- margin-top: -2px;
26
- }
27
16
 
28
17
  h4 {
29
18
  margin-bottom: 0;
30
- font-size: 12px;
31
19
  margin-top: 0;
20
+ line-height: 30px;
32
21
  }
33
22
 
34
- span.wrap-link {
35
- width: 45%;
36
- float: left;
37
- display: block;
38
- margin-right: 2px;
39
- text-wrap: none;
40
- min-width: 7em;
23
+ .social-links {
24
+ display: flex;
25
+ flex-wrap: wrap;
26
+
27
+ .social-link {
28
+ display: flex;
29
+ width: 100%;
30
+ align-items: flex-start;
31
+ line-height: 16px;
32
+ margin-top: 6.5px;
33
+ margin-bottom: 10px;
34
+
35
+ img {
36
+ width: 16px;
37
+ height: 16px;
38
+ }
39
+
40
+ a {
41
+ margin-left: 6px;
42
+ word-break: break-all;
43
+ }
44
+ }
45
+
46
+ @include media-query($on-mobile) {
47
+ font-size: 14px;
48
+ line-height: 38px;
49
+ }
41
50
  }
42
51
  }
43
52
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/assets/img/menu.png CHANGED
Binary file
Binary file
data/assets/img/title.png CHANGED
Binary file
Binary file
Binary file
Binary file
data/assets/js/site.js CHANGED
@@ -15,7 +15,9 @@
15
15
  * Wechat widget
16
16
  */
17
17
  function moveWidget(event) {
18
- $("#wechat-widget").css({
18
+ var w = $("#wechat-widget");
19
+
20
+ w.css({
19
21
  left: event.pageX - 25,
20
22
  top: event.pageY - w.height() - 60
21
23
  });
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bay_jekyll_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eliott Vincent
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-05 00:00:00.000000000 Z
11
+ date: 2021-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -38,13 +38,14 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.0'
41
- description:
41
+ description:
42
42
  email:
43
43
  - hello@eliottvincent.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - CHANGELOG.md
48
49
  - LICENSE.md
49
50
  - README.md
50
51
  - _includes/draft-banner.html
@@ -67,45 +68,29 @@ files:
67
68
  - _sass/_work.scss
68
69
  - assets/css/main.scss
69
70
  - assets/img/content/post-example/Banner.jpg
70
- - assets/img/content/post-example/Banner@2x.jpg
71
+ - assets/img/icons/dribbble.png
71
72
  - assets/img/icons/email.png
72
- - assets/img/icons/email@2x.png
73
73
  - assets/img/icons/facebook.png
74
- - assets/img/icons/facebook@2x.png
75
74
  - assets/img/icons/github.png
76
- - assets/img/icons/github@2x.png
77
75
  - assets/img/icons/keybase.png
78
- - assets/img/icons/keybase@2x.png
79
76
  - assets/img/icons/linkedin.png
80
- - assets/img/icons/linkedin@2x.png
81
77
  - assets/img/icons/rss.png
82
- - assets/img/icons/rss@2x.png
83
78
  - assets/img/icons/twitter.png
84
- - assets/img/icons/twitter@2x.png
85
79
  - assets/img/icons/wechat.png
86
- - assets/img/icons/wechat@2x.png
87
80
  - assets/img/icons/weibo.png
88
- - assets/img/icons/weibo@2x.png
89
81
  - assets/img/menu.png
90
- - assets/img/menu@2x.png
91
82
  - assets/img/profile-pic.jpg
92
- - assets/img/profile-pic@2x.jpg
93
83
  - assets/img/title.png
94
- - assets/img/title@2x.png
95
84
  - assets/img/wechat-qr-code.png
96
- - assets/img/wechat-qr-code@2x.png
97
85
  - assets/img/work/sand.png
98
- - assets/img/work/sand@2x.png
99
86
  - assets/img/work/water.png
100
- - assets/img/work/water@2x.png
101
87
  - assets/js/site.js
102
88
  - assets/js/vendor/cash-4.1.5.min.js
103
- - assets/js/vendor/retina-1.3.0.min.js
104
89
  homepage: https://github.com/eliottvincent/bay
105
90
  licenses:
106
91
  - MIT
107
92
  metadata: {}
108
- post_install_message:
93
+ post_install_message:
109
94
  rdoc_options: []
110
95
  require_paths:
111
96
  - lib
@@ -121,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
106
  version: '0'
122
107
  requirements: []
123
108
  rubygems_version: 3.0.3
124
- signing_key:
109
+ signing_key:
125
110
  specification_version: 4
126
111
  summary: A simple and minimal Jekyll theme..
127
112
  test_files: []
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,10 +0,0 @@
1
- /*!
2
- * Retina.js v1.3.0
3
- *
4
- * Copyright 2014 Imulus, LLC
5
- * Released under the MIT license
6
- *
7
- * Retina.js is an open source script that makes it easy to serve
8
- * high-resolution images to devices with retina displays.
9
- */
10
- !function(){function a(){}function b(a){return f.retinaImageSuffix+a}function c(a,c){if(this.path=a||"","undefined"!=typeof c&&null!==c)this.at_2x_path=c,this.perform_check=!1;else{if(void 0!==document.createElement){var d=document.createElement("a");d.href=this.path,d.pathname=d.pathname.replace(g,b),this.at_2x_path=d.href}else{var e=this.path.split("?");e[0]=e[0].replace(g,b),this.at_2x_path=e.join("?")}this.perform_check=!0}}function d(a){this.el=a,this.path=new c(this.el.getAttribute("src"),this.el.getAttribute("data-at2x"));var b=this;this.path.check_2x_variant(function(a){a&&b.swap()})}var e="undefined"==typeof exports?window:exports,f={retinaImageSuffix:"@2x",check_mime_type:!0,force_original_dimensions:!0};e.Retina=a,a.configure=function(a){null===a&&(a={});for(var b in a)a.hasOwnProperty(b)&&(f[b]=a[b])},a.init=function(a){null===a&&(a=e);var b=a.onload||function(){};a.onload=function(){var a,c,e=document.getElementsByTagName("img"),f=[];for(a=0;a<e.length;a+=1)c=e[a],c.getAttributeNode("data-no-retina")||f.push(new d(c));b()}},a.isRetina=function(){var a="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";return e.devicePixelRatio>1?!0:e.matchMedia&&e.matchMedia(a).matches?!0:!1};var g=/\.\w+$/;e.RetinaImagePath=c,c.confirmed_paths=[],c.prototype.is_external=function(){return!(!this.path.match(/^https?\:/i)||this.path.match("//"+document.domain))},c.prototype.check_2x_variant=function(a){var b,d=this;return this.is_external()?a(!1):this.perform_check||"undefined"==typeof this.at_2x_path||null===this.at_2x_path?this.at_2x_path in c.confirmed_paths?a(!0):(b=new XMLHttpRequest,b.open("HEAD",this.at_2x_path),b.onreadystatechange=function(){if(4!==b.readyState)return a(!1);if(b.status>=200&&b.status<=399){if(f.check_mime_type){var e=b.getResponseHeader("Content-Type");if(null===e||!e.match(/^image/i))return a(!1)}return c.confirmed_paths.push(d.at_2x_path),a(!0)}return a(!1)},b.send(),void 0):a(!0)},e.RetinaImage=d,d.prototype.swap=function(a){function b(){c.el.complete?(f.force_original_dimensions&&(c.el.setAttribute("width",c.el.offsetWidth),c.el.setAttribute("height",c.el.offsetHeight)),c.el.setAttribute("src",a)):setTimeout(b,5)}"undefined"==typeof a&&(a=this.path.at_2x_path);var c=this;b()},a.isRetina()&&a.init(e)}();