bay_jekyll_theme 1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +2 -0
- data/_includes/draft-banner.html +8 -0
- data/_includes/foot.html +3 -0
- data/_includes/footer.html +60 -0
- data/_includes/head.html +76 -0
- data/_includes/header.html +25 -0
- data/_includes/wechat-widget.html +12 -0
- data/_layouts/blog.html +36 -0
- data/_layouts/default.html +18 -0
- data/_layouts/home.html +26 -0
- data/_layouts/post.html +47 -0
- data/_layouts/work.html +34 -0
- data/_sass/_404.scss +12 -0
- data/_sass/_base.scss +216 -0
- data/_sass/_blog.scss +21 -0
- data/_sass/_layout.scss +160 -0
- data/_sass/_post.scss +103 -0
- data/_sass/_site.scss +68 -0
- data/_sass/_work.scss +11 -0
- metadata +90 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 57515a34007c91a625d74f8771eab3235d13623d314bf9a9a15158e2d371171d
|
4
|
+
data.tar.gz: ebb1786e8b5965e6ef6164acd991935d5961b27ecb4d21ce53a2afadad113abb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6417a6b4c9d908bc63f06d0bd26cfb106803fa1af14927633b6b17fae85c18eeeb441b8041c65f4d3f6ec61c9b1e41049953a0e35bf6fc9f95b3d55b563e8cca
|
7
|
+
data.tar.gz: 3cb38c76d542e825502af98305b6aa964c59036a5b619d2c1674fbdd91cf4b5442ade799ddaf0324221126c19200a4825417a87a0910545f20e2b4be27337cdd
|
data/README.md
ADDED
data/_includes/foot.html
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
<footer class="site-footer">
|
2
|
+
<div class="wrapper">
|
3
|
+
<div class="footer-col-wrapper">
|
4
|
+
<div class="footer-col footer-col-1 social-links">
|
5
|
+
<h4>CONTACT</h4>
|
6
|
+
|
7
|
+
{% for contact in site.footer.contact %}
|
8
|
+
<img
|
9
|
+
src="/img/icons/{{ contact.name | downcase }}.png"
|
10
|
+
alt="{{ contact.name | downcase }}"
|
11
|
+
/>
|
12
|
+
<a href="{{ contact.link }}" id="{{ contact.name | downcase }}-link">
|
13
|
+
{% if contact.value and contact.value != "" and contact.value != nil %}
|
14
|
+
{{ contact.value }}
|
15
|
+
{% else %}
|
16
|
+
{{ contact.name }}
|
17
|
+
{% endif %}
|
18
|
+
</a>
|
19
|
+
<br />
|
20
|
+
|
21
|
+
{% endfor %}
|
22
|
+
</div>
|
23
|
+
|
24
|
+
<div class="footer-col footer-col-2 social-links">
|
25
|
+
<h4>FOLLOW</h4>
|
26
|
+
|
27
|
+
{% for follow in site.footer.follow %}
|
28
|
+
<span class="wrap-link">
|
29
|
+
<img
|
30
|
+
src="/img/icons/{{ follow.name | downcase }}.png"
|
31
|
+
alt="{{ follow.name | downcase }}"
|
32
|
+
/>
|
33
|
+
<a href="{{ follow.link }}">
|
34
|
+
{% if follow.value and follow.value != "" and follow.value != nil %}
|
35
|
+
{{ follow.value }}
|
36
|
+
{% else %}
|
37
|
+
{{ follow.name }}
|
38
|
+
{% endif %}
|
39
|
+
</a>
|
40
|
+
</span>
|
41
|
+
|
42
|
+
{% assign mod = forloop.index | modulo: 2 %} {% if mod == 0 %}
|
43
|
+
<br />
|
44
|
+
{% endif %}
|
45
|
+
|
46
|
+
{% endfor %}
|
47
|
+
</div>
|
48
|
+
|
49
|
+
{% if site.footer.show_powered_by == true %}
|
50
|
+
<div class="footer-col footer-col-3 powered-by">
|
51
|
+
<p>
|
52
|
+
powered by <a href="https://github.com/eliottvincent/bay">Bay</a> | 2019
|
53
|
+
</p>
|
54
|
+
</div>
|
55
|
+
{% endif %}
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</footer>
|
59
|
+
|
60
|
+
{% include wechat-widget.html %}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8"/>
|
3
|
+
<meta name="viewport" content="width=device-width initial-scale=1" />
|
4
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
5
|
+
|
6
|
+
{% assign page_is_article = false %}
|
7
|
+
{% if page.layout == "post" %}{% assign page_is_article = true %}{% endif %}
|
8
|
+
|
9
|
+
{% assign page_title = "" %}
|
10
|
+
{% if page.draft %}{% assign page_title = page_title | append: "[DRAFT] " %}{% endif %}
|
11
|
+
{% if page.title %}
|
12
|
+
{% assign page_title = page_title | append: site.title | append: " | " | append: page.title %}
|
13
|
+
{% else %}
|
14
|
+
{% assign page_title = site.title %}
|
15
|
+
{% endif %}
|
16
|
+
|
17
|
+
{% assign page_description = "" %}
|
18
|
+
{% if page.draft %}{% assign page_description = page_description | append: "[DRAFT] " %}{% endif %}
|
19
|
+
{% if page.blurb %}
|
20
|
+
{% assign page_description = page_description | append: page.blurb %}
|
21
|
+
{% else %}
|
22
|
+
{% assign page_description = site.description %}
|
23
|
+
{% endif %}
|
24
|
+
|
25
|
+
{% assign page_url = page.url | replace: "index.html","" | replace: ".html","" | prepend: site.baseurl | prepend: site.url %}
|
26
|
+
|
27
|
+
{% assign page_image = site.og_image | prepend: site.baseurl | prepend: site.url %}
|
28
|
+
{% if page.og_image %}
|
29
|
+
{% assign page_image = site.url + page.og_image %}
|
30
|
+
{% endif %}
|
31
|
+
|
32
|
+
{% for follow in site.footer.follow %}
|
33
|
+
{% if follow.name == 'Twitter' %}
|
34
|
+
{% assign twitter_username = follow.username %}
|
35
|
+
{% break %}
|
36
|
+
{% endif %}
|
37
|
+
{% endfor %}
|
38
|
+
|
39
|
+
<!-- Primary Meta Tags -->
|
40
|
+
<title>{{ page_title }}</title>
|
41
|
+
<meta name="title" content="{{ page_title }}"/>
|
42
|
+
<meta name="description" content="{{ page_description }}"/>
|
43
|
+
|
44
|
+
<!-- Open Graph / Facebook -->
|
45
|
+
<meta property="og:site_name" content="{{ page_title }}"/>
|
46
|
+
<meta property="og:type" content="{% if page_is_article %}article{% else %}website{% endif %}"/>
|
47
|
+
<meta property="og:url" content="{{ page_url }}"/>
|
48
|
+
<meta property="og:title" content="{{ page_title }}"/>
|
49
|
+
<meta property="og:description" content="{{ page_description }}"/>
|
50
|
+
<meta property="og:image" content="{{ page_image }}"/>
|
51
|
+
|
52
|
+
<!-- Twitter -->
|
53
|
+
<meta property="twitter:card" content="summary_large_image"/>
|
54
|
+
<meta property="twitter:url" content="{{ page_url }}"/>
|
55
|
+
<meta property="twitter:title" content="{{ page_title }}"/>
|
56
|
+
<meta property="twitter:description" content="{{ page_description }}"/>
|
57
|
+
<meta property="twitter:image" content="{{ page_image }}"/>
|
58
|
+
{% if twitter_username %}
|
59
|
+
<meta property="twitter:creator" content="{{ twitter_username }}"/>
|
60
|
+
<meta property="twitter:site" content="{{ twitter_username }}"/>
|
61
|
+
{% endif %}
|
62
|
+
|
63
|
+
<link rel="stylesheet" href="/css/main.css?v={{ site.version }}"/>
|
64
|
+
<link rel="canonical" href="{{ page_url }}"/>
|
65
|
+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
|
66
|
+
|
67
|
+
<!-- Google Analytics -->
|
68
|
+
<script>
|
69
|
+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
70
|
+
ga('create', "{{ site.google_analytics }}", "auto");
|
71
|
+
ga('send', "pageview");
|
72
|
+
</script>
|
73
|
+
<script async src="https://www.google-analytics.com/analytics.js"></script>
|
74
|
+
|
75
|
+
|
76
|
+
</head>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<header class="site-header">
|
2
|
+
<div class="wrapper">
|
3
|
+
<a class="site-title" href="{{ site.baseurl }}/">
|
4
|
+
<img src="/img/title.png" alt="{{ site.title }}" />
|
5
|
+
</a>
|
6
|
+
|
7
|
+
<nav class="site-nav">
|
8
|
+
<a href="#" class="menu-icon"></a>
|
9
|
+
|
10
|
+
<div class="trigger">
|
11
|
+
{% for page in site.header.pages %}
|
12
|
+
{% if page.slug and page.slug != "" and page.slug != nil %}
|
13
|
+
{% assign page_link = page.slug %}
|
14
|
+
{% else %}
|
15
|
+
{% assign page_link = "/" | append: page.name | downcase | append: "/" %}
|
16
|
+
{% endif %}
|
17
|
+
{% assign page_link = page_link | prepend: site.baseurl | prepend: site.url %}
|
18
|
+
<a class="page-link" href="{{ page_link }}">
|
19
|
+
{{ page.name }}
|
20
|
+
</a>
|
21
|
+
{% endfor %}
|
22
|
+
</div>
|
23
|
+
</nav>
|
24
|
+
</div>
|
25
|
+
</header>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<div id="wechat-widget">
|
2
|
+
<p>
|
3
|
+
{% for contact in site.footer.contact %}
|
4
|
+
{% if contact.name == 'WeChat' %}
|
5
|
+
Find me on WeChat with the ID <strong>{{ contact.value }}</strong>,
|
6
|
+
{% break %}
|
7
|
+
{% endif %}
|
8
|
+
{% endfor %}
|
9
|
+
or scan my QR code:
|
10
|
+
</p>
|
11
|
+
<img src="/img/wechat-qr-code.png" alt="QR code" id="qr-code" />
|
12
|
+
</div>
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
{% include head.html %}
|
4
|
+
|
5
|
+
<body>
|
6
|
+
{% include header.html %}
|
7
|
+
|
8
|
+
<div class="page-content">
|
9
|
+
<div class="wrapper">
|
10
|
+
<div class="blog">
|
11
|
+
<h1 class="page-heading">{{ page.title }}</h1>
|
12
|
+
{{ content }}
|
13
|
+
|
14
|
+
<p class="blog-post-list">
|
15
|
+
{% for post in site.posts %}
|
16
|
+
|
17
|
+
{% if post.draft != true %}
|
18
|
+
<span class="blog-post-date">{{ post.date | date: "%-m/%-d/%y" }}</span>
|
19
|
+
<a href="{{ post.url | replace:".html","" | prepend: site.baseurl }}" class="blog-post-title">
|
20
|
+
{{ post.title }}
|
21
|
+
</a>
|
22
|
+
<br />
|
23
|
+
|
24
|
+
{% endif %}
|
25
|
+
|
26
|
+
{% endfor %}
|
27
|
+
</p>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
{% include footer.html %}
|
33
|
+
|
34
|
+
{% include foot.html %}
|
35
|
+
</body>
|
36
|
+
</html>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
{% include head.html %}
|
4
|
+
|
5
|
+
<body>
|
6
|
+
{% include header.html %}
|
7
|
+
|
8
|
+
<div class="page-content">
|
9
|
+
<div class="wrapper">
|
10
|
+
{{ content }}
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
{% include footer.html %}
|
15
|
+
|
16
|
+
{% include foot.html %}
|
17
|
+
</body>
|
18
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
{% include head.html %}
|
4
|
+
|
5
|
+
<body>
|
6
|
+
{% include header.html %}
|
7
|
+
|
8
|
+
<div class="page-content">
|
9
|
+
<div class="wrapper">
|
10
|
+
<div class="home">
|
11
|
+
<img
|
12
|
+
src="{{ page.profile_picture.src }}"
|
13
|
+
alt="{{ page.profile_picture.alt }}"
|
14
|
+
class="profilepic"
|
15
|
+
/>
|
16
|
+
|
17
|
+
{{ content }}
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
{% include footer.html %}
|
23
|
+
|
24
|
+
{% include foot.html %}
|
25
|
+
</body>
|
26
|
+
</html>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
{% include head.html %}
|
4
|
+
|
5
|
+
<body>
|
6
|
+
{% include header.html %}
|
7
|
+
|
8
|
+
<div class="page-content">
|
9
|
+
<div class="wrapper">
|
10
|
+
<div class="post">
|
11
|
+
|
12
|
+
<header class="post-header">
|
13
|
+
|
14
|
+
{% if page.draft %}
|
15
|
+
{% include draft-banner.html %}
|
16
|
+
{% endif %}
|
17
|
+
|
18
|
+
<h1 class="post-title">
|
19
|
+
{% if page.headline_formatted_title %}
|
20
|
+
{{ page.headline_formatted_title | newline_to_br }}
|
21
|
+
{% else %}
|
22
|
+
{{ page.title }}
|
23
|
+
{% endif %}
|
24
|
+
</h1>
|
25
|
+
|
26
|
+
{% if page.subtitle %}<h1 class="post-subtitle">{{ page.subtitle }}</h1>{% endif %}
|
27
|
+
<p class="post-meta"><span class="post-date">{{ page.date | date: "%B %-d, %Y" }}
|
28
|
+
</span>{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
|
29
|
+
</header>
|
30
|
+
|
31
|
+
<article class="post-content">
|
32
|
+
{{ content }}
|
33
|
+
</article>
|
34
|
+
|
35
|
+
{% if page.draft %}
|
36
|
+
{% include draft-banner.html %}
|
37
|
+
{% endif %}
|
38
|
+
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
{% include footer.html %}
|
44
|
+
|
45
|
+
{% include foot.html %}
|
46
|
+
</body>
|
47
|
+
</html>
|
data/_layouts/work.html
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
{% include head.html %}
|
4
|
+
|
5
|
+
<body>
|
6
|
+
{% include header.html %}
|
7
|
+
|
8
|
+
<div class="page-content">
|
9
|
+
<div class="wrapper">
|
10
|
+
<div class="work">
|
11
|
+
<h1 class="page-heading">{{ page.title }}</h1>
|
12
|
+
{{ content }}
|
13
|
+
|
14
|
+
{% for item in page.items %}
|
15
|
+
<p class="work-item">
|
16
|
+
<img
|
17
|
+
src="{{ item.image.src }}"
|
18
|
+
alt="{{ item.image.alt }}"
|
19
|
+
class="work-bubble"
|
20
|
+
/>
|
21
|
+
<strong>{{ item.title }}</strong>
|
22
|
+
—
|
23
|
+
{{ item.description }}
|
24
|
+
</p>
|
25
|
+
{% endfor %}
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
{% include footer.html %}
|
31
|
+
|
32
|
+
{% include foot.html %}
|
33
|
+
</body>
|
34
|
+
</html>
|
data/_sass/_404.scss
ADDED
data/_sass/_base.scss
ADDED
@@ -0,0 +1,216 @@
|
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
body,
|
5
|
+
h1,
|
6
|
+
h2,
|
7
|
+
h3,
|
8
|
+
h4,
|
9
|
+
h5,
|
10
|
+
h6,
|
11
|
+
p,
|
12
|
+
blockquote,
|
13
|
+
pre,
|
14
|
+
hr,
|
15
|
+
dl,
|
16
|
+
dd,
|
17
|
+
ol,
|
18
|
+
ul,
|
19
|
+
figure {
|
20
|
+
margin: 0;
|
21
|
+
padding: 0;
|
22
|
+
-webkit-font-smoothing: antialiased;
|
23
|
+
}
|
24
|
+
|
25
|
+
/**
|
26
|
+
* Basic styling
|
27
|
+
*/
|
28
|
+
body {
|
29
|
+
font-family: $base-font-family;
|
30
|
+
font-size: $base-font-size;
|
31
|
+
line-height: $base-line-height;
|
32
|
+
font-weight: 300;
|
33
|
+
color: $text-color;
|
34
|
+
background-color: $background-color;
|
35
|
+
-webkit-text-size-adjust: 100%;
|
36
|
+
}
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
40
|
+
*/
|
41
|
+
h1,
|
42
|
+
h2,
|
43
|
+
h3,
|
44
|
+
h4,
|
45
|
+
h5,
|
46
|
+
h6,
|
47
|
+
p,
|
48
|
+
blockquote,
|
49
|
+
pre,
|
50
|
+
ul,
|
51
|
+
ol,
|
52
|
+
dl,
|
53
|
+
figure,
|
54
|
+
%vertical-rhythm {
|
55
|
+
margin-bottom: $spacing-unit / 2;
|
56
|
+
}
|
57
|
+
|
58
|
+
/**
|
59
|
+
* Images
|
60
|
+
*/
|
61
|
+
img {
|
62
|
+
max-width: 100%;
|
63
|
+
vertical-align: middle;
|
64
|
+
height: auto;
|
65
|
+
}
|
66
|
+
|
67
|
+
/**
|
68
|
+
* Figures
|
69
|
+
*/
|
70
|
+
figure > img {
|
71
|
+
display: block;
|
72
|
+
}
|
73
|
+
|
74
|
+
figcaption {
|
75
|
+
font-size: $small-font-size;
|
76
|
+
}
|
77
|
+
|
78
|
+
/**
|
79
|
+
* Lists
|
80
|
+
*/
|
81
|
+
ul,
|
82
|
+
ol {
|
83
|
+
margin-left: $spacing-unit;
|
84
|
+
}
|
85
|
+
|
86
|
+
li {
|
87
|
+
> ul,
|
88
|
+
> ol {
|
89
|
+
margin-bottom: 0;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
/**
|
94
|
+
* Headings
|
95
|
+
*/
|
96
|
+
h1,
|
97
|
+
h2,
|
98
|
+
h3,
|
99
|
+
h4,
|
100
|
+
h5,
|
101
|
+
h6 {
|
102
|
+
font-weight: 300;
|
103
|
+
font-family: "Futura", sans-serif;
|
104
|
+
}
|
105
|
+
|
106
|
+
h4 {
|
107
|
+
font-size: 12px;
|
108
|
+
}
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Links
|
112
|
+
*/
|
113
|
+
a {
|
114
|
+
color: $brand-color;
|
115
|
+
text-decoration: none;
|
116
|
+
//
|
117
|
+
// &:visited {
|
118
|
+
// color: darken($brand-color, 15%);
|
119
|
+
// }
|
120
|
+
|
121
|
+
&:hover {
|
122
|
+
color: $text-color;
|
123
|
+
text-decoration: underline;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
/**
|
128
|
+
* Blockquotes
|
129
|
+
*/
|
130
|
+
blockquote {
|
131
|
+
color: $grey-color;
|
132
|
+
border-left: 4px solid $grey-color-light;
|
133
|
+
padding-left: $spacing-unit / 2;
|
134
|
+
font-size: 100%;
|
135
|
+
letter-spacing: -0.5px;
|
136
|
+
font-style: italic;
|
137
|
+
|
138
|
+
> :last-child {
|
139
|
+
margin-bottom: 0;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Code formatting
|
145
|
+
*/
|
146
|
+
pre,
|
147
|
+
code {
|
148
|
+
font-size: 15px;
|
149
|
+
border: 1px solid $grey-color-light;
|
150
|
+
border-radius: 3px;
|
151
|
+
background-color: #eef;
|
152
|
+
}
|
153
|
+
|
154
|
+
code {
|
155
|
+
padding: 1px 5px;
|
156
|
+
}
|
157
|
+
|
158
|
+
pre {
|
159
|
+
padding: 8px 12px;
|
160
|
+
overflow-x: scroll;
|
161
|
+
|
162
|
+
> code {
|
163
|
+
border: 0;
|
164
|
+
padding-right: 0;
|
165
|
+
padding-left: 0;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Wrapper
|
171
|
+
*/
|
172
|
+
.wrapper {
|
173
|
+
max-width: -webkit-calc(700px - (#{$spacing-unit} * 2));
|
174
|
+
max-width: calc(700px - (#{$spacing-unit} * 2));
|
175
|
+
margin-right: auto;
|
176
|
+
margin-left: auto;
|
177
|
+
padding-right: $spacing-unit;
|
178
|
+
padding-left: $spacing-unit;
|
179
|
+
@extend %clearfix;
|
180
|
+
|
181
|
+
@include media-query($on-laptop) {
|
182
|
+
max-width: -webkit-calc(800px - (#{$spacing-unit}));
|
183
|
+
max-width: calc(800px - (#{$spacing-unit}));
|
184
|
+
padding-right: $spacing-unit / 2;
|
185
|
+
padding-left: $spacing-unit / 2;
|
186
|
+
}
|
187
|
+
|
188
|
+
position: relative;
|
189
|
+
}
|
190
|
+
|
191
|
+
/**
|
192
|
+
* Clearfix
|
193
|
+
*/
|
194
|
+
%clearfix {
|
195
|
+
&:after {
|
196
|
+
content: "";
|
197
|
+
display: table;
|
198
|
+
clear: both;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
/**
|
203
|
+
* Icons
|
204
|
+
*/
|
205
|
+
.icon {
|
206
|
+
> svg {
|
207
|
+
display: inline-block;
|
208
|
+
width: 16px;
|
209
|
+
height: 16px;
|
210
|
+
vertical-align: middle;
|
211
|
+
|
212
|
+
path {
|
213
|
+
fill: $grey-color;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
data/_sass/_blog.scss
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
.blog-post-list {
|
2
|
+
.blog-post-date {
|
3
|
+
width: 6em;
|
4
|
+
color: #777;
|
5
|
+
display: block;
|
6
|
+
float: left;
|
7
|
+
|
8
|
+
@include media-query($on-palm) {
|
9
|
+
display: block;
|
10
|
+
float: none;
|
11
|
+
color: #333;
|
12
|
+
font-size: 11px;
|
13
|
+
margin-top: 14px;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.blog-post-title {
|
18
|
+
font-size: 100%;
|
19
|
+
letter-spacing: normal;
|
20
|
+
}
|
21
|
+
}
|
data/_sass/_layout.scss
ADDED
@@ -0,0 +1,160 @@
|
|
1
|
+
/**
|
2
|
+
* Site header
|
3
|
+
*/
|
4
|
+
.site-header {
|
5
|
+
border-bottom: 1px solid $grey-color-light;
|
6
|
+
min-height: 56px;
|
7
|
+
|
8
|
+
padding-top: 10px;
|
9
|
+
padding-bottom: 10px;
|
10
|
+
|
11
|
+
@include media-query($on-palm) {
|
12
|
+
padding-top: 0;
|
13
|
+
padding-bottom: 0;
|
14
|
+
}
|
15
|
+
|
16
|
+
// Positioning context for the mobile navigation icon
|
17
|
+
position: relative;
|
18
|
+
}
|
19
|
+
|
20
|
+
.site-title {
|
21
|
+
font-size: 26px;
|
22
|
+
line-height: 56px;
|
23
|
+
letter-spacing: -1px;
|
24
|
+
|
25
|
+
float: left;
|
26
|
+
|
27
|
+
&,
|
28
|
+
&:visited {
|
29
|
+
color: $grey-color-dark;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
/**
|
34
|
+
* Site nav
|
35
|
+
*/
|
36
|
+
.site-nav {
|
37
|
+
float: right;
|
38
|
+
line-height: 56px;
|
39
|
+
|
40
|
+
.menu-icon {
|
41
|
+
display: none;
|
42
|
+
}
|
43
|
+
|
44
|
+
.page-link {
|
45
|
+
color: $text-color;
|
46
|
+
line-height: $base-line-height;
|
47
|
+
|
48
|
+
// Gaps between nav items, but not on the first one
|
49
|
+
&:not(:first-child) {
|
50
|
+
margin-left: 20px;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
@include media-query($on-palm) {
|
55
|
+
position: absolute;
|
56
|
+
top: 12px;
|
57
|
+
right: 24px;
|
58
|
+
|
59
|
+
border: 1px solid $grey-color-light;
|
60
|
+
border-radius: 5px;
|
61
|
+
text-align: right;
|
62
|
+
|
63
|
+
.menu-icon {
|
64
|
+
display: block;
|
65
|
+
float: right;
|
66
|
+
width: 36px;
|
67
|
+
height: 26px;
|
68
|
+
line-height: 0;
|
69
|
+
padding-top: 4px;
|
70
|
+
text-align: center;
|
71
|
+
|
72
|
+
background: #ffffff url(/img/menu.png) 6px 4px no-repeat;
|
73
|
+
}
|
74
|
+
|
75
|
+
.trigger {
|
76
|
+
clear: both;
|
77
|
+
display: none;
|
78
|
+
background-color: #ffffff;
|
79
|
+
min-width: 10em;
|
80
|
+
}
|
81
|
+
|
82
|
+
&:hover .trigger {
|
83
|
+
display: block;
|
84
|
+
padding-bottom: 5px;
|
85
|
+
background-color: #ffffff;
|
86
|
+
}
|
87
|
+
|
88
|
+
.page-link {
|
89
|
+
font-size: 16px;
|
90
|
+
display: block;
|
91
|
+
padding: 6px 16px;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
/**
|
97
|
+
* Site footer
|
98
|
+
*/
|
99
|
+
.site-footer {
|
100
|
+
border-top: 1px solid $grey-color-light;
|
101
|
+
padding: $spacing-unit 0;
|
102
|
+
|
103
|
+
@include media-query($on-palm) {
|
104
|
+
padding-top: 10px;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
.footer-heading {
|
109
|
+
font-size: 18px;
|
110
|
+
margin-bottom: $spacing-unit / 2;
|
111
|
+
}
|
112
|
+
|
113
|
+
.contact-list,
|
114
|
+
.social-media-list {
|
115
|
+
list-style: none;
|
116
|
+
margin-left: 0;
|
117
|
+
}
|
118
|
+
|
119
|
+
.footer-col-wrapper {
|
120
|
+
font-size: 15px;
|
121
|
+
color: $grey-color;
|
122
|
+
margin-left: -$spacing-unit / 2;
|
123
|
+
@extend %clearfix;
|
124
|
+
}
|
125
|
+
|
126
|
+
.footer-col {
|
127
|
+
float: left;
|
128
|
+
margin-bottom: $spacing-unit / 2;
|
129
|
+
padding-left: $spacing-unit / 2;
|
130
|
+
}
|
131
|
+
|
132
|
+
.footer-col-1,
|
133
|
+
.footer-col-2,
|
134
|
+
.footer-col-3 {
|
135
|
+
width: -webkit-calc(33% - (#{$spacing-unit} / 2));
|
136
|
+
width: calc(33% - (#{$spacing-unit} / 2));
|
137
|
+
}
|
138
|
+
|
139
|
+
.powered-by {
|
140
|
+
font-size: 13px;
|
141
|
+
color: $grey-color;
|
142
|
+
}
|
143
|
+
|
144
|
+
@include media-query($on-palm) {
|
145
|
+
.footer-col {
|
146
|
+
float: none;
|
147
|
+
width: 100%;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
/**
|
152
|
+
* Page content
|
153
|
+
*/
|
154
|
+
.page-content {
|
155
|
+
padding: $spacing-unit 0;
|
156
|
+
}
|
157
|
+
|
158
|
+
.page-heading {
|
159
|
+
font-size: 20px;
|
160
|
+
}
|
data/_sass/_post.scss
ADDED
@@ -0,0 +1,103 @@
|
|
1
|
+
.post-header {
|
2
|
+
margin-bottom: $spacing-unit;
|
3
|
+
}
|
4
|
+
|
5
|
+
.post-title {
|
6
|
+
font-size: 40px;
|
7
|
+
letter-spacing: -1px;
|
8
|
+
line-height: 1.2;
|
9
|
+
|
10
|
+
font-family: $base-font-family;
|
11
|
+
|
12
|
+
@include media-query($on-palm) {
|
13
|
+
font-size: 34px;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.post-subtitle {
|
18
|
+
font-size: 26px;
|
19
|
+
letter-spacing: -1px;
|
20
|
+
line-height: 1;
|
21
|
+
color: #777;
|
22
|
+
font-family: $base-font-family;
|
23
|
+
font-style: oblique;
|
24
|
+
position: relative;
|
25
|
+
top: -0.3em;
|
26
|
+
|
27
|
+
@include media-query($on-palm) {
|
28
|
+
font-size: 24px;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.post-meta .post-date {
|
33
|
+
text-transform: uppercase;
|
34
|
+
font-size: 120%;
|
35
|
+
}
|
36
|
+
|
37
|
+
.post-content {
|
38
|
+
margin-bottom: $spacing-unit;
|
39
|
+
width: 100%;
|
40
|
+
h2 {
|
41
|
+
font-size: 32px;
|
42
|
+
|
43
|
+
@include media-query($on-palm) {
|
44
|
+
font-size: 28px;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
h3 {
|
49
|
+
font-size: 26px;
|
50
|
+
|
51
|
+
@include media-query($on-palm) {
|
52
|
+
font-size: 22px;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
h4 {
|
57
|
+
font-size: 20px;
|
58
|
+
|
59
|
+
@include media-query($on-palm) {
|
60
|
+
font-size: 18px;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.post-pic {
|
66
|
+
border: #999 1px solid;
|
67
|
+
}
|
68
|
+
|
69
|
+
.magnify {
|
70
|
+
cursor: zoom-in;
|
71
|
+
}
|
72
|
+
|
73
|
+
.post-languages {
|
74
|
+
font-size: 13px;
|
75
|
+
font-family: Helvetica, sans-serif;
|
76
|
+
margin-top: 30px;
|
77
|
+
margin-bottom: 20px;
|
78
|
+
|
79
|
+
strong {
|
80
|
+
font-size: 11px;
|
81
|
+
text-transform: uppercase;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
div.footnotes {
|
86
|
+
font-size: 80%;
|
87
|
+
}
|
88
|
+
|
89
|
+
.draft-banner {
|
90
|
+
background: #ff9999;
|
91
|
+
color: #660000;
|
92
|
+
|
93
|
+
text-align: center;
|
94
|
+
padding: 1em;
|
95
|
+
margin-bottom: 2em;
|
96
|
+
font-family: Helvetica, sans-serif;
|
97
|
+
|
98
|
+
border-radius: 5px;
|
99
|
+
|
100
|
+
a {
|
101
|
+
color: #330000;
|
102
|
+
}
|
103
|
+
}
|
data/_sass/_site.scss
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
.profilepic {
|
2
|
+
float: right;
|
3
|
+
border: #ccc 1px solid;
|
4
|
+
margin-left: 20px;
|
5
|
+
|
6
|
+
@include media-query($on-palm) {
|
7
|
+
float: none;
|
8
|
+
margin-bottom: 20px;
|
9
|
+
margin-left: 0px;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.social-links {
|
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
|
+
|
28
|
+
h4 {
|
29
|
+
margin-bottom: 0;
|
30
|
+
font-size: 12px;
|
31
|
+
margin-top: 0;
|
32
|
+
}
|
33
|
+
|
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;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
#wechat-widget {
|
45
|
+
display: none;
|
46
|
+
position: absolute;
|
47
|
+
background: #fff;
|
48
|
+
border: #ddd 1px solid;
|
49
|
+
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
|
50
|
+
|
51
|
+
padding: 24px;
|
52
|
+
text-align: center;
|
53
|
+
|
54
|
+
p {
|
55
|
+
font-size: 11px;
|
56
|
+
line-height: 16px;
|
57
|
+
font-family: Helvetica, sans-serif;
|
58
|
+
width: 170px;
|
59
|
+
margin: 0 auto;
|
60
|
+
margin-bottom: 14px;
|
61
|
+
}
|
62
|
+
|
63
|
+
#qr-code {
|
64
|
+
width: 160px;
|
65
|
+
height: 160px;
|
66
|
+
border: none;
|
67
|
+
}
|
68
|
+
}
|
data/_sass/_work.scss
ADDED
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bay_jekyll_theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '1'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eliott Vincent
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-10-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
description:
|
42
|
+
email:
|
43
|
+
- hello@eliottvincent.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- README.md
|
49
|
+
- _includes/draft-banner.html
|
50
|
+
- _includes/foot.html
|
51
|
+
- _includes/footer.html
|
52
|
+
- _includes/head.html
|
53
|
+
- _includes/header.html
|
54
|
+
- _includes/wechat-widget.html
|
55
|
+
- _layouts/blog.html
|
56
|
+
- _layouts/default.html
|
57
|
+
- _layouts/home.html
|
58
|
+
- _layouts/post.html
|
59
|
+
- _layouts/work.html
|
60
|
+
- _sass/_404.scss
|
61
|
+
- _sass/_base.scss
|
62
|
+
- _sass/_blog.scss
|
63
|
+
- _sass/_layout.scss
|
64
|
+
- _sass/_post.scss
|
65
|
+
- _sass/_site.scss
|
66
|
+
- _sass/_work.scss
|
67
|
+
homepage: https://github.com/eliottvincent/bay
|
68
|
+
licenses:
|
69
|
+
- MIT
|
70
|
+
metadata: {}
|
71
|
+
post_install_message:
|
72
|
+
rdoc_options: []
|
73
|
+
require_paths:
|
74
|
+
- lib
|
75
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
requirements: []
|
86
|
+
rubygems_version: 3.0.3
|
87
|
+
signing_key:
|
88
|
+
specification_version: 4
|
89
|
+
summary: A simple and minimal Jekyll theme..
|
90
|
+
test_files: []
|