chulapa-jekyll 2.0.0 → 2.1.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 +4 -4
- data/CHANGELOG.md +154 -31
- data/README.md +96 -76
- data/_data/version.yml +2 -2
- data/_includes/components/breadcrumbdatesocial.html +15 -11
- data/_includes/components/headers.html +17 -10
- data/_includes/components/indexcards.html +2 -2
- data/_includes/components/navbeforeafter.html +2 -2
- data/_includes/components/random.html +103 -0
- data/_includes/components/related.html +84 -60
- data/_includes/components/simplelist.html +26 -0
- data/_includes/footer.html +53 -1
- data/_includes/head.html +237 -98
- data/_includes/search/fusejs.html +36 -0
- data/_includes/search/lunr.html +27 -7
- data/_includes/search/simplesearch.html +46 -0
- data/_includes/snippets/article-images.html +25 -0
- data/_includes/snippets/bootstrapdemo.html +1454 -1303
- data/_includes/snippets/breadcrumb-names.html +5 -0
- data/_includes/snippets/canonical-url.html +17 -0
- data/_includes/snippets/datetranslate.html +7 -1
- data/_includes/snippets/jsonld-string.html +16 -0
- data/_includes/snippets/og-locale.html +19 -0
- data/_includes/snippets/page-language.html +4 -0
- data/_includes/snippets/publisher.html +25 -0
- data/_includes/snippets/video-metadata.html +15 -0
- data/_includes/snippets/video.html +20 -17
- data/_includes/snippets/youtube.html +9 -4
- data/_includes/welcomments/template.html +1 -1
- data/_layouts/archive.html +1 -1
- data/_layouts/cloudcategory.html +34 -16
- data/_layouts/cloudcategory2.html +4 -85
- data/_layouts/cloudtag.html +39 -16
- data/_layouts/cloudtag2.html +4 -81
- data/_layouts/default.html +4 -4
- data/_layouts/landingpage.html +8 -5
- data/_layouts/minimal.html +10 -4
- data/_layouts/search.html +12 -13
- data/_sass/chulapa/_classes.scss +68 -58
- data/_sass/chulapa/_reboot.scss +31 -0
- data/_sass/chulapa/_variables.scss +8 -1
- data/_sass/highlight/README.md +176 -14
- data/_sass/highlight/abap.scss +62 -0
- data/_sass/highlight/algol.scss +46 -0
- data/_sass/highlight/algol_nu.scss +46 -0
- data/_sass/highlight/arduino.scss +63 -0
- data/_sass/highlight/autumn.scss +69 -58
- data/_sass/highlight/base16.scss +90 -0
- data/_sass/highlight/borland.scss +55 -46
- data/_sass/highlight/bw.scss +70 -34
- data/_sass/highlight/cobalt2.scss +197 -0
- data/_sass/highlight/coffee.scss +82 -0
- data/_sass/highlight/colorful.scss +178 -61
- data/_sass/highlight/cran.scss +185 -169
- data/_sass/highlight/default.scss +72 -61
- data/_sass/highlight/dracula.scss +93 -169
- data/_sass/highlight/emacs.scss +72 -61
- data/_sass/highlight/friendly.scss +72 -61
- data/_sass/highlight/friendly_grayscale.scss +72 -0
- data/_sass/highlight/fruity.scss +82 -70
- data/_sass/highlight/github.dark.scss +83 -0
- data/_sass/highlight/github.scss +116 -61
- data/_sass/highlight/gruvbox.dark.scss +83 -0
- data/_sass/highlight/gruvbox.light.scss +68 -84
- data/_sass/highlight/gruvbox.scss +97 -0
- data/_sass/highlight/igor.scss +36 -0
- data/_sass/highlight/igorpro.scss +45 -0
- data/_sass/highlight/inkpot.scss +78 -0
- data/_sass/highlight/lightbulb.scss +82 -0
- data/_sass/highlight/lilypond.scss +58 -0
- data/_sass/highlight/lovelace.scss +74 -0
- data/_sass/highlight/magritte.scss +175 -0
- data/_sass/highlight/manni.scss +72 -61
- data/_sass/highlight/material.scss +81 -0
- data/_sass/highlight/molokai.scss +211 -0
- data/_sass/highlight/monokai.scss +217 -65
- data/_sass/highlight/monokai.sublime.scss +203 -0
- data/_sass/highlight/murphy.scss +72 -61
- data/_sass/highlight/native.scss +82 -70
- data/_sass/highlight/night-owl.scss +201 -0
- data/_sass/highlight/nord.darker.scss +82 -0
- data/_sass/highlight/nord.scss +82 -0
- data/_sass/highlight/oksolar.dark.scss +175 -0
- data/_sass/highlight/oksolar.light.scss +175 -0
- data/_sass/highlight/one.dark.scss +82 -0
- data/_sass/highlight/panda.scss +195 -0
- data/_sass/highlight/paraiso.dark.scss +76 -0
- data/_sass/highlight/paraiso.light.scss +76 -0
- data/_sass/highlight/pastie.scss +154 -60
- data/_sass/highlight/perldoc.scss +69 -58
- data/_sass/highlight/rainbow_dash.scss +65 -0
- data/_sass/highlight/rrt.scss +82 -0
- data/_sass/highlight/sas.scss +63 -0
- data/_sass/highlight/selenized.black.scss +175 -0
- data/_sass/highlight/selenized.dark.scss +175 -0
- data/_sass/highlight/selenized.light.scss +175 -0
- data/_sass/highlight/selenized.white.scss +175 -0
- data/_sass/highlight/skeletor.scss +190 -140
- data/_sass/highlight/solarized.dark.scss +82 -0
- data/_sass/highlight/solarized.light.scss +82 -0
- data/_sass/highlight/stackoverflow.dark.scss +175 -0
- data/_sass/highlight/stackoverflow.light.scss +175 -0
- data/_sass/highlight/staroffice.scss +82 -0
- data/_sass/highlight/stata.dark.scss +82 -0
- data/_sass/highlight/stata.light.scss +49 -0
- data/_sass/highlight/tango.scss +81 -69
- data/_sass/highlight/template.scss +290 -0
- data/_sass/highlight/thankful_eyes.scss +180 -173
- data/_sass/highlight/trac.scss +70 -59
- data/_sass/highlight/tulip.scss +171 -0
- data/_sass/highlight/vim.scss +82 -70
- data/_sass/highlight/vs.scss +41 -33
- data/_sass/highlight/xcode.scss +65 -0
- data/_sass/highlight/zenburn.scss +82 -136
- data/_sass/reset-algolia.scss +27 -17
- data/_sass/skins/academia.scss +19 -10
- data/_sass/skins/auto.scss +5 -2
- data/_sass/skins/butterfly-dark.scss +54 -0
- data/_sass/skins/butterfly-dim.scss +54 -0
- data/_sass/skins/butterfly.scss +33 -0
- data/_sass/skins/chulapa.scss +10 -3
- data/_sass/skins/cyborg.scss +512 -0
- data/_sass/skins/dark-bg.scss +83 -49
- data/_sass/skins/darkly.scss +424 -0
- data/_sass/skins/deeply.scss +262 -63
- data/_sass/skins/electro.scss +24 -17
- data/_sass/skins/flatly.scss +386 -0
- data/_sass/skins/focal.scss +24 -18
- data/_sass/skins/gitdev-dark.scss +12 -20
- data/_sass/skins/gitdev.scss +20 -17
- data/_sass/skins/graymor.scss +22 -14
- data/_sass/skins/hootstrap.scss +17 -10
- data/_sass/skins/journal.scss +74 -86
- data/_sass/skins/listen.scss +51 -0
- data/_sass/skins/lux.scss +171 -237
- data/_sass/skins/lymcha.scss +14 -9
- data/_sass/skins/materia.scss +889 -0
- data/_sass/skins/media.scss +29 -11
- data/_sass/skins/mickie.scss +27 -11
- data/_sass/skins/minco.scss +30 -10
- data/_sass/skins/minty.scss +226 -85
- data/_sass/skins/monotone.scss +15 -1
- data/_sass/skins/navi.scss +26 -0
- data/_sass/skins/pear.scss +16 -5
- data/_sass/skins/preptor.scss +13 -12
- data/_sass/skins/skeeblu.scss +11 -11
- data/_sass/skins/sketchy.scss +366 -377
- data/_sass/skins/slate.scss +719 -0
- data/_sass/skins/solar.scss +425 -0
- data/_sass/skins/sunset.scss +27 -12
- data/_sass/skins/towards.scss +19 -5
- data/_sass/skins/twitter-dim.scss +20 -11
- data/_sass/skins/twitter-lights-out.scss +22 -11
- data/_sass/skins/twitter.scss +22 -10
- data/_sass/skins/united.scss +57 -0
- data/_sass/skins/universal.scss +29 -27
- data/_sass/skins/wandoo.scss +12 -11
- data/_sass/skins/yeti.scss +673 -0
- data/assets/atom.xml +10 -6
- data/assets/js/better404/better404.js +75 -0
- data/assets/js/ch_ytdefer/ch_ytdefer.js +0 -1
- data/assets/js/chulapa_script.js +2 -2
- data/assets/js/fusejs/fusejs-search.js +197 -0
- data/assets/js/fusejs/fusejs-search.min.js +4 -0
- data/assets/js/fusejs/fusejs-store.js +43 -0
- data/assets/js/lunr/lunr-search.js +249 -114
- data/assets/js/lunr/lunr-search.min.js +4 -0
- data/assets/js/lunr/lunr-store.js +31 -23
- data/assets/js/simplesearch/simplesearch-store.json +45 -0
- data/assets/rss.xml +4 -3
- metadata +81 -8
- data/_sass/highlight/UNLICENSE.txt +0 -24
data/_layouts/default.html
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: minimal
|
|
3
|
+
header_in_content: true
|
|
3
4
|
---
|
|
4
5
|
{% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
|
|
5
6
|
<main class="container-lg pb-3 flex-fill">
|
|
@@ -26,10 +27,6 @@ layout: minimal
|
|
|
26
27
|
</nav>
|
|
27
28
|
{% endif %}
|
|
28
29
|
{{- content -}}
|
|
29
|
-
|
|
30
|
-
{% if page.show_applause %}
|
|
31
|
-
<div class="mb-2 mt-5 text-center"><applause-button id="applause" class="mx-auto" style="width: 40px; height: 40px;" url="{{ page.url | absolute_url }}"></applause-button></div>
|
|
32
|
-
{% endif %}
|
|
33
30
|
</article>
|
|
34
31
|
</div>
|
|
35
32
|
</main>
|
|
@@ -51,3 +48,6 @@ layout: minimal
|
|
|
51
48
|
{%- if page.show_related -%}
|
|
52
49
|
{%- include components/related.html -%}
|
|
53
50
|
{%- endif -%}
|
|
51
|
+
{%- if page.show_random -%}
|
|
52
|
+
{%- include components/random.html -%}
|
|
53
|
+
{%- endif -%}
|
data/_layouts/landingpage.html
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
layout: minimal
|
|
3
|
+
header_in_content: true
|
|
3
4
|
---
|
|
4
5
|
<div class="chulapa-bg-landingpage">
|
|
5
6
|
{% include components/headers.html headertype= page.header_type imghero=page.header_img projects=page.project_links %}
|
|
@@ -31,10 +32,6 @@ layout: minimal
|
|
|
31
32
|
</nav>
|
|
32
33
|
{% endif %}
|
|
33
34
|
{{- content -}}
|
|
34
|
-
|
|
35
|
-
{% if page.show_applause %}
|
|
36
|
-
<div class="mb-2 mt-5 text-center"><applause-button id="applause" class="mx-auto" style="width: 40px; height: 40px;" url="{{ page.url | absolute_url }}"></applause-button></div>
|
|
37
|
-
{% endif %}
|
|
38
35
|
</article>
|
|
39
36
|
</div>
|
|
40
37
|
</main>
|
|
@@ -66,4 +63,10 @@ layout: minimal
|
|
|
66
63
|
<div class="chulapa-landingpage-related">
|
|
67
64
|
{%- include components/related.html -%}
|
|
68
65
|
</div>
|
|
69
|
-
{%- endif -%}
|
|
66
|
+
{%- endif -%}
|
|
67
|
+
{%- if page.show_random -%}
|
|
68
|
+
<div class="chulapa-landingpage-related">
|
|
69
|
+
{%- include components/random.html -%}
|
|
70
|
+
</div>
|
|
71
|
+
{%- endif -%}
|
|
72
|
+
|
data/_layouts/minimal.html
CHANGED
|
@@ -2,19 +2,25 @@
|
|
|
2
2
|
layout: compress
|
|
3
3
|
---
|
|
4
4
|
<!doctype html>
|
|
5
|
-
|
|
5
|
+
{%- include snippets/page-language.html -%}
|
|
6
|
+
<html lang="{{ page_language | escape }}">
|
|
6
7
|
{%- include head.html -%}
|
|
7
|
-
{%-
|
|
8
|
+
{%- include snippets/canonical-url.html url=page.url canonical=page.canonical_url -%}
|
|
8
9
|
<body class="d-flex flex-column h-entry" id="body">
|
|
9
|
-
<a class="u-url d-none" href="{{ canonical_url }}">Invisible link to canonical for Microformats</a>
|
|
10
|
+
<a class="u-url d-none" href="{{ canonical_url | escape }}">Invisible link to canonical for Microformats</a>
|
|
10
11
|
{% include_cached navbar.html pageurl=page.url %}
|
|
12
|
+
{% if page.show_header == true %}
|
|
13
|
+
{% unless layout.header_in_content %}
|
|
14
|
+
{% include components/headers.html headertype=page.header_type imghero=page.header_img projects=page.project_links %}
|
|
15
|
+
{% endunless %}
|
|
16
|
+
{% endif %}
|
|
11
17
|
{{- content -}}
|
|
12
18
|
{%- include_cached footer.html show_comments=page.show_comments pageurl=page.url pageid=page.id pagetitle = page.title -%}
|
|
13
19
|
<!-- JS, Popper.js, and jQuery -->
|
|
14
20
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
|
15
21
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
|
16
22
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
|
17
|
-
<script src="
|
|
23
|
+
<script src="{{ '/assets/js/chulapa_script.js' | relative_url }}"></script>
|
|
18
24
|
{% include custom/custom_bottomscripts.html %}
|
|
19
25
|
</body>
|
|
20
26
|
</html>
|
data/_layouts/search.html
CHANGED
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
|
-
|
|
2
|
+
{%- include snippets/page-language.html -%}
|
|
3
|
+
<html lang="{{ page_language | escape }}">
|
|
3
4
|
{%- include head.html -%}
|
|
4
5
|
<body class="d-flex flex-column">
|
|
5
|
-
{%- if site.search.provider == "lunr" -%}
|
|
6
|
-
<style>
|
|
7
|
-
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300&display=swap');
|
|
8
|
-
|
|
9
|
-
.lunr{
|
|
10
|
-
font-family: 'Heebo', sans-serif;
|
|
11
|
-
background-color: black;
|
|
12
|
-
color: white;
|
|
13
|
-
}
|
|
14
|
-
</style>
|
|
15
|
-
{% endif %}
|
|
16
6
|
{% include_cached navbar.html pageurl=page.url %}
|
|
17
7
|
<header class="text-center header-chulapa">
|
|
18
8
|
<div class="container-lg pt-4">
|
|
@@ -32,6 +22,10 @@
|
|
|
32
22
|
{%- include search/google.html -%}
|
|
33
23
|
{% elsif site.search.provider == "algolia" %}
|
|
34
24
|
{%- include search/algolia.html -%}
|
|
25
|
+
{% elsif site.search.provider == "simplesearch" %}
|
|
26
|
+
{%- include search/simplesearch.html -%}
|
|
27
|
+
{% elsif site.search.provider == "fusejs" %}
|
|
28
|
+
{%- include search/fusejs.html -%}
|
|
35
29
|
{%- else -%}
|
|
36
30
|
<h2 class="mt-5 pt-5 display-4"> N/A </h2>
|
|
37
31
|
{%- endif -%}
|
|
@@ -45,13 +39,18 @@
|
|
|
45
39
|
{%- if site.search.provider == "lunr" -%}
|
|
46
40
|
<script src="https://unpkg.com/lunr/lunr.min.js"></script>
|
|
47
41
|
<script src="{{ '/assets/js/lunr/lunr-store.js' | absolute_url }}"></script>
|
|
48
|
-
<script src="{{ '/assets/js/lunr/lunr-search.js' | absolute_url }}"></script>
|
|
42
|
+
<script src="{{ '/assets/js/lunr/lunr-search.min.js' | absolute_url }}"></script>
|
|
49
43
|
{% endif %}
|
|
50
44
|
{%- if site.search.provider == "algolia" -%}
|
|
51
45
|
<script src="https://cdn.jsdelivr.net/npm/algoliasearch@4/dist/algoliasearch-lite.umd.js"></script>
|
|
52
46
|
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@4"></script>
|
|
53
47
|
<script src="{{ '/assets/js/algolia/algolia-search.js' | absolute_url }}"></script>
|
|
54
48
|
{% endif %}
|
|
49
|
+
{%- if site.search.provider == "fusejs" -%}
|
|
50
|
+
<script src="https://cdn.jsdelivr.net/npm/fuse.js@7.1.0/dist/fuse.min.js"></script>
|
|
51
|
+
<script src="{{ '/assets/js/fusejs/fusejs-store.js' | absolute_url }}"></script>
|
|
52
|
+
<script src="{{ '/assets/js/fusejs/fusejs-search.min.js' | absolute_url }}"></script>
|
|
53
|
+
{% endif %}
|
|
55
54
|
{%- if site.search.provider == "google" -%}
|
|
56
55
|
<script src="{{ '/assets/js/google/google-search.js' | absolute_url }}"></script>
|
|
57
56
|
{% endif %}
|
data/_sass/chulapa/_classes.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Specific classes and formats for chulapa
|
|
3
3
|
*/
|
|
4
|
-
.chulapa {
|
|
4
|
+
.chulapa {
|
|
5
5
|
font-family: chulapa, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
|
|
6
6
|
Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
7
7
|
"Segoe UI Symbol", "Noto Color Emoji";
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.chulapa-footer-brand {
|
|
20
|
-
font-size: $font-size-base * .8;
|
|
20
|
+
font-size: $font-size-base * 0.8;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.chulapa-bg-transparent {
|
|
@@ -143,6 +143,7 @@
|
|
|
143
143
|
|
|
144
144
|
@include hover-focus() {
|
|
145
145
|
color: $navbar-chulapa-hover-color;
|
|
146
|
+
background-color: $navbar-chulapa-hover-bg-color;
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
&.disabled {
|
|
@@ -371,13 +372,13 @@
|
|
|
371
372
|
);
|
|
372
373
|
|
|
373
374
|
a {
|
|
374
|
-
color: $footer-chulapa-
|
|
375
|
+
color: $footer-chulapa-link-color;
|
|
375
376
|
text-decoration: none;
|
|
376
377
|
|
|
377
378
|
font-weight: $font-weight-bold;
|
|
378
379
|
|
|
379
380
|
@include hover-focus() {
|
|
380
|
-
color: $footer-chulapa-
|
|
381
|
+
color: $footer-chulapa-hover-color;
|
|
381
382
|
}
|
|
382
383
|
}
|
|
383
384
|
|
|
@@ -541,9 +542,9 @@
|
|
|
541
542
|
}
|
|
542
543
|
.chulapa-toc-wrapper {
|
|
543
544
|
.list-group-item {
|
|
544
|
-
background-color: $
|
|
545
|
+
background-color: $chulapa-toc-bg;
|
|
545
546
|
a {
|
|
546
|
-
color: color-contrast($
|
|
547
|
+
color: color-contrast($chulapa-toc-bg);
|
|
547
548
|
}
|
|
548
549
|
&:first-child {
|
|
549
550
|
@include border-top-radius($border-radius-lg);
|
|
@@ -602,7 +603,7 @@
|
|
|
602
603
|
background-color: $landingpage-chulapa-bg-color;
|
|
603
604
|
header {
|
|
604
605
|
color: $landingpage-chulapa-text-color;
|
|
605
|
-
a {
|
|
606
|
+
a:not([class]) {
|
|
606
607
|
color: $landingpage-chulapa-text-color;
|
|
607
608
|
}
|
|
608
609
|
}
|
|
@@ -623,7 +624,7 @@
|
|
|
623
624
|
}
|
|
624
625
|
}
|
|
625
626
|
|
|
626
|
-
a {
|
|
627
|
+
a:not([class]) {
|
|
627
628
|
color: mix($info, $landingpage-chulapa-text-color, 50%);
|
|
628
629
|
}
|
|
629
630
|
|
|
@@ -651,6 +652,49 @@
|
|
|
651
652
|
}
|
|
652
653
|
}
|
|
653
654
|
|
|
655
|
+
.chulapa-toc-wrapper .list-group-item {
|
|
656
|
+
background-color: $landingpage-card-bg;
|
|
657
|
+
|
|
658
|
+
a {
|
|
659
|
+
color: $landingpage-chulapa-text-color;
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
blockquote {
|
|
663
|
+
background-color: $landingpage-card-bg;
|
|
664
|
+
color: $landingpage-chulapa-text-color;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
|
|
668
|
+
background-color: $landingpage-card-bg;
|
|
669
|
+
color: $landingpage-chulapa-text-color;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.breadcrumb, .page-link, .card, .toast, .toast-header, .toast-body, .progress, .jumbotron, .list-group-item, #markdown-toc li {
|
|
673
|
+
background-color: $landingpage-card-bg;
|
|
674
|
+
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.close {
|
|
678
|
+
color: $white;
|
|
679
|
+
text-shadow: none;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.page-item.disabled {
|
|
683
|
+
background-color: $landingpage-chulapa-bg-color;
|
|
684
|
+
.page-link {
|
|
685
|
+
background-color: $landingpage-chulapa-bg-color;
|
|
686
|
+
|
|
687
|
+
&.chulapa-label {
|
|
688
|
+
color: mix($dark, $landingpage-chulapa-text-color, 40%);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
.card.bg-light {
|
|
695
|
+
color: $landingpage-chulapa-bg-color;
|
|
696
|
+
}
|
|
697
|
+
|
|
654
698
|
@each $color, $value in $theme-colors {
|
|
655
699
|
.chulapa-pill-bg-#{$color} {
|
|
656
700
|
@include badge-variant($value);
|
|
@@ -1046,10 +1090,10 @@ h6 {
|
|
|
1046
1090
|
// Classes for qusdis
|
|
1047
1091
|
|
|
1048
1092
|
@mixin ch_bcolor($color1, $color2) {
|
|
1049
|
-
|
|
1050
|
-
|
|
1093
|
+
@if $color1==$color2 {
|
|
1094
|
+
@extend .btn-secondary;
|
|
1051
1095
|
} @else {
|
|
1052
|
-
|
|
1096
|
+
@extend .btn-primary;
|
|
1053
1097
|
}
|
|
1054
1098
|
}
|
|
1055
1099
|
|
|
@@ -1120,7 +1164,10 @@ $cusdis-text-color: color-contrast($footer-chulapa-bg-color, $black, $white);
|
|
|
1120
1164
|
font-weight: $font-weight-normal;
|
|
1121
1165
|
@extend .btn;
|
|
1122
1166
|
@extend .btn-sm;
|
|
1123
|
-
@include button-variant(
|
|
1167
|
+
@include button-variant(
|
|
1168
|
+
$footer-chulapa-bg-color,
|
|
1169
|
+
$footer-chulapa-text-color
|
|
1170
|
+
);
|
|
1124
1171
|
}
|
|
1125
1172
|
}
|
|
1126
1173
|
}
|
|
@@ -1157,15 +1204,17 @@ $wlc-text-color: color-contrast($footer-chulapa-bg-color, $black, $white);
|
|
|
1157
1204
|
font-weight: $font-weight-bold;
|
|
1158
1205
|
}
|
|
1159
1206
|
//Time
|
|
1160
|
-
.welcomments__comment-time {
|
|
1207
|
+
.welcomments__comment-time {
|
|
1161
1208
|
@extend time;
|
|
1162
1209
|
time {
|
|
1163
1210
|
color: $footer-chulapa-text-color;
|
|
1164
1211
|
font-weight: $font-weight-normal;
|
|
1165
|
-
}
|
|
1212
|
+
}
|
|
1166
1213
|
}
|
|
1167
1214
|
|
|
1168
|
-
.welcomments__comment .welcomments__comment-message,
|
|
1215
|
+
.welcomments__comment .welcomments__comment-message,
|
|
1216
|
+
.welcomments__email-notice,
|
|
1217
|
+
.welcomments__markdown-notice {
|
|
1169
1218
|
color: $wlc-text-color;
|
|
1170
1219
|
font-weight: $font-weight-normal;
|
|
1171
1220
|
pre {
|
|
@@ -1174,7 +1223,7 @@ $wlc-text-color: color-contrast($footer-chulapa-bg-color, $black, $white);
|
|
|
1174
1223
|
a {
|
|
1175
1224
|
color: $wlc-text-color;
|
|
1176
1225
|
@include hover-focus() {
|
|
1177
|
-
|
|
1226
|
+
color: $footer-chulapa-hover-color;
|
|
1178
1227
|
}
|
|
1179
1228
|
}
|
|
1180
1229
|
}
|
|
@@ -1195,7 +1244,7 @@ $wlc-text-color: color-contrast($footer-chulapa-bg-color, $black, $white);
|
|
|
1195
1244
|
@include button-variant(
|
|
1196
1245
|
$footer-chulapa-bg-color,
|
|
1197
1246
|
$footer-chulapa-text-color
|
|
1198
|
-
);
|
|
1247
|
+
);
|
|
1199
1248
|
}
|
|
1200
1249
|
|
|
1201
1250
|
input,
|
|
@@ -1219,52 +1268,13 @@ $wlc-text-color: color-contrast($footer-chulapa-bg-color, $black, $white);
|
|
|
1219
1268
|
font-family: $headings-font-family;
|
|
1220
1269
|
@include ch_bcolor($primary, $footer-chulapa-bg-color);
|
|
1221
1270
|
}
|
|
1222
|
-
|
|
1271
|
+
|
|
1223
1272
|
.welcomments__form-group {
|
|
1224
1273
|
@extend .form-group;
|
|
1225
1274
|
}
|
|
1226
|
-
|
|
1227
1275
|
}
|
|
1228
1276
|
|
|
1229
1277
|
// For disqus recommendations
|
|
1230
1278
|
#disqus_recommendations {
|
|
1231
|
-
|
|
1279
|
+
width: 100%;
|
|
1232
1280
|
}
|
|
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
|
-
|
data/_sass/chulapa/_reboot.scss
CHANGED
|
@@ -12,6 +12,26 @@ h1,h2,h3,h4,h5,h6{
|
|
|
12
12
|
margin-top:$spacer;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
// On cards these headings should be margin-top: 0 to adjust the sizes
|
|
16
|
+
// Also reset images
|
|
17
|
+
.card {
|
|
18
|
+
h1,h2,h3,h4,h5,h6{
|
|
19
|
+
margin-top:0;
|
|
20
|
+
}
|
|
21
|
+
img {
|
|
22
|
+
max-width: 100%;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.card-img-top {
|
|
26
|
+
border-bottom-left-radius: 0;
|
|
27
|
+
border-bottom-right-radius: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.card-img-bottom {
|
|
31
|
+
border-top-left-radius: 0;
|
|
32
|
+
border-top-right-radius: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
15
35
|
img {
|
|
16
36
|
max-width: 95%;
|
|
17
37
|
height: auto;
|
|
@@ -123,3 +143,14 @@ pre {
|
|
|
123
143
|
|
|
124
144
|
}
|
|
125
145
|
}
|
|
146
|
+
|
|
147
|
+
// Native checks in forms
|
|
148
|
+
.form-check-input {
|
|
149
|
+
color: $primary;
|
|
150
|
+
accent-color: currentcolor;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
img.rounded-pill {
|
|
154
|
+
padding-right: 0;
|
|
155
|
+
padding-left: 0;
|
|
156
|
+
}
|
|
@@ -3,6 +3,7 @@ $navbar-chulapa-bg-color: $primary !default;
|
|
|
3
3
|
$navbar-chulapa-text-contrast: color-contrast($navbar-chulapa-bg-color, $black, $white);
|
|
4
4
|
$navbar-chulapa-text-color: mix($navbar-chulapa-text-contrast, $navbar-chulapa-bg-color, 50%) !default;
|
|
5
5
|
$navbar-chulapa-hover-color: mix($navbar-chulapa-text-contrast, $navbar-chulapa-bg-color, 75%) !default;
|
|
6
|
+
$navbar-chulapa-hover-bg-color: mix($navbar-chulapa-text-contrast, $navbar-chulapa-bg-color, 10%) !default;
|
|
6
7
|
$navbar-chulapa-active-color: $navbar-chulapa-text-contrast !default;
|
|
7
8
|
$navbar-chulapa-disabled-color: mix($navbar-chulapa-text-contrast, $navbar-chulapa-bg-color, 20%) !default;
|
|
8
9
|
$navbar-chulapa-brand-color: $navbar-chulapa-active-color !default;
|
|
@@ -17,7 +18,8 @@ $navbar-chulapa-toggler-border-color: $navbar-chulapa-toggler-color !default;
|
|
|
17
18
|
$footer-chulapa-bg-color: $navbar-chulapa-bg-color !default;
|
|
18
19
|
$footer-chulapa-text-contrast: color-contrast($footer-chulapa-bg-color, $black, $white);
|
|
19
20
|
$footer-chulapa-text-color: mix($footer-chulapa-text-contrast, $footer-chulapa-bg-color, 75%) !default;
|
|
20
|
-
$footer-chulapa-
|
|
21
|
+
$footer-chulapa-link-color: mix($footer-chulapa-text-contrast, $footer-chulapa-bg-color, 90%) !default;
|
|
22
|
+
$footer-chulapa-hover-color: mix($footer-chulapa-link-color, $footer-chulapa-bg-color, 80%) !default;
|
|
21
23
|
$footer-chulapa-icon-color: $footer-chulapa-text-color !default;
|
|
22
24
|
$footer-chulapa-icon-hover-color: mix($footer-chulapa-text-contrast, $footer-chulapa-bg-color, 50%) !default;
|
|
23
25
|
|
|
@@ -28,6 +30,7 @@ $hero-chulapa-text-color: color-contrast($hero-chulapa-bg-color, $black, $white)
|
|
|
28
30
|
//Landing page
|
|
29
31
|
$landingpage-chulapa-bg-color: $hero-chulapa-bg-color !default;
|
|
30
32
|
$landingpage-chulapa-text-color: color-contrast($landingpage-chulapa-bg-color, $black, $white) !default;
|
|
33
|
+
$landingpage-card-bg: mix($landingpage-chulapa-text-color, $landingpage-chulapa-bg-color, 5%);
|
|
31
34
|
|
|
32
35
|
//Misc
|
|
33
36
|
//Blockquote
|
|
@@ -53,6 +56,10 @@ $pagination-chulapa-text-hover-color: color-contrast($pagination-chulapa-bg-hove
|
|
|
53
56
|
|
|
54
57
|
$indexcards-chulapa-border-color: $text-muted !default;
|
|
55
58
|
|
|
59
|
+
// TOC bg
|
|
60
|
+
|
|
61
|
+
$chulapa-toc-bg: $light !default;
|
|
62
|
+
|
|
56
63
|
// Cactus comments
|
|
57
64
|
|
|
58
65
|
$cactus-btn-text: color-contrast($secondary, $black, $white);
|
data/_sass/highlight/README.md
CHANGED
|
@@ -1,23 +1,185 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Highlighters
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
created from the original built-in Pygments styles, ready for use with Jekyll.
|
|
3
|
+
Rouge highlighters of different sources:
|
|
5
4
|
|
|
6
|
-
##
|
|
7
|
-
|
|
5
|
+
## Default Rouge themes
|
|
6
|
+
|
|
7
|
+
<https://github.com/rouge-ruby/rouge/tree/master/lib/rouge/themes> Built with
|
|
8
|
+
the terminal command:
|
|
9
|
+
|
|
10
|
+
``` shell
|
|
11
|
+
rougify style base16 > base16.scss
|
|
12
|
+
rougify style bw > bw.scss
|
|
13
|
+
rougify style colorful > colorful.scss
|
|
14
|
+
rougify style github > github.scss
|
|
15
|
+
rougify style gruvbox > gruvbox.scss
|
|
16
|
+
rougify style igorpro > igorpro.scss
|
|
17
|
+
rougify style magritte > magritte.scss
|
|
18
|
+
rougify style molokai > molokai.scss
|
|
19
|
+
rougify style monokai > monokai.scss
|
|
20
|
+
rougify style monokai.sublime > monokai.sublime.scss
|
|
21
|
+
rougify style pastie > pastie.scss
|
|
22
|
+
rougify style thankful_eyes > thankful_eyes.scss
|
|
23
|
+
rougify style tulip > tulip.scss
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Themes included:
|
|
27
|
+
|
|
28
|
+
- `base16`
|
|
29
|
+
- `bw`
|
|
30
|
+
- `colorful`
|
|
31
|
+
- `github`
|
|
32
|
+
- `gruvbox`
|
|
33
|
+
- `igorpro`
|
|
34
|
+
- `magritte`
|
|
35
|
+
- `molokai`
|
|
36
|
+
- `monokai`
|
|
37
|
+
- `monokai.sublime`
|
|
38
|
+
- `pastie`
|
|
39
|
+
- `thankful_eyes`
|
|
40
|
+
- `tulip`
|
|
41
|
+
|
|
42
|
+
## Selected pygment themes
|
|
43
|
+
|
|
44
|
+
See <https://pygments.org/>.
|
|
45
|
+
|
|
46
|
+
Build with (see <https://github.com/richleland/pygments-css>):
|
|
47
|
+
|
|
48
|
+
``` shell
|
|
49
|
+
pygmentize -S abap -f html -a .highlight > abap.scss
|
|
50
|
+
pygmentize -S algol -f html -a .highlight > algol.scss
|
|
51
|
+
pygmentize -S algol_nu -f html -a .highlight > algol_nu.scss
|
|
52
|
+
pygmentize -S arduino -f html -a .highlight > arduino.scss
|
|
53
|
+
pygmentize -S autumn -f html -a .highlight > autumn.scss
|
|
54
|
+
pygmentize -S bw -f html -a .highlight > bw.scss
|
|
55
|
+
pygmentize -S borland -f html -a .highlight > borland.scss
|
|
56
|
+
pygmentize -S coffee -f html -a .highlight > coffee.scss
|
|
57
|
+
pygmentize -S colorful -f html -a .highlight > colorful.scss
|
|
58
|
+
pygmentize -S default -f html -a .highlight > default.scss
|
|
59
|
+
pygmentize -S emacs -f html -a .highlight > emacs.scss
|
|
60
|
+
pygmentize -S friendly_grayscale -f html -a .highlight > friendly_grayscale.scss
|
|
61
|
+
pygmentize -S friendly -f html -a .highlight > friendly.scss
|
|
62
|
+
pygmentize -S fruity -f html -a .highlight > fruity.scss
|
|
63
|
+
pygmentize -S github-dark -f html -a .highlight > github.dark.scss
|
|
64
|
+
pygmentize -S gruvbox-dark -f html -a .highlight > gruvbox.dark.scss
|
|
65
|
+
pygmentize -S gruvbox-light -f html -a .highlight > gruvbox.light.scss
|
|
66
|
+
pygmentize -S igor -f html -a .highlight > igor.scss
|
|
67
|
+
pygmentize -S inkpot -f html -a .highlight > inkpot.scss
|
|
68
|
+
pygmentize -S lightbulb -f html -a .highlight > lightbulb.scss
|
|
69
|
+
pygmentize -S lilypond -f html -a .highlight > lilypond.scss
|
|
70
|
+
pygmentize -S lovelace -f html -a .highlight > lovelace.scss
|
|
71
|
+
pygmentize -S manni -f html -a .highlight > manni.scss
|
|
72
|
+
pygmentize -S material -f html -a .highlight > material.scss
|
|
73
|
+
pygmentize -S monokai -f html -a .highlight > monokai.scss
|
|
74
|
+
pygmentize -S murphy -f html -a .highlight > murphy.scss
|
|
75
|
+
pygmentize -S native -f html -a .highlight > native.scss
|
|
76
|
+
pygmentize -S nord-darker -f html -a .highlight > nord.darker.scss
|
|
77
|
+
pygmentize -S nord -f html -a .highlight > nord.scss
|
|
78
|
+
pygmentize -S one-dark -f html -a .highlight > one.dark.scss
|
|
79
|
+
pygmentize -S paraiso-dark -f html -a .highlight > paraiso.dark.scss
|
|
80
|
+
pygmentize -S paraiso-light -f html -a .highlight > paraiso.light.scss
|
|
81
|
+
pygmentize -S pastie -f html -a .highlight > pastie.scss
|
|
82
|
+
pygmentize -S perldoc -f html -a .highlight > perldoc.scss
|
|
83
|
+
pygmentize -S rainbow_dash -f html -a .highlight > rainbow_dash.scss
|
|
84
|
+
pygmentize -S rrt -f html -a .highlight > rrt.scss
|
|
85
|
+
pygmentize -S sas -f html -a .highlight > sas.scss
|
|
86
|
+
pygmentize -S solarized-dark -f html -a .highlight > solarized.dark.scss
|
|
87
|
+
pygmentize -S solarized-light -f html -a .highlight > solarized.light.scss
|
|
88
|
+
pygmentize -S staroffice -f html -a .highlight > staroffice.scss
|
|
89
|
+
pygmentize -S stata-dark -f html -a .highlight > stata.dark.scss
|
|
90
|
+
pygmentize -S stata-light -f html -a .highlight > stata.light.scss
|
|
91
|
+
pygmentize -S tango -f html -a .highlight > tango.scss
|
|
92
|
+
pygmentize -S trac -f html -a .highlight > trac.scss
|
|
93
|
+
pygmentize -S vim -f html -a .highlight > vim.scss
|
|
94
|
+
pygmentize -S vs -f html -a .highlight > vs.scss
|
|
95
|
+
pygmentize -S xcode -f html -a .highlight > xcode.scss
|
|
96
|
+
pygmentize -S zenburn -f html -a .highlight > zenburn.scss
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
- `abap`
|
|
100
|
+
- `algol`
|
|
101
|
+
- `algol_nu`
|
|
102
|
+
- `arduino`
|
|
103
|
+
- `autumn`
|
|
104
|
+
- `bw`
|
|
105
|
+
- `borland`
|
|
106
|
+
- `coffee`
|
|
107
|
+
- `colorful`
|
|
108
|
+
- `default`
|
|
109
|
+
- `emacs`
|
|
110
|
+
- `friendly_grayscale`
|
|
111
|
+
- `friendly`
|
|
112
|
+
- `fruity`
|
|
113
|
+
- `github.dark`
|
|
114
|
+
- `gruvbox.dark`
|
|
115
|
+
- `gruvbox.light`
|
|
116
|
+
- `igor`
|
|
117
|
+
- `inkpot`
|
|
118
|
+
- `lightbulb`
|
|
119
|
+
- `lilypond`
|
|
120
|
+
- `lovelace`
|
|
121
|
+
- `manni`
|
|
122
|
+
- `material`
|
|
123
|
+
- `monokai`
|
|
124
|
+
- `murphy`
|
|
125
|
+
- `native`
|
|
126
|
+
- `nord.darker`
|
|
127
|
+
- `nord`
|
|
128
|
+
- `one.dark`
|
|
129
|
+
- `paraiso.dark`
|
|
130
|
+
- `paraiso.light`
|
|
131
|
+
- `pastie`
|
|
132
|
+
- `perldoc`
|
|
133
|
+
- `rainbow_dash`
|
|
134
|
+
- `rrt`
|
|
135
|
+
- `sas`
|
|
136
|
+
- `solarized.dark`
|
|
137
|
+
- `solarized.light`
|
|
138
|
+
- `staroffice`
|
|
139
|
+
- `stata.dark`
|
|
140
|
+
- `stata.light`
|
|
141
|
+
- `tango`
|
|
142
|
+
- `trac`
|
|
143
|
+
- `vim`
|
|
144
|
+
- `vs`
|
|
145
|
+
- `xcode`
|
|
146
|
+
- `zenburn`
|
|
147
|
+
|
|
148
|
+
## Custom themes
|
|
149
|
+
|
|
150
|
+
Some themes created by myself:
|
|
151
|
+
|
|
152
|
+
- `cran`
|
|
153
|
+
- `cobalt2`
|
|
154
|
+
- `night_owl`
|
|
155
|
+
- `oksolar.dark`
|
|
156
|
+
- `oksolar.light`
|
|
157
|
+
- `panda`
|
|
158
|
+
- `selenized.black`
|
|
159
|
+
- `selenized.dark`
|
|
160
|
+
- `selenized.light`
|
|
161
|
+
- `selenized.white`
|
|
162
|
+
- `skeletor`
|
|
163
|
+
- `stackoverflow.light`
|
|
164
|
+
- `stackoverflow.dark`
|
|
165
|
+
|
|
166
|
+
##
|
|
167
|
+
|
|
168
|
+
## Dracula
|
|
169
|
+
|
|
170
|
+
From the official repo: <https://github.com/dracula/pygments>
|
|
171
|
+
|
|
172
|
+
## Theme Builder
|
|
173
|
+
|
|
174
|
+
- <https://jwarby.github.io/jekyll-pygments-themes>
|
|
8
175
|
|
|
9
176
|
## Using Themes Without Jekyll
|
|
177
|
+
|
|
10
178
|
If you want to use the themes with something other than Jekyll, you may need to
|
|
11
179
|
remove or change the CSS style prefix of `.highlight`.
|
|
12
180
|
|
|
13
181
|
## Links
|
|
14
182
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## Hacking
|
|
19
|
-
|
|
20
|
-
If you want to hack on the site, check out the [gh-pages](https://github.com/jwarby/jekyll-pygments-themes/tree/gh-pages) branch.
|
|
21
|
-
|
|
22
|
-
## Acknowledgements
|
|
23
|
-
Forked from [richleland/pygments-css](https://github.com/richleland/pygments-css).
|
|
183
|
+
- [Jekyll](http://jekyllrb.com/) ([direct link to code highlighting
|
|
184
|
+
documentation](http://jekyllrb.com/docs/templates/#code-snippet-highlighting))
|
|
185
|
+
- [Pygments](http://pygments.org)
|