bay_jekyll_theme 1.0.11 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +68 -0
- data/README.md +17 -0
- data/_includes/footer.html +38 -37
- data/_includes/header.html +1 -1
- data/_sass/_base.scss +1 -1
- data/_sass/_blog.scss +1 -1
- data/_sass/_layout.scss +12 -12
- data/_sass/_post.scss +5 -5
- data/_sass/_site.scss +25 -22
- data/assets/css/main.scss +3 -1
- data/assets/img/icons/dribbble.png +0 -0
- data/assets/img/icons/dribbble@2x.png +0 -0
- data/assets/img/icons/email.png +0 -0
- data/assets/img/icons/email@2x.png +0 -0
- data/assets/img/icons/facebook.png +0 -0
- data/assets/img/icons/facebook@2x.png +0 -0
- data/assets/img/icons/github.png +0 -0
- data/assets/img/icons/github@2x.png +0 -0
- data/assets/img/icons/keybase.png +0 -0
- data/assets/img/icons/keybase@2x.png +0 -0
- data/assets/img/icons/linkedin.png +0 -0
- data/assets/img/icons/linkedin@2x.png +0 -0
- data/assets/img/icons/rss.png +0 -0
- data/assets/img/icons/rss@2x.png +0 -0
- data/assets/img/icons/twitter.png +0 -0
- data/assets/img/icons/twitter@2x.png +0 -0
- data/assets/img/icons/wechat.png +0 -0
- data/assets/img/icons/wechat@2x.png +0 -0
- data/assets/img/icons/weibo.png +0 -0
- data/assets/img/icons/weibo@2x.png +0 -0
- data/assets/img/wechat-qr-code.png +0 -0
- data/assets/img/wechat-qr-code@2x.png +0 -0
- data/assets/js/site.js +22 -3
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2a5e37a43d8ac48c7559be29084110f641db7e7f150fe013861b33d53e8cb9a
|
4
|
+
data.tar.gz: 12bdeff5c8116293db2eed32840dc8bc31485ba738de993049b3c1ef85d1710e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 785ac2065ce023d8df20a518b6d5a38d480774667e1150e460f4ebcbc7d99fa905478952def2381a9aca8c924ba336c0609c8f6b88073c346f9da34b063dabd2
|
7
|
+
data.tar.gz: 4c1b536c86c41e6ec4501c2b7f06184a62fc1418b0423c538f08631b73eb8042428cc7a94ed3654d8c215d09f516b53feb282e03e19796317d5e99dbb9ef28a5
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
|
5
|
+
### [1.0.16](https://github.com/eliottvincent/bay/compare/v1.0.15...v1.0.16) (2021-02-23)
|
6
|
+
|
7
|
+
### Bug Fixes
|
8
|
+
|
9
|
+
- Rework footer's elements sizing ([638970b](https://github.com/eliottvincent/bay/commit/638970bf93ee6567f05cbcd92037bc92cebc3550)), closes [#2](https://github.com/eliottvincent/bay/issues/2)
|
10
|
+
|
11
|
+
### [1.0.15](https://github.com/eliottvincent/bay/compare/v1.0.14...v1.0.15) (2020-12-21)
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
- Add Dribbble to supported "follow" list items
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
- Fix `remote_theme` value in configuration (for GitHub Pages)
|
20
|
+
|
21
|
+
### [1.0.14](https://github.com/eliottvincent/bay/compare/v1.0.13...v1.0.14) (2020-09-02)
|
22
|
+
|
23
|
+
### Bug Fixes
|
24
|
+
|
25
|
+
- Fix WeChat widget not moving anymore
|
26
|
+
|
27
|
+
### [1.0.13](https://github.com/eliottvincent/bay/compare/v1.0.12...v1.0.13) (2020-08-12)
|
28
|
+
|
29
|
+
### Bug Fixes
|
30
|
+
|
31
|
+
- Update dependencies
|
32
|
+
|
33
|
+
### [1.0.12](https://github.com/eliottvincent/bay/compare/v1.0.11...v1.0.12) (2020-08-05)
|
34
|
+
|
35
|
+
### Bug Fixes
|
36
|
+
|
37
|
+
- Make sure menu doesn't disappear ([ff45445](https://github.com/eliottvincent/bay/commit/ff45445761314a9b4a9b1e53f04c040ab2b62e3f)), closes [#1](https://github.com/eliottvincent/bay/issues/1)
|
38
|
+
- Fix WeChat widget not moving anymore
|
39
|
+
|
40
|
+
### [1.0.11](https://github.com/eliottvincent/bay/compare/v1.0.10...v1.0.11) (2020-08-01)
|
41
|
+
|
42
|
+
### Bug Fixes
|
43
|
+
|
44
|
+
- Fix work item spacing
|
45
|
+
- Year displayed in footer is now dynamic
|
46
|
+
|
47
|
+
### [1.0.10](https://github.com/eliottvincent/bay/compare/v1.0.9...v1.0.10) (2019-10-31)
|
48
|
+
|
49
|
+
### Bug Fixes
|
50
|
+
|
51
|
+
- Add GA
|
52
|
+
|
53
|
+
### [1.0.9](https://github.com/eliottvincent/bay/compare/v1.0.8...v1.0.9) (2019-10-28)
|
54
|
+
|
55
|
+
### Bug Fixes
|
56
|
+
|
57
|
+
- Render WeChat widget only if necessary
|
58
|
+
|
59
|
+
### [1.0.8](https://github.com/eliottvincent/bay/compare/v1.0.7...v1.0.8) (2019-10-27)
|
60
|
+
|
61
|
+
### Bug Fixes
|
62
|
+
|
63
|
+
- Update configuration to support GitHub Pages deployment
|
64
|
+
- Load assets through absolute path
|
65
|
+
|
66
|
+
### 1.0.7 (2019-10-27)
|
67
|
+
|
68
|
+
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
|
|
@@ -117,6 +129,11 @@ Your website is ready!
|
|
117
129
|
|
118
130
|
### Development
|
119
131
|
|
132
|
+
#### Run development instance (with hot-reload)
|
133
|
+
```sh
|
134
|
+
bundle exec jekyll serve
|
135
|
+
```
|
136
|
+
|
120
137
|
#### Build and publish the gem
|
121
138
|
```sh
|
122
139
|
gem build bay_jekyll_theme.gemspec
|
data/_includes/footer.html
CHANGED
@@ -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
|
4
|
+
<div class="footer-col footer-col-1">
|
5
5
|
<h4>CONTACT</h4>
|
6
6
|
|
7
|
-
|
7
|
+
<div class="social-links">
|
8
|
+
{% for contact in site.footer.contact %}
|
9
|
+
<div class="social-link contact-links">
|
8
10
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
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
|
-
|
25
|
+
{% endfor %}
|
26
|
+
</div>
|
24
27
|
</div>
|
25
28
|
|
26
|
-
<div class="footer-col footer-col-2
|
29
|
+
<div class="footer-col footer-col-2">
|
27
30
|
<h4>FOLLOW</h4>
|
28
31
|
|
29
|
-
|
30
|
-
|
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
|
-
|
47
|
-
|
48
|
-
|
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
|
-
|
50
|
+
{% endfor %}
|
51
|
+
</div>
|
51
52
|
</div>
|
52
53
|
|
53
54
|
{% if site.footer.show_powered_by == true %}
|
data/_includes/header.html
CHANGED
data/_sass/_base.scss
CHANGED
data/_sass/_blog.scss
CHANGED
data/_sass/_layout.scss
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
padding-top: 10px;
|
9
9
|
padding-bottom: 10px;
|
10
10
|
|
11
|
-
@include media-query($on-
|
11
|
+
@include media-query($on-mobile) {
|
12
12
|
padding-top: 0;
|
13
13
|
padding-bottom: 0;
|
14
14
|
}
|
@@ -34,6 +34,7 @@
|
|
34
34
|
* Site nav
|
35
35
|
*/
|
36
36
|
.site-nav {
|
37
|
+
z-index: 10;
|
37
38
|
float: right;
|
38
39
|
line-height: 56px;
|
39
40
|
|
@@ -51,7 +52,7 @@
|
|
51
52
|
}
|
52
53
|
}
|
53
54
|
|
54
|
-
@include media-query($on-
|
55
|
+
@include media-query($on-mobile) {
|
55
56
|
position: absolute;
|
56
57
|
top: 12px;
|
57
58
|
right: 24px;
|
@@ -69,20 +70,15 @@
|
|
69
70
|
padding-top: 4px;
|
70
71
|
text-align: center;
|
71
72
|
|
72
|
-
background: #ffffff url(/assets/img/menu.png) 6px 4px no-repeat;
|
73
|
+
background: #ffffff url($base-url + '/assets/img/menu.png') 6px 4px no-repeat;
|
73
74
|
}
|
74
75
|
|
75
|
-
.
|
76
|
+
.menu {
|
76
77
|
clear: both;
|
77
78
|
display: none;
|
78
79
|
background-color: #ffffff;
|
79
80
|
min-width: 10em;
|
80
|
-
}
|
81
|
-
|
82
|
-
&:hover .trigger {
|
83
|
-
display: block;
|
84
81
|
padding-bottom: 5px;
|
85
|
-
background-color: #ffffff;
|
86
82
|
}
|
87
83
|
|
88
84
|
.page-link {
|
@@ -100,7 +96,7 @@
|
|
100
96
|
border-top: 1px solid $grey-color-light;
|
101
97
|
padding: $spacing-unit 0;
|
102
98
|
|
103
|
-
@include media-query($on-
|
99
|
+
@include media-query($on-mobile) {
|
104
100
|
padding-top: 10px;
|
105
101
|
}
|
106
102
|
}
|
@@ -136,12 +132,16 @@
|
|
136
132
|
width: calc(33% - (#{$spacing-unit} / 2));
|
137
133
|
}
|
138
134
|
|
135
|
+
.follow-links > .social-link {
|
136
|
+
flex: 0 50%;
|
137
|
+
}
|
138
|
+
|
139
139
|
.powered-by {
|
140
|
-
font-size: 13px;
|
140
|
+
font-size: 13px !important;
|
141
141
|
color: $grey-color;
|
142
142
|
}
|
143
143
|
|
144
|
-
@include media-query($on-
|
144
|
+
@include media-query($on-mobile) {
|
145
145
|
.footer-col {
|
146
146
|
float: none;
|
147
147
|
width: 100%;
|
data/_sass/_post.scss
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
font-family: $base-font-family;
|
11
11
|
|
12
|
-
@include media-query($on-
|
12
|
+
@include media-query($on-mobile) {
|
13
13
|
font-size: 34px;
|
14
14
|
}
|
15
15
|
}
|
@@ -24,7 +24,7 @@
|
|
24
24
|
position: relative;
|
25
25
|
top: -0.3em;
|
26
26
|
|
27
|
-
@include media-query($on-
|
27
|
+
@include media-query($on-mobile) {
|
28
28
|
font-size: 24px;
|
29
29
|
}
|
30
30
|
}
|
@@ -40,7 +40,7 @@
|
|
40
40
|
h2 {
|
41
41
|
font-size: 32px;
|
42
42
|
|
43
|
-
@include media-query($on-
|
43
|
+
@include media-query($on-mobile) {
|
44
44
|
font-size: 28px;
|
45
45
|
}
|
46
46
|
}
|
@@ -48,7 +48,7 @@
|
|
48
48
|
h3 {
|
49
49
|
font-size: 26px;
|
50
50
|
|
51
|
-
@include media-query($on-
|
51
|
+
@include media-query($on-mobile) {
|
52
52
|
font-size: 22px;
|
53
53
|
}
|
54
54
|
}
|
@@ -56,7 +56,7 @@
|
|
56
56
|
h4 {
|
57
57
|
font-size: 20px;
|
58
58
|
|
59
|
-
@include media-query($on-
|
59
|
+
@include media-query($on-mobile) {
|
60
60
|
font-size: 18px;
|
61
61
|
}
|
62
62
|
}
|
data/_sass/_site.scss
CHANGED
@@ -3,41 +3,44 @@
|
|
3
3
|
border: #ccc 1px solid;
|
4
4
|
margin-left: 20px;
|
5
5
|
|
6
|
-
@include media-query($on-
|
6
|
+
@include media-query($on-mobile) {
|
7
7
|
float: none;
|
8
8
|
margin-bottom: 20px;
|
9
9
|
margin-left: 0px;
|
10
10
|
}
|
11
11
|
}
|
12
12
|
|
13
|
-
.
|
13
|
+
.footer-col {
|
14
14
|
font-size: 12px;
|
15
|
-
line-height: 30px;
|
16
|
-
|
17
|
-
@include media-query($on-palm) {
|
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
15
|
|
28
16
|
h4 {
|
29
17
|
margin-bottom: 0;
|
30
|
-
font-size: 12px;
|
31
18
|
margin-top: 0;
|
19
|
+
line-height: 30px;
|
32
20
|
}
|
33
21
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
22
|
+
.social-links {
|
23
|
+
display: flex;
|
24
|
+
flex-wrap: wrap;
|
25
|
+
|
26
|
+
.social-link {
|
27
|
+
display: flex;
|
28
|
+
width: 100%;
|
29
|
+
align-items: flex-start;
|
30
|
+
line-height: 16px;
|
31
|
+
margin-top: 6.5px;
|
32
|
+
margin-bottom: 10px;
|
33
|
+
|
34
|
+
a {
|
35
|
+
margin-left: 6px;
|
36
|
+
word-break: break-all;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
@include media-query($on-mobile) {
|
41
|
+
font-size: 14px;
|
42
|
+
line-height: 38px;
|
43
|
+
}
|
41
44
|
}
|
42
45
|
}
|
43
46
|
|
data/assets/css/main.scss
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
@charset "utf-8";
|
6
6
|
|
7
7
|
// Our variables
|
8
|
+
$base-url: "{{ site.baseurl }}";
|
9
|
+
|
8
10
|
$base-font-family: Charter, Georgia, Helvetica, Arial, sans-serif;
|
9
11
|
$base-font-size: 14px;
|
10
12
|
$small-font-size: $base-font-size * 0.875;
|
@@ -20,7 +22,7 @@ $grey-color: #828282;
|
|
20
22
|
$grey-color-light: lighten($grey-color, 40%);
|
21
23
|
$grey-color-dark: darken($grey-color, 25%);
|
22
24
|
|
23
|
-
$on-
|
25
|
+
$on-mobile: 500px;
|
24
26
|
$on-laptop: 800px;
|
25
27
|
|
26
28
|
@mixin media-query($device) {
|
Binary file
|
Binary file
|
data/assets/img/icons/email.png
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/img/icons/github.png
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/img/icons/rss.png
CHANGED
Binary file
|
data/assets/img/icons/rss@2x.png
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/assets/img/icons/wechat.png
CHANGED
Binary file
|
Binary file
|
data/assets/img/icons/weibo.png
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/assets/js/site.js
CHANGED
@@ -1,11 +1,30 @@
|
|
1
|
+
/**
|
2
|
+
* Menu
|
3
|
+
*/
|
4
|
+
$("a.menu-icon").on("click", function(event) {
|
5
|
+
var w = $(".menu");
|
6
|
+
|
7
|
+
w.css({
|
8
|
+
display: w.css("display") === "none"
|
9
|
+
? "block"
|
10
|
+
: "none"
|
11
|
+
});
|
12
|
+
});
|
13
|
+
|
14
|
+
/**
|
15
|
+
* Wechat widget
|
16
|
+
*/
|
1
17
|
function moveWidget(event) {
|
2
18
|
var w = $("#wechat-widget");
|
3
|
-
|
19
|
+
|
20
|
+
w.css({
|
21
|
+
left: event.pageX - 25,
|
22
|
+
top: event.pageY - w.height() - 60
|
23
|
+
});
|
4
24
|
}
|
5
25
|
|
6
26
|
$("a#wechat-link").on("mouseenter", function(event) {
|
7
|
-
|
8
|
-
w.css({ display: "block" });
|
27
|
+
$("#wechat-widget").css({ display: "block" });
|
9
28
|
moveWidget(event);
|
10
29
|
});
|
11
30
|
|
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.
|
4
|
+
version: 1.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eliott Vincent
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -45,6 +45,7 @@ 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
|
@@ -68,6 +69,8 @@ files:
|
|
68
69
|
- assets/css/main.scss
|
69
70
|
- assets/img/content/post-example/Banner.jpg
|
70
71
|
- assets/img/content/post-example/Banner@2x.jpg
|
72
|
+
- assets/img/icons/dribbble.png
|
73
|
+
- assets/img/icons/dribbble@2x.png
|
71
74
|
- assets/img/icons/email.png
|
72
75
|
- assets/img/icons/email@2x.png
|
73
76
|
- assets/img/icons/facebook.png
|
@@ -93,6 +96,7 @@ files:
|
|
93
96
|
- assets/img/title.png
|
94
97
|
- assets/img/title@2x.png
|
95
98
|
- assets/img/wechat-qr-code.png
|
99
|
+
- assets/img/wechat-qr-code@2x.png
|
96
100
|
- assets/img/work/sand.png
|
97
101
|
- assets/img/work/sand@2x.png
|
98
102
|
- assets/img/work/water.png
|