whiteblog-theme 0.0.7 → 0.0.8
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/header.html +4 -1
- data/_layouts/categories.html +1 -1
- data/_layouts/home.html +22 -20
- data/_layouts/post.html +2 -2
- data/_sass/whiteblog-theme/_layout.scss +13 -8
- data/_sass/whiteblog-theme.scss +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 641327c765d7035ef9d867b0de8e6522dcfdd5b661cdd60cc4307d9fad89727e
|
4
|
+
data.tar.gz: 544502dea8d7fbed758f8d7d28b20a3fd9db1d865cd2c97c2fdd56250fabebc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e46c3203a1f98fbc7089575ab8fd673cd3bc624dbe3b33b90e68697dc1a0d8cbf412e4677a7134f425198679c0ea1c92e6bae0f16818533b38a925d57691d9d
|
7
|
+
data.tar.gz: 163e9826a69dca3a058d177c3a9a66a4b021cfb905d69414e75ea0975707e37a89e1a5118effff3d5a90c62148d6aaf4ef759b5c8e1e31ab0b5d9d03acd0a601
|
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/header.html
CHANGED
data/_layouts/categories.html
CHANGED
@@ -11,7 +11,7 @@ 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">
|
data/_layouts/home.html
CHANGED
@@ -2,31 +2,33 @@
|
|
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">
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
15
|
+
<h1 class="mt-1 mb-3 h3 title-post-resume underline">
|
16
|
+
<a class="title-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
17
|
+
</h1>
|
17
18
|
|
18
|
-
|
19
|
+
<span class="text-secondary">{{ post.date | date: date_format }}</span>
|
19
20
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
<div class="text-justify">
|
22
|
+
{{ post.excerpt }}
|
23
|
+
</div>
|
24
|
+
</li>
|
25
|
+
{% endfor %}
|
26
|
+
</ul>
|
26
27
|
|
27
28
|
|
28
|
-
|
29
|
-
|
30
|
-
|
29
|
+
{% if site.plugins contains "jekyll-feed" %}
|
30
|
+
<a href="{{ "/feed.xml" | relative_url }}"><div id="rss-icon" class="mb-2"></div></a>
|
31
|
+
{% endif %}
|
31
32
|
|
32
|
-
</div>
|
33
|
+
</div>
|
34
|
+
</article>
|
data/_layouts/post.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
//Color palette variables:
|
4
4
|
$firstColor: #F5F5F5;
|
5
|
-
$secondColor: #
|
5
|
+
$secondColor: #F5F5F5;
|
6
6
|
$thirdColor: #3FC1C9;
|
7
7
|
$fourthColor: #FC5185;
|
8
8
|
|
@@ -19,15 +19,16 @@ main {
|
|
19
19
|
}
|
20
20
|
|
21
21
|
.container {
|
22
|
-
padding: 0em;
|
22
|
+
padding: 0em;
|
23
|
+
max-width: 80% !important;
|
23
24
|
}
|
24
25
|
|
25
26
|
.navbar {
|
26
27
|
background-color: $secondColor !important;
|
27
|
-
padding:
|
28
|
+
padding: 30px 0px !important;
|
28
29
|
a {
|
29
30
|
font-weight: 600;
|
30
|
-
color: $firstColor !important;
|
31
|
+
// color: $firstColor !important;
|
31
32
|
}
|
32
33
|
}
|
33
34
|
|
@@ -79,6 +80,14 @@ main {
|
|
79
80
|
height: 3.5rem;
|
80
81
|
}
|
81
82
|
|
83
|
+
.divider {
|
84
|
+
border-color: $fourthColor;
|
85
|
+
margin: 0px;
|
86
|
+
max-width: 80%;
|
87
|
+
margin: 0 auto;
|
88
|
+
opacity: 1;
|
89
|
+
}
|
90
|
+
|
82
91
|
.title-link {
|
83
92
|
text-decoration: none !important;
|
84
93
|
}
|
@@ -97,10 +106,6 @@ div#content.text-justify {
|
|
97
106
|
padding-bottom: 5em;
|
98
107
|
}
|
99
108
|
|
100
|
-
.posts-list {
|
101
|
-
padding-top: 1.5rem!important;
|
102
|
-
}
|
103
|
-
|
104
109
|
#content .py-2 {
|
105
110
|
padding-top: 1.5rem!important;
|
106
111
|
}
|
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.8
|
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-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|