jekyll-theme-chirpy-g 1.0.2

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.
Files changed (144) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +61 -0
  4. data/_data/locales/ar.yml +91 -0
  5. data/_data/locales/bg-BG.yml +81 -0
  6. data/_data/locales/cs-CZ.yml +89 -0
  7. data/_data/locales/de-DE.yml +87 -0
  8. data/_data/locales/el-GR.yml +91 -0
  9. data/_data/locales/en.yml +91 -0
  10. data/_data/locales/es-ES.yml +77 -0
  11. data/_data/locales/fa-IR.yaml +91 -0
  12. data/_data/locales/fi-FI.yml +90 -0
  13. data/_data/locales/fr-FR.yml +77 -0
  14. data/_data/locales/hu-HU.yml +92 -0
  15. data/_data/locales/id-ID.yml +77 -0
  16. data/_data/locales/it-IT.yml +90 -0
  17. data/_data/locales/ko-KR.yml +84 -0
  18. data/_data/locales/my-MM.yml +77 -0
  19. data/_data/locales/nl-NL.yml +90 -0
  20. data/_data/locales/pt-BR.yml +77 -0
  21. data/_data/locales/ru-RU.yml +87 -0
  22. data/_data/locales/sl-SI.yml +91 -0
  23. data/_data/locales/sv-SE.yml +91 -0
  24. data/_data/locales/th.yml +91 -0
  25. data/_data/locales/tr-TR.yml +77 -0
  26. data/_data/locales/uk-UA.yml +77 -0
  27. data/_data/locales/vi-VN.yml +76 -0
  28. data/_data/locales/zh-CN.yml +83 -0
  29. data/_data/locales/zh-TW.yml +83 -0
  30. data/_data/origin/basic.yml +39 -0
  31. data/_data/origin/cors.yml +54 -0
  32. data/_includes/analytics/cloudflare.html +6 -0
  33. data/_includes/analytics/fathom.html +6 -0
  34. data/_includes/analytics/goatcounter.html +6 -0
  35. data/_includes/analytics/google.html +13 -0
  36. data/_includes/analytics/matomo.html +13 -0
  37. data/_includes/analytics/umami.html +6 -0
  38. data/_includes/comment.html +5 -0
  39. data/_includes/comments/disqus.html +57 -0
  40. data/_includes/comments/giscus.html +55 -0
  41. data/_includes/comments/utterances.html +38 -0
  42. data/_includes/datetime.html +20 -0
  43. data/_includes/embed/audio.html +35 -0
  44. data/_includes/embed/bilibili.html +9 -0
  45. data/_includes/embed/twitch.html +8 -0
  46. data/_includes/embed/video.html +59 -0
  47. data/_includes/embed/youtube.html +9 -0
  48. data/_includes/favicons.html +19 -0
  49. data/_includes/footer.html +49 -0
  50. data/_includes/head.html +126 -0
  51. data/_includes/js-selector.html +86 -0
  52. data/_includes/jsdelivr-combine.html +26 -0
  53. data/_includes/lang.html +10 -0
  54. data/_includes/language-alias.html +70 -0
  55. data/_includes/media-url.html +37 -0
  56. data/_includes/metadata-hook.html +1 -0
  57. data/_includes/notification.html +24 -0
  58. data/_includes/origin-type.html +13 -0
  59. data/_includes/pageviews/goatcounter.html +21 -0
  60. data/_includes/post-description.html +25 -0
  61. data/_includes/post-nav.html +34 -0
  62. data/_includes/post-paginator.html +91 -0
  63. data/_includes/post-sharing.html +52 -0
  64. data/_includes/read-time.html +37 -0
  65. data/_includes/refactor-content.html +255 -0
  66. data/_includes/related-posts.html +94 -0
  67. data/_includes/search-loader.html +49 -0
  68. data/_includes/search-results.html +10 -0
  69. data/_includes/sidebar.html +97 -0
  70. data/_includes/toc-status.html +10 -0
  71. data/_includes/toc.html +9 -0
  72. data/_includes/topbar.html +77 -0
  73. data/_includes/trending-tags.html +46 -0
  74. data/_includes/update-list.html +40 -0
  75. data/_layouts/archives.html +35 -0
  76. data/_layouts/categories.html +138 -0
  77. data/_layouts/category.html +24 -0
  78. data/_layouts/compress.html +10 -0
  79. data/_layouts/default.html +86 -0
  80. data/_layouts/graph.html +8 -0
  81. data/_layouts/home.html +122 -0
  82. data/_layouts/page.html +20 -0
  83. data/_layouts/post.html +179 -0
  84. data/_layouts/tag.html +23 -0
  85. data/_layouts/tags.html +22 -0
  86. data/_sass/abstracts/_breakpoints.scss +73 -0
  87. data/_sass/abstracts/_index.scss +4 -0
  88. data/_sass/abstracts/_mixins.scss +80 -0
  89. data/_sass/abstracts/_placeholders.scss +160 -0
  90. data/_sass/abstracts/_variables.scss +30 -0
  91. data/_sass/base/_base.scss +476 -0
  92. data/_sass/base/_index.scss +4 -0
  93. data/_sass/base/_reset.scss +41 -0
  94. data/_sass/base/_syntax.scss +253 -0
  95. data/_sass/base/_typography.scss +266 -0
  96. data/_sass/components/_buttons.scss +51 -0
  97. data/_sass/components/_index.scss +2 -0
  98. data/_sass/components/_popups.scss +172 -0
  99. data/_sass/layout/_footer.scss +36 -0
  100. data/_sass/layout/_index.scss +4 -0
  101. data/_sass/layout/_panel.scss +70 -0
  102. data/_sass/layout/_sidebar.scss +258 -0
  103. data/_sass/layout/_topbar.scss +86 -0
  104. data/_sass/main.bundle.scss +2 -0
  105. data/_sass/main.scss +4 -0
  106. data/_sass/pages/_archives.scss +140 -0
  107. data/_sass/pages/_categories.scss +82 -0
  108. data/_sass/pages/_category-tag.scss +63 -0
  109. data/_sass/pages/_graph.scss +51 -0
  110. data/_sass/pages/_home.scss +173 -0
  111. data/_sass/pages/_index.scss +8 -0
  112. data/_sass/pages/_post.scss +498 -0
  113. data/_sass/pages/_search.scss +184 -0
  114. data/_sass/pages/_tags.scss +23 -0
  115. data/_sass/themes/_dark.scss +318 -0
  116. data/_sass/themes/_light.scss +330 -0
  117. data/assets/404.html +14 -0
  118. data/assets/css/jekyll-theme-chirpy-g.scss +10 -0
  119. data/assets/feed.xml +54 -0
  120. data/assets/img/favicons/android-chrome-192x192.png +0 -0
  121. data/assets/img/favicons/android-chrome-512x512.png +0 -0
  122. data/assets/img/favicons/apple-touch-icon.png +0 -0
  123. data/assets/img/favicons/browserconfig.xml +13 -0
  124. data/assets/img/favicons/favicon-16x16.png +0 -0
  125. data/assets/img/favicons/favicon-32x32.png +0 -0
  126. data/assets/img/favicons/favicon.ico +0 -0
  127. data/assets/img/favicons/mstile-150x150.png +0 -0
  128. data/assets/img/favicons/site.webmanifest +26 -0
  129. data/assets/js/data/graph.json +14 -0
  130. data/assets/js/data/mathjax.js +25 -0
  131. data/assets/js/data/search.json +20 -0
  132. data/assets/js/data/swconf.js +47 -0
  133. data/assets/js/dist/app.min.js +7 -0
  134. data/assets/js/dist/categories.min.js +4 -0
  135. data/assets/js/dist/commons.min.js +4 -0
  136. data/assets/js/dist/graph.min.js +4 -0
  137. data/assets/js/dist/home.min.js +4 -0
  138. data/assets/js/dist/misc.min.js +4 -0
  139. data/assets/js/dist/page.min.js +4 -0
  140. data/assets/js/dist/post.min.js +4 -0
  141. data/assets/js/dist/sw.min.js +7 -0
  142. data/assets/js/dist/theme.min.js +4 -0
  143. data/assets/robots.txt +10 -0
  144. metadata +286 -0
@@ -0,0 +1,498 @@
1
+ @use '../abstracts/variables' as v;
2
+ @use '../abstracts/breakpoints' as bp;
3
+ @use '../abstracts/mixins' as mx;
4
+ @use '../abstracts/placeholders';
5
+
6
+ %-btn-post-nav {
7
+ width: 50%;
8
+ position: relative;
9
+ border-color: var(--btn-border-color);
10
+ }
11
+
12
+ @mixin -dot($pl: 0.25rem, $pr: 0.25rem) {
13
+ content: '\2022';
14
+ padding-left: $pl;
15
+ padding-right: $pr;
16
+ }
17
+
18
+ header {
19
+ .post-desc {
20
+ @extend %heading;
21
+
22
+ font-size: 1.125rem;
23
+ line-height: 1.6;
24
+ }
25
+
26
+ .post-meta {
27
+ span + span::before {
28
+ @include -dot;
29
+ }
30
+
31
+ em,
32
+ time {
33
+ @extend %text-highlight;
34
+ }
35
+
36
+ em {
37
+ a {
38
+ color: inherit;
39
+ }
40
+ }
41
+ }
42
+
43
+ h1 + .post-meta {
44
+ margin-top: 1.5rem;
45
+ }
46
+ }
47
+
48
+ .post-tail-wrapper {
49
+ @extend %text-sm;
50
+
51
+ margin-top: 6rem;
52
+ border-bottom: 1px double var(--main-border-color);
53
+
54
+ .license-wrapper {
55
+ line-height: 1.2rem;
56
+
57
+ > a {
58
+ @extend %text-highlight;
59
+
60
+ &:hover {
61
+ @extend %link-hover;
62
+ }
63
+ }
64
+
65
+ span:last-child {
66
+ @extend %text-sm;
67
+ }
68
+ } /* .license-wrapper */
69
+
70
+ .post-meta a:not(:hover) {
71
+ @extend %link-underline;
72
+ }
73
+
74
+ .share-wrapper {
75
+ vertical-align: middle;
76
+ -webkit-user-select: none;
77
+ -moz-user-select: none;
78
+ -ms-user-select: none;
79
+ user-select: none;
80
+
81
+ %icon-size {
82
+ font-size: 1.125rem;
83
+ }
84
+
85
+ .share-icons {
86
+ display: flex;
87
+
88
+ i {
89
+ color: var(--btn-share-color);
90
+
91
+ @extend %icon-size;
92
+ }
93
+
94
+ > * {
95
+ @extend %icon-size;
96
+
97
+ margin-left: 0.5rem;
98
+
99
+ &:hover {
100
+ i {
101
+ @extend %btn-share-hover;
102
+ }
103
+ }
104
+ }
105
+
106
+ button {
107
+ padding: 0;
108
+ border: none;
109
+ line-height: inherit;
110
+
111
+ @extend %cursor-pointer;
112
+ }
113
+ } /* .share-icons */
114
+ } /* .share-wrapper */
115
+ }
116
+
117
+ .post-tail-bottom {
118
+ @include bp.lte(bp.get(sm)) {
119
+ flex-wrap: wrap-reverse !important;
120
+
121
+ > div:first-child {
122
+ width: 100%;
123
+ margin-top: 1rem;
124
+ }
125
+ }
126
+ }
127
+
128
+ .share-mastodon {
129
+ /* See: https://github.com/justinribeiro/share-to-mastodon#properties */
130
+ --wc-stm-font-family: v.$font-family-base;
131
+ --wc-stm-dialog-background-color: var(--card-bg);
132
+ --wc-stm-form-button-border: 1px solid var(--btn-border-color);
133
+ --wc-stm-form-submit-background-color: var(--sidebar-btn-bg);
134
+ --wc-stm-form-cancel-background-color: var(--sidebar-btn-bg);
135
+ --wc-stm-form-button-background-color-hover: #007bff;
136
+ --wc-stm-form-button-color-hover: white;
137
+
138
+ font-size: 1rem;
139
+ }
140
+
141
+ .post-tags {
142
+ line-height: 2rem;
143
+
144
+ .post-tag {
145
+ &:hover {
146
+ @extend %link-hover;
147
+ @extend %tag-hover;
148
+ @extend %no-bottom-border;
149
+ }
150
+ }
151
+ }
152
+
153
+ .post-navigation {
154
+ @include bp.lt(bp.get(lg)) {
155
+ @include mx.pl-pr(0);
156
+ @include mx.ml-mr(-0.5rem);
157
+ }
158
+
159
+ .btn {
160
+ @extend %-btn-post-nav;
161
+
162
+ &:not(:hover) {
163
+ color: var(--link-color);
164
+ }
165
+
166
+ &:hover {
167
+ &:not(.disabled)::before {
168
+ color: whitesmoke;
169
+ }
170
+ }
171
+
172
+ &.disabled {
173
+ @extend %-btn-post-nav;
174
+
175
+ pointer-events: auto;
176
+ cursor: not-allowed;
177
+ background: none;
178
+ color: gray;
179
+ }
180
+
181
+ &.btn-outline-primary.disabled:focus {
182
+ box-shadow: none;
183
+ }
184
+
185
+ &::before {
186
+ color: var(--text-muted-color);
187
+ font-size: 0.65rem;
188
+ text-transform: uppercase;
189
+ content: attr(aria-label);
190
+ }
191
+
192
+ &:first-child {
193
+ border-radius: v.$radius-lg 0 0 v.$radius-lg;
194
+ left: 0.5px;
195
+ }
196
+
197
+ &:last-child {
198
+ border-radius: 0 v.$radius-lg v.$radius-lg 0;
199
+ right: 0.5px;
200
+ }
201
+ }
202
+
203
+ p {
204
+ font-size: 1.1rem;
205
+ line-height: 1.5rem;
206
+ margin-top: 0.3rem;
207
+ white-space: normal;
208
+ }
209
+ } /* .post-navigation */
210
+
211
+ @media (hover: hover) {
212
+ .post-navigation {
213
+ .btn,
214
+ .btn::before {
215
+ transition: all 0.35s ease-in-out;
216
+ }
217
+ }
218
+ }
219
+
220
+ @-webkit-keyframes fade-up {
221
+ from {
222
+ opacity: 0;
223
+ margin-top: 4rem;
224
+ }
225
+
226
+ to {
227
+ opacity: 1;
228
+ }
229
+ }
230
+
231
+ @keyframes fade-up {
232
+ from {
233
+ opacity: 0;
234
+ margin-top: 4rem;
235
+ }
236
+
237
+ to {
238
+ opacity: 1;
239
+ }
240
+ }
241
+
242
+ /* TOC panel */
243
+
244
+ %top-cover {
245
+ content: '';
246
+ display: block;
247
+ position: -webkit-sticky;
248
+ position: sticky;
249
+ top: 0;
250
+ width: 100%;
251
+ height: 3rem;
252
+ background: linear-gradient(var(--main-bg) 50%, transparent);
253
+ }
254
+
255
+ #toc-wrapper {
256
+ top: 0;
257
+ transition: top 0.2s ease-in-out;
258
+ overflow-y: auto;
259
+ max-height: 100vh;
260
+ scrollbar-width: none;
261
+ margin-top: 2rem;
262
+
263
+ &:not(.invisible) {
264
+ -webkit-animation: fade-up 0.8s;
265
+ animation: fade-up 0.8s;
266
+ }
267
+
268
+ ul {
269
+ list-style: none;
270
+ font-size: 0.85rem;
271
+ line-height: 1.25;
272
+ padding-left: 0;
273
+
274
+ li {
275
+ a {
276
+ padding: 0.4rem 0 0.4rem 1.25rem;
277
+ }
278
+ }
279
+
280
+ /* Overwrite TOC plugin style */
281
+
282
+ .toc-link {
283
+ display: block;
284
+
285
+ @extend %text-ellipsis;
286
+
287
+ &:hover {
288
+ color: var(--toc-highlight);
289
+ text-decoration: none;
290
+ }
291
+
292
+ &::before {
293
+ display: none;
294
+ }
295
+ }
296
+
297
+ .is-active-link {
298
+ color: var(--toc-highlight) !important;
299
+ font-weight: 600;
300
+
301
+ &::before {
302
+ display: inline-block;
303
+ width: 1px;
304
+ height: 1.25rem;
305
+ background-color: var(--toc-highlight) !important;
306
+ }
307
+ }
308
+
309
+ ul {
310
+ padding-left: 0.75rem;
311
+ }
312
+ }
313
+
314
+ @at-root .toc-border-cover {
315
+ @extend %top-cover;
316
+
317
+ margin-bottom: -4rem;
318
+ }
319
+
320
+ &::before {
321
+ @extend %top-cover;
322
+ }
323
+
324
+ &::after {
325
+ content: '';
326
+ position: fixed;
327
+ bottom: 0;
328
+ width: 15%;
329
+ height: 2.25rem;
330
+ margin-left: -1px;
331
+ background: linear-gradient(transparent, var(--main-bg) 70%);
332
+ }
333
+
334
+ > * {
335
+ @extend %panel-border;
336
+ }
337
+ }
338
+
339
+ /* --- TOC button, bar and popup in mobile/tablet --- */
340
+
341
+ #toc-bar {
342
+ position: -webkit-sticky;
343
+ position: sticky;
344
+ top: 0;
345
+ z-index: 1;
346
+ margin: 0 -1rem;
347
+ height: v.$topbar-height;
348
+ background: var(--main-bg);
349
+ border-bottom: 1px solid var(--main-border-color);
350
+ transition: all 0.2s ease-in-out;
351
+
352
+ @extend %btn-color;
353
+
354
+ @include bp.xl {
355
+ display: none !important;
356
+ }
357
+
358
+ .label {
359
+ @extend %heading;
360
+
361
+ margin-left: 0.375rem;
362
+ padding: 0 0.75rem;
363
+ color: inherit;
364
+ }
365
+
366
+ &.invisible {
367
+ top: -#{v.$topbar-height};
368
+ transition: none;
369
+ }
370
+ }
371
+
372
+ #toc-solo-trigger {
373
+ color: var(--text-muted-color);
374
+ border-color: var(--btn-border-color);
375
+ border-radius: v.$radius-lg;
376
+
377
+ @include bp.xl {
378
+ display: none !important;
379
+ }
380
+
381
+ .label {
382
+ font-size: 1rem;
383
+ font-family: v.$font-family-heading;
384
+ }
385
+
386
+ &:hover {
387
+ box-shadow: none;
388
+ background: none;
389
+ }
390
+ }
391
+
392
+ @mixin slide-in {
393
+ from {
394
+ opacity: 0.7;
395
+ transform: translateY(-#{v.$topbar-height});
396
+ }
397
+
398
+ to {
399
+ opacity: 1;
400
+ transform: translateY(0);
401
+ }
402
+ }
403
+
404
+ @mixin slide-out {
405
+ 0% {
406
+ transform: translateY(0);
407
+ opacity: 1;
408
+ }
409
+
410
+ 100% {
411
+ transform: translateY(-#{v.$topbar-height});
412
+ opacity: 0;
413
+ }
414
+ }
415
+
416
+ @-webkit-keyframes slide-in {
417
+ @include slide-in;
418
+ }
419
+
420
+ @keyframes slide-in {
421
+ @include slide-in;
422
+ }
423
+
424
+ @-webkit-keyframes slide-out {
425
+ @include slide-out;
426
+ }
427
+
428
+ @keyframes slide-out {
429
+ @include slide-out;
430
+ }
431
+
432
+ /* --- Related Posts --- */
433
+
434
+ #related-posts {
435
+ > h3 {
436
+ @include mx.label(1.1rem, 600);
437
+ }
438
+
439
+ time {
440
+ @extend %normal-font-style;
441
+ @extend %text-xs;
442
+
443
+ color: var(--text-muted-color);
444
+ }
445
+
446
+ p {
447
+ @extend %text-ellipsis;
448
+
449
+ font-size: 0.9rem;
450
+ margin-bottom: 0.5rem;
451
+ white-space: break-spaces;
452
+ display: -webkit-box;
453
+ -webkit-line-clamp: 2;
454
+ -webkit-box-orient: vertical;
455
+ }
456
+
457
+ .card {
458
+ h4 {
459
+ @extend %text-clip;
460
+ }
461
+ }
462
+ }
463
+
464
+ /* stylelint-disable-next-line selector-id-pattern */
465
+ #disqus_thread {
466
+ min-height: 8.5rem;
467
+ }
468
+
469
+ .utterances {
470
+ max-width: 100%;
471
+ min-height: 269px;
472
+ }
473
+
474
+ %btn-share-hover {
475
+ color: var(--btn-share-hover-color) !important;
476
+ }
477
+
478
+ .share-label {
479
+ @include mx.label(inherit, 400, inherit);
480
+
481
+ &::after {
482
+ content: ':';
483
+ }
484
+ }
485
+
486
+ .content > p > img {
487
+ @include bp.lte(bp.get(md)) {
488
+ max-width: calc(100% + 1rem);
489
+ }
490
+ }
491
+
492
+ h2,
493
+ h3,
494
+ h4 {
495
+ @include bp.xl {
496
+ scroll-margin-top: 2rem;
497
+ }
498
+ }
@@ -0,0 +1,184 @@
1
+ @use '../abstracts/breakpoints' as bp;
2
+ @use '../abstracts/variables' as v;
3
+ @use '../abstracts/placeholders';
4
+
5
+ search {
6
+ display: flex;
7
+ width: 100%;
8
+ border-radius: 1rem;
9
+ border: 1px solid var(--search-border-color);
10
+ background: var(--main-bg);
11
+ padding: 0 0.5rem;
12
+
13
+ i {
14
+ z-index: 2;
15
+ font-size: 0.9rem;
16
+ color: var(--search-icon-color);
17
+ }
18
+
19
+ @include bp.lt(bp.get(lg)) {
20
+ display: none;
21
+ }
22
+
23
+ @include bp.lg {
24
+ max-width: v.$search-max-width;
25
+ }
26
+
27
+ @include bp.xl {
28
+ margin-right: 4rem;
29
+ }
30
+
31
+ @include bp.xxxl {
32
+ margin-right: calc(
33
+ v.$main-content-max-width / 4 - v.$search-max-width - 0.75rem
34
+ );
35
+ }
36
+ }
37
+
38
+ #search-result-wrapper {
39
+ display: none;
40
+ height: 100%;
41
+ width: 100%;
42
+ overflow: auto;
43
+
44
+ .content {
45
+ margin-top: 2rem;
46
+ }
47
+
48
+ @include bp.lt(bp.get(lg)) {
49
+ width: 100%;
50
+
51
+ .content {
52
+ letter-spacing: 0;
53
+ }
54
+ }
55
+
56
+ @include bp.lg {
57
+ max-width: v.$main-content-max-width;
58
+ justify-content: start !important;
59
+ }
60
+ }
61
+
62
+ #search-results {
63
+ padding-bottom: 3rem;
64
+
65
+ @include bp.between(bp.get(lg), calc(#{bp.get(xl)} - 1px)) {
66
+ > div {
67
+ max-width: 700px;
68
+ }
69
+ }
70
+
71
+ a {
72
+ font-size: 1.4rem;
73
+ line-height: 1.5rem;
74
+
75
+ &:hover {
76
+ @extend %link-hover;
77
+ }
78
+
79
+ @extend %link-color;
80
+ @extend %no-bottom-border;
81
+ @extend %heading;
82
+ }
83
+
84
+ > article {
85
+ width: 100%;
86
+
87
+ &:not(:last-child) {
88
+ margin-bottom: 1rem;
89
+ }
90
+
91
+ @include bp.xl {
92
+ width: 45%;
93
+
94
+ &:nth-child(odd) {
95
+ margin-right: 1.5rem;
96
+ }
97
+
98
+ &:nth-child(even) {
99
+ margin-left: 1.5rem;
100
+ }
101
+
102
+ &:last-child:nth-child(odd) {
103
+ position: relative;
104
+ right: 24.3%;
105
+ }
106
+ }
107
+
108
+ h2 {
109
+ line-height: 2.5rem;
110
+ }
111
+
112
+ /* icons */
113
+ i {
114
+ color: #818182;
115
+ margin-right: 0.15rem;
116
+ font-size: 80%;
117
+ }
118
+
119
+ > p {
120
+ @extend %text-ellipsis;
121
+
122
+ white-space: break-spaces;
123
+ display: -webkit-box;
124
+ -webkit-line-clamp: 3;
125
+ -webkit-box-orient: vertical;
126
+ }
127
+ }
128
+ }
129
+
130
+ /* 'Cancel' link */
131
+ #search-cancel {
132
+ color: var(--link-color);
133
+ display: none;
134
+ white-space: nowrap;
135
+
136
+ @extend %cursor-pointer;
137
+ }
138
+
139
+ #search-input {
140
+ background: center;
141
+ border: 0;
142
+ border-radius: 0;
143
+ padding: 0.18rem 0.3rem;
144
+ color: var(--text-color);
145
+ height: auto;
146
+
147
+ &:focus {
148
+ box-shadow: none;
149
+ }
150
+
151
+ @include bp.xl {
152
+ transition: all 0.3s ease-in-out;
153
+ }
154
+ }
155
+
156
+ #search-hints {
157
+ padding: 0 1rem;
158
+
159
+ @include bp.lg {
160
+ display: none;
161
+ }
162
+
163
+ h4 {
164
+ margin-bottom: 1.5rem;
165
+ }
166
+
167
+ .post-tag {
168
+ display: inline-block;
169
+ line-height: 1rem;
170
+ font-size: 1rem;
171
+ background: var(--search-tag-bg);
172
+ border: none;
173
+ padding: 0.5rem;
174
+ margin: 0 1.25rem 1rem 0;
175
+
176
+ &::before {
177
+ content: '#';
178
+ color: var(--text-muted-color);
179
+ padding-right: 0.2rem;
180
+ }
181
+
182
+ @extend %link-color;
183
+ }
184
+ }
@@ -0,0 +1,23 @@
1
+ @use '../abstracts/breakpoints' as bp;
2
+
3
+ .tag {
4
+ border-radius: 0.7em;
5
+ padding: 6px 8px 7px;
6
+ margin-right: 0.8rem;
7
+ line-height: 3rem;
8
+ letter-spacing: 0;
9
+ border: 1px solid var(--tag-border) !important;
10
+ box-shadow: 0 0 3px 0 var(--tag-shadow);
11
+
12
+ span {
13
+ margin-left: 0.6em;
14
+ font-size: 0.7em;
15
+ font-family: Oswald, sans-serif;
16
+ }
17
+ }
18
+
19
+ #tags {
20
+ @include bp.lt(bp.get(lg)) {
21
+ justify-content: center !important;
22
+ }
23
+ }