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