whiteblog-theme 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/backtotop.html +3 -0
- data/_includes/head.html +8 -1
- data/_includes/sharepost.html +16 -0
- data/_layouts/home.html +2 -2
- data/_layouts/page.html +3 -1
- data/_layouts/post.html +16 -16
- data/_pages/search.md +1 -1
- data/_sass/whiteblog-theme/_layout.scss +51 -31
- data/assets/css/previews.css +46 -0
- data/assets/images/previews/hello-world.png +0 -0
- data/assets/images/previews/otro-post.png +0 -0
- data/assets/images/previews/test-post.png +0 -0
- data/assets/images/previews/welcome-jekyll.png +0 -0
- metadata +11 -4
- /data/assets/{main.scss → css/main.scss} +0 -0
- /data/assets/{jekyll-search.min.js → js/jekyll-search.min.js} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12c09d435ac5b03895fd4920f1eb155d8529e4ee8f56d37c3a6d1dbe65c8b83c
|
4
|
+
data.tar.gz: b5342e4ed7d292609a9d6b26b16dbae3537fce26a0397ad8ea5210f64ff6d142
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 434f4f90901c1eacd85da8aae56b9a5e24b49bfda270a469eb05f7f8871ca40b7ce6031596de4257d6833f20f2eaef9ce32451b645b2de5c73164fe7437a44c3
|
7
|
+
data.tar.gz: f15e894bb5391be72f0f2a92f982652ab37f928e0905b017a9565a47d95157811a46ca1724359edd7e66f807c4e7ef0aac21000065f006f1e258f0f8d8efb3a8
|
data/_includes/head.html
CHANGED
@@ -3,12 +3,19 @@
|
|
3
3
|
<meta charset="utf-8">
|
4
4
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
6
|
+
|
7
|
+
<meta name="twitter:card"
|
8
|
+
content="summary_large_image">
|
9
|
+
<meta name="twitter:image"
|
10
|
+
content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
|
11
|
+
<meta property="og:image"
|
12
|
+
content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
|
6
13
|
|
7
14
|
<!-- Bootstrap CSS -->
|
8
15
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
9
16
|
|
10
17
|
|
11
|
-
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
18
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
12
19
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
13
20
|
<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
|
14
21
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<div class="col text-final" id="share-links">
|
2
|
+
<h5><i class="bi bi-share"></i></h5>
|
3
|
+
<div class="row">
|
4
|
+
<div class="col float-start">
|
5
|
+
<ul>
|
6
|
+
<li>
|
7
|
+
<a href="https://twitter.com/share?text={{ page.title | url_encode }}&url={{ site.url }}{{ page.url }}" target="_blank" rel="noopener" title="X.com"><i class="bi bi-twitter-x"></i> Share on X</a>
|
8
|
+
</li>
|
9
|
+
<li>
|
10
|
+
<a href="https://linkedin.com/shareArticle?mini=true&url={{ site.url }}{{ page.url }}" target="_blank" rel="noopener" title="LinkedIn"><i class="bi bi-linkedin"></i> Share on LinkedIn</a>
|
11
|
+
</li>
|
12
|
+
</ul>
|
13
|
+
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
</div>
|
data/_layouts/home.html
CHANGED
@@ -11,8 +11,8 @@ layout: default
|
|
11
11
|
{% assign date_format = "%b %-d, %Y" %}
|
12
12
|
{% for post in posts %}
|
13
13
|
<li class="py-2">
|
14
|
-
<h1 class="mt-1 mb-3 h3 title-post-resume
|
15
|
-
<a class="title-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
14
|
+
<h1 class="mt-1 mb-3 h3 title-post-resume">
|
15
|
+
<a class="title-link" href="{{ post.url | relative_url }}"><span class="underline">{{ post.title | escape }}</span></a>
|
16
16
|
</h1>
|
17
17
|
|
18
18
|
<span class="text-secondary">{{ post.date | date: date_format }}</span>
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -19,7 +19,9 @@ layout: default
|
|
19
19
|
</div>
|
20
20
|
|
21
21
|
<header>
|
22
|
-
<h1
|
22
|
+
<h1>
|
23
|
+
<span class="underline">{{ page.title | escape }}</span>
|
24
|
+
</h1>
|
23
25
|
<p class="text-secondary">
|
24
26
|
<i class="fa fa-calendar-alt"></i><span style="display:inline-block; width: 3px;"></span>
|
25
27
|
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
@@ -44,22 +46,20 @@ layout: default
|
|
44
46
|
{{ content }}
|
45
47
|
</div>
|
46
48
|
|
47
|
-
<div>
|
48
|
-
|
49
|
+
<div class="row">
|
50
|
+
{% if site.addons.share_post %}
|
51
|
+
{% include sharepost.html %}
|
52
|
+
{% endif %}
|
49
53
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<div class="col float-start">
|
54
|
-
<a href="https://twitter.com/share?text={{ page.title | url_encode }}&url={{ site.url }}{{ page.url }}" target="_blank" rel="noopener" title="Share on Twitter">X.com</a>
|
55
|
-
</div>
|
56
|
-
<div class="col float-end">
|
57
|
-
<a class="float-end" href="#blog-title">Back to Top!</a>
|
58
|
-
</div>
|
59
|
-
</div>
|
54
|
+
{% if site.addons.back_to_top %}
|
55
|
+
{% include backtotop.html %}
|
56
|
+
{% endif %}
|
60
57
|
|
61
|
-
|
62
|
-
|
63
|
-
|
58
|
+
{% if site.comments.provider%}
|
59
|
+
{% if site.comments.provider == "disqus" %}
|
60
|
+
{% include comments-providers/disqus.html %}
|
61
|
+
{% endif %}
|
62
|
+
{% endif %}
|
63
|
+
</div>
|
64
64
|
|
65
65
|
</article>
|
data/_pages/search.md
CHANGED
@@ -12,7 +12,7 @@ permalink: /search/
|
|
12
12
|
</div>
|
13
13
|
</article>
|
14
14
|
|
15
|
-
<script src="/assets/jekyll-search.min.js" type="text/javascript"></script>
|
15
|
+
<script src="/assets/js/jekyll-search.min.js" type="text/javascript"></script>
|
16
16
|
<script type="text/javascript">
|
17
17
|
SimpleJekyllSearch({
|
18
18
|
searchInput: document.getElementById('search-input'),
|
@@ -1,12 +1,14 @@
|
|
1
|
-
// @import url('https://fonts.googleapis.com/css2?family=Nunito&Fira+Sans&family=Montserrat&display=swap');
|
2
1
|
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
|
3
2
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
|
4
3
|
|
5
4
|
//Color palette variables:
|
5
|
+
// $firstColor: #FFF;
|
6
6
|
$firstColor: #F5F5F5;
|
7
|
-
$secondColor: #
|
8
|
-
$
|
9
|
-
$
|
7
|
+
// $secondColor: #19E9E0;
|
8
|
+
$secondColor: #44cdd5;
|
9
|
+
// $thirdColor: #A64AC9;
|
10
|
+
$thirdColor: #614bc3;
|
11
|
+
|
10
12
|
html {
|
11
13
|
scroll-behavior: smooth;
|
12
14
|
}
|
@@ -29,7 +31,7 @@ main {
|
|
29
31
|
}
|
30
32
|
|
31
33
|
.navbar {
|
32
|
-
background-color: $
|
34
|
+
background-color: $firstColor !important;
|
33
35
|
padding: 30px 0px !important;
|
34
36
|
a {
|
35
37
|
font-weight: 600;
|
@@ -86,7 +88,8 @@ main {
|
|
86
88
|
}
|
87
89
|
|
88
90
|
.divider {
|
89
|
-
background: $
|
91
|
+
background: $thirdColor;
|
92
|
+
color: $thirdColor;
|
90
93
|
margin: 0px;
|
91
94
|
max-width: 80%;
|
92
95
|
height: 4px;
|
@@ -183,11 +186,32 @@ input {
|
|
183
186
|
}
|
184
187
|
|
185
188
|
a.badge {
|
186
|
-
color:
|
187
|
-
background-color: $
|
189
|
+
color: $firstColor;
|
190
|
+
background-color: $thirdColor;
|
188
191
|
text-decoration: none;
|
189
192
|
}
|
190
193
|
|
194
|
+
.back {
|
195
|
+
margin-top: 45px !important;
|
196
|
+
font-size: 30px;
|
197
|
+
color: $thirdColor;
|
198
|
+
border-radius: 10px;
|
199
|
+
border: 2px solid $thirdColor;
|
200
|
+
padding: 1px 10px;
|
201
|
+
}
|
202
|
+
|
203
|
+
#share-links ul {
|
204
|
+
list-style-type: none;
|
205
|
+
padding-left: 0px;
|
206
|
+
li {
|
207
|
+
padding-top: 5px;
|
208
|
+
padding-bottom: 5px;
|
209
|
+
a {
|
210
|
+
text-decoration: none;
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
191
215
|
/* Effects */
|
192
216
|
|
193
217
|
#category-badge a:hover, #category-badge a:focus, #category-badge a:active {
|
@@ -196,27 +220,23 @@ a.badge {
|
|
196
220
|
transform: scale(1.1);
|
197
221
|
}
|
198
222
|
|
199
|
-
.underline {
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
bottom: 0;
|
219
|
-
height: 100%;
|
220
|
-
}
|
221
|
-
|
223
|
+
h1 > .underline {
|
224
|
+
text-decoration: none;
|
225
|
+
box-shadow: inset 0 -19px 0 $secondColor, 0 0px 0 $secondColor;
|
226
|
+
transition: box-shadow .3s;
|
227
|
+
color: inherit;
|
228
|
+
overflow: hidden;
|
229
|
+
// font-size: 2rem;
|
230
|
+
}
|
231
|
+
|
232
|
+
a > .underline {
|
233
|
+
text-decoration: none;
|
234
|
+
box-shadow: inset 0 -14px 0 $secondColor, 0 0px 0 $secondColor;
|
235
|
+
transition: box-shadow .3s;
|
236
|
+
color: inherit;
|
237
|
+
overflow: hidden;
|
238
|
+
}
|
239
|
+
|
240
|
+
.underline:hover {
|
241
|
+
box-shadow: inset 0 -45px 0 $secondColor, 0 0px 0 $secondColor;
|
222
242
|
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
|
2
|
+
|
3
|
+
html {
|
4
|
+
font-size: 16px;
|
5
|
+
}
|
6
|
+
|
7
|
+
body {
|
8
|
+
/* background: #614bc3; */
|
9
|
+
background: rgb(97,75,195);
|
10
|
+
background: linear-gradient(40deg, rgba(97,75,195,1) 15%, rgba(68,205,213,1) 85%);
|
11
|
+
background: -webkit-linear-gradient(40deg, rgba(97,75,195,1) 15%, rgba(68,205,213,1) 85%);
|
12
|
+
width: 600px;
|
13
|
+
height: 330px;
|
14
|
+
position: relative;
|
15
|
+
margin: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
.box {
|
19
|
+
background-color: #fff;
|
20
|
+
color: #000;
|
21
|
+
font-family: 'Space Grotesk';
|
22
|
+
padding: 25px;
|
23
|
+
margin: 20px;
|
24
|
+
height: 240px;
|
25
|
+
position: relative;
|
26
|
+
}
|
27
|
+
|
28
|
+
.title {
|
29
|
+
position: absolute;
|
30
|
+
top: 50px;
|
31
|
+
max-width: 500px;
|
32
|
+
> h2 {
|
33
|
+
margin: 0;
|
34
|
+
font-size: 42px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.footer {
|
39
|
+
position: absolute;
|
40
|
+
bottom: 50px;
|
41
|
+
max-width: 500px;
|
42
|
+
> h3 {
|
43
|
+
margin: 0;
|
44
|
+
font-size: 20px;
|
45
|
+
}
|
46
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whiteblog-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -75,10 +75,12 @@ extra_rdoc_files: []
|
|
75
75
|
files:
|
76
76
|
- LICENSE.txt
|
77
77
|
- README.md
|
78
|
+
- _includes/backtotop.html
|
78
79
|
- _includes/comments-providers/disqus.html
|
79
80
|
- _includes/footer.html
|
80
81
|
- _includes/head.html
|
81
82
|
- _includes/header.html
|
83
|
+
- _includes/sharepost.html
|
82
84
|
- _layouts/allposts.html
|
83
85
|
- _layouts/categories.html
|
84
86
|
- _layouts/default.html
|
@@ -91,8 +93,13 @@ files:
|
|
91
93
|
- _sass/whiteblog-theme.scss
|
92
94
|
- _sass/whiteblog-theme/_layout.scss
|
93
95
|
- _sass/whiteblog-theme/_syntax-highlighting.scss
|
94
|
-
- assets/
|
95
|
-
- assets/
|
96
|
+
- assets/css/main.scss
|
97
|
+
- assets/css/previews.css
|
98
|
+
- assets/images/previews/hello-world.png
|
99
|
+
- assets/images/previews/otro-post.png
|
100
|
+
- assets/images/previews/test-post.png
|
101
|
+
- assets/images/previews/welcome-jekyll.png
|
102
|
+
- assets/js/jekyll-search.min.js
|
96
103
|
homepage: https://github.com/vmsilvamolina/whiteblog-theme
|
97
104
|
licenses:
|
98
105
|
- MIT
|
File without changes
|
File without changes
|