chulapa-jekyll 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -9
  3. data/README.md +139 -81
  4. data/_data/welcomments/01_install/01H35P308R2G2YMW849CK7V1VP.json +9 -0
  5. data/_data/welcomments/02_config/01GMBNMYVQS6NCQ45S7KP1TK80.json +10 -0
  6. data/_data/welcomments/02_config/01GMBNP7RB0CBQNKKXKWG5CHJN.json +10 -0
  7. data/_data/welcomments/02_config/01GMBNX1CNV06WN12XR72CNN8D.json +11 -0
  8. data/_data/welcomments/02_config/01GME95BGP5HDQWAWFXT49FDB5.json +10 -0
  9. data/_data/welcomments/02_config/01GME9BZ4N0K0RT3WEPM397VP1.json +10 -0
  10. data/_data/welcomments/02_config/01HAH50GMY2SEESXQNR9D3V44R.json +9 -0
  11. data/_data/welcomments/welcome/01GMDMF77D4VZ7VQX9JAK0RMT5.json +10 -0
  12. data/_data/welcomments/welcome/01H1QVV3C210ND4XY30H0BZHQP.json +9 -0
  13. data/_includes/components/author.html +12 -7
  14. data/_includes/components/breadcrumbdatesocial.html +20 -12
  15. data/_includes/components/cactus.html +18 -0
  16. data/_includes/components/categories.html +1 -1
  17. data/_includes/components/cusdis.html +18 -0
  18. data/_includes/components/disqus.html +1 -1
  19. data/_includes/components/headers.html +10 -10
  20. data/_includes/components/indexcards.html +1 -1
  21. data/_includes/components/navbeforeafter.html +23 -4
  22. data/_includes/components/related.html +72 -0
  23. data/_includes/components/sidetoc.html +15 -0
  24. data/_includes/components/tags.html +1 -1
  25. data/_includes/components/toc.html +120 -50
  26. data/_includes/components/welcomments.html +10 -0
  27. data/_includes/footer.html +27 -9
  28. data/_includes/head.html +39 -30
  29. data/_includes/navbar.html +4 -4
  30. data/_includes/snippets/bootstrapdemo.html +3 -0
  31. data/_includes/snippets/carousel.html +3 -3
  32. data/_includes/snippets/masonry.html +3 -1
  33. data/_includes/snippets/video.html +20 -10
  34. data/_includes/snippets/youtube.html +10 -1
  35. data/_includes/welcomments/comment_form.html +26 -0
  36. data/_includes/welcomments/comments.html +109 -0
  37. data/_includes/welcomments/single_comment.html +57 -0
  38. data/_includes/welcomments/template.html +46 -0
  39. data/_layouts/cloudcategory.html +4 -4
  40. data/_layouts/compress.html +2 -2
  41. data/_layouts/default.html +17 -3
  42. data/_layouts/landingpage.html +21 -3
  43. data/_layouts/minimal.html +5 -6
  44. data/_layouts/search.html +8 -7
  45. data/_sass/chulapa/_classes.scss +1270 -0
  46. data/_sass/{chulapa-misc.scss → chulapa/_reboot.scss} +24 -4
  47. data/_sass/{chulapa-vars.scss → chulapa/_variables.scss} +25 -5
  48. data/_sass/chulapa-master.scss +5 -5
  49. data/_sass/highlight/monokai.scss +1 -1
  50. data/_sass/reset-algolia.scss +1 -1
  51. data/_sass/skins/academia.scss +23 -17
  52. data/_sass/skins/auto.scss +2 -1
  53. data/_sass/skins/chulapa.scss +14 -12
  54. data/_sass/skins/dark-bg.scss +62 -0
  55. data/_sass/skins/deeply.scss +4 -3
  56. data/_sass/skins/gitdev-dark.scss +97 -0
  57. data/_sass/skins/gitdev.scss +86 -0
  58. data/_sass/skins/graymor.scss +17 -18
  59. data/_sass/skins/hootstrap.scss +12 -12
  60. data/_sass/skins/journal.scss +6 -5
  61. data/_sass/skins/lux.scss +9 -10
  62. data/_sass/skins/lymcha.scss +10 -10
  63. data/_sass/skins/minty.scss +14 -11
  64. data/_sass/skins/pear.scss +18 -18
  65. data/_sass/skins/preptor.scss +13 -14
  66. data/_sass/skins/sketchy.scss +5 -4
  67. data/_sass/skins/sunset.scss +10 -10
  68. data/_sass/skins/towards.scss +50 -0
  69. data/_sass/skins/twitter-dim.scss +38 -28
  70. data/_sass/skins/twitter-lights-out.scss +38 -30
  71. data/_sass/skins/twitter.scss +25 -25
  72. data/_sass/skins/universal.scss +79 -21
  73. data/_sass/skins/wandoo.scss +12 -13
  74. data/assets/css/main.scss +1 -1
  75. data/assets/css/welcomments.scss +572 -0
  76. data/assets/fonts/Hubot-Sans/Hubot-Sans.woff2 +0 -0
  77. data/assets/fonts/Hubot-Sans/LICENSE.txt +93 -0
  78. data/assets/fonts/Mona-Sans/LICENSE.txt +93 -0
  79. data/assets/fonts/Mona-Sans/Mona-Sans.woff2 +0 -0
  80. data/assets/js/ch_ytdefer/ch_ytdefer.js +3 -1
  81. data/assets/js/chulapa_script.js +175 -0
  82. data/assets/js/clipboard/chulapa_clipboard.js +109 -0
  83. data/assets/js/cusdis/chulapa_cusdis.js +1 -0
  84. data/assets/js/google/google-search.js +0 -1
  85. metadata +37 -63
  86. data/_sass/chulapa-classes.scss +0 -844
  87. data/assets/fonts/Chulapa/Chulapa-Bold.otf +0 -0
  88. data/assets/fonts/Chulapa/Chulapa-Bold_v2.1.otf +0 -0
  89. data/assets/fonts/Chulapa/Chulapa-Bold_v2.2.otf +0 -0
  90. data/assets/fonts/Chulapa/Chulapa-Bold_v2.otf +0 -0
  91. data/assets/fonts/Chulapa/Chulapa-Light.otf +0 -0
  92. data/assets/fonts/Chulapa/Chulapa-Regular.otf +0 -0
  93. data/assets/js/ch_ytdefer/ch_ytdefer.min.js +0 -1
  94. data/assets/js/clipboardrouge.js +0 -95
  95. /data/_sass/{bootstrapv5-migration.scss → chulapa/_bootstrapv5.scss} +0 -0
  96. /data/_sass/{chulapa-mixins.scss → chulapa/_mixins.scss} +0 -0
@@ -0,0 +1,1270 @@
1
+ /*!
2
+ * Specific classes and formats for chulapa
3
+ */
4
+ .chulapa {
5
+ font-family: chulapa, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
6
+ Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
7
+ "Segoe UI Symbol", "Noto Color Emoji";
8
+ font-weight: 400 !important;
9
+ // Enable Ligatures
10
+ -webkit-font-feature-settings: "liga", "dlig";
11
+ -moz-font-feature-settings: "liga=1, dlig=1";
12
+ -moz-font-feature-settings: "liga", "dlig";
13
+ -ms-font-feature-settings: "liga", "dlig";
14
+ -o-font-feature-settings: "liga", "dlig";
15
+ font-feature-settings: "liga", "dlig";
16
+ text-rendering: optimizeLegibility;
17
+ }
18
+
19
+ .chulapa-footer-brand {
20
+ font-size: $font-size-base * .8;
21
+ }
22
+
23
+ .chulapa-bg-transparent {
24
+ background-color: transparent !important;
25
+ }
26
+
27
+ .chulapa-rounded-lg {
28
+ @include border-radius($border-radius-lg);
29
+ }
30
+
31
+ @each $color, $value in $theme-colors {
32
+ .chulapa-pill-bg-#{$color} {
33
+ @include badge-variant($value);
34
+ }
35
+ }
36
+
37
+ .chulapa-pill-bg-body {
38
+ @include badge-variant($body-bg);
39
+ border-style: solid;
40
+ border-width: $border-width;
41
+ border-color: color-contrast($body-bg);
42
+ }
43
+
44
+ .chulapa-text-body-color {
45
+ color: $body-color !important;
46
+ }
47
+
48
+ .chulapaDateSocial {
49
+ color: $body-color;
50
+
51
+ a {
52
+ color: $body-color;
53
+ }
54
+ }
55
+
56
+ .chulapa-headingfont {
57
+ font-family: $headings-font-family;
58
+ font-weight: $headings-font-weight;
59
+ }
60
+
61
+ .chulapa-links-hover-only {
62
+ a {
63
+ color: inherit;
64
+
65
+ @include hover() {
66
+ color: $link-hover-color;
67
+ text-decoration: $link-hover-decoration;
68
+ }
69
+ }
70
+ }
71
+
72
+ // Navbar
73
+ .navbar-chulapa {
74
+ background-color: $navbar-chulapa-bg-color;
75
+
76
+ .navbar-brand {
77
+ color: $navbar-chulapa-brand-color;
78
+ font-weight: bold;
79
+
80
+ @include hover-focus() {
81
+ color: $navbar-chulapa-brand-hover-color;
82
+ }
83
+ }
84
+
85
+ .btn {
86
+ border-color: $navbar-chulapa-text-color;
87
+ color: $navbar-chulapa-text-color;
88
+
89
+ @include hover-focus() {
90
+ color: $navbar-chulapa-hover-color;
91
+ }
92
+ }
93
+
94
+ .navbar-nav {
95
+ .nav-link {
96
+ color: $navbar-chulapa-text-color;
97
+
98
+ @include hover-focus() {
99
+ color: $navbar-chulapa-hover-color;
100
+ }
101
+
102
+ &.disabled {
103
+ color: $navbar-chulapa-disabled-color;
104
+ }
105
+ }
106
+
107
+ .show > .nav-link,
108
+ .active > .nav-link,
109
+ .nav-link.show,
110
+ .nav-link.active {
111
+ color: $navbar-chulapa-active-color;
112
+ }
113
+ }
114
+
115
+ .navbar-toggler {
116
+ color: $navbar-chulapa-text-color;
117
+ border-color: $navbar-chulapa-toggler-border-color;
118
+ background-color: $navbar-chulapa-toggler-color-bg;
119
+ }
120
+
121
+ .navbar-toggler-icon {
122
+ background-image: escape-svg($navbar-chulapa-toggler-icon-bg);
123
+ }
124
+
125
+ .navbar-text {
126
+ color: $navbar-chulapa-text-color;
127
+
128
+ a {
129
+ color: $navbar-chulapa-active-color;
130
+
131
+ @include hover-focus() {
132
+ color: $navbar-chulapa-active-color;
133
+ }
134
+ }
135
+ }
136
+
137
+ .dropdown-menu {
138
+ background-color: $navbar-chulapa-bg-color;
139
+ border-style: none;
140
+
141
+ .dropdown-item {
142
+ color: $navbar-chulapa-text-color;
143
+
144
+ @include hover-focus() {
145
+ color: $navbar-chulapa-hover-color;
146
+ }
147
+
148
+ &.disabled {
149
+ color: $navbar-chulapa-disabled-color;
150
+ }
151
+ }
152
+
153
+ .show > .dropdown-item,
154
+ .active > .dropdown-item,
155
+ .dropdown-item.show,
156
+ .dropdown-item.active {
157
+ color: $navbar-chulapa-active-color;
158
+ background-color: $navbar-chulapa-bg-color;
159
+ }
160
+ }
161
+ }
162
+
163
+ // Hero and headers
164
+ .hero-chulapa {
165
+ font-family: $headings-font-family;
166
+ background-color: $hero-chulapa-bg-color;
167
+ text-align: center;
168
+ min-height: 40vh;
169
+
170
+ hr {
171
+ background-color: $hero-chulapa-text-color;
172
+ width: 15%;
173
+ }
174
+
175
+ h1,
176
+ p {
177
+ color: $hero-chulapa-text-color;
178
+ word-wrap: break-word;
179
+ -ms-word-wrap: break-word;
180
+ }
181
+
182
+ p {
183
+ @include fluid-type(
184
+ font-size,
185
+ breakpoint-min("md"),
186
+ breakpoint-min("lg"),
187
+ 1.5 * $font-size-base,
188
+ 2 * $font-size-base
189
+ );
190
+ }
191
+
192
+ .chulapa-btn-project {
193
+ border-color: $hero-chulapa-text-color;
194
+ color: $hero-chulapa-text-color;
195
+ @include fluid-type(
196
+ font-size,
197
+ breakpoint-min("md"),
198
+ breakpoint-min("lg"),
199
+ $font-size-base,
200
+ $font-size-lg
201
+ );
202
+ @include hover-focus() {
203
+ border-color: $hero-chulapa-text-color;
204
+ color: $hero-chulapa-bg-color;
205
+ background-color: $hero-chulapa-text-color;
206
+ text-shadow: none;
207
+ }
208
+ }
209
+ }
210
+
211
+ @include media-breakpoint-up(md) {
212
+ .hero-chulapa h1 {
213
+ font-size: $display4-size;
214
+ font-weight: $display4-weight;
215
+ }
216
+
217
+ .hero-chulapa p {
218
+ font-weight: $display4-weight;
219
+ }
220
+ }
221
+
222
+ @include media-breakpoint-up(lg) {
223
+ .hero-chulapa h1 {
224
+ font-size: $display3-size;
225
+ }
226
+ }
227
+
228
+ .hero-chulapa-image {
229
+ @extend .hero-chulapa;
230
+ background-position: center;
231
+ background-repeat: no-repeat;
232
+ background-size: cover;
233
+ position: relative;
234
+
235
+ h1,
236
+ p {
237
+ color: $white;
238
+ text-shadow: 0.1rem 0.1rem 0.2rem $black;
239
+ }
240
+
241
+ hr {
242
+ background-color: $white;
243
+ box-shadow: 0.1rem 0.1rem 0.2rem $black;
244
+ }
245
+
246
+ .chulapa-btn-project {
247
+ color: $white;
248
+ border-color: $white;
249
+ text-shadow: none;
250
+ @include hover-focus() {
251
+ border-color: $light;
252
+ color: $light;
253
+ background-color: $dark;
254
+ text-shadow: none;
255
+ }
256
+ }
257
+ }
258
+
259
+ .splash-chulapa {
260
+ @extend .hero-chulapa;
261
+ min-height: 100vh;
262
+
263
+ h1,
264
+ p {
265
+ font-weight: $display1-weight;
266
+ }
267
+
268
+ h1 {
269
+ @include fluid-type(
270
+ font-size,
271
+ breakpoint-min("md"),
272
+ breakpoint-min("lg"),
273
+ $font-size-base * 3,
274
+ $display1-size
275
+ );
276
+ }
277
+
278
+ p {
279
+ @include fluid-type(
280
+ font-size,
281
+ breakpoint-min("md"),
282
+ breakpoint-min("lg"),
283
+ $font-size-base * 1.5,
284
+ $h1-font-size
285
+ );
286
+ }
287
+ }
288
+
289
+ .splash-chulapa-image {
290
+ @extend .splash-chulapa;
291
+ background-position: center;
292
+ background-repeat: no-repeat;
293
+ background-size: cover;
294
+ position: relative;
295
+
296
+ h1,
297
+ p {
298
+ color: $white;
299
+ text-shadow: 0.1rem 0.1rem 0.2rem $black;
300
+ }
301
+
302
+ hr {
303
+ background-color: $white;
304
+ box-shadow: 0.1rem 0.1rem 0.2rem $black;
305
+ }
306
+
307
+ .chulapa-btn-project {
308
+ color: $white;
309
+ background-color: transparent;
310
+ border-color: $white;
311
+ text-shadow: none;
312
+ @include hover-focus() {
313
+ border-color: $light;
314
+ color: $light;
315
+ background-color: $dark;
316
+ text-shadow: none;
317
+ }
318
+ }
319
+ }
320
+
321
+ .header-chulapa {
322
+ background-color: transparent;
323
+ color: $body-color;
324
+
325
+ h1,
326
+ p {
327
+ word-wrap: break-word;
328
+ -ms-word-wrap: break-word;
329
+ }
330
+
331
+ hr {
332
+ background-color: color-contrast(
333
+ $body-bg,
334
+ $hero-chulapa-bg-color,
335
+ $body-color
336
+ );
337
+ }
338
+
339
+ .header-chulapa-img {
340
+ background-position: center;
341
+ background-repeat: no-repeat;
342
+ background-size: cover;
343
+ position: relative;
344
+ height: 20vh;
345
+ }
346
+ }
347
+
348
+ @include media-breakpoint-up(md) {
349
+ .header-chulapa h1 {
350
+ font-size: $display4-size;
351
+ }
352
+ }
353
+
354
+ // Footer
355
+ @function chulapa-footertop($color1, $color2, $color3) {
356
+ @if $color1==$color2 {
357
+ @return $border-width solid $color3;
358
+ } @else {
359
+ @return 0;
360
+ }
361
+ }
362
+
363
+ .footer-chulapa {
364
+ background-color: $footer-chulapa-bg-color;
365
+ color: $footer-chulapa-text-color;
366
+ font-weight: $font-weight-normal;
367
+ border-top: chulapa-footertop(
368
+ $footer-chulapa-bg-color,
369
+ $body-bg,
370
+ $footer-chulapa-text-color
371
+ );
372
+
373
+ a {
374
+ color: $footer-chulapa-hover-color;
375
+ text-decoration: none;
376
+
377
+ font-weight: $font-weight-bold;
378
+
379
+ @include hover-focus() {
380
+ color: $footer-chulapa-text-color;
381
+ }
382
+ }
383
+
384
+ .chulapa-footer-sociallink {
385
+ color: transparent;
386
+
387
+ @include hover-focus() {
388
+ color: $footer-chulapa-hover-color;
389
+ }
390
+ }
391
+
392
+ .fa-stack {
393
+ @include hover-focus() {
394
+ color: $footer-chulapa-icon-hover-color;
395
+ }
396
+ }
397
+
398
+ .fa-inverse {
399
+ color: $footer-chulapa-icon-color;
400
+ }
401
+ }
402
+
403
+ .chulapa-overlay-img {
404
+ background-position: center;
405
+ background-repeat: no-repeat;
406
+ background-size: cover;
407
+ }
408
+
409
+ .chulapa-min-h-10 {
410
+ min-height: 10vh;
411
+ }
412
+
413
+ .chulapa-min-h-20 {
414
+ min-height: 20vh;
415
+ }
416
+
417
+ .chulapa-header-image {
418
+ object-fit: contain;
419
+ @include fluid-type(
420
+ height,
421
+ breakpoint-min("md"),
422
+ breakpoint-min("lg"),
423
+ 30vh,
424
+ 25vh
425
+ );
426
+ }
427
+ //Not used
428
+ .chulapa-size-base {
429
+ font-size: $font-size-base;
430
+ }
431
+
432
+ .chulapa-masonry {
433
+ column-count: 2;
434
+ column-gap: map-get($spacers, 1);
435
+
436
+ @include media-breakpoint-up(md) {
437
+ column-count: 3;
438
+ }
439
+
440
+ .chulapa-masonry-brick {
441
+ @extend .card;
442
+ margin: 0;
443
+ border: 0;
444
+ padding: 0;
445
+ margin-bottom: map-get($spacers, 1);
446
+ display: inline-block;
447
+ max-width: 100%;
448
+ @include border-radius($border-radius);
449
+ }
450
+ }
451
+
452
+ .chulapa-gradient {
453
+ background-color: rgba($primary, 0.3);
454
+ background-image: linear-gradient(
455
+ to bottom right,
456
+ rgba($light, 0.5),
457
+ rgba($light, 0.65) 65%,
458
+ rgba($light, 0.8) 100%
459
+ );
460
+ }
461
+
462
+ .chulapa-avatar-size {
463
+ border: 1px solid;
464
+ width: 8vmax;
465
+ height: 8vmax;
466
+ @include border-radius(50%, 0);
467
+ }
468
+
469
+ .chulapa-pagination {
470
+ .fa-stack {
471
+ color: transparent;
472
+
473
+ @include hover-focus() {
474
+ color: $pagination-chulapa-bg-hover-color;
475
+ }
476
+ }
477
+
478
+ .fa-inverse {
479
+ color: $body-color;
480
+
481
+ @include hover-focus() {
482
+ color: $white;
483
+ }
484
+ }
485
+
486
+ .chulapa-pagination-inner .page-item {
487
+ border-radius: 0;
488
+ }
489
+
490
+ .page-link {
491
+ color: $pagination-chulapa-text-color;
492
+ background-color: transparent;
493
+
494
+ &:hover {
495
+ z-index: 2;
496
+ color: $pagination-chulapa-text-hover-color;
497
+ background-color: $pagination-chulapa-bg-hover-color;
498
+ border-color: $pagination-chulapa-bg-hover-color;
499
+ }
500
+
501
+ &:focus {
502
+ outline: $pagination-focus-outline;
503
+ box-shadow: $pagination-focus-box-shadow;
504
+ }
505
+ }
506
+
507
+ .page-item {
508
+ &.active .page-link {
509
+ color: $pagination-chulapa-text-hover-color;
510
+ background-color: $pagination-chulapa-bg-hover-color;
511
+ border-color: $pagination-chulapa-bg-hover-color;
512
+ }
513
+
514
+ &.disabled .page-link {
515
+ color: change-color($pagination-chulapa-text-color, $alpha: 0.7);
516
+ pointer-events: none;
517
+ // Opinionated: remove the "hand" cursor set previously for .page-link
518
+ cursor: auto;
519
+ background-color: transparent;
520
+ border-color: transparent;
521
+
522
+ &.chulapa-label {
523
+ color: $pagination-chulapa-text-color;
524
+ }
525
+ }
526
+ }
527
+ }
528
+
529
+ .chulapa-card-img {
530
+ @include border-radius(
531
+ $card-inner-border-radius $card-inner-border-radius 0 0
532
+ );
533
+ }
534
+
535
+ @include media-breakpoint-up(sm) {
536
+ .chulapa-card-img {
537
+ @include border-radius(
538
+ $card-inner-border-radius 0 0 $card-inner-border-radius
539
+ );
540
+ }
541
+ }
542
+ .chulapa-toc-wrapper {
543
+ .list-group-item {
544
+ background-color: $light;
545
+ a {
546
+ color: color-contrast($light);
547
+ }
548
+ &:first-child {
549
+ @include border-top-radius($border-radius-lg);
550
+ padding-top: map-get($spacers, 2) !important;
551
+ }
552
+
553
+ &:last-child {
554
+ @include border-bottom-radius($border-radius-lg);
555
+ padding-bottom: map-get($spacers, 2) !important;
556
+ }
557
+ }
558
+ }
559
+
560
+ .chulapa-toc-reset {
561
+ border: 0;
562
+ ul {
563
+ padding-left: 0;
564
+ margin-left: 0;
565
+ padding-right: 0;
566
+ margin-right: 0;
567
+ border: 0;
568
+
569
+ li {
570
+ border-left: 0;
571
+ border-right: 0;
572
+ border-bottom: 0;
573
+ font-size: 0.9 * $font-size-base;
574
+ font-weight: $font-weight-normal !important;
575
+ padding-right: 0;
576
+ margin-right: 0;
577
+ }
578
+ }
579
+ }
580
+
581
+ #markdown-toc {
582
+ @extend .chulapa-toc-wrapper;
583
+ @extend .list-group;
584
+ @extend .mb-5;
585
+ @extend .mx-3;
586
+ @extend .mx-lg-5;
587
+ li {
588
+ @extend .list-group-item;
589
+ @extend .font-weight-bold;
590
+ @extend .py-1;
591
+ @extend .pr-0;
592
+ @extend .mr-0;
593
+ @extend .chulapa-toc-reset;
594
+ }
595
+ }
596
+
597
+ .chulapa-text-line-through {
598
+ text-decoration: line-through;
599
+ }
600
+
601
+ .chulapa-bg-landingpage {
602
+ background-color: $landingpage-chulapa-bg-color;
603
+ header {
604
+ color: $landingpage-chulapa-text-color;
605
+ a {
606
+ color: $landingpage-chulapa-text-color;
607
+ }
608
+ }
609
+ }
610
+
611
+ .chulapa-landingpage-color {
612
+ color: $landingpage-chulapa-text-color;
613
+ .breadcrumb {
614
+ .breadcrumb-item {
615
+ + .breadcrumb-item {
616
+ &::before {
617
+ color: mix($info, $landingpage-chulapa-text-color, 50%);
618
+ }
619
+ }
620
+ &.active {
621
+ color: $landingpage-chulapa-text-color;
622
+ }
623
+ }
624
+ }
625
+
626
+ a {
627
+ color: mix($info, $landingpage-chulapa-text-color, 50%);
628
+ }
629
+
630
+ table,
631
+ .chulapaDateSocial {
632
+ color: $landingpage-chulapa-text-color;
633
+
634
+ a {
635
+ color: $landingpage-chulapa-text-color;
636
+ }
637
+ }
638
+
639
+ hr {
640
+ background-color: $landingpage-chulapa-text-color;
641
+ }
642
+
643
+ .chulapa-pagination {
644
+ .page-link {
645
+ color: $landingpage-chulapa-text-color;
646
+
647
+ &:hover {
648
+ color: $landingpage-chulapa-bg-color;
649
+ background-color: $landingpage-chulapa-text-color;
650
+ }
651
+ }
652
+ }
653
+
654
+ @each $color, $value in $theme-colors {
655
+ .chulapa-pill-bg-#{$color} {
656
+ @include badge-variant($value);
657
+ }
658
+ }
659
+ }
660
+
661
+ .chulapa-landingpage-related {
662
+ color: $landingpage-chulapa-text-color;
663
+ background-color: $landingpage-chulapa-bg-color;
664
+
665
+ .card.chulapa-related {
666
+ background-color: $landingpage-chulapa-bg-color;
667
+ border-color: $landingpage-chulapa-text-color !important;
668
+
669
+ .card-footer {
670
+ border-top-color: $landingpage-chulapa-text-color !important;
671
+ }
672
+
673
+ .chulapa-text-body-color {
674
+ color: $landingpage-chulapa-text-color !important;
675
+ }
676
+ }
677
+ }
678
+
679
+ .chulapa-landingpage-badges {
680
+ i {
681
+ color: $landingpage-chulapa-text-color;
682
+ }
683
+ }
684
+
685
+ .chulapa-landingpage-tag {
686
+ a {
687
+ border: $border-width solid $landingpage-chulapa-text-color;
688
+ background-color: transparent;
689
+ color: $landingpage-chulapa-text-color;
690
+ }
691
+ }
692
+
693
+ //Navbar modern
694
+ .navbar-chulapa-fab {
695
+ label {
696
+ line-height: unset;
697
+ }
698
+
699
+ .navbar-toggler {
700
+ background-color: $navbar-chulapa-bg-color;
701
+ border-color: $navbar-chulapa-toggler-border-color;
702
+ height: 56px;
703
+ width: 56px;
704
+ position: fixed;
705
+ @include border-radius(50%);
706
+ font-size: 1.25rem;
707
+ z-index: 20000;
708
+ cursor: pointer;
709
+ }
710
+
711
+ &-background {
712
+ height: 56px;
713
+ width: 56px;
714
+ @include border-radius(50%);
715
+ position: fixed;
716
+ background-image: radial-gradient(
717
+ $navbar-chulapa-bg-color,
718
+ $navbar-chulapa-bg-color
719
+ );
720
+ z-index: 10000;
721
+ transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
722
+ }
723
+
724
+ &-nav {
725
+ height: 100vh;
726
+ position: fixed;
727
+ top: 0;
728
+ left: 0;
729
+ z-index: 15000;
730
+ opacity: 0;
731
+ width: 0;
732
+ transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
733
+ }
734
+
735
+ .navbar-nav {
736
+ position: absolute;
737
+ top: 50%;
738
+ left: -100vw;
739
+ width: 100%;
740
+ transform: translate(100%, -50%);
741
+ }
742
+
743
+ .dropdown-menu {
744
+ background-color: $navbar-chulapa-bg-color;
745
+ border-color: $navbar-chulapa-text-color;
746
+
747
+ .dropdown-item {
748
+ color: $navbar-chulapa-text-color;
749
+
750
+ .nav-link {
751
+ &.disabled {
752
+ color: $navbar-chulapa-disabled-color;
753
+ }
754
+
755
+ &.active {
756
+ color: $navbar-chulapa-active-color;
757
+ }
758
+ }
759
+ }
760
+ }
761
+
762
+ .navbar-brand {
763
+ color: $navbar-chulapa-brand-color;
764
+
765
+ @include hover-focus() {
766
+ color: $navbar-chulapa-brand-hover-color;
767
+ }
768
+ }
769
+
770
+ .nav-link {
771
+ color: $navbar-chulapa-text-color;
772
+
773
+ &:link,
774
+ &:visited {
775
+ display: inline-block;
776
+ background-image: linear-gradient(
777
+ 120deg,
778
+ transparent 0%,
779
+ transparent 50%,
780
+ $navbar-chulapa-hover-color 50%
781
+ );
782
+ background-size: 280%;
783
+ transition: all 0.4s;
784
+ }
785
+
786
+ &:hover,
787
+ &:active {
788
+ background-position: 100%;
789
+ color: $navbar-chulapa-bg-color;
790
+ transform: translateX(map-get($spacers, 2));
791
+ }
792
+
793
+ &.disabled {
794
+ color: $navbar-chulapa-disabled-color;
795
+ }
796
+
797
+ &.active {
798
+ color: $navbar-chulapa-active-color;
799
+
800
+ @include hover-focus() {
801
+ color: $navbar-chulapa-text-color;
802
+ }
803
+ }
804
+ }
805
+
806
+ @include media-breakpoint-down(lg) {
807
+ .navbar-toggler {
808
+ bottom: 1.05 * map-get($spacers, 5);
809
+ right: map-get($spacers, 4);
810
+ }
811
+
812
+ .navbar-chulapa-fab-background {
813
+ bottom: 1.05 * map-get($spacers, 5);
814
+ right: map-get($spacers, 4);
815
+ }
816
+ }
817
+
818
+ @include media-breakpoint-up(lg) {
819
+ .navbar-toggler {
820
+ top: map-get($spacers, 4);
821
+ right: 2 * map-get($spacers, 5);
822
+ }
823
+
824
+ .navbar-chulapa-fab-background {
825
+ top: map-get($spacers, 4);
826
+ right: 2 * map-get($spacers, 5);
827
+ }
828
+ }
829
+
830
+ &-button:checked ~ &-background {
831
+ transform: scale(80);
832
+ }
833
+
834
+ &-button:checked ~ &-nav {
835
+ opacity: 1;
836
+ width: 100%;
837
+
838
+ .navbar-nav {
839
+ transform: translate(100vw, -50%);
840
+ }
841
+ }
842
+
843
+ .navbar-toggler-icon {
844
+ position: relative;
845
+
846
+ &,
847
+ &::before,
848
+ &::after {
849
+ width: 2rem;
850
+ height: 2px;
851
+ background-color: $navbar-chulapa-toggler-color;
852
+ display: inline-block;
853
+ }
854
+
855
+ &::before,
856
+ &::after {
857
+ content: "";
858
+ position: absolute;
859
+ left: 0;
860
+ transition: all 0.2s;
861
+ }
862
+
863
+ &::before {
864
+ top: -0.6rem;
865
+ }
866
+
867
+ &::after {
868
+ top: 0.6rem;
869
+ }
870
+ }
871
+
872
+ &-button:checked + .navbar-toggler .navbar-toggler-icon {
873
+ background-color: transparent;
874
+ }
875
+
876
+ &-button:checked + .navbar-toggler .navbar-toggler-icon::before {
877
+ top: 0;
878
+ transform: rotate(135deg);
879
+ }
880
+
881
+ &-button:checked + .navbar-toggler .navbar-toggler-icon::after {
882
+ top: 0;
883
+ transform: rotate(-135deg);
884
+ }
885
+ }
886
+
887
+ // Style links on header
888
+ h1,
889
+ h2,
890
+ h3,
891
+ h4,
892
+ h5,
893
+ h6 {
894
+ .chulapa-header-link {
895
+ opacity: 0;
896
+ -webkit-transition: opacity 0.2s ease-in-out 0.1s;
897
+ -moz-transition: opacity 0.2s ease-in-out 0.1s;
898
+ -o-transition: opacity 0.2s ease-in-out 0.1s;
899
+ transition: opacity 0.2s ease-in-out 0.1s;
900
+ .fa,
901
+ .far,
902
+ .fas,
903
+ .fal,
904
+ .fab,
905
+ .fa-solid,
906
+ .fa-regular,
907
+ .fa-light,
908
+ .fa-thin,
909
+ .fa-duotone,
910
+ .fa-sharp,
911
+ .fa-brands {
912
+ &:hover {
913
+ -webkit-transform: scale(1, 1);
914
+ -ms-transform: scale(1, 1);
915
+ -o-transform: scale(1, 1);
916
+ transform: scale(1, 1);
917
+ }
918
+ }
919
+ }
920
+
921
+ &:hover .chulapa-header-link {
922
+ opacity: 1;
923
+ }
924
+ }
925
+
926
+ // Repositioning Clipboard button
927
+ .btn-chulapa-copy-code {
928
+ position: absolute;
929
+ right: 30px;
930
+ margin-top: -0.3rem;
931
+ font-size: $font-size-sm;
932
+ }
933
+
934
+ // Cards on related snippet
935
+ .card.chulapa-related {
936
+ border-radius: $card-border-radius !important;
937
+
938
+ border-color: $card-border-color;
939
+
940
+ .card-text {
941
+ opacity: 0.9;
942
+ }
943
+
944
+ .card-footer {
945
+ border-top-color: $card-border-color;
946
+ opacity: 0.9;
947
+ }
948
+ }
949
+
950
+ // Normalize carousel
951
+
952
+ .chulapa-carousel {
953
+ height: 75vh;
954
+ object-fit: contain;
955
+ }
956
+
957
+ .chulapa-border-card-index {
958
+ border-color: $indexcards-chulapa-border-color;
959
+ }
960
+
961
+ // Chulapa disable fa animation
962
+
963
+ .chulapa-fa-static {
964
+ .fa,
965
+ .far,
966
+ .fas,
967
+ .fal,
968
+ .fab,
969
+ .fa-solid,
970
+ .fa-regular,
971
+ .fa-light,
972
+ .fa-thin,
973
+ .fa-duotone,
974
+ .fa-sharp,
975
+ .fa-brands {
976
+ -webkit-transition: none !important;
977
+ -moz-transition: none !important;
978
+ -o-transition: none !important;
979
+ -ms-transition: none !important;
980
+ transition: none !important;
981
+
982
+ &:hover {
983
+ -webkit-transform: none;
984
+ -ms-transform: none;
985
+ -o-transform: none;
986
+ transform: none;
987
+ }
988
+ }
989
+ }
990
+
991
+ // Styles for sidebar
992
+
993
+ .chulapa-btn-sidebar {
994
+ bottom: 1.05 * map-get($spacers, 5);
995
+ left: 0;
996
+ margin-left: -400px;
997
+ opacity: 0.4;
998
+ z-index: 1099;
999
+ border-top-left-radius: 0;
1000
+ border-bottom-left-radius: 0;
1001
+ }
1002
+
1003
+ .chulapa-btn-nofocus {
1004
+ &.close {
1005
+ text-shadow: none;
1006
+ opacity: 0.6;
1007
+
1008
+ &:before {
1009
+ content: "" !important;
1010
+ }
1011
+ }
1012
+
1013
+ &:focus {
1014
+ outline: 0;
1015
+ text-shadow: none;
1016
+ }
1017
+ }
1018
+
1019
+ .bs-canvas-overlay {
1020
+ opacity: 0;
1021
+ z-index: -1;
1022
+ &.show {
1023
+ opacity: 0.3;
1024
+ z-index: 20001;
1025
+ }
1026
+ }
1027
+
1028
+ .bs-canvas {
1029
+ top: 0;
1030
+ width: 300px;
1031
+ margin-left: -300px;
1032
+ z-index: 20010;
1033
+ overflow-x: hidden;
1034
+ overflow-y: auto;
1035
+ }
1036
+ .bs-canvas-left {
1037
+ left: 0;
1038
+ }
1039
+ .bs-canvas-anim {
1040
+ transition: all 0.4s ease-out;
1041
+ -webkit-transition: all 0.4s ease-out;
1042
+ -moz-transition: all 0.4s ease-out;
1043
+ -ms-transition: all 0.4s ease-out;
1044
+ }
1045
+
1046
+ // Classes for qusdis
1047
+
1048
+ @mixin ch_bcolor($color1, $color2) {
1049
+ @if $color1==$color2 {
1050
+ @extend .btn-secondary;
1051
+ } @else {
1052
+ @extend .btn-primary;
1053
+ }
1054
+ }
1055
+
1056
+ $cusdis-text-color: color-contrast($footer-chulapa-bg-color, $black, $white);
1057
+
1058
+ #ch-cusdis {
1059
+ background-color: $footer-chulapa-bg-color;
1060
+ color: $cusdis-text-color;
1061
+ overflow: hidden;
1062
+
1063
+ .bg-blue-500 {
1064
+ @extend .bg-success;
1065
+ color: color-contrast($success, $black, $white);
1066
+ margin-left: 15vw;
1067
+ margin-right: 15vw;
1068
+ padding: 1rem !important;
1069
+ font-size: $font-size-sm;
1070
+ text-align: center;
1071
+ border-radius: $input-border-radius-lg;
1072
+ }
1073
+
1074
+ input,
1075
+ textarea {
1076
+ &.bg-transparent:focus {
1077
+ background-color: white !important;
1078
+ color: $black !important;
1079
+ }
1080
+
1081
+ @extend .form-control;
1082
+ }
1083
+
1084
+ button {
1085
+ &.bg-gray-200 {
1086
+ @extend .btn;
1087
+ font-weight: $headings-font-weight;
1088
+ font-family: $headings-font-family;
1089
+ @include ch_bcolor($primary, $footer-chulapa-bg-color);
1090
+ }
1091
+ }
1092
+
1093
+ .border-color-gray-200 {
1094
+ border-color: $cusdis-text-color;
1095
+ }
1096
+
1097
+ //Name
1098
+ .font-medium {
1099
+ color: $footer-chulapa-text-color;
1100
+ font-family: $headings-font-family;
1101
+ font-weight: $font-weight-bold;
1102
+ }
1103
+
1104
+ .text-gray-500 {
1105
+ //Comment
1106
+ color: $cusdis-text-color;
1107
+ &.text-sm {
1108
+ //Time
1109
+ @extend time;
1110
+ color: $footer-chulapa-text-color;
1111
+ font-weight: $font-weight-normal;
1112
+ }
1113
+ }
1114
+
1115
+ //Reply button
1116
+ button {
1117
+ &.text-gray-500 {
1118
+ &.text-sm {
1119
+ font-family: $font-family-base;
1120
+ font-weight: $font-weight-normal;
1121
+ @extend .btn;
1122
+ @extend .btn-sm;
1123
+ @include button-variant($footer-chulapa-bg-color,$footer-chulapa-text-color);
1124
+ }
1125
+ }
1126
+ }
1127
+
1128
+ .border-color-gray-200 {
1129
+ border-color: $footer-chulapa-text-color;
1130
+ }
1131
+
1132
+ .underline {
1133
+ color: $footer-chulapa-text-color;
1134
+ text-decoration: none;
1135
+ font-weight: bold;
1136
+
1137
+ @include hover-focus() {
1138
+ color: $footer-chulapa-hover-color;
1139
+ }
1140
+ }
1141
+ }
1142
+
1143
+ //wellcomments
1144
+
1145
+ $wlc-text-color: color-contrast($footer-chulapa-bg-color, $black, $white);
1146
+
1147
+ #welcomments__container {
1148
+ text-align: left;
1149
+ font-family: $font-family-base;
1150
+ overflow-x: hidden;
1151
+
1152
+ //Name
1153
+ .welcomments__comments-title,
1154
+ .welcomments__author-name {
1155
+ color: $footer-chulapa-text-color;
1156
+ font-family: $headings-font-family;
1157
+ font-weight: $font-weight-bold;
1158
+ }
1159
+ //Time
1160
+ .welcomments__comment-time {
1161
+ @extend time;
1162
+ time {
1163
+ color: $footer-chulapa-text-color;
1164
+ font-weight: $font-weight-normal;
1165
+ }
1166
+ }
1167
+
1168
+ .welcomments__comment .welcomments__comment-message, .welcomments__email-notice, .welcomments__markdown-notice {
1169
+ color: $wlc-text-color;
1170
+ font-weight: $font-weight-normal;
1171
+ pre {
1172
+ background-color: $wlc-text-color;
1173
+ }
1174
+ a {
1175
+ color: $wlc-text-color;
1176
+ @include hover-focus() {
1177
+ color: $footer-chulapa-hover-color;
1178
+ }
1179
+ }
1180
+ }
1181
+
1182
+ $welc_levs: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10;
1183
+
1184
+ @each $l in $welc_levs {
1185
+ .welcomments__nesting-level-#{$l} {
1186
+ border-color: $footer-chulapa-text-color;
1187
+ }
1188
+ }
1189
+
1190
+ //Reply button
1191
+ .welcomments__comment-reply-link {
1192
+ font-family: $font-family-base;
1193
+ @extend .btn;
1194
+ @extend .btn-sm;
1195
+ @include button-variant(
1196
+ $footer-chulapa-bg-color,
1197
+ $footer-chulapa-text-color
1198
+ );
1199
+ }
1200
+
1201
+ input,
1202
+ textarea {
1203
+ @extend .form-control;
1204
+ }
1205
+
1206
+ label {
1207
+ font-size: $font-size-sm;
1208
+ font-family: $font-family-base;
1209
+ color: $footer-chulapa-text-color;
1210
+ .welcomments__optional-notice {
1211
+ color: $footer-chulapa-text-color;
1212
+ opacity: 0.8;
1213
+ }
1214
+ }
1215
+
1216
+ .welcomments__submit-button {
1217
+ @extend .btn;
1218
+ font-weight: $headings-font-weight;
1219
+ font-family: $headings-font-family;
1220
+ @include ch_bcolor($primary, $footer-chulapa-bg-color);
1221
+ }
1222
+
1223
+ .welcomments__form-group {
1224
+ @extend .form-group;
1225
+ }
1226
+
1227
+ }
1228
+
1229
+ // For disqus recommendations
1230
+ #disqus_recommendations {
1231
+ width: 100%;
1232
+ }
1233
+
1234
+
1235
+ // For applause button
1236
+
1237
+ applause-button {
1238
+
1239
+ div.style-root {
1240
+ fill: $body-color !important;
1241
+ stroke: $body-color !important;
1242
+ color: $body-color !important;
1243
+ }
1244
+
1245
+ .count-container {
1246
+ top: -60% !important;
1247
+ color: $body-color !important;
1248
+ }
1249
+
1250
+ &.clap-limit-exceeded div {
1251
+ fill: $info !important;
1252
+ stroke: $info !important;
1253
+ color: $info !important;
1254
+ }
1255
+ }
1256
+
1257
+ .chulapa-bg-landingpage {
1258
+ applause-button {
1259
+ div.style-root {
1260
+ fill: $landingpage-chulapa-text-color !important;
1261
+ stroke: $landingpage-chulapa-text-color !important;
1262
+ color: $landingpage-chulapa-text-color !important;
1263
+ }
1264
+
1265
+ .count-container {
1266
+ color: $landingpage-chulapa-text-color !important;
1267
+ }
1268
+ }
1269
+ }
1270
+