jekyll-theme-handwritten 4.1.0 → 4.3.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: 879406d10c6dd630c0079f455e4424c1374f92fab81a8bf334eccf43e54a3ac5
4
- data.tar.gz: b17117773c32fdb050446c04ae3a56260ed3ffe680b113efed7d2e9c6f342aa6
3
+ metadata.gz: 25d369dceee1c17964e9499f8736fccb7cf7ac2342aed7e65c7b88a9c3886b50
4
+ data.tar.gz: e5d190d417e2671357aa04be899c85d37d977db03431ccb42d33f4b325979fde
5
5
  SHA512:
6
- metadata.gz: eb318487faa4ffa99f8f0ad019c0359a18f8a6d00caf4827ba404fb931443353e3041caf52c36fe8bcf46cbb6093815808bfde4f0c75a7ef66e9600ad3e7f3ef
7
- data.tar.gz: c91b08e8b0a4b8911c6608e5eb4dba305213bcdbbd27ab10d0e2233c34b9be1509412c0543313cb8be8a36d5dc240b5e634c4b802a7c7f6c62bd8de5433e6781
6
+ metadata.gz: bfa82d0691111075cb02de5d7c53d8d46f774c87c5ef5d33d9e48efe9b08d61768c4007c09afa435dbd5f81166b291122c750116c7a97010723a53978d302ce4
7
+ data.tar.gz: 7268bb7790b9294a5504cd7c93ff42869fa6d579356422d3223aa4ef2342714dade047aba858a743dd84049ed30a711627994e72cbf005034e4d75959aa6cd3e
data/README.md CHANGED
@@ -63,6 +63,17 @@ Or install it yourself as:
63
63
 
64
64
  ## Usage
65
65
 
66
+ To pin a post add `status: pinned` to the front matter of the post markdown file e.g
67
+
68
+ ```yaml
69
+ ---
70
+ layout: post
71
+ title: "Welcome to Jekyll!"
72
+ status: pinned
73
+ ---
74
+ <!-- post content -->
75
+ ```
76
+
66
77
  TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
67
78
 
68
79
  ### TODO
data/_includes/head.html CHANGED
@@ -9,6 +9,13 @@
9
9
  type="font/woff2"
10
10
  crossorigin
11
11
  >
12
+ <link
13
+ rel="preload"
14
+ href="/assets/theme-assets/theme-fonts/comic shanns.otf"
15
+ as="font"
16
+ type="font/otf"
17
+ crossorigin
18
+ >
12
19
  {% comment %} {%- seo -%} {% endcomment %}
13
20
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
14
21
  <script>
@@ -7,7 +7,6 @@
7
7
  >
8
8
  Home</a
9
9
  >
10
-
11
10
  {%- for path in page_paths -%}
12
11
  {%- assign my_page = site.pages | where: 'path', path | first -%}
13
12
  {%- if my_page.title -%}
@@ -19,5 +18,6 @@
19
18
  </a>
20
19
  {%- endif -%}
21
20
  {%- endfor -%}
21
+
22
22
  </nav>
23
23
  {%- endif -%}
@@ -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 {
@@ -83,6 +87,7 @@
83
87
  top: 12px;
84
88
  left: 12px;
85
89
  background-color: var(--md-sys-color-surface-container);
90
+ backdrop-filter: blur(8px);
86
91
  border-radius: 8px;
87
92
  text-align: right;
88
93
  padding-bottom: 3px;
@@ -19,10 +19,6 @@
19
19
  grid-auto-rows: minmax(200px, auto);
20
20
  margin-left: 0;
21
21
  list-style: none;
22
-
23
- // > li {
24
- // margin-bottom: $spacing-unit/2;
25
- // }
26
22
  }
27
23
  .post-card {
28
24
  position: relative;
@@ -55,6 +51,8 @@
55
51
  border-radius: 14px;
56
52
  padding: 12px;
57
53
  width: 30%;
54
+ transform-origin: top right;
55
+ animation: pin 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
58
56
  background-color: var(--md-sys-color-primary-container);
59
57
  & p,
60
58
  span,
@@ -107,8 +105,6 @@
107
105
  left: -12px;
108
106
  right: -10px;
109
107
  bottom: -10px;
110
- // width: calc(100% + 12px);
111
- // height: calc(100% + 12px);
112
108
  z-index: 10;
113
109
  background-image: url("/assets/theme-assets/theme-images/border-thick.svg");
114
110
  background-size: 100% 100%;
@@ -121,7 +117,7 @@
121
117
  display: flex;
122
118
  flex-direction: column;
123
119
  height: 100vh;
124
- justify-content: center;
120
+ justify-content: flex-start;
125
121
  align-items: center;
126
122
  z-index: 99;
127
123
  padding: 30px 8px 30px 16px;
@@ -137,7 +133,7 @@
137
133
  bottom: 0;
138
134
  width: 100vw;
139
135
  height: fit-content;
140
- background-color: var(--md-sys-color-surface-container-highest);
136
+ background-color: var(--md-sys-color-surface-container);
141
137
  padding: 0px;
142
138
  box-shadow: 0px -4px 16px 0px var(--md-sys-color-shadow);
143
139
  .navrail-icon {
@@ -161,17 +157,27 @@
161
157
  color: var(--md-sys-color-on-surface);
162
158
  }
163
159
  .navrail-icon {
164
- // filter: var(--outline-filter);
165
160
  max-width: 40px;
166
161
  }
167
162
 
168
163
  .theme-selector {
169
164
  position: relative;
170
165
  display: flex;
171
- // width: 100%;
172
166
  justify-content: flex-end;
173
- padding: 12px;
174
- padding-top: 18px;
167
+ margin-left: auto;
168
+ padding: 6px;
169
+ margin-top: 8px;
170
+ margin-right: 8px;
171
+ border-radius: 99px;
172
+ background-color: rgba(70, 70, 70, 0.233);
173
+ backdrop-filter: blur(8px);
174
+ width: fit-content;
175
+ @media screen and (min-width: 601px) {
176
+ position: fixed;
177
+ z-index: 103;
178
+ bottom: 10px;
179
+ left: 30px;
180
+ }
175
181
  }
176
182
 
177
183
  .current-theme {
@@ -183,20 +189,12 @@
183
189
  cursor: pointer;
184
190
  transition: transform 0.3s;
185
191
  }
186
-
187
192
  .theme-options {
188
- // position: absolute;
189
193
  display: flex;
190
- // top: 50%;
191
- // right: 20px;
192
- // transform: translate(-50%, -50%);
193
- // display: none;
194
- // flex-wrap: wrap;
195
194
  gap: 10px;
196
195
  max-width: 0px;
197
196
  transition: all 0.3s;
198
197
  }
199
-
200
198
  .theme-option {
201
199
  width: 26px;
202
200
  height: 26px;
@@ -222,8 +220,6 @@
222
220
  top: -34px;
223
221
  right: 15px;
224
222
  z-index: 11;
225
-
226
- // filter: var(--outline-filter);
227
223
  }
228
224
  .pin-path {
229
225
  stroke: var(--md-sys-color-tertiary);
@@ -242,17 +238,49 @@ h1 {
242
238
  margin-left: auto;
243
239
  margin-right: auto;
244
240
  }
245
- .divider-path{
241
+ .divider-path {
246
242
  stroke: var(--md-sys-color-outline);
247
243
  stroke-width: 2;
248
244
  }
249
- .divider-svg{
245
+ .divider-svg {
250
246
  width: 100%;
251
247
  height: auto;
252
248
  margin-left: auto;
253
249
  margin-right: auto;
254
- @include media-query($on-palm){
255
-
256
-
250
+ @include media-query($on-palm) {
257
251
  }
258
- }
252
+ }
253
+ @keyframes pin {
254
+ 0% {
255
+ transform: rotate(-35deg);
256
+ }
257
+ 20% {
258
+ transform: rotate(10deg);
259
+ }
260
+ 40% {
261
+ transform: rotate(-3deg);
262
+ }
263
+ 60% {
264
+ transform: rotate(2deg);
265
+ }
266
+ 80% {
267
+ transform: rotate(-1deg);
268
+ }
269
+ 100% {
270
+ transform: rotate(0deg);
271
+ }
272
+ }
273
+ @keyframes mainreveal {
274
+ from {
275
+ transform: translateY(20%);
276
+ opacity: 0;
277
+ }
278
+ to {
279
+ transform: translate(0);
280
+ opacity: 1;
281
+ }
282
+ }
283
+ main {
284
+ overflow: hidden;
285
+ animation: mainreveal 0.25s;
286
+ }
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.1.0
4
+ version: 4.3.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: