whiteblog-theme 0.0.9 → 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: 4cd21724c1641af5d6e77db857e9209945184233c4370fed1da98c73ec82bfb6
4
- data.tar.gz: 8e7ddaffa010d17b5800755b5bb63e7d4dee0d6e30dd0dda37a89385ee918672
3
+ metadata.gz: 7c9ee6295b2edcf49e25f365bed0582b87a76e12ab2c7e2a0168444dcf032126
4
+ data.tar.gz: 26c54d49d236252ebe047d48c219611062ddee1f5388850df81fb8356787ae81
5
5
  SHA512:
6
- metadata.gz: 6713e3d5f368e338788239b0f680f59b5aa8408f1cf062eec0bbd9e12eb8add085e09853d8ca742058a6750e7be7b1b3e32f5b49c389c361c65d398f5d5293f7
7
- data.tar.gz: 25fb3752abe6aa5555b179bd7b1f6232442bc138365f3ed1b07bdb2395dd49e16ed33276c1a666e96b362c7280dc081f12177b608e4f323316ca6a33de6359a0
6
+ metadata.gz: 1831d76d33ab373bab801f11147f1d2b67fa2718c7b22c2af483bc5efb41b904468a35a9b9c761da3b1edf1794d63ecbdd88f156d83f04507c9e6c1498f1791f
7
+ data.tar.gz: 5efe871b332838044b3618db81d1cbf743930db669b73f73c44237633bbf2c5931b6f69a4cd952bb350779badb312becc9b0ac15d901ed0b18d250451d9c9f92
data/_includes/head.html CHANGED
@@ -3,12 +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
30
 
11
- <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
31
+ <link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
12
32
  <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
13
33
  <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
14
34
 
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,12 +1,14 @@
1
- // @import url('https://fonts.googleapis.com/css2?family=Nunito&Fira+Sans&family=Montserrat&display=swap');
2
1
  @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
3
2
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
4
3
 
5
4
  //Color palette variables:
5
+ // $firstColor: #FFF;
6
6
  $firstColor: #F5F5F5;
7
- $secondColor: #F5F5F5;
8
- $thirdColor: hsl(183, 63%, 55%);
9
- $fourthColor: #614BC3;
7
+ // $secondColor: #19E9E0;
8
+ $secondColor: #44cdd5;
9
+ // $thirdColor: #A64AC9;
10
+ $thirdColor: #614bc3;
11
+
10
12
  html {
11
13
  scroll-behavior: smooth;
12
14
  }
@@ -29,7 +31,7 @@ main {
29
31
  }
30
32
 
31
33
  .navbar {
32
- background-color: $secondColor !important;
34
+ background-color: $firstColor !important;
33
35
  padding: 30px 0px !important;
34
36
  a {
35
37
  font-weight: 600;
@@ -86,7 +88,8 @@ main {
86
88
  }
87
89
 
88
90
  .divider {
89
- background: $fourthColor;
91
+ background: $thirdColor;
92
+ color: $thirdColor;
90
93
  margin: 0px;
91
94
  max-width: 80%;
92
95
  height: 4px;
@@ -183,8 +186,8 @@ input {
183
186
  }
184
187
 
185
188
  a.badge {
186
- color: #fff;
187
- background-color: $fourthColor;
189
+ color: $firstColor;
190
+ background-color: $thirdColor;
188
191
  text-decoration: none;
189
192
  }
190
193
 
@@ -199,12 +202,12 @@ a.badge {
199
202
  .underline {
200
203
  font-family: "Space Grotesk";
201
204
  display: table;
202
- background: linear-gradient(180deg,rgba(255,255,255,0) 65%, $thirdColor 8px);
205
+ background: linear-gradient(180deg,rgba(255,255,255,0) 65%, $secondColor 8px);
203
206
  transition: all 0.3s linear;
204
207
  position: relative;
205
208
  &::before {
206
209
  content: '';
207
- background-color: $thirdColor;
210
+ background-color: $secondColor;
208
211
  position: absolute;
209
212
  left: 0;
210
213
  bottom: 3px;
@@ -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.9
4
+ version: 0.0.10
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-04-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
@@ -91,8 +91,13 @@ 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
File without changes