jekyll-theme-handwritten 4.0.1 → 4.2.0

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: d4e3f0a3a52c59bb50bba8448f048cd81662b3dd79000e2a3f3014016d88356d
4
- data.tar.gz: d1a2639f84f633cf276106eb3354f62228797f2f9b1795a5bb819787165d0a37
3
+ metadata.gz: fa73ab7582532db7dc7b56dc3937b93208c08abb91573f8256f88d6dc56bdf03
4
+ data.tar.gz: 8f2bdd8bee55fb63e82a57467da0cfe93a408e810d4ca76dbd32b745207cb8b2
5
5
  SHA512:
6
- metadata.gz: c31c5deee4de58ecb62497110086236defce08624325cf6f3b4c8ea74085d6c8d4929bb8b3ecba923c98b32410436baaf52ee78411e1bef2a72c0d122240c802
7
- data.tar.gz: 41d5f31c38f9952134e1c8fb8f0ae63a7212789035c429b50983f0dc4ce35fa62ac74b2b57c926853d515f502f8c28ffd24115de32e3d77ad36d59ed4a8080e6
6
+ metadata.gz: 0f5e9e7ae228410dc0353d41a145d5a38d87314b5cb2e7ba5e95b99e1c0c97b49afddd29d34edfbe19cc3d5a134bc0cb518e1d7acec7bd0e7fc38f104d1bfbc2
7
+ data.tar.gz: ef52cf1d3bae03f119fbc0e4a6d64de7ec932a0e00eecf93326860efad0ca53d09101376c2391db01cdfcea1ff686d330220b78233a4cba68089fbfed43130ad
data/README.md CHANGED
@@ -72,7 +72,7 @@ TODO: Write usage instructions here. Describe your available layouts, includes,
72
72
 
73
73
  ## Contributing
74
74
 
75
- Bug reports and pull requests are welcome on GitHub at https://github.com/gulnoor/darkBlog
75
+ Bug reports and pull requests are welcome on GitHub at https://github.com/gulnoor/jekyll-theme-handwritten
76
76
 
77
77
  ## License
78
78
 
@@ -1,6 +1,26 @@
1
1
  <footer class="site-footer h-card">
2
2
  <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
3
  <div class="wrapper">
4
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 675.2543454170227 29.03554949708291"
5
+ width="2025.7630362510681" height="87.10664849124873" class="divider-svg" >
6
+ <!-- svg-source:excalidraw -->
7
+
8
+ <defs>
9
+ <style class="style-fonts">
10
+
11
+ </style>
12
+
13
+ </defs>
14
+ <g stroke-linecap="round">
15
+ <g transform="translate(11.685941191315635 18.671896285414732) rotate(0 325.1999816894531 -3.600006103515625)">
16
+ <path
17
+ class="divider-path"
18
+ d="M1.14 0.36 C108.79 -0.55, 540.18 -3.69, 648.3 -4.91 M-1.69 -1.91 C106.62 -3.63, 545.32 -8.38, 653.57 -8.67"
19
+ fill="none" ></path>
20
+ </g>
21
+ </g>
22
+ <mask></mask>
23
+ </svg>
4
24
  <h2 class="footer-heading">{{ site.title | escape }}</h2>
5
25
  <div class="footer-col-wrapper">
6
26
  <div class="footer-col footer-col-1">
@@ -1,17 +1,23 @@
1
1
  {%- if page_paths -%}
2
- <nav class="navrail">
3
- <a class="navrail-button" href="/">
4
- <img class="navrail-icon" src="{{- site.home_icon | relative_url -}}" />
5
- Home</a
6
- >
7
-
8
- {%- for path in page_paths -%} {%- assign my_page = site.pages | where:
9
- 'path', path | first -%} {%- if my_page.title -%}
10
- <a class="navrail-button" href="{{ my_page.url | relative_url }}">
11
- {%- if my_page.title -%}
12
- <img class="navrail-icon" src="{{- my_page.icon | relative_url -}}" />
13
- {%- endif -%} {{ my_page.title | escape }}
14
- </a>
15
- {%- endif -%} {%- endfor -%}
16
- </nav>
2
+ <nav class="navrail">
3
+ <a class="navrail-button" href="/">
4
+ <img
5
+ class="navrail-icon"
6
+ src="{{- "/assets/theme-assets/theme-icons/home2.svg" | relative_url -}}"
7
+ >
8
+ Home</a
9
+ >
10
+ {%- for path in page_paths -%}
11
+ {%- assign my_page = site.pages | where: 'path', path | first -%}
12
+ {%- if my_page.title -%}
13
+ <a class="navrail-button" href="{{ my_page.url | relative_url }}">
14
+ {%- if my_page.title -%}
15
+ <img class="navrail-icon" src="{{- my_page.icon | relative_url -}}">
16
+ {%- endif -%}
17
+ {{ my_page.title | escape }}
18
+ </a>
19
+ {%- endif -%}
20
+ {%- endfor -%}
21
+
22
+ </nav>
17
23
  {%- endif -%}
@@ -19,6 +19,7 @@ ul,
19
19
  figure {
20
20
  margin: 0;
21
21
  padding: 0;
22
+ box-sizing: border-box;
22
23
  }
23
24
  .dark-yellow {
24
25
  --md-sys-color-primary: rgb(219 198 110);
@@ -4,10 +4,14 @@
4
4
 
5
5
  .site-header {
6
6
  border-top: 5px solid var(--md-sys-color-outline-dark);
7
+
7
8
  // border-bottom: 1px solid var(--md-sys-color-outline);
8
9
  min-height: $spacing-unit * 1.865;
9
10
  // Positioning context for the mobile navigation icon
10
11
  position: relative;
12
+ @media screen and (min-width:601px) {
13
+ padding-top: 24px;
14
+ }
11
15
  }
12
16
 
13
17
  .site-title {
@@ -18,12 +22,12 @@
18
22
  letter-spacing: -1px;
19
23
  margin-bottom: 0;
20
24
  // margin-top: 12px;
21
- font-size: 56px;
25
+ font-size: 64px;
22
26
  padding-right: 0;
23
27
  // float: left;
24
28
 
25
29
  @include media-query($on-palm) {
26
- font-size: 38px;
30
+ font-size: 46px;
27
31
  }
28
32
 
29
33
  &,
@@ -137,7 +141,7 @@
137
141
  * Site footer
138
142
  */
139
143
  .site-footer {
140
- border-top: 1px solid var(--md-sys-color-outline);
144
+ // border-top: 1px solid var(--md-sys-color-outline);
141
145
  padding: $spacing-unit 0;
142
146
  @include media-query($on-palm){
143
147
  padding-bottom: 100px
@@ -256,6 +260,7 @@
256
260
  @include relative-font-size(2.625);
257
261
  letter-spacing: -1px;
258
262
  line-height: 1;
263
+ margin: 24px;
259
264
 
260
265
  @include media-query($on-laptop) {
261
266
  @include relative-font-size(2.25);
@@ -289,3 +294,4 @@
289
294
  }
290
295
  }
291
296
  }
297
+
@@ -1,6 +1,5 @@
1
1
  .theme-picker {
2
2
  display: flex;
3
- // width: 100%;
4
3
  padding-top: 12px;
5
4
  padding-bottom: 12px;
6
5
  padding-right: 15px;
@@ -8,29 +7,28 @@
8
7
  justify-content: flex-end;
9
8
  }
10
9
  .all-post-wrapper {
11
- max-width: 800px;
10
+ max-width: 1200px;
12
11
  margin-left: auto;
13
12
  margin-right: auto;
14
13
  }
15
14
  .post-list {
15
+ display: grid;
16
+ grid-template-columns: repeat(6, 1fr);
17
+ gap: 8px;
18
+ grid-auto-flow: row;
19
+ grid-auto-rows: minmax(200px, auto);
16
20
  margin-left: 0;
17
21
  list-style: none;
18
-
19
- > li {
20
- margin-bottom: $spacing-unit;
21
- }
22
22
  }
23
23
  .post-card {
24
- // border: 1px solid var(--md-sys-color-outline);
25
- // overflow: visible;
26
24
  position: relative;
27
- // padding: 20px;
25
+ grid-column: auto / span 2;
28
26
  box-sizing: border-box;
29
27
  display: flex;
30
28
  flex-direction: column;
31
29
  border-radius: 14px;
32
- padding: 12px;
33
- background-color: var(--md-sys-color-surface-container);
30
+ padding: 20px;
31
+ border: 1px solid var(--md-sys-color-outline);
34
32
  & p {
35
33
  display: -webkit-box;
36
34
  line-clamp: 3;
@@ -38,26 +36,27 @@
38
36
  -webkit-box-orient: vertical;
39
37
  overflow: hidden;
40
38
  }
39
+ @media screen and (max-width: 1200px) {
40
+ grid-column: auto/span 3;
41
+ }
42
+ @media screen and (max-width: 800px) {
43
+ grid-column: auto/span 6;
44
+ }
41
45
  }
42
46
  .pinned-post-card {
43
- // border: 1px solid var(--md-sys-color-outline);
44
- // overflow: visible;
45
47
  position: relative;
46
- // padding: 20px;
47
48
  box-sizing: border-box;
48
49
  display: flex;
49
50
  flex-direction: column;
50
51
  border-radius: 14px;
51
52
  padding: 12px;
52
53
  width: 30%;
53
- background-color: var(--md-sys-color-surface-container);
54
54
  background-color: var(--md-sys-color-primary-container);
55
55
  & p,
56
56
  span,
57
57
  a {
58
58
  color: var(--md-sys-color-on-primary-container);
59
59
  }
60
-
61
60
  & img {
62
61
  background-color: var(--md-sys-color-surface-container-high);
63
62
  border-radius: 24px;
@@ -77,35 +76,18 @@
77
76
  }
78
77
  }
79
78
 
80
- // .post-card::before {
81
- // content: "";
82
- // position: absolute;
83
- // top: -10px;
84
- // left: -12px;
85
- // right: -10px;
86
- // bottom: -10px;
87
- // // width: calc(100% + 12px);
88
- // // height: calc(100% + 12px);
89
- // z-index: 10;
90
- // background-image: url("/assets/theme-assets/theme-images/border-thick.svg");
91
- // background-size: 100% 100%;
92
- // filter: var(--outline-filter);
93
- // pointer-events: none; /* Allows interaction with content inside the border */
94
- // }
95
79
  .pinned-post-list {
96
80
  display: flex;
97
- width: fit-content;
81
+ margin-left: 0;
98
82
  flex-wrap: wrap;
99
83
  justify-content: space-around;
100
84
  padding-top: 12px;
101
- margin-left: 0;
102
85
  list-style: none;
103
86
  background-color: var(--md-sys-color-surface-container);
104
87
  border-radius: 24px;
105
88
  padding: $spacing-unit;
106
89
  min-height: 390px;
107
90
  @media screen and (max-width: 850px) {
108
- // background-color: var(--md-sys-color-secondary-container);
109
91
  padding: $spacing-unit/2;
110
92
  min-height: 200px;
111
93
  }
@@ -121,8 +103,6 @@
121
103
  left: -12px;
122
104
  right: -10px;
123
105
  bottom: -10px;
124
- // width: calc(100% + 12px);
125
- // height: calc(100% + 12px);
126
106
  z-index: 10;
127
107
  background-image: url("/assets/theme-assets/theme-images/border-thick.svg");
128
108
  background-size: 100% 100%;
@@ -138,9 +118,13 @@
138
118
  justify-content: flex-start;
139
119
  align-items: center;
140
120
  z-index: 99;
141
- padding: 80px 0 30px 12px;
121
+ padding: 30px 8px 30px 16px;
122
+ box-sizing: border-box;
142
123
  width: 100px;
143
124
  background-color: var(--md-sys-color-surface);
125
+ @media screen and (min-width: 1360px) {
126
+ width: 130px;
127
+ }
144
128
 
145
129
  @include media-query($on-palm) {
146
130
  flex-direction: row;
@@ -171,17 +155,27 @@
171
155
  color: var(--md-sys-color-on-surface);
172
156
  }
173
157
  .navrail-icon {
174
- // filter: var(--outline-filter);
175
158
  max-width: 40px;
176
159
  }
177
160
 
178
161
  .theme-selector {
179
162
  position: relative;
180
163
  display: flex;
181
- // width: 100%;
182
164
  justify-content: flex-end;
183
- padding: 12px;
184
- padding-top: 18px;
165
+ margin-left: auto;
166
+ padding: 6px;
167
+ margin-top: 8px;
168
+ margin-right: 8px;
169
+ border-radius: 99px;
170
+ background-color: rgba(70, 70, 70, 0.233);
171
+ backdrop-filter: blur(8px);
172
+ width: fit-content;
173
+ @media screen and (min-width: 601px) {
174
+ position: fixed;
175
+ z-index: 103;
176
+ bottom: 10px;
177
+ left: 30px;
178
+ }
185
179
  }
186
180
 
187
181
  .current-theme {
@@ -193,20 +187,12 @@
193
187
  cursor: pointer;
194
188
  transition: transform 0.3s;
195
189
  }
196
-
197
190
  .theme-options {
198
- // position: absolute;
199
191
  display: flex;
200
- // top: 50%;
201
- // right: 20px;
202
- // transform: translate(-50%, -50%);
203
- // display: none;
204
- // flex-wrap: wrap;
205
192
  gap: 10px;
206
193
  max-width: 0px;
207
194
  transition: all 0.3s;
208
195
  }
209
-
210
196
  .theme-option {
211
197
  width: 26px;
212
198
  height: 26px;
@@ -232,8 +218,6 @@
232
218
  top: -34px;
233
219
  right: 15px;
234
220
  z-index: 11;
235
-
236
- // filter: var(--outline-filter);
237
221
  }
238
222
  .pin-path {
239
223
  stroke: var(--md-sys-color-tertiary);
@@ -245,4 +229,22 @@ h1 {
245
229
  .tagline {
246
230
  font-family: "Comic Shanns", $base-font-family;
247
231
  text-align: center;
232
+ font-size: 1.2rem;
233
+ }
234
+ .home {
235
+ max-width: 1200px;
236
+ margin-left: auto;
237
+ margin-right: auto;
238
+ }
239
+ .divider-path {
240
+ stroke: var(--md-sys-color-outline);
241
+ stroke-width: 2;
242
+ }
243
+ .divider-svg {
244
+ width: 100%;
245
+ height: auto;
246
+ margin-left: auto;
247
+ margin-right: auto;
248
+ @include media-query($on-palm) {
249
+ }
248
250
  }
data/_sass/minima.scss CHANGED
@@ -8,7 +8,7 @@ $base-font-weight: 400 !default;
8
8
  $small-font-size: $base-font-size * 0.875 !default;
9
9
  $base-line-height: 1.5 !default;
10
10
 
11
- $spacing-unit: 30px !default;
11
+ $spacing-unit: 16px !default;
12
12
 
13
13
  $text-color: var(--md-sys-color-on-surface) !default;
14
14
  $background-color: var(--md-sys-color-background) !default;
@@ -1,10 +1,20 @@
1
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 675.2543454170227 29.03554949708291" width="2025.7630362510681" height="87.10664849124873" filter="invert(93%) hue-rotate(180deg)">
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 675.2543454170227 29.03554949708291"
2
+ width="2025.7630362510681" height="87.10664849124873" >
2
3
  <!-- svg-source:excalidraw -->
3
-
4
+
4
5
  <defs>
5
6
  <style class="style-fonts">
6
-
7
+
7
8
  </style>
8
-
9
+
9
10
  </defs>
10
- <g stroke-linecap="round"><g transform="translate(11.685941191315635 18.671896285414732) rotate(0 325.1999816894531 -3.600006103515625)"><path d="M1.14 0.36 C108.79 -0.55, 540.18 -3.69, 648.3 -4.91 M-1.69 -1.91 C106.62 -3.63, 545.32 -8.38, 653.57 -8.67" stroke="#1e1e1e" stroke-width="2" fill="none"></path></g></g><mask></mask></svg>
11
+ <g stroke-linecap="round">
12
+ <g transform="translate(11.685941191315635 18.671896285414732) rotate(0 325.1999816894531 -3.600006103515625)">
13
+ <path
14
+ class="divider-path"
15
+ d="M1.14 0.36 C108.79 -0.55, 540.18 -3.69, 648.3 -4.91 M-1.69 -1.91 C106.62 -3.63, 545.32 -8.38, 653.57 -8.67"
16
+ fill="none"></path>
17
+ </g>
18
+ </g>
19
+ <mask></mask>
20
+ </svg>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-handwritten
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gul Noor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-28 00:00:00.000000000 Z
11
+ date: 2024-07-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: