jekyll-bulma-theme 1.0.13 → 1.0.14
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 +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +63 -63
- data/_includes/foot.html +1 -1
- data/_includes/header.html +18 -18
- data/_includes/navbar.html +47 -47
- data/_includes/share-button.html +15 -15
- data/_layouts/default.html +55 -55
- data/_layouts/page.html +11 -11
- data/_layouts/post.html +65 -65
- data/_sass/_app.scss +152 -152
- data/_sass/syntax.scss +214 -214
- data/assets/css/app.scss +4 -4
- data/assets/js/app.js +267 -267
- metadata +3 -3
data/_layouts/page.html
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<div class="section">
|
6
|
-
<div class="container">
|
7
|
-
<div class="content">
|
8
|
-
{{ content }}
|
9
|
-
</div>
|
10
|
-
</div>
|
11
|
-
</div>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div class="section">
|
6
|
+
<div class="container">
|
7
|
+
<div class="content">
|
8
|
+
{{ content }}
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
</div>
|
data/_layouts/post.html
CHANGED
@@ -1,65 +1,65 @@
|
|
1
|
-
---
|
2
|
-
layout: default
|
3
|
-
---
|
4
|
-
|
5
|
-
<section class="section">
|
6
|
-
<div class="container">
|
7
|
-
<div class="field">
|
8
|
-
<div class="content">
|
9
|
-
{{ content }}
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
<div class="field">
|
13
|
-
<div class="level">
|
14
|
-
<div class="level-left"></div>
|
15
|
-
<div class="level-right">
|
16
|
-
{% include share-button.html %}
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
{% if page.author %}
|
21
|
-
<div class="field">
|
22
|
-
<article class="message is-info">
|
23
|
-
<div class="message-header">
|
24
|
-
About author
|
25
|
-
</div>
|
26
|
-
<div class="message-body">
|
27
|
-
<div class="media">
|
28
|
-
<figure class="media-left">
|
29
|
-
<img class="image avatar" src="{{ page.author.image }}" alt="">
|
30
|
-
</figure>
|
31
|
-
<div class="media-content">
|
32
|
-
<div class="content">
|
33
|
-
<h1>
|
34
|
-
{{ page.author.realname }}
|
35
|
-
<span class="is-pulled-right">
|
36
|
-
{% if page.author.github %}
|
37
|
-
<a target="_blank" href="https://github.com/{{ page.author.github }}">
|
38
|
-
<span class="icon"><i class="fab fa-xs fa-github text-github"></i></span>
|
39
|
-
</a>
|
40
|
-
{% endif %}
|
41
|
-
{% if page.author.twitter %}
|
42
|
-
<a target="_blank" href="https://twitter.com/{{ page.author.twitter }}">
|
43
|
-
<span class="icon"><i class="fab fa-xs fa-twitter text-twitter"></i></span>
|
44
|
-
</a>
|
45
|
-
{% endif %}
|
46
|
-
{% if page.author.facebook %}
|
47
|
-
<a target="_blank" href="https://www.facebook.com/{{ page.author.facebook }}">
|
48
|
-
<span class="icon"><i class="fab fa-xs fa-facebook text-facebook"></i></span>
|
49
|
-
</a>
|
50
|
-
{% endif %}
|
51
|
-
</span>
|
52
|
-
</h1>
|
53
|
-
<blockquote>
|
54
|
-
{{ page.author.quote }}
|
55
|
-
</blockquote>
|
56
|
-
{{ page.author.extra-quote }}
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
</div>
|
61
|
-
</article>
|
62
|
-
</div>
|
63
|
-
{% endif %}
|
64
|
-
</div>
|
65
|
-
</section>
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<section class="section">
|
6
|
+
<div class="container">
|
7
|
+
<div class="field">
|
8
|
+
<div class="content">
|
9
|
+
{{ content }}
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
<div class="field">
|
13
|
+
<div class="level">
|
14
|
+
<div class="level-left"></div>
|
15
|
+
<div class="level-right">
|
16
|
+
{% include share-button.html %}
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
{% if page.author %}
|
21
|
+
<div class="field">
|
22
|
+
<article class="message is-info">
|
23
|
+
<div class="message-header">
|
24
|
+
About author
|
25
|
+
</div>
|
26
|
+
<div class="message-body">
|
27
|
+
<div class="media">
|
28
|
+
<figure class="media-left">
|
29
|
+
<img class="image avatar" src="{{ page.author.image }}" alt="">
|
30
|
+
</figure>
|
31
|
+
<div class="media-content">
|
32
|
+
<div class="content">
|
33
|
+
<h1>
|
34
|
+
{{ page.author.realname }}
|
35
|
+
<span class="is-pulled-right">
|
36
|
+
{% if page.author.github %}
|
37
|
+
<a target="_blank" href="https://github.com/{{ page.author.github }}">
|
38
|
+
<span class="icon"><i class="fab fa-xs fa-github text-github"></i></span>
|
39
|
+
</a>
|
40
|
+
{% endif %}
|
41
|
+
{% if page.author.twitter %}
|
42
|
+
<a target="_blank" href="https://twitter.com/{{ page.author.twitter }}">
|
43
|
+
<span class="icon"><i class="fab fa-xs fa-twitter text-twitter"></i></span>
|
44
|
+
</a>
|
45
|
+
{% endif %}
|
46
|
+
{% if page.author.facebook %}
|
47
|
+
<a target="_blank" href="https://www.facebook.com/{{ page.author.facebook }}">
|
48
|
+
<span class="icon"><i class="fab fa-xs fa-facebook text-facebook"></i></span>
|
49
|
+
</a>
|
50
|
+
{% endif %}
|
51
|
+
</span>
|
52
|
+
</h1>
|
53
|
+
<blockquote>
|
54
|
+
{{ page.author.quote }}
|
55
|
+
</blockquote>
|
56
|
+
{{ page.author.extra-quote }}
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
</div>
|
61
|
+
</article>
|
62
|
+
</div>
|
63
|
+
{% endif %}
|
64
|
+
</div>
|
65
|
+
</section>
|
data/_sass/_app.scss
CHANGED
@@ -1,152 +1,152 @@
|
|
1
|
-
@import "syntax";
|
2
|
-
|
3
|
-
$github: #333333;
|
4
|
-
$twitter: #1da1f2;
|
5
|
-
$facebook: #3b5998;
|
6
|
-
$google: #dd4b39;
|
7
|
-
$pinterest: #bd081c;
|
8
|
-
|
9
|
-
body {
|
10
|
-
display: flex;
|
11
|
-
min-height: 100vh;
|
12
|
-
flex-direction: column;
|
13
|
-
margin-top: 52px;
|
14
|
-
}
|
15
|
-
|
16
|
-
#app {
|
17
|
-
flex: 1 0 auto;
|
18
|
-
}
|
19
|
-
|
20
|
-
.media-content {
|
21
|
-
overflow: hidden;
|
22
|
-
}
|
23
|
-
|
24
|
-
.text-github, a.navbar-item.text-github:hover {
|
25
|
-
color: $github;
|
26
|
-
}
|
27
|
-
|
28
|
-
.text-twitter, a.navbar-item.text-twitter:hover {
|
29
|
-
color: $twitter;
|
30
|
-
}
|
31
|
-
|
32
|
-
.text-facebook, a.navbar-item.text-facebook:hover {
|
33
|
-
color: $facebook;
|
34
|
-
}
|
35
|
-
|
36
|
-
.is-github {
|
37
|
-
background-color: $github;
|
38
|
-
}
|
39
|
-
|
40
|
-
.is-twitter {
|
41
|
-
background-color: $twitter;
|
42
|
-
}
|
43
|
-
|
44
|
-
.is-facebook {
|
45
|
-
background-color: $facebook;
|
46
|
-
}
|
47
|
-
|
48
|
-
.is-google {
|
49
|
-
background-color: $google;
|
50
|
-
}
|
51
|
-
|
52
|
-
.is-pinterest {
|
53
|
-
background-color: $pinterest;
|
54
|
-
}
|
55
|
-
|
56
|
-
.button {
|
57
|
-
&.is-github,
|
58
|
-
&.is-twitter,
|
59
|
-
&.is-facebook,
|
60
|
-
&.is-google,
|
61
|
-
&.is-pinterest {
|
62
|
-
border-color: transparent;
|
63
|
-
color: white;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
.task-list-item-checkbox {
|
68
|
-
margin-right: 5px;
|
69
|
-
}
|
70
|
-
|
71
|
-
.task-list-item {
|
72
|
-
list-style: none;
|
73
|
-
}
|
74
|
-
|
75
|
-
// .content {
|
76
|
-
// h1::before {
|
77
|
-
// content: "#";
|
78
|
-
// @extend %header-hashtag;
|
79
|
-
// }
|
80
|
-
// h2::before {
|
81
|
-
// content: "##";
|
82
|
-
// @extend %header-hashtag;
|
83
|
-
// }
|
84
|
-
// h3::before {
|
85
|
-
// content: "###";
|
86
|
-
// @extend %header-hashtag;
|
87
|
-
// }
|
88
|
-
// h4::before {
|
89
|
-
// content: "####";
|
90
|
-
// @extend %header-hashtag;
|
91
|
-
// }
|
92
|
-
// h5::before {
|
93
|
-
// content: "#####";
|
94
|
-
// @extend %header-hashtag;
|
95
|
-
// }
|
96
|
-
// h6::before {
|
97
|
-
// content: "######";
|
98
|
-
// @extend %header-hashtag;
|
99
|
-
// }
|
100
|
-
// }
|
101
|
-
|
102
|
-
.message-body .media {
|
103
|
-
img.avatar {
|
104
|
-
height: 80px;
|
105
|
-
width: 80px;
|
106
|
-
border-radius: 50%;
|
107
|
-
}
|
108
|
-
blockquote {
|
109
|
-
background-color: transparent;
|
110
|
-
border-left: none;
|
111
|
-
padding: 0 1.5em 0.5em;
|
112
|
-
color: grey;
|
113
|
-
font-size: 1.2rem;
|
114
|
-
&::before {
|
115
|
-
content: "\2014\2014\2014";
|
116
|
-
}
|
117
|
-
}
|
118
|
-
a:not(.button):not(.tag) {
|
119
|
-
text-decoration: none;
|
120
|
-
}
|
121
|
-
}
|
122
|
-
|
123
|
-
.bd-special-shadow {
|
124
|
-
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(transparent));
|
125
|
-
background-image: linear-gradient(rgba(0, 0, 0, 0.1), transparent);
|
126
|
-
height: 8px;
|
127
|
-
left: 0;
|
128
|
-
opacity: 0;
|
129
|
-
position: absolute;
|
130
|
-
right: 0;
|
131
|
-
top: 100%;
|
132
|
-
-webkit-transform: scaleY(0);
|
133
|
-
transform: scaleY(0);
|
134
|
-
-webkit-transform-origin: center top;
|
135
|
-
transform-origin: center top;
|
136
|
-
}
|
137
|
-
|
138
|
-
@media screen and (max-width: 1023px) {
|
139
|
-
.bd-is-clipped-touch {
|
140
|
-
overflow: hidden !important;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
|
144
|
-
#shadowed {
|
145
|
-
position: fixed;
|
146
|
-
top: 0;
|
147
|
-
right: 0;
|
148
|
-
bottom: 0;
|
149
|
-
left: 0;
|
150
|
-
z-index: 10;
|
151
|
-
background-color: rgba(0, 0, 0, .5);
|
152
|
-
}
|
1
|
+
@import "syntax";
|
2
|
+
|
3
|
+
$github: #333333;
|
4
|
+
$twitter: #1da1f2;
|
5
|
+
$facebook: #3b5998;
|
6
|
+
$google: #dd4b39;
|
7
|
+
$pinterest: #bd081c;
|
8
|
+
|
9
|
+
body {
|
10
|
+
display: flex;
|
11
|
+
min-height: 100vh;
|
12
|
+
flex-direction: column;
|
13
|
+
margin-top: 52px;
|
14
|
+
}
|
15
|
+
|
16
|
+
#app {
|
17
|
+
flex: 1 0 auto;
|
18
|
+
}
|
19
|
+
|
20
|
+
.media-content {
|
21
|
+
overflow: hidden;
|
22
|
+
}
|
23
|
+
|
24
|
+
.text-github, a.navbar-item.text-github:hover {
|
25
|
+
color: $github;
|
26
|
+
}
|
27
|
+
|
28
|
+
.text-twitter, a.navbar-item.text-twitter:hover {
|
29
|
+
color: $twitter;
|
30
|
+
}
|
31
|
+
|
32
|
+
.text-facebook, a.navbar-item.text-facebook:hover {
|
33
|
+
color: $facebook;
|
34
|
+
}
|
35
|
+
|
36
|
+
.is-github {
|
37
|
+
background-color: $github;
|
38
|
+
}
|
39
|
+
|
40
|
+
.is-twitter {
|
41
|
+
background-color: $twitter;
|
42
|
+
}
|
43
|
+
|
44
|
+
.is-facebook {
|
45
|
+
background-color: $facebook;
|
46
|
+
}
|
47
|
+
|
48
|
+
.is-google {
|
49
|
+
background-color: $google;
|
50
|
+
}
|
51
|
+
|
52
|
+
.is-pinterest {
|
53
|
+
background-color: $pinterest;
|
54
|
+
}
|
55
|
+
|
56
|
+
.button {
|
57
|
+
&.is-github,
|
58
|
+
&.is-twitter,
|
59
|
+
&.is-facebook,
|
60
|
+
&.is-google,
|
61
|
+
&.is-pinterest {
|
62
|
+
border-color: transparent;
|
63
|
+
color: white;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.task-list-item-checkbox {
|
68
|
+
margin-right: 5px;
|
69
|
+
}
|
70
|
+
|
71
|
+
.task-list-item {
|
72
|
+
list-style: none;
|
73
|
+
}
|
74
|
+
|
75
|
+
// .content {
|
76
|
+
// h1::before {
|
77
|
+
// content: "#";
|
78
|
+
// @extend %header-hashtag;
|
79
|
+
// }
|
80
|
+
// h2::before {
|
81
|
+
// content: "##";
|
82
|
+
// @extend %header-hashtag;
|
83
|
+
// }
|
84
|
+
// h3::before {
|
85
|
+
// content: "###";
|
86
|
+
// @extend %header-hashtag;
|
87
|
+
// }
|
88
|
+
// h4::before {
|
89
|
+
// content: "####";
|
90
|
+
// @extend %header-hashtag;
|
91
|
+
// }
|
92
|
+
// h5::before {
|
93
|
+
// content: "#####";
|
94
|
+
// @extend %header-hashtag;
|
95
|
+
// }
|
96
|
+
// h6::before {
|
97
|
+
// content: "######";
|
98
|
+
// @extend %header-hashtag;
|
99
|
+
// }
|
100
|
+
// }
|
101
|
+
|
102
|
+
.message-body .media {
|
103
|
+
img.avatar {
|
104
|
+
height: 80px;
|
105
|
+
width: 80px;
|
106
|
+
border-radius: 50%;
|
107
|
+
}
|
108
|
+
blockquote {
|
109
|
+
background-color: transparent;
|
110
|
+
border-left: none;
|
111
|
+
padding: 0 1.5em 0.5em;
|
112
|
+
color: grey;
|
113
|
+
font-size: 1.2rem;
|
114
|
+
&::before {
|
115
|
+
content: "\2014\2014\2014";
|
116
|
+
}
|
117
|
+
}
|
118
|
+
a:not(.button):not(.tag) {
|
119
|
+
text-decoration: none;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.bd-special-shadow {
|
124
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(transparent));
|
125
|
+
background-image: linear-gradient(rgba(0, 0, 0, 0.1), transparent);
|
126
|
+
height: 8px;
|
127
|
+
left: 0;
|
128
|
+
opacity: 0;
|
129
|
+
position: absolute;
|
130
|
+
right: 0;
|
131
|
+
top: 100%;
|
132
|
+
-webkit-transform: scaleY(0);
|
133
|
+
transform: scaleY(0);
|
134
|
+
-webkit-transform-origin: center top;
|
135
|
+
transform-origin: center top;
|
136
|
+
}
|
137
|
+
|
138
|
+
@media screen and (max-width: 1023px) {
|
139
|
+
.bd-is-clipped-touch {
|
140
|
+
overflow: hidden !important;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
#shadowed {
|
145
|
+
position: fixed;
|
146
|
+
top: 0;
|
147
|
+
right: 0;
|
148
|
+
bottom: 0;
|
149
|
+
left: 0;
|
150
|
+
z-index: 10;
|
151
|
+
background-color: rgba(0, 0, 0, .5);
|
152
|
+
}
|