bay_jekyll_theme 1.1.5 → 1.2.1

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: f2df31db5785443f6d7d2093070fc04dbcbe219ef9fdecb76939dab0f382daf4
4
- data.tar.gz: c8b60471fea414469c49cc0372931a9a20569d9e37b46f2fb54c5db046ef3cd4
3
+ metadata.gz: 1377e4b38497fb091a4d61f54b3a272420a5a30a8dcda145cd1755cf88e69a0f
4
+ data.tar.gz: '0838ea3804661e26f81ed0dcea8079aa4c7dd75e199aa58b2623591a8daa7122'
5
5
  SHA512:
6
- metadata.gz: 5a86503a1faec8f9a755beefb2e8f7387491efd4dcb2f0577aa546731cb66c8d05d235a4e079f6090b8d55b8d84b5df4b8b5b2266a6a23cd8dad75932b95a2f1
7
- data.tar.gz: b8a605cf614b56a0649dced2389f9b12dc02596855588eb7cba394aaa786843e70423e90e4e46ba42cdad151644a2d967267e9759e377a9726b420029304ed58
6
+ metadata.gz: 4f5b69b5525a1c72ab707796f5fba4c54258f7a5557298e655eb3da4086b195f8717b9d45ad0ef5ddf8f79665967255aeede702b256d15503f74f6cf494d5993
7
+ data.tar.gz: 8be989554da3da372acb0afe0ce0546a33cb3ac0de621a26081e927150acbd1e2a4d3194a7f582f1a9087590596a9b36ab413f4c8e0d9c7c8de05c4491836b45
data/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ### [1.2.1](https://github.com/eliottvincent/bay/compare/v1.2.0...v1.2.1) (2025-01-02)
6
+
7
+ ### Improvements
8
+
9
+ - Add slight border radius to pictures
10
+
11
+ ### [1.2.0](https://github.com/eliottvincent/bay/compare/v1.1.5...v1.2.0) (2025-01-02)
12
+
13
+ ### Features
14
+
15
+ - Upgrade Jekyll and Sass
16
+
5
17
  ### [1.1.5](https://github.com/eliottvincent/bay/compare/v1.1.4...v1.1.5) (2024-12-10)
6
18
 
7
19
  ### Bug Fixes
data/README.md CHANGED
@@ -17,7 +17,8 @@ Inspired by [dangrover.com](http://dangrover.com/). Current theme used at [eliot
17
17
  2. [Footer](#footer)
18
18
  3. [Home page](#home-page)
19
19
  4. [Blog page](#blog-page)
20
- 5. [Development instructions](#development)
20
+ 5. [GitHub Pages](#github-pages)
21
+ 6. [Development instructions](#development)
21
22
 
22
23
 
23
24
  ### Installation
@@ -66,7 +67,7 @@ jekyll serve
66
67
 
67
68
  The website will look somewhat empty at first. That's normal. Follow the next instructions to complete the header and footer components, and the home and blog pages.
68
69
 
69
- ### Header
70
+ #### Header
70
71
  Open the `_config.yml` file and add the following:
71
72
  ```yml
72
73
  header:
@@ -78,7 +79,7 @@ header:
78
79
  ```
79
80
  Re-run `jekyll serve` to see the header updated.
80
81
 
81
- ### Footer
82
+ #### Footer
82
83
  Open the `_config.yml` file and add the following:
83
84
  ```yml
84
85
  footer:
@@ -113,7 +114,7 @@ footer:
113
114
  ```
114
115
  Re-run `jekyll serve` to see the footer updated.
115
116
 
116
- ### Home page
117
+ #### Home page
117
118
  Create (or edit) the `index.markdown` file and add the following:
118
119
  ```yml
119
120
  ---
@@ -124,11 +125,11 @@ profile_picture:
124
125
  ---
125
126
 
126
127
  <p>
127
- Welcome to mysite!
128
+ Welcome to my site!
128
129
  </p>
129
130
  ```
130
131
 
131
- ### Blog page
132
+ #### Blog page
132
133
  Create `blog.markdown` file and add the following:
133
134
  ```yml
134
135
  ---
@@ -145,6 +146,16 @@ This is an example of a "Blog" page, displaying a list of posts.
145
146
  Your website is ready!
146
147
 
147
148
 
149
+ ### GitHub Pages
150
+
151
+ You can deploy your website to GitHub Pages, but you cannot use the 1-click GitHub Pages build and deploy system. The issue is that the Bay theme relies on Jekyll 4.3+ (which uses a more modern Sass processor), whereas the GitHub Pages build system uses an older version of Jekyll.
152
+
153
+ However, it's fairly easy to build and deploy your website with GitHub Actions, yet use GitHub Pages to host it.
154
+
155
+ Further explanations and instructions can be found on the official [Jekyll website](https://jekyllrb.com/docs/continuous-integration/github-actions/).
156
+
157
+ You can also refer to the [`.github/workflows/deploy.yml`](https://github.com/eliottvincent/bay/blob/master/.github/workflows/deploy.yml) file in this repository.
158
+
148
159
  ### Development
149
160
 
150
161
  #### Run development instance (with hot-reload)
@@ -32,20 +32,20 @@
32
32
  id="{{ contact.type }}-link"
33
33
  class="link email-link-cloaked"
34
34
  >
35
- {{ contact.name }}
35
+ {{- contact.name -}}
36
36
  </span>
37
37
  {% else %}
38
38
  <a href="mailto:{{ contact.value }}" id="{{ contact.type }}-link">
39
- {{ contact.value }}
39
+ {{- contact.value -}}
40
40
  </a>
41
41
  {% endif %}
42
42
  {% else %}
43
43
  <a href="{{ contact.link }}" id="{{ contact.type }}-link">
44
- {% if contact.value and contact.value != "" and contact.value != nil %}
44
+ {%- if contact.value and contact.value != "" and contact.value != nil -%}
45
45
  {{ contact.value }}
46
- {% else %}
46
+ {%- else -%}
47
47
  {{ contact.name }}
48
- {% endif %}
48
+ {%- endif -%}
49
49
  </a>
50
50
  {% endif %}
51
51
  </div>
@@ -68,11 +68,11 @@
68
68
  alt="{{ follow.name | downcase }}"
69
69
  />
70
70
  <a href="{{ follow.link }}">
71
- {% if follow.value and follow.value != "" and follow.value != nil %}
71
+ {%- if follow.value and follow.value != "" and follow.value != nil -%}
72
72
  {{ follow.value }}
73
- {% else %}
73
+ {%- else -%}
74
74
  {{ follow.name }}
75
- {% endif %}
75
+ {%- endif -%}
76
76
  </a>
77
77
  </div>
78
78
 
data/_includes/head.html CHANGED
@@ -51,13 +51,13 @@
51
51
 
52
52
  <!-- Twitter -->
53
53
  <meta property="twitter:card" content="summary_large_image"/>
54
- <meta property="twitter:url" content="{{ page_url }}"/>
54
+ <meta property="twitter:url" content="{{ page_url }}"/>
55
55
  <meta property="twitter:title" content="{{ page_title }}"/>
56
56
  <meta property="twitter:description" content="{{ page_description }}"/>
57
57
  <meta property="twitter:image" content="{{ page_image }}"/>
58
58
  {% if twitter_username %}
59
- <meta property="twitter:creator" content="{{ twitter_username }}"/>
60
- <meta property="twitter:site" content="{{ twitter_username }}"/>
59
+ <meta property="twitter:creator" content="{{ twitter_username }}"/>
60
+ <meta property="twitter:site" content="{{ twitter_username }}"/>
61
61
  {% endif %}
62
62
 
63
63
  <link rel="stylesheet" href="{{ "/assets/css/main.css" | absolute_url }}"/>
@@ -16,7 +16,7 @@
16
16
  {% endif %}
17
17
  {% assign page_link = page_link | absolute_url %}
18
18
  <a class="page-link" href="{{ page_link }}">
19
- {{ page.name }}
19
+ {{- page.name -}}
20
20
  </a>
21
21
  {% endfor %}
22
22
  </div>
data/_layouts/blog.html CHANGED
@@ -13,16 +13,13 @@
13
13
 
14
14
  <p class="blog-post-list">
15
15
  {% for post in site.posts %}
16
-
17
16
  {% if post.draft != true %}
18
17
  <span class="blog-post-date">{{ post.date | date: "%-m/%-d/%y" }}</span>
19
18
  <a href="{{ post.url | replace:".html","" | prepend: site.baseurl }}" class="blog-post-title">
20
- {{ post.title }}
19
+ {{- post.title -}}
21
20
  </a>
22
21
  <br />
23
-
24
22
  {% endif %}
25
-
26
23
  {% endfor %}
27
24
  </p>
28
25
  </div>
@@ -30,7 +27,6 @@
30
27
  </div>
31
28
 
32
29
  {% include footer.html %}
33
-
34
30
  {% include foot.html %}
35
31
  </body>
36
32
  </html>
@@ -12,7 +12,6 @@
12
12
  </div>
13
13
 
14
14
  {% include footer.html %}
15
-
16
15
  {% include foot.html %}
17
16
  </body>
18
17
  </html>
data/_layouts/post.html CHANGED
@@ -41,7 +41,6 @@
41
41
  </div>
42
42
 
43
43
  {% include footer.html %}
44
-
45
44
  {% include foot.html %}
46
45
  </body>
47
46
  </html>
data/_layouts/work.html CHANGED
@@ -30,7 +30,6 @@
30
30
  </div>
31
31
 
32
32
  {% include footer.html %}
33
-
34
33
  {% include foot.html %}
35
34
  </body>
36
35
  </html>
data/_sass/_base.scss CHANGED
@@ -1,3 +1,7 @@
1
+ @use "variables" as variables;
2
+ @use "mixins" as mixins;
3
+ @use "extends";
4
+
1
5
  /**
2
6
  * Reset some basic elements
3
7
  */
@@ -26,12 +30,12 @@ figure {
26
30
  * Basic styling
27
31
  */
28
32
  body {
29
- font-family: $base-font-family;
30
- font-size: $base-font-size;
31
- line-height: $base-line-height;
33
+ font-family: variables.$base-font-family;
34
+ font-size: variables.$base-font-size;
35
+ line-height: variables.$base-line-height;
32
36
  font-weight: 300;
33
- color: $text-color;
34
- background-color: $background-color;
37
+ color: variables.$color-text;
38
+ background-color: variables.$color-background;
35
39
  -webkit-text-size-adjust: 100%;
36
40
  }
37
41
 
@@ -52,7 +56,7 @@ ol,
52
56
  dl,
53
57
  figure,
54
58
  %vertical-rhythm {
55
- margin-bottom: $spacing-unit / 2;
59
+ margin-bottom: calc(variables.$spacing-unit / 2);
56
60
  }
57
61
 
58
62
  /**
@@ -72,7 +76,7 @@ figure > img {
72
76
  }
73
77
 
74
78
  figcaption {
75
- font-size: $small-font-size;
79
+ font-size: variables.$small-font-size;
76
80
  }
77
81
 
78
82
  /**
@@ -80,7 +84,7 @@ figcaption {
80
84
  */
81
85
  ul,
82
86
  ol {
83
- margin-left: $spacing-unit;
87
+ margin-left: variables.$spacing-unit;
84
88
  }
85
89
 
86
90
  li {
@@ -111,22 +115,22 @@ h4 {
111
115
  * Links
112
116
  */
113
117
  a {
114
- color: $brand-color;
118
+ color: variables.$color-brand;
115
119
  text-decoration: none;
116
120
 
117
121
  &:hover {
118
- color: $text-color;
122
+ color: variables.$color-text;
119
123
  text-decoration: underline;
120
124
  }
121
125
  }
122
126
 
123
127
  span.link {
124
128
  cursor: pointer;
125
- color: $brand-color;
129
+ color: variables.$color-brand;
126
130
  text-decoration: none;
127
131
 
128
132
  &:hover {
129
- color: $text-color;
133
+ color: variables.$color-text;
130
134
  text-decoration: underline;
131
135
  }
132
136
  }
@@ -142,9 +146,9 @@ strong {
142
146
  * Blockquotes
143
147
  */
144
148
  blockquote {
145
- color: $grey-color;
146
- border-left: 4px solid $grey-color-light;
147
- padding-left: $spacing-unit / 2;
149
+ color: variables.$color-grey;
150
+ border-left: 4px solid variables.$color-grey-light;
151
+ padding-left: calc(variables.$spacing-unit / 2);
148
152
  font-size: 100%;
149
153
  letter-spacing: -0.5px;
150
154
  font-style: italic;
@@ -160,7 +164,7 @@ blockquote {
160
164
  pre,
161
165
  code {
162
166
  font-size: 15px;
163
- border: 1px solid $grey-color-light;
167
+ border: 1px solid variables.$color-grey-light;
164
168
  border-radius: 3px;
165
169
  background-color: #eef;
166
170
  }
@@ -184,33 +188,21 @@ pre {
184
188
  * Wrapper
185
189
  */
186
190
  .wrapper {
187
- max-width: -webkit-calc(760px - (#{$spacing-unit} * 2));
188
- max-width: calc(760px - (#{$spacing-unit} * 2));
191
+ position: relative;
192
+ max-width: -webkit-calc(760px - (#{variables.$spacing-unit} * 2));
193
+ max-width: calc(760px - (variables.$spacing-unit * 2));
189
194
  margin-right: auto;
190
195
  margin-left: auto;
191
- padding-right: $spacing-unit;
192
- padding-left: $spacing-unit;
196
+ padding-right: variables.$spacing-unit;
197
+ padding-left: variables.$spacing-unit;
193
198
 
194
199
  @extend %clearfix;
195
200
 
196
- @include media-query($on-laptop) {
197
- max-width: -webkit-calc(800px - (#{$spacing-unit}));
198
- max-width: calc(800px - (#{$spacing-unit}));
199
- padding-right: $spacing-unit / 2;
200
- padding-left: $spacing-unit / 2;
201
- }
202
-
203
- position: relative;
204
- }
205
-
206
- /**
207
- * Clearfix
208
- */
209
- %clearfix {
210
- &:after {
211
- content: "";
212
- display: table;
213
- clear: both;
201
+ @include mixins.media-query(variables.$on-laptop) {
202
+ max-width: -webkit-calc(800px - (#{variables.$spacing-unit}));
203
+ max-width: calc(800px - variables.$spacing-unit);
204
+ padding-right: calc(variables.$spacing-unit / 2);
205
+ padding-left: calc(variables.$spacing-unit / 2);
214
206
  }
215
207
  }
216
208
 
@@ -225,7 +217,7 @@ pre {
225
217
  vertical-align: middle;
226
218
 
227
219
  path {
228
- fill: $grey-color;
220
+ fill: variables.$color-grey;
229
221
  }
230
222
  }
231
223
  }
data/_sass/_blog.scss CHANGED
@@ -1,3 +1,6 @@
1
+ @use "variables" as variables;
2
+ @use "mixins" as mixins;
3
+
1
4
  .blog-post-list {
2
5
  .blog-post-date {
3
6
  width: 6em;
@@ -5,7 +8,7 @@
5
8
  display: block;
6
9
  float: left;
7
10
 
8
- @include media-query($on-mobile) {
11
+ @include mixins.media-query(variables.$on-mobile) {
9
12
  display: block;
10
13
  float: none;
11
14
  color: #333;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Clearfix
3
+ */
4
+ %clearfix {
5
+ &:after {
6
+ content: "";
7
+ display: table;
8
+ clear: both;
9
+ }
10
+ }
data/_sass/_layout.scss CHANGED
@@ -1,20 +1,21 @@
1
+ @use "variables" as variables;
2
+ @use "mixins" as mixins;
3
+ @use "extends";
4
+
1
5
  /**
2
6
  * Site header
3
7
  */
4
8
  .site-header {
5
- border-bottom: 1px solid $grey-color-light;
9
+ position: relative;
10
+ border-bottom: 1px solid variables.$color-grey-light;
6
11
  min-height: 56px;
7
-
8
12
  padding-top: 10px;
9
13
  padding-bottom: 10px;
10
14
 
11
- @include media-query($on-mobile) {
15
+ @include mixins.media-query(variables.$on-mobile) {
12
16
  padding-top: 0;
13
17
  padding-bottom: 0;
14
18
  }
15
-
16
- // Positioning context for the mobile navigation icon
17
- position: relative;
18
19
  }
19
20
 
20
21
  .site-title {
@@ -29,7 +30,7 @@
29
30
 
30
31
  &,
31
32
  &:visited {
32
- color: $grey-color-dark;
33
+ color: variables.$color-grey-dark;
33
34
  }
34
35
  }
35
36
 
@@ -40,15 +41,15 @@
40
41
  z-index: 10;
41
42
  float: right;
42
43
  line-height: 56px;
43
- background-color: $background-color;
44
+ background-color: variables.$color-background;
44
45
 
45
46
  .menu-icon {
46
47
  display: none;
47
48
  }
48
49
 
49
50
  .page-link {
50
- color: $text-color;
51
- line-height: $base-line-height;
51
+ color: variables.$color-text;
52
+ line-height: variables.$base-line-height;
52
53
 
53
54
  // Gaps between nav items, but not on the first one
54
55
  &:not(:first-child) {
@@ -56,12 +57,12 @@
56
57
  }
57
58
  }
58
59
 
59
- @include media-query($on-mobile) {
60
+ @include mixins.media-query(variables.$on-mobile) {
60
61
  position: absolute;
61
62
  top: 12px;
62
63
  right: 24px;
63
64
 
64
- border: 1px solid $grey-color-light;
65
+ border: 1px solid variables.$color-grey-light;
65
66
  border-radius: 5px;
66
67
  text-align: right;
67
68
 
@@ -69,20 +70,20 @@
69
70
  display: block;
70
71
  float: right;
71
72
  border-radius: 5px;
72
- width: 36px;
73
+ width: 38px;
73
74
  height: 26px;
74
75
  line-height: 0;
75
76
  padding-top: 4px;
76
77
  text-align: center;
77
78
 
78
- background: $background-color url($base-url + '/assets/img/menu.png') 6px 4px no-repeat;
79
+ background: variables.$color-background url(variables.$base-url + "/assets/img/menu.png") 6px 4px no-repeat;
79
80
  background-size: 26px 26px;
80
81
  }
81
82
 
82
83
  .menu {
83
84
  clear: both;
84
85
  display: none;
85
- background-color: $background-color;
86
+ background-color: variables.$color-background;
86
87
  min-width: 10em;
87
88
  padding-bottom: 5px;
88
89
  }
@@ -99,17 +100,17 @@
99
100
  * Site footer
100
101
  */
101
102
  .site-footer {
102
- border-top: 1px solid $grey-color-light;
103
- padding: $spacing-unit 0;
103
+ border-top: 1px solid variables.$color-grey-light;
104
+ padding: variables.$spacing-unit 0;
104
105
 
105
- @include media-query($on-mobile) {
106
+ @include mixins.media-query(variables.$on-mobile) {
106
107
  padding-top: 10px;
107
108
  }
108
109
  }
109
110
 
110
111
  .footer-heading {
111
112
  font-size: 18px;
112
- margin-bottom: $spacing-unit / 2;
113
+ margin-bottom: calc(variables.$spacing-unit / 2);
113
114
  }
114
115
 
115
116
  .contact-list,
@@ -120,23 +121,23 @@
120
121
 
121
122
  .footer-col-wrapper {
122
123
  font-size: 15px;
123
- color: $grey-color;
124
- margin-left: -$spacing-unit / 2;
124
+ color: variables.$color-grey;
125
+ margin-left: calc(-1 * variables.$spacing-unit / 2);
125
126
 
126
127
  @extend %clearfix;
127
128
  }
128
129
 
129
130
  .footer-col {
130
131
  float: left;
131
- margin-bottom: $spacing-unit / 2;
132
- padding-left: $spacing-unit / 2;
132
+ margin-bottom: calc(variables.$spacing-unit / 2);
133
+ padding-left: calc(variables.$spacing-unit / 2);
133
134
  }
134
135
 
135
136
  .footer-col-1,
136
137
  .footer-col-2,
137
138
  .footer-col-3 {
138
- width: -webkit-calc(33% - (#{$spacing-unit} / 2));
139
- width: calc(33% - (#{$spacing-unit} / 2));
139
+ width: -webkit-calc(33% - (#{variables.$spacing-unit} / 2));
140
+ width: calc(33% - (variables.$spacing-unit / 2));
140
141
  }
141
142
 
142
143
  .follow-links > .social-link {
@@ -146,10 +147,10 @@
146
147
  .powered-by {
147
148
  text-align: end;
148
149
  font-size: 13px !important;
149
- color: $grey-color;
150
+ color: variables.$color-grey;
150
151
  }
151
152
 
152
- @include media-query($on-mobile) {
153
+ @include mixins.media-query(variables.$on-mobile) {
153
154
  .footer-col {
154
155
  float: none;
155
156
  width: 100%;
@@ -164,7 +165,7 @@
164
165
  * Page content
165
166
  */
166
167
  .page-content {
167
- padding: $spacing-unit 0;
168
+ padding: variables.$spacing-unit 0;
168
169
  }
169
170
 
170
171
  .page-heading {
@@ -0,0 +1,5 @@
1
+ @mixin media-query($device) {
2
+ @media screen and (max-width: $device) {
3
+ @content;
4
+ }
5
+ }
data/_sass/_post.scss CHANGED
@@ -1,5 +1,8 @@
1
+ @use "variables" as variables;
2
+ @use "mixins" as mixins;
3
+
1
4
  .post-header {
2
- margin-bottom: $spacing-unit;
5
+ margin-bottom: variables.$spacing-unit;
3
6
  }
4
7
 
5
8
  .post-title {
@@ -7,9 +10,9 @@
7
10
  letter-spacing: -1px;
8
11
  line-height: 1.2;
9
12
 
10
- font-family: $base-font-family;
13
+ font-family: variables.$base-font-family;
11
14
 
12
- @include media-query($on-mobile) {
15
+ @include mixins.media-query(variables.$on-mobile) {
13
16
  font-size: 34px;
14
17
  }
15
18
  }
@@ -19,12 +22,12 @@
19
22
  letter-spacing: -1px;
20
23
  line-height: 1;
21
24
  color: #777;
22
- font-family: $base-font-family;
25
+ font-family: variables.$base-font-family;
23
26
  font-style: oblique;
24
27
  position: relative;
25
28
  top: -0.3em;
26
29
 
27
- @include media-query($on-mobile) {
30
+ @include mixins.media-query(variables.$on-mobile) {
28
31
  font-size: 24px;
29
32
  }
30
33
  }
@@ -35,12 +38,12 @@
35
38
  }
36
39
 
37
40
  .post-content {
38
- margin-bottom: $spacing-unit;
41
+ margin-bottom: variables.$spacing-unit;
39
42
  width: 100%;
40
43
  h2 {
41
44
  font-size: 32px;
42
45
 
43
- @include media-query($on-mobile) {
46
+ @include mixins.media-query(variables.$on-mobile) {
44
47
  font-size: 28px;
45
48
  }
46
49
  }
@@ -48,7 +51,7 @@
48
51
  h3 {
49
52
  font-size: 26px;
50
53
 
51
- @include media-query($on-mobile) {
54
+ @include mixins.media-query(variables.$on-mobile) {
52
55
  font-size: 22px;
53
56
  }
54
57
  }
@@ -56,7 +59,7 @@
56
59
  h4 {
57
60
  font-size: 20px;
58
61
 
59
- @include media-query($on-mobile) {
62
+ @include mixins.media-query(variables.$on-mobile) {
60
63
  font-size: 18px;
61
64
  }
62
65
  }
@@ -64,6 +67,7 @@
64
67
 
65
68
  .post-pic {
66
69
  border: #999 1px solid;
70
+ border-radius: 4px;
67
71
  }
68
72
 
69
73
  .magnify {
data/_sass/_site.scss CHANGED
@@ -1,10 +1,14 @@
1
+ @use "variables" as variables;
2
+ @use "mixins" as mixins;
3
+
1
4
  .profile-pic {
2
5
  float: right;
3
6
  width: 202px;
4
7
  border: #ccc 1px solid;
8
+ border-radius: 3px;
5
9
  margin-left: 20px;
6
10
 
7
- @include media-query($on-mobile) {
11
+ @include mixins.media-query(variables.$on-mobile) {
8
12
  float: none;
9
13
  margin-bottom: 20px;
10
14
  margin-left: 0px;
@@ -44,7 +48,7 @@
44
48
  }
45
49
  }
46
50
 
47
- @include media-query($on-mobile) {
51
+ @include mixins.media-query(variables.$on-mobile) {
48
52
  font-size: 14px;
49
53
  line-height: 38px;
50
54
  }
@@ -0,0 +1,21 @@
1
+ @use "sass:color";
2
+
3
+ $base-url: "" !default;
4
+
5
+ $base-font-family: Charter, Georgia, Helvetica, Arial, sans-serif;
6
+ $base-font-size: 14px;
7
+ $small-font-size: $base-font-size * 0.875;
8
+ $base-line-height: 1.7;
9
+
10
+ $spacing-unit: 30px;
11
+
12
+ $color-text: #111;
13
+ $color-background: #fdfdfd;
14
+ $color-brand: #2a7ae2;
15
+
16
+ $color-grey: #828282;
17
+ $color-grey-light: color.adjust($color-grey, $lightness: 40%);
18
+ $color-grey-dark: color.adjust($color-grey, $lightness: -25%);
19
+
20
+ $on-mobile: 500px;
21
+ $on-laptop: 800px;
data/assets/css/main.scss CHANGED
@@ -1,35 +1,19 @@
1
1
  ---
2
- # Only the main Sass file needs front matter (the dashes are enough)
2
+ # Only the main Sass file needs Front Matter
3
3
  ---
4
4
 
5
5
  @charset "utf-8";
6
6
 
7
- // Our variables
8
- $base-url: "{{ site.baseurl }}";
9
-
10
- $base-font-family: Charter, Georgia, Helvetica, Arial, sans-serif;
11
- $base-font-size: 14px;
12
- $small-font-size: $base-font-size * 0.875;
13
- $base-line-height: 1.7;
14
-
15
- $spacing-unit: 30px;
16
-
17
- $text-color: #111;
18
- $background-color: #fdfdfd;
19
- $brand-color: #2a7ae2;
20
-
21
- $grey-color: #828282;
22
- $grey-color-light: lighten($grey-color, 40%);
23
- $grey-color-dark: darken($grey-color, 25%);
24
-
25
- $on-mobile: 500px;
26
- $on-laptop: 800px;
27
-
28
- @mixin media-query($device) {
29
- @media screen and (max-width: $device) {
30
- @content;
31
- }
32
- }
33
-
34
- // Import partials from `sass_dir` (defaults to `_sass`)
35
- @import "base", "layout", "site", "work", "blog", "post", "404";
7
+ @use "variables" with (
8
+ $base-url: "{{ site.baseurl }}"
9
+ );
10
+ @use "mixins";
11
+ @use "extends";
12
+
13
+ @use "base";
14
+ @use "layout";
15
+ @use "site";
16
+ @use "work";
17
+ @use "blog";
18
+ @use "post";
19
+ @use "not_found";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bay_jekyll_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eliott Vincent
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
11
+ date: 2025-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: 4.3.4
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.0'
26
+ version: 4.3.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -59,12 +59,15 @@ files:
59
59
  - _layouts/home.html
60
60
  - _layouts/post.html
61
61
  - _layouts/work.html
62
- - _sass/_404.scss
63
62
  - _sass/_base.scss
64
63
  - _sass/_blog.scss
64
+ - _sass/_extends.scss
65
65
  - _sass/_layout.scss
66
+ - _sass/_mixins.scss
67
+ - _sass/_not_found.scss
66
68
  - _sass/_post.scss
67
69
  - _sass/_site.scss
70
+ - _sass/_variables.scss
68
71
  - _sass/_work.scss
69
72
  - assets/css/main.scss
70
73
  - assets/img/content/post-example/Banner.jpg
@@ -105,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
108
  - !ruby/object:Gem::Version
106
109
  version: '0'
107
110
  requirements: []
108
- rubygems_version: 3.3.26
111
+ rubygems_version: 3.5.22
109
112
  signing_key:
110
113
  specification_version: 4
111
114
  summary: A simple and minimal Jekyll theme..
File without changes