jekyll-theme-tallneck 0.2.9 → 0.2.11

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: 2647b1da7bc080b63ccdd0520e4e9897827c316129ff89e8ecdb2dd7d125e44b
4
- data.tar.gz: dab357125f056b5ab2224ff8562a18ada4795e0e5e729cbea1097b3827476692
3
+ metadata.gz: f1a217db979d50b8732fb8cc27e72eaf871c1f9a8692d950cbaf17fe5a7adcdf
4
+ data.tar.gz: 0470d1a2fc6a8d05cc99d43cbb760343180a0d6d4c75c86b657878b48c045078
5
5
  SHA512:
6
- metadata.gz: 4aee0e477ff38be742a5b66084988e8225922f218730ddcdf6cee8e44bb029693474ca2b438c9e466dfb6388fbf0034ca6f431c6ee21dd190bd9d3a76ca61c16
7
- data.tar.gz: b41906e26ef6f6548a3dc80c5d00676b03e79461a525949a1cacc85609e94a1ce3d3e104067b8bd65385e2bb748672abbf78a4c8f414f7d5c7c6d2c171fb6925
6
+ metadata.gz: d5284ee618df82f9698b3892c79c2dc0ea394cc46ea663b5cb5dc720a20a6ea3f69564bfd5059bd001b66e3fa2d394728066dafbe42eeac8262639193c214139
7
+ data.tar.gz: 179bc25cd5883b16d1f5d00d4415a673c9ad273159200ed33c56895d60c84cbee815b528d6e65e42e6306b5cfee9b2bac1416fe7c6ce1506cf271f51a182a74d
@@ -1,8 +1,11 @@
1
+ @use "variables";
2
+ @use "font";
3
+
1
4
  /*
2
5
  * Base
3
6
  */
4
7
  html {
5
- min-width: $min-width;
8
+ min-width: variables.$min-width;
6
9
  }
7
10
 
8
11
  *,
@@ -14,8 +17,8 @@ html {
14
17
  body {
15
18
  height: 100%;
16
19
 
17
- font-size: $base-font-size;
18
- font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
20
+ font-size: variables.$base-font-size;
21
+ font: variables.$base-font-weight #{variables.$base-font-size}/#{variables.$base-line-height} variables.$base-font-family;
19
22
  color: var(--text-primary);
20
23
 
21
24
  text-rendering: optimizeLegibility;
@@ -30,7 +33,7 @@ body {
30
33
 
31
34
  main {
32
35
  display: block;
33
- max-width: $main-max-width;
36
+ max-width: variables.$main-max-width;
34
37
  }
35
38
 
36
39
  a {
@@ -79,7 +82,7 @@ abbr[title] {
79
82
  */
80
83
  pre,
81
84
  code {
82
- font-family: $code-font-family;
85
+ font-family: variables.$code-font-family;
83
86
  font-size: 0.9em;
84
87
  border: 1px solid var(--border-secondary);
85
88
  border-radius: 3px;
@@ -115,7 +118,7 @@ pre {
115
118
  */
116
119
  table {
117
120
  max-width: 100%;
118
- text-align: $table-text-align;
121
+ text-align: variables.$table-text-align;
119
122
  border-collapse: collapse;
120
123
  border: 1px solid var(--border-primary);
121
124
 
@@ -1,12 +1,10 @@
1
+ @use "../variables";
2
+
1
3
  .about {
2
4
  display: grid;
3
- grid-template-columns: minmax($about-img-min-width, $about-img-max-width) 1fr;
5
+ grid-template-columns: minmax(variables.$about-img-min-width, variables.$about-img-max-width) 1fr;
4
6
  grid-template-rows: auto;
5
7
 
6
- @media (max-width: $about-wrap-max-width) {
7
- grid-template-columns: 1fr;
8
- }
9
-
10
8
  justify-content: space-between;
11
9
 
12
10
  margin-left: auto;
@@ -15,6 +13,10 @@
15
13
  align-items: center;
16
14
 
17
15
  gap: 20px;
16
+
17
+ @media (max-width: variables.$about-wrap-max-width) {
18
+ grid-template-columns: 1fr;
19
+ }
18
20
 
19
21
  .about--img {
20
22
  flex: 1 1 38%;
@@ -23,8 +25,8 @@
23
25
  width: 100%;
24
26
  height: auto;
25
27
 
26
- max-width: $about-img-max-width;
27
- min-width: $about-img-min-width;
28
+ max-width: variables.$about-img-max-width;
29
+ min-width: variables.$about-img-min-width;
28
30
 
29
31
  margin-left: auto;
30
32
  margin-right: auto;
@@ -1,8 +1,14 @@
1
+ @use "../variables";
2
+
1
3
  .post-card-container {
2
4
  display: grid;
3
5
  gap: 1rem;
4
6
  grid-template-columns: 1fr 1fr 1fr 1fr;
5
- grid-auto-rows: minmax($card-min-height, 1fr);
7
+ grid-auto-rows: minmax(variables.$card-min-height, 1fr);
8
+
9
+ justify-items: center;
10
+
11
+ height: fit-content;
6
12
 
7
13
  @media (max-width: 1100px) and (min-width: 800px) {
8
14
  grid-template-columns: 1fr 1fr;
@@ -20,13 +26,10 @@
20
26
  grid-template-columns: 1fr;
21
27
  }
22
28
 
23
- justify-items: center;
24
-
25
- height: fit-content;
26
29
  }
27
30
 
28
31
  .post-card {
29
- max-width: $card-max-width;
32
+ max-width: variables.$card-max-width;
30
33
 
31
34
 
32
35
  vertical-align: middle;
@@ -1,3 +1,5 @@
1
+ @use "../variables";
2
+
1
3
  .post-preview-container {
2
4
  width: 100%;
3
5
  height: fit-content;
@@ -1,3 +1,5 @@
1
+ @use "../variables";
2
+
1
3
  /*
2
4
  * Post
3
5
  */
@@ -1 +1,4 @@
1
- @import "components/post", "components/post-card", "components/post-preview", "components/about.scss";
1
+ @forward "components/post";
2
+ @forward "components/post-card";
3
+ @forward "components/post-preview";
4
+ @forward "components/about.scss";
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  .page-footer {
2
4
  position: relative;
3
5
  padding-left: 1rem;
@@ -41,7 +43,7 @@
41
43
  }
42
44
 
43
45
  .footer-hr {
44
- max-width: $main-max-width + calc($content-width-overflow/2);
46
+ max-width: variables.$main-max-width + calc(variables.$content-width-overflow/2);
45
47
  border: 0;
46
48
  border-top: 1px solid var(--border-primary);
47
49
 
@@ -1,3 +1,5 @@
1
+ @use "variables";
2
+
1
3
  .page-header {
2
4
  position: relative;
3
5
  z-index: 100;
@@ -22,7 +24,7 @@
22
24
  width: 100%;
23
25
  height: 100%;
24
26
 
25
- max-width: $main-max-width - $content-width-overflow;
27
+ max-width: variables.$main-max-width - variables.$content-width-overflow;
26
28
 
27
29
  display: flex;
28
30
  justify-content: space-between;
@@ -1,4 +1,7 @@
1
- @import "footer", "header";
1
+ @use "variables";
2
+ @use "footer";
3
+ @use "header";
4
+
2
5
 
3
6
  .page-main {
4
7
  position: relative;
@@ -45,7 +48,7 @@
45
48
  }
46
49
 
47
50
  .content-width {
48
- max-width: $content-width;
51
+ max-width: variables.$content-width;
49
52
  margin-left: auto;
50
53
  margin-right: auto;
51
54
  }
data/_sass/tallneck.scss CHANGED
@@ -1,10 +1,3 @@
1
- @import "tallneck/font";
2
- @import "tallneck/variables";
3
-
4
- @import "custom_variables";
5
-
6
- @import "tallneck/base";
7
- @import "tallneck/layout";
8
- @import "tallneck/components";
9
-
10
- @import "custom_layout";
1
+ @forward "tallneck/base";
2
+ @forward "tallneck/layout";
3
+ @forward "tallneck/components";
data/assets/css/code.scss CHANGED
@@ -3,4 +3,5 @@
3
3
 
4
4
  @charset "utf-8";
5
5
 
6
- @import "light_code", "dark_code";
6
+ @use "light_code";
7
+ @use "dark_code";
@@ -3,4 +3,4 @@
3
3
 
4
4
  @charset "utf-8";
5
5
 
6
- @import "tallneck";
6
+ @use "tallneck";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-tallneck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Toniutti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-06 00:00:00.000000000 Z
11
+ date: 2024-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -34,44 +34,62 @@ dependencies:
34
34
  name: jekyll-feed
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0.17'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '1.0'
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ">="
45
48
  - !ruby/object:Gem::Version
46
49
  version: '0.17'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '1.0'
47
53
  - !ruby/object:Gem::Dependency
48
54
  name: jekyll-seo-tag
49
55
  requirement: !ruby/object:Gem::Requirement
50
56
  requirements:
51
- - - "~>"
57
+ - - ">="
52
58
  - !ruby/object:Gem::Version
53
59
  version: '2.8'
60
+ - - "<"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.0'
54
63
  type: :runtime
55
64
  prerelease: false
56
65
  version_requirements: !ruby/object:Gem::Requirement
57
66
  requirements:
58
- - - "~>"
67
+ - - ">="
59
68
  - !ruby/object:Gem::Version
60
69
  version: '2.8'
70
+ - - "<"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.0'
61
73
  - !ruby/object:Gem::Dependency
62
74
  name: jekyll-sitemap
63
75
  requirement: !ruby/object:Gem::Requirement
64
76
  requirements:
65
- - - "~>"
77
+ - - ">="
66
78
  - !ruby/object:Gem::Version
67
79
  version: '1.4'
80
+ - - "<"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.0'
68
83
  type: :runtime
69
84
  prerelease: false
70
85
  version_requirements: !ruby/object:Gem::Requirement
71
86
  requirements:
72
- - - "~>"
87
+ - - ">="
73
88
  - !ruby/object:Gem::Version
74
89
  version: '1.4'
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: '2.0'
75
93
  - !ruby/object:Gem::Dependency
76
94
  name: bundler
77
95
  requirement: !ruby/object:Gem::Requirement
@@ -106,8 +124,6 @@ files:
106
124
  - _layouts/feed.html
107
125
  - _layouts/home.html
108
126
  - _layouts/post.html
109
- - _sass/custom_layout.scss
110
- - _sass/custom_variables.scss
111
127
  - _sass/dark_code.scss
112
128
  - _sass/light_code.scss
113
129
  - _sass/tallneck.scss
@@ -1 +0,0 @@
1
- // Copy this file to your _sass folder and add your own customizations to override the default settings
@@ -1 +0,0 @@
1
- // Copy this file to your _sass folder and add your own variables to override the default settings