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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a38122074dc60b20a7effc0e77d6921c01ba13be20b2d024358c4b394f07c66
4
- data.tar.gz: '09d9eac37500b4b98833eecf9cb1e506ccfbf9192d3ece841ac91a2e97488589'
3
+ metadata.gz: 641327c765d7035ef9d867b0de8e6522dcfdd5b661cdd60cc4307d9fad89727e
4
+ data.tar.gz: 544502dea8d7fbed758f8d7d28b20a3fd9db1d865cd2c97c2fdd56250fabebc5
5
5
  SHA512:
6
- metadata.gz: e9ab52bb67559ad6facb06e854e143d95d001fc4a44bdbdf25d000474a96e90060be7e85e5a80696aa1edd252b257956192026735f16c4b54c360881b4cf69eb
7
- data.tar.gz: e3afc8ce5dcb5bb52e5e985df952904cef96ba3f4b1894f3655024024e0195288a432547056801c4c19d36f711af124f09259a92b78c3b89027fb03fab0b9e20
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
 
@@ -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>
@@ -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
- <h3 style='color:white !important;'><a class="badge badge-{{ category_name }}">{{ category_name }}</a></h3>
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
- <div id="content">
5
+ <article class="post">
6
+ <div id="content">
6
7
 
7
- {% assign posts = site.posts %}
8
+ {% assign posts = site.posts %}
8
9
 
9
- <ul class="list-unstyled m-0 posts-list">
10
- {% assign date_format = "%b %-d, %Y" %}
11
- {% for post in posts %}
12
- <li class="py-2">
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
- <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>
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
- <span class="text-secondary">{{ post.date | date: date_format }}</span>
19
+ <span class="text-secondary">{{ post.date | date: date_format }}</span>
19
20
 
20
- <div class="text-justify">
21
- {{ post.excerpt }}
22
- </div>
23
- </li>
24
- {% endfor %}
25
- </ul>
21
+ <div class="text-justify">
22
+ {{ post.excerpt }}
23
+ </div>
24
+ </li>
25
+ {% endfor %}
26
+ </ul>
26
27
 
27
28
 
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 %}
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
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  layout: default
3
3
  ---
4
- <article class="post container">
4
+ <article class="post">
5
5
 
6
- <div class="container" id="posts-navigation">
6
+ <div id="posts-navigation">
7
7
  <div class="row">
8
8
  <div class="previous col text-left">
9
9
  {% if page.previous.url %}
@@ -2,7 +2,7 @@
2
2
 
3
3
  //Color palette variables:
4
4
  $firstColor: #F5F5F5;
5
- $secondColor: #364F6B;
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: 10px 16px !important;
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
  }
@@ -2,5 +2,4 @@
2
2
 
3
3
  @import
4
4
  "whiteblog-theme/layout",
5
- "whiteblog-theme/syntax-highlighting"
6
- ;
5
+ "whiteblog-theme/syntax-highlighting";
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.7
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-01-17 00:00:00.000000000 Z
11
+ date: 2024-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll