whiteblog-theme 0.0.16 → 0.0.18

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df57117387f42de7cd314d19f7ad1da721d289a3d1387ef72e302f42dc91b071
4
- data.tar.gz: f553c90ded41fb834e258b0f995ee5e6db651a00eb3d4efdecb6da28e610b596
3
+ metadata.gz: 83462ef877f562e4f229b84687af3ddab104e418d077e8f8fafe5688d448631c
4
+ data.tar.gz: 66bcc56964ac14502e2eda9932b321590b2e4c47150621cfdddcdaa0f172b54a
5
5
  SHA512:
6
- metadata.gz: aa2d9101ea5e3d0cd49c175b372471c3ac1a245920877fdce8939349eceae325b859ec0b3ba2ce578448572f7fe9a7568696514ef7419a4b50a9a8e59bb59b99
7
- data.tar.gz: 78cd2a0bae81bbac1ce99e66e09a4d2afe91025dd2f73fa443b1a48ac1b7c77a917cd30bb55fd3dd6daaa55854d73ae3427693df14943833b3b4dbb11443bfcd
6
+ metadata.gz: 446fc9435f1daa144fc04dcab3899192960d3b83b38a6eb7fcf88d69bcaeba273a5820a0417aff5769ffa4d13829b4786685f08b16017608dae1f526f2e92f1b
7
+ data.tar.gz: b9e46204b21291727d88de2049c86943ab149be56a89d0c493295fe2ea85ef0c4292270adc94dced11fc32af8eb0941cd30c7b9ad17f7be4c51aad46da0d2f65
@@ -1,4 +1,3 @@
1
- {% if site.analytics %}
2
1
  <!-- Google tag (gtag.js) -->
3
2
  <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.tracking_id }}"></script>
4
3
  <script>
@@ -7,5 +6,4 @@
7
6
  gtag('js', new Date());
8
7
 
9
8
  gtag('config', '{{ site.analytics.google.tracking_id }}');
10
- </script>
11
- {% endif %}
9
+ </script>
@@ -1,6 +1,6 @@
1
1
  <footer id="site-footer">
2
2
  <div class="container">
3
- <div class="footer-text">
3
+ <div>
4
4
  <p>
5
5
  Made with
6
6
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-suit-heart-fill" viewBox="0 0 16 16">
data/_includes/head.html CHANGED
@@ -10,17 +10,13 @@
10
10
  content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
11
11
  <meta property="og:image"
12
12
  content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
13
-
14
- <!-- Bootstrap CSS -->
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"> -->
16
-
17
13
 
18
14
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
19
15
  <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
20
16
  <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
21
17
 
22
18
  {% if page.head_inline %}
23
- {{ page.head_inline }}
19
+ {{ page.head_inline }}
24
20
  {% endif %}
25
21
 
26
22
  </head>
@@ -1,6 +1,6 @@
1
1
  <nav class="navbar">
2
2
  <div class="container">
3
- <a id="blog-title" class="navbarBrand" 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="navbar-links">
5
5
  <span class="nav-toggle" id="js-nav-toggle">
6
6
  <svg viewBox="0 0 100 80" width="20" height="20">
@@ -9,8 +9,8 @@
9
9
  <rect y="60" width="100" height="18" rx="8"></rect>
10
10
  </svg>
11
11
  </span>
12
- <div id="navbarNav">
13
- <ul class="lista" id="js-menu">
12
+ <div id="navbar-nav">
13
+ <ul class="nav-list" id="js-menu">
14
14
  {% assign default_paths = site.pages | map: "path" %}
15
15
  {% assign page_paths = site.header_pages | default: default_paths %}
16
16
  {% if page_paths %}
@@ -1,8 +1,6 @@
1
- <!-- <div class="col text-final" id="share-links"> -->
2
- <div class="col text-final">
3
- <h5><i class="bi bi-share"></i></h5>
1
+ <div class="text-final">
4
2
  <div class="row">
5
- <div class="float-start">
3
+ <div>
6
4
  <ul>
7
5
  <li>
8
6
  <a class="link" href="https://twitter.com/share?text={{ page.title | url_encode }}&url={{ site.url }}{{ page.url }}" target="_blank" rel="noopener" title="X.com">
@@ -21,7 +19,6 @@
21
19
  </a>
22
20
  </li>
23
21
  </ul>
24
-
25
22
  </div>
26
23
  </div>
27
24
  </div>
@@ -7,7 +7,7 @@ title: Categories
7
7
  <h1>
8
8
  <span class="underline">Categories</span>
9
9
  </h1>
10
- <div class="posts">
10
+ <div>
11
11
  {% for category in site.categories %}
12
12
  <div class="archive-group">
13
13
  {% capture category_name %}{{ category | first }}{% endcapture %}
data/_layouts/home.html CHANGED
@@ -11,8 +11,10 @@ layout: default
11
11
  {% assign date_format = "%b %-d, %Y" %}
12
12
  {% for post in posts %}
13
13
  <li class="post-resume">
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>
14
+ <h1 class="post-resume-title">
15
+ <a href="{{ post.url | relative_url }}">
16
+ <span class="underline">{{ post.title | escape }}</span>
17
+ </a>
16
18
  </h1>
17
19
  <span class="text-secondary">{{ post.date | date: date_format }}</span>
18
20
 
@@ -16,7 +16,7 @@
16
16
  *,
17
17
  *::before,
18
18
  *::after {
19
- // box-sizing: border-box;
19
+ box-sizing: border-box;
20
20
  margin: 0;
21
21
  padding: 0;
22
22
  }
@@ -64,15 +64,15 @@ main {
64
64
 
65
65
  .navbar-links > * {
66
66
  margin-right: 10px;
67
+ }
67
68
 
68
- ul li {
69
- padding-left: 0.5rem;
70
- padding-right: 0.5rem;
71
- font-size: 1rem;
72
- }
69
+ .navbar-links ul li {
70
+ padding-left: 0.5rem;
71
+ padding-right: 0.5rem;
72
+ font-size: 1rem;
73
73
  }
74
74
 
75
- .navbarBrand {
75
+ .navbar-brand {
76
76
  padding: 0.3125rem 0;
77
77
  margin-right: 1rem;
78
78
  font-size: 1.25rem;
@@ -205,13 +205,13 @@ a#blog-title:focus::before {
205
205
  transform-origin: 10% 90%;
206
206
  }
207
207
 
208
- #navbarNav a {
208
+ #navbar-nav a {
209
209
  position: relative;
210
210
  text-decoration: none;
211
211
  z-index: 1;
212
212
  }
213
213
 
214
- #navbarNav a::before {
214
+ #navbar-nav a::before {
215
215
  content: '';
216
216
  position: absolute;
217
217
  width: 100%;
@@ -225,7 +225,7 @@ a#blog-title:focus::before {
225
225
  z-index: -1;
226
226
  }
227
227
 
228
- #navbarNav a:hover::before {
228
+ #navbar-nav a:hover::before {
229
229
  transform-origin: left;
230
230
  transform: scaleX(1);
231
231
  }
@@ -236,17 +236,26 @@ a#blog-title:focus::before {
236
236
  padding-bottom: 0.5rem;
237
237
  }
238
238
 
239
- .lista {
239
+ .post-resume-title {
240
+ margin-top: 0.25rem;
241
+ margin-bottom: 0.75rem;
242
+ a {
243
+ color: var(--color-text);
244
+ text-decoration: none;
245
+ }
246
+ }
247
+
248
+ .nav-list {
240
249
  display: flex;
241
250
  align-items: center;
242
251
  z-index: 1;
243
252
  }
244
253
 
245
- .lista li {
254
+ .nav-list li {
246
255
  list-style: none;
247
256
  }
248
257
 
249
- .lista li a {
258
+ .nav-list li a {
250
259
  color: var(--color-text);
251
260
  text-decoration: none;
252
261
  transition: opacity 0.2s ease;
@@ -290,15 +299,6 @@ p {
290
299
  align-items: center;
291
300
  }
292
301
 
293
- .title-post-resume {
294
- margin-top: 0.25rem;
295
- margin-bottom: 0.75rem;
296
- a {
297
- color: var(--color-text);
298
- text-decoration: none;
299
- }
300
- }
301
-
302
302
  .text-secondary {
303
303
  font-weight: 700;
304
304
  margin-bottom: 8px !important;
@@ -470,7 +470,7 @@ svg {
470
470
  display: block;
471
471
  }
472
472
 
473
- .lista {
473
+ .nav-list {
474
474
  display: none;
475
475
  flex-direction: column;
476
476
  position: absolute;
@@ -481,11 +481,11 @@ svg {
481
481
  padding: 1rem 0;
482
482
  }
483
483
 
484
- .lista.active {
484
+ .nav-list.active {
485
485
  display: flex;
486
486
  }
487
487
 
488
- .lista li {
488
+ .nav-list li {
489
489
  width: 100%;
490
490
  text-align: center;
491
491
  padding: 0.5rem 0;
@@ -508,7 +508,7 @@ svg {
508
508
  display: none;
509
509
  }
510
510
 
511
- .lista {
511
+ .nav-list {
512
512
  display: flex;
513
513
  justify-content: flex-end;
514
514
  flex-direction: row;
@@ -1,4 +1,4 @@
1
1
  @charset "utf-8";
2
2
 
3
- @use "whiteblog-theme/layout";
4
- @use "whiteblog-theme/syntax-highlighting";
3
+ @import "whiteblog-theme/layout";
4
+ @import "whiteblog-theme/syntax-highlighting";
data/assets/css/main.scss CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  ---
3
3
 
4
- @import "whiteblog-theme";
4
+ @use "whiteblog-theme";
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.16
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-18 00:00:00.000000000 Z
11
+ date: 2025-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll