whiteblog-theme 0.0.8 → 0.0.10

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: 641327c765d7035ef9d867b0de8e6522dcfdd5b661cdd60cc4307d9fad89727e
4
- data.tar.gz: 544502dea8d7fbed758f8d7d28b20a3fd9db1d865cd2c97c2fdd56250fabebc5
3
+ metadata.gz: 7c9ee6295b2edcf49e25f365bed0582b87a76e12ab2c7e2a0168444dcf032126
4
+ data.tar.gz: 26c54d49d236252ebe047d48c219611062ddee1f5388850df81fb8356787ae81
5
5
  SHA512:
6
- metadata.gz: 0e46c3203a1f98fbc7089575ab8fd673cd3bc624dbe3b33b90e68697dc1a0d8cbf412e4677a7134f425198679c0ea1c92e6bae0f16818533b38a925d57691d9d
7
- data.tar.gz: 163e9826a69dca3a058d177c3a9a66a4b021cfb905d69414e75ea0975707e37a89e1a5118effff3d5a90c62148d6aaf4ef759b5c8e1e31ab0b5d9d03acd0a601
6
+ metadata.gz: 1831d76d33ab373bab801f11147f1d2b67fa2718c7b22c2af483bc5efb41b904468a35a9b9c761da3b1edf1794d63ecbdd88f156d83f04507c9e6c1498f1791f
7
+ data.tar.gz: 5efe871b332838044b3618db81d1cbf743930db669b73f73c44237633bbf2c5931b6f69a4cd952bb350779badb312becc9b0ac15d901ed0b18d250451d9c9f92
@@ -2,7 +2,7 @@
2
2
  <div class="container">
3
3
  <div class="row">
4
4
  <div class="col-12 col-lg">
5
- <p class="text-justify">Made with <i class="fa-solid fa-heart"></i> and <i class="fa-solid fa-mug-saucer"></i>. Powered by <a href="https://jekyllrb.com/">Jekyll</a> and <a href="https://github.com/vmsilvamolina/whiteblog-theme">whiteblog-theme</a>.</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
@@ -3,15 +3,32 @@
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
+ {% if page.image.feature %}
8
+ <meta name="twitter:card"
9
+ content="summary_large_image">
10
+ <meta name="twitter:image"
11
+ content="{{ site.url }}/images/{{ page.image.feature }}">
12
+ {% elsif page.auto_image %}
13
+ <meta name="twitter:card"
14
+ content="summary_large_image">
15
+ <meta name="twitter:image"
16
+ content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
17
+ {%endif%}
18
+
19
+ {% if page.image.feature %}
20
+ <meta property="og:image"
21
+ content="{{ site.url }}/images/{{ page.image.feature }}">
22
+ {% elsif page.auto_image %}
23
+ <meta property="og:image"
24
+ content="{{ site.url }}/assets/images/previews/{{ page.slug }}.png">
25
+ {% endif %}
6
26
 
7
27
  <!-- Bootstrap CSS -->
8
28
  <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
29
 
10
- <!-- FontAwesome-->
11
- <script src="https://kit.fontawesome.com/3726080491.js" crossorigin="anonymous"></script>
12
-
13
30
 
14
- <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
31
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
15
32
  <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
16
33
  <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
17
34
 
@@ -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>
@@ -15,7 +15,7 @@ title: Categories
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 class="text-justify"><a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></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
@@ -11,14 +11,13 @@ layout: default
11
11
  {% assign date_format = "%b %-d, %Y" %}
12
12
  {% for post in posts %}
13
13
  <li class="py-2">
14
-
15
14
  <h1 class="mt-1 mb-3 h3 title-post-resume underline">
16
15
  <a class="title-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
17
16
  </h1>
18
17
 
19
18
  <span class="text-secondary">{{ post.date | date: date_format }}</span>
20
19
 
21
- <div class="text-justify">
20
+ <div>
22
21
  {{ post.excerpt }}
23
22
  </div>
24
23
  </li>
data/_layouts/post.html CHANGED
@@ -5,7 +5,7 @@ layout: default
5
5
 
6
6
  <div id="posts-navigation">
7
7
  <div class="row">
8
- <div class="previous col text-left">
8
+ <div class="previous col">
9
9
  {% if page.previous.url %}
10
10
  <a href="{{page.previous.url}}">&laquo; {{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 %}
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,14 +1,21 @@
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=Space+Grotesk:wght@300..700&display=swap');
2
+ @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
2
3
 
3
4
  //Color palette variables:
5
+ // $firstColor: #FFF;
4
6
  $firstColor: #F5F5F5;
5
- $secondColor: #F5F5F5;
6
- $thirdColor: #3FC1C9;
7
- $fourthColor: #FC5185;
7
+ // $secondColor: #19E9E0;
8
+ $secondColor: #44cdd5;
9
+ // $thirdColor: #A64AC9;
10
+ $thirdColor: #614bc3;
11
+
12
+ html {
13
+ scroll-behavior: smooth;
14
+ }
8
15
 
9
16
  body {
10
17
  background-color: $firstColor;
11
- font-family: "Montserrat";
18
+ font-family: "Space Grotesk";
12
19
  overflow-y: scroll;
13
20
  position: relative;
14
21
  min-height: 100vh;
@@ -24,7 +31,7 @@ main {
24
31
  }
25
32
 
26
33
  .navbar {
27
- background-color: $secondColor !important;
34
+ background-color: $firstColor !important;
28
35
  padding: 30px 0px !important;
29
36
  a {
30
37
  font-weight: 600;
@@ -81,9 +88,11 @@ main {
81
88
  }
82
89
 
83
90
  .divider {
84
- border-color: $fourthColor;
91
+ background: $thirdColor;
92
+ color: $thirdColor;
85
93
  margin: 0px;
86
94
  max-width: 80%;
95
+ height: 4px;
87
96
  margin: 0 auto;
88
97
  opacity: 1;
89
98
  }
@@ -96,14 +105,18 @@ main {
96
105
  color: #2F343D !important;
97
106
  }
98
107
 
99
- div#content.text-justify {
108
+ .text-justify {
100
109
  margin-top: 35px !important;
101
110
  }
102
111
 
112
+ .text-final {
113
+ margin-top: 45px !important;
114
+ }
115
+
103
116
  .post {
104
117
  padding-top: 3rem!important;
105
118
  height: 100%;
106
- padding-bottom: 5em;
119
+ padding-bottom: 6em;
107
120
  }
108
121
 
109
122
  #content .py-2 {
@@ -129,19 +142,13 @@ blockquote {
129
142
  white-space: pre-wrap;
130
143
  }
131
144
 
132
- .underline {
133
- font-family: "Nunito";
134
- display: table;
135
- background: linear-gradient(180deg,rgba(255,255,255,0) 65%, $thirdColor 8px);
136
- }
137
-
138
145
  #search-input {
139
146
  margin: 2em 0em;
140
147
  width: 100%;
141
148
  }
142
149
 
143
150
  input {
144
- font-family: "Montserrat" !important;
151
+ font-family: "Space Grotesk" !important;
145
152
  }
146
153
 
147
154
  .post .text-secondary {
@@ -179,49 +186,40 @@ input {
179
186
  }
180
187
 
181
188
  a.badge {
182
- color: #fff;
183
- background-color: $fourthColor;
189
+ color: $firstColor;
190
+ background-color: $thirdColor;
191
+ text-decoration: none;
184
192
  }
185
193
 
186
- /* Categories: Effect */
194
+ /* Effects */
187
195
 
188
196
  #category-badge a:hover, #category-badge a:focus, #category-badge a:active {
189
197
  color: #fff;
190
- -webkit-transform: scale(1.2);
191
- transform: scale(1.2);
192
- -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
193
- transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
194
- }
195
-
196
- .badge-bounce-in {
197
- display: inline-block;
198
- vertical-align: middle;
199
- -webkit-transform: perspective(1px) translateZ(0);
200
- transform: perspective(2px) translateZ(0);
201
- box-shadow: 0 0 1px rgba(0, 0, 0, 0);
202
- -webkit-transition-duration: 0.5s;
203
- transition-duration: 0.5s;
204
- }
205
-
206
- #content ul.posts-list h1 {
207
- a::before {
208
- transform: scaleX(0);
209
- transform-origin: bottom right;
198
+ -webkit-transform: scale(1.1);
199
+ transform: scale(1.1);
200
+ }
201
+
202
+ .underline {
203
+ font-family: "Space Grotesk";
204
+ display: table;
205
+ background: linear-gradient(180deg,rgba(255,255,255,0) 65%, $secondColor 8px);
206
+ transition: all 0.3s linear;
207
+ position: relative;
208
+ &::before {
209
+ content: '';
210
+ background-color: $secondColor;
211
+ position: absolute;
212
+ left: 0;
213
+ bottom: 3px;
214
+ width: 100%;
215
+ height: 8px;
216
+ z-index: -1;
217
+ transition: all .3s ease-in-out;
210
218
  }
211
219
 
212
- a:hover::before {
213
- transform: scaleX(1);
214
- transform-origin: bottom left;
220
+ &:hover::before {
221
+ bottom: 0;
222
+ height: 100%;
215
223
  }
216
224
 
217
- a::before {
218
- content: " ";
219
- display: block;
220
- position: absolute;
221
- top: 0; right: 0; bottom: 0; left: 0;
222
- inset: 0 0 0 0;
223
- background: rgba(117, 11, 11, 0);
224
- z-index: -1;
225
- transition: transform .3s ease;
226
- }
227
225
  }
@@ -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
+ }
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.8
4
+ version: 0.0.10
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-03-13 00:00:00.000000000 Z
11
+ date: 2024-04-21 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: []
@@ -91,14 +91,19 @@ files:
91
91
  - _sass/whiteblog-theme.scss
92
92
  - _sass/whiteblog-theme/_layout.scss
93
93
  - _sass/whiteblog-theme/_syntax-highlighting.scss
94
- - assets/jekyll-search.min.js
95
- - assets/main.scss
94
+ - assets/css/main.scss
95
+ - assets/css/previews.css
96
+ - assets/images/previews/hello-world.png
97
+ - assets/images/previews/otro-post.png
98
+ - assets/images/previews/test-post.png
99
+ - assets/images/previews/welcome-jekyll.png
100
+ - assets/js/jekyll-search.min.js
96
101
  homepage: https://github.com/vmsilvamolina/whiteblog-theme
97
102
  licenses:
98
103
  - MIT
99
104
  metadata:
100
105
  plugin_type: theme
101
- post_install_message:
106
+ post_install_message:
102
107
  rdoc_options: []
103
108
  require_paths:
104
109
  - lib
@@ -113,8 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
118
  - !ruby/object:Gem::Version
114
119
  version: '0'
115
120
  requirements: []
116
- rubygems_version: 3.5.3
117
- signing_key:
121
+ rubygems_version: 3.2.3
122
+ signing_key:
118
123
  specification_version: 4
119
124
  summary: Minimal, wide and white blogging theme for Jekyll
120
125
  test_files: []
File without changes