whiteblog-theme 0.0.7 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -13
- data/_includes/footer.html +1 -1
- data/_includes/head.html +0 -3
- data/_includes/header.html +5 -2
- data/_layouts/categories.html +2 -2
- data/_layouts/home.html +22 -21
- data/_layouts/post.html +17 -3
- data/_sass/whiteblog-theme/_layout.scss +55 -55
- data/_sass/whiteblog-theme.scss +1 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cd21724c1641af5d6e77db857e9209945184233c4370fed1da98c73ec82bfb6
|
4
|
+
data.tar.gz: 8e7ddaffa010d17b5800755b5bb63e7d4dee0d6e30dd0dda37a89385ee918672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6713e3d5f368e338788239b0f680f59b5aa8408f1cf062eec0bbd9e12eb8add085e09853d8ca742058a6750e7be7b1b3e32f5b49c389c361c65d398f5d5293f7
|
7
|
+
data.tar.gz: 25fb3752abe6aa5555b179bd7b1f6232442bc138365f3ed1b07bdb2395dd49e16ed33276c1a666e96b362c7280dc081f12177b608e4f323316ca6a33de6359a0
|
data/README.md
CHANGED
@@ -38,19 +38,6 @@ Or install it yourself as:
|
|
38
38
|
|
39
39
|
$ gem install whiteblog-theme
|
40
40
|
|
41
|
-
## Usage
|
42
|
-
|
43
|
-
### Colorful Categories
|
44
|
-
|
45
|
-
Bring color to your categories editing the following setting inside `_sass\whiteblog-theme\_category_colors.scss`. For example if you add a new category named "Markdown", you need to add the following code with the color selected:
|
46
|
-
|
47
|
-
`
|
48
|
-
a.badge-Markdown {
|
49
|
-
color: #fff;
|
50
|
-
background-color: #6967CE;
|
51
|
-
}
|
52
|
-
`
|
53
|
-
|
54
41
|
|
55
42
|
## Contributing
|
56
43
|
|
data/_includes/footer.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="container">
|
3
3
|
<div class="row">
|
4
4
|
<div class="col-12 col-lg">
|
5
|
-
<p
|
5
|
+
<p>Made with <i class="bi bi-suit-heart-fill"></i> and <i class="bi bi-cup-fill"></i>. Powered by <a href="https://jekyllrb.com/">Jekyll</a> and <a href="https://github.com/vmsilvamolina/whiteblog-theme">whiteblog-theme</a>.</p>
|
6
6
|
</div>
|
7
7
|
</div>
|
8
8
|
</div>
|
data/_includes/head.html
CHANGED
@@ -7,9 +7,6 @@
|
|
7
7
|
<!-- Bootstrap CSS -->
|
8
8
|
<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
9
|
|
10
|
-
<!-- FontAwesome-->
|
11
|
-
<script src="https://kit.fontawesome.com/3726080491.js" crossorigin="anonymous"></script>
|
12
|
-
|
13
10
|
|
14
11
|
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
|
15
12
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
|
data/_includes/header.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
2
2
|
<div class="container-fluid container">
|
3
|
-
<a class="navbar-brand" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
3
|
+
<a id="blog-title" class="navbar-brand" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
|
4
4
|
<div class="justify-content-end">
|
5
5
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
6
6
|
<span class="navbar-toggler-icon"></span>
|
@@ -21,4 +21,7 @@
|
|
21
21
|
</div>
|
22
22
|
</div>
|
23
23
|
</div>
|
24
|
-
</nav>
|
24
|
+
</nav>
|
25
|
+
<div>
|
26
|
+
<hr class="divider" aria-hidden="true">
|
27
|
+
</div>
|
data/_layouts/categories.html
CHANGED
@@ -11,11 +11,11 @@ title: Categories
|
|
11
11
|
{% capture category_name %}{{ category | first }}{% endcapture %}
|
12
12
|
<div id="#{{ category_name | slugize }}"></div>
|
13
13
|
<p></p>
|
14
|
-
<
|
14
|
+
<h5 style='color:white !important;'><a class="badge badge-{{ category_name }}">{{ category_name }}</a></h5>
|
15
15
|
<a name="{{ category_name | slugize }}"></a>
|
16
16
|
{% for post in site.categories[category_name] %}
|
17
17
|
<article class="archive-item">
|
18
|
-
<p
|
18
|
+
<p><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></p>
|
19
19
|
</article>
|
20
20
|
{% endfor %}
|
21
21
|
</div>
|
data/_layouts/home.html
CHANGED
@@ -2,31 +2,32 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<
|
5
|
+
<article class="post">
|
6
|
+
<div id="content">
|
6
7
|
|
7
|
-
|
8
|
+
{% assign posts = site.posts %}
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
<ul class="list-unstyled m-0 posts-list">
|
11
|
+
{% assign date_format = "%b %-d, %Y" %}
|
12
|
+
{% for post in posts %}
|
13
|
+
<li class="py-2">
|
14
|
+
<h1 class="mt-1 mb-3 h3 title-post-resume underline">
|
15
|
+
<a class="title-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
16
|
+
</h1>
|
13
17
|
|
14
|
-
|
15
|
-
<a class="title-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
16
|
-
</h1>
|
18
|
+
<span class="text-secondary">{{ post.date | date: date_format }}</span>
|
17
19
|
|
18
|
-
|
20
|
+
<div>
|
21
|
+
{{ post.excerpt }}
|
22
|
+
</div>
|
23
|
+
</li>
|
24
|
+
{% endfor %}
|
25
|
+
</ul>
|
19
26
|
|
20
|
-
<div class="text-justify">
|
21
|
-
{{ post.excerpt }}
|
22
|
-
</div>
|
23
|
-
</li>
|
24
|
-
{% endfor %}
|
25
|
-
</ul>
|
26
27
|
|
28
|
+
{% if site.plugins contains "jekyll-feed" %}
|
29
|
+
<a href="{{ "/feed.xml" | relative_url }}"><div id="rss-icon" class="mb-2"></div></a>
|
30
|
+
{% endif %}
|
27
31
|
|
28
|
-
|
29
|
-
|
30
|
-
{% endif %}
|
31
|
-
|
32
|
-
</div>
|
32
|
+
</div>
|
33
|
+
</article>
|
data/_layouts/post.html
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
---
|
2
2
|
layout: default
|
3
3
|
---
|
4
|
-
<article class="post
|
4
|
+
<article class="post">
|
5
5
|
|
6
|
-
<div
|
6
|
+
<div id="posts-navigation">
|
7
7
|
<div class="row">
|
8
|
-
<div class="previous col
|
8
|
+
<div class="previous col">
|
9
9
|
{% if page.previous.url %}
|
10
10
|
<a href="{{page.previous.url}}">« {{page.previous.title}}</a>
|
11
11
|
{% endif %}
|
@@ -44,6 +44,20 @@ layout: default
|
|
44
44
|
{{ content }}
|
45
45
|
</div>
|
46
46
|
|
47
|
+
<div>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<div class="text-final" id="share-links">
|
51
|
+
<h5>Share this post</h5>
|
52
|
+
<div class="row">
|
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>
|
60
|
+
|
47
61
|
{% if site.comments.provider and page.comments %}
|
48
62
|
{% include comments.html %}
|
49
63
|
{% endif %}
|
@@ -1,14 +1,19 @@
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=Nunito&Fira+Sans&family=Montserrat&display=swap');
|
1
|
+
// @import url('https://fonts.googleapis.com/css2?family=Nunito&Fira+Sans&family=Montserrat&display=swap');
|
2
|
+
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
|
3
|
+
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
|
2
4
|
|
3
5
|
//Color palette variables:
|
4
6
|
$firstColor: #F5F5F5;
|
5
|
-
$secondColor: #
|
6
|
-
$thirdColor:
|
7
|
-
$fourthColor: #
|
7
|
+
$secondColor: #F5F5F5;
|
8
|
+
$thirdColor: hsl(183, 63%, 55%);
|
9
|
+
$fourthColor: #614BC3;
|
10
|
+
html {
|
11
|
+
scroll-behavior: smooth;
|
12
|
+
}
|
8
13
|
|
9
14
|
body {
|
10
15
|
background-color: $firstColor;
|
11
|
-
font-family: "
|
16
|
+
font-family: "Space Grotesk";
|
12
17
|
overflow-y: scroll;
|
13
18
|
position: relative;
|
14
19
|
min-height: 100vh;
|
@@ -19,15 +24,16 @@ main {
|
|
19
24
|
}
|
20
25
|
|
21
26
|
.container {
|
22
|
-
padding: 0em;
|
27
|
+
padding: 0em;
|
28
|
+
max-width: 80% !important;
|
23
29
|
}
|
24
30
|
|
25
31
|
.navbar {
|
26
32
|
background-color: $secondColor !important;
|
27
|
-
padding:
|
33
|
+
padding: 30px 0px !important;
|
28
34
|
a {
|
29
35
|
font-weight: 600;
|
30
|
-
color: $firstColor !important;
|
36
|
+
// color: $firstColor !important;
|
31
37
|
}
|
32
38
|
}
|
33
39
|
|
@@ -79,6 +85,15 @@ main {
|
|
79
85
|
height: 3.5rem;
|
80
86
|
}
|
81
87
|
|
88
|
+
.divider {
|
89
|
+
background: $fourthColor;
|
90
|
+
margin: 0px;
|
91
|
+
max-width: 80%;
|
92
|
+
height: 4px;
|
93
|
+
margin: 0 auto;
|
94
|
+
opacity: 1;
|
95
|
+
}
|
96
|
+
|
82
97
|
.title-link {
|
83
98
|
text-decoration: none !important;
|
84
99
|
}
|
@@ -87,18 +102,18 @@ main {
|
|
87
102
|
color: #2F343D !important;
|
88
103
|
}
|
89
104
|
|
90
|
-
|
105
|
+
.text-justify {
|
91
106
|
margin-top: 35px !important;
|
92
107
|
}
|
93
108
|
|
109
|
+
.text-final {
|
110
|
+
margin-top: 45px !important;
|
111
|
+
}
|
112
|
+
|
94
113
|
.post {
|
95
114
|
padding-top: 3rem!important;
|
96
115
|
height: 100%;
|
97
|
-
padding-bottom:
|
98
|
-
}
|
99
|
-
|
100
|
-
.posts-list {
|
101
|
-
padding-top: 1.5rem!important;
|
116
|
+
padding-bottom: 6em;
|
102
117
|
}
|
103
118
|
|
104
119
|
#content .py-2 {
|
@@ -124,19 +139,13 @@ blockquote {
|
|
124
139
|
white-space: pre-wrap;
|
125
140
|
}
|
126
141
|
|
127
|
-
.underline {
|
128
|
-
font-family: "Nunito";
|
129
|
-
display: table;
|
130
|
-
background: linear-gradient(180deg,rgba(255,255,255,0) 65%, $thirdColor 8px);
|
131
|
-
}
|
132
|
-
|
133
142
|
#search-input {
|
134
143
|
margin: 2em 0em;
|
135
144
|
width: 100%;
|
136
145
|
}
|
137
146
|
|
138
147
|
input {
|
139
|
-
font-family: "
|
148
|
+
font-family: "Space Grotesk" !important;
|
140
149
|
}
|
141
150
|
|
142
151
|
.post .text-secondary {
|
@@ -176,47 +185,38 @@ input {
|
|
176
185
|
a.badge {
|
177
186
|
color: #fff;
|
178
187
|
background-color: $fourthColor;
|
188
|
+
text-decoration: none;
|
179
189
|
}
|
180
190
|
|
181
|
-
/*
|
191
|
+
/* Effects */
|
182
192
|
|
183
193
|
#category-badge a:hover, #category-badge a:focus, #category-badge a:active {
|
184
194
|
color: #fff;
|
185
|
-
-webkit-transform: scale(1.
|
186
|
-
transform: scale(1.
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
195
|
+
-webkit-transform: scale(1.1);
|
196
|
+
transform: scale(1.1);
|
197
|
+
}
|
198
|
+
|
199
|
+
.underline {
|
200
|
+
font-family: "Space Grotesk";
|
201
|
+
display: table;
|
202
|
+
background: linear-gradient(180deg,rgba(255,255,255,0) 65%, $thirdColor 8px);
|
203
|
+
transition: all 0.3s linear;
|
204
|
+
position: relative;
|
205
|
+
&::before {
|
206
|
+
content: '';
|
207
|
+
background-color: $thirdColor;
|
208
|
+
position: absolute;
|
209
|
+
left: 0;
|
210
|
+
bottom: 3px;
|
211
|
+
width: 100%;
|
212
|
+
height: 8px;
|
213
|
+
z-index: -1;
|
214
|
+
transition: all .3s ease-in-out;
|
205
215
|
}
|
206
216
|
|
207
|
-
|
208
|
-
|
209
|
-
|
217
|
+
&:hover::before {
|
218
|
+
bottom: 0;
|
219
|
+
height: 100%;
|
210
220
|
}
|
211
221
|
|
212
|
-
a::before {
|
213
|
-
content: " ";
|
214
|
-
display: block;
|
215
|
-
position: absolute;
|
216
|
-
top: 0; right: 0; bottom: 0; left: 0;
|
217
|
-
inset: 0 0 0 0;
|
218
|
-
background: rgba(117, 11, 11, 0);
|
219
|
-
z-index: -1;
|
220
|
-
transition: transform .3s ease;
|
221
|
-
}
|
222
222
|
}
|
data/_sass/whiteblog-theme.scss
CHANGED
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Silva
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.16'
|
69
|
-
description:
|
69
|
+
description:
|
70
70
|
email:
|
71
71
|
- vmsilvamolina@gmail.com
|
72
72
|
executables: []
|
@@ -98,7 +98,7 @@ licenses:
|
|
98
98
|
- MIT
|
99
99
|
metadata:
|
100
100
|
plugin_type: theme
|
101
|
-
post_install_message:
|
101
|
+
post_install_message:
|
102
102
|
rdoc_options: []
|
103
103
|
require_paths:
|
104
104
|
- lib
|
@@ -113,8 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
117
|
-
signing_key:
|
116
|
+
rubygems_version: 3.2.3
|
117
|
+
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: Minimal, wide and white blogging theme for Jekyll
|
120
120
|
test_files: []
|