compost-jekyll-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +16 -0
  3. data/LICENSE.txt +202 -0
  4. data/README.md +70 -0
  5. data/_data/components.yml +21 -0
  6. data/_data/en.yml +23 -0
  7. data/_data/es.yml +19 -0
  8. data/_data/full_width_components.yml +5 -0
  9. data/_data/layouts/about.yml +108 -0
  10. data/_data/layouts/author.yml +62 -0
  11. data/_data/layouts/back_cover.yml +101 -0
  12. data/_data/layouts/button.yml +34 -0
  13. data/_data/layouts/button_copy.yml +34 -0
  14. data/_data/layouts/footer.yml +90 -0
  15. data/_data/layouts/front_cover.yml +91 -0
  16. data/_data/layouts/goal.yml +63 -0
  17. data/_data/layouts/menu.yml +35 -0
  18. data/_data/layouts/post.yml +110 -0
  19. data/_data/layouts/support.yml +78 -0
  20. data/_data/layouts/supporter.yml +50 -0
  21. data/_data/layouts/theme.yml +267 -0
  22. data/_data/manifest.json +1314 -0
  23. data/_data/theme.yml +184 -0
  24. data/_data/theme.yml.html +143 -0
  25. data/_includes/author_block.html +22 -0
  26. data/_includes/biography.html +10 -0
  27. data/_includes/btn_header.html +14 -0
  28. data/_includes/buttons/with_copy.html +24 -0
  29. data/_includes/buttons/with_link.html +17 -0
  30. data/_includes/card_horizontal.html +27 -0
  31. data/_includes/cover_post/generic.html +34 -0
  32. data/_includes/cover_post/home.html +23 -0
  33. data/_includes/cover_post/menu.html +19 -0
  34. data/_includes/device_detector.html +30 -0
  35. data/_includes/embed_responsive.html +16 -0
  36. data/_includes/footer.html +32 -0
  37. data/_includes/goal.html +28 -0
  38. data/_includes/header.html +24 -0
  39. data/_includes/header_toggler.html +84 -0
  40. data/_includes/headings/generic.html +14 -0
  41. data/_includes/headings/h1.html +9 -0
  42. data/_includes/headings/h2.html +9 -0
  43. data/_includes/headings/h3.html +9 -0
  44. data/_includes/headings/with_link.html +15 -0
  45. data/_includes/image_supporter.html +13 -0
  46. data/_includes/image_with_link.html +22 -0
  47. data/_includes/license_block.html +15 -0
  48. data/_includes/menu_close.html +11 -0
  49. data/_includes/menu_item.html +10 -0
  50. data/_includes/menu_open.html +11 -0
  51. data/_includes/navigation_post.html +39 -0
  52. data/_includes/picture.html +25 -0
  53. data/_includes/script.html +5 -0
  54. data/_includes/svg/copy-icon.svg +1 -0
  55. data/_includes/svg/done-icon.svg +1 -0
  56. data/_includes/svg/menu.svg +9 -0
  57. data/_includes/svg/x.svg +3 -0
  58. data/_includes/text_link.html +12 -0
  59. data/_includes/theme/author_block.html +3 -0
  60. data/_includes/theme/biography.html +5 -0
  61. data/_includes/theme/btn_header.html +6 -0
  62. data/_includes/theme/button_with_copy.html +1 -0
  63. data/_includes/theme/button_with_link.html +5 -0
  64. data/_includes/theme/card_horizontal.html +18 -0
  65. data/_includes/theme/colors.html +14 -0
  66. data/_includes/theme/content.html +41 -0
  67. data/_includes/theme/cover_post.html +19 -0
  68. data/_includes/theme/embed_responsive.html +10 -0
  69. data/_includes/theme/font_sizes.html +18 -0
  70. data/_includes/theme/footer.html +49 -0
  71. data/_includes/theme/goal.html +5 -0
  72. data/_includes/theme/header_close.html +18 -0
  73. data/_includes/theme/header_open.html +18 -0
  74. data/_includes/theme/header_toggler.html +11 -0
  75. data/_includes/theme/image_supporter.html +5 -0
  76. data/_includes/theme/image_with_link.html +4 -0
  77. data/_includes/theme/letter_spacing.html +3 -0
  78. data/_includes/theme/license_block.html +1 -0
  79. data/_includes/theme/menu_item.html +7 -0
  80. data/_includes/theme/navigation_post.html +17 -0
  81. data/_includes/theme/picture.html +5 -0
  82. data/_includes/toggler/toggler.html +21 -0
  83. data/_includes/toggler/toggler_label.html +21 -0
  84. data/_includes/toggler/toggler_related.html +23 -0
  85. data/_layouts/about.html +9 -0
  86. data/_layouts/back_cover.html +68 -0
  87. data/_layouts/default.html +52 -0
  88. data/_layouts/default_with_menu.html +24 -0
  89. data/_layouts/home.html +35 -0
  90. data/_layouts/post.html +58 -0
  91. data/_layouts/support.html +45 -0
  92. data/_layouts/theme.html +60 -0
  93. data/_sass/content.scss +93 -0
  94. data/_sass/open_sans.scss +80 -0
  95. data/_sass/open_sans_wght_700.scss +80 -0
  96. data/_sass/roboto_mono_ital_wght_0_400_0_700_1_400_1_700.scss +28 -0
  97. data/_sass/source_serif_4_ital_wght_0_400_0_700_1_400_1_700.scss +28 -0
  98. data/_sass/toggler.scss +20 -0
  99. data/_sass/utilities.scss +245 -0
  100. data/_sass/work_sans_ital_wght_1_300.scss +7 -0
  101. data/assets/css/styles.scss +23 -0
  102. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVI.woff2 +0 -0
  103. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4iaVIGxA.woff2 +0 -0
  104. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4jaVIGxA.woff2 +0 -0
  105. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4kaVIGxA.woff2 +0 -0
  106. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4saVIGxA.woff2 +0 -0
  107. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4taVIGxA.woff2 +0 -0
  108. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4uaVIGxA.woff2 +0 -0
  109. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4vaVIGxA.woff2 +0 -0
  110. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2 +0 -0
  111. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4iaVIGxA.woff2 +0 -0
  112. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4jaVIGxA.woff2 +0 -0
  113. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4kaVIGxA.woff2 +0 -0
  114. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4saVIGxA.woff2 +0 -0
  115. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4taVIGxA.woff2 +0 -0
  116. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4uaVIGxA.woff2 +0 -0
  117. data/assets/fonts/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4vaVIGxA.woff2 +0 -0
  118. data/assets/fonts/robotomono/v22/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAOW9-subset.woff2 +0 -0
  119. data/assets/fonts/robotomono/v22/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrlnAOW9.ttf +0 -0
  120. data/assets/fonts/robotomono/v22/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrmAB-W9-subset.woff2 +0 -0
  121. data/assets/fonts/robotomono/v22/L0xoDF4xlVMF-BfR8bXMIjhOsXG-q2oeuFoqFrmAB-W9.ttf +0 -0
  122. data/assets/fonts/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vqPQw-subset.woff2 +0 -0
  123. data/assets/fonts/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vqPQw.ttf +0 -0
  124. data/assets/fonts/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_Of2PQw-subset.woff2 +0 -0
  125. data/assets/fonts/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_Of2PQw.ttf +0 -0
  126. data/assets/fonts/sourceserif4/SourceSerif4-Bold.ttf.woff2 +3 -0
  127. data/assets/fonts/sourceserif4/SourceSerif4-BoldIt.ttf.woff2 +3 -0
  128. data/assets/fonts/sourceserif4/SourceSerif4-It.ttf.woff2 +3 -0
  129. data/assets/fonts/sourceserif4/SourceSerif4-Regular.ttf.woff2 +3 -0
  130. data/assets/fonts/worksans/v18/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUgGsJow-subset.woff2 +0 -0
  131. data/assets/fonts/worksans/v18/QGY9z_wNahGAdqQ43Rh_ebrnlwyYfEPxPoGUgGsJow.ttf +0 -0
  132. data/assets/js/env.js +8 -0
  133. data/assets/js/pack.K7EEKFVP.js +40 -0
  134. data/assets/js/pack.K7EEKFVP.js.map +7 -0
  135. metadata +457 -0
@@ -0,0 +1,18 @@
1
+ {% include headings/with_link.html level=2 text="Cabecera con el menú abierto" %}
2
+
3
+ <div class="d-flex position-relative background-white justify-content-between align-items-center p-3">
4
+ {% include menu_open.html class="w-36px w-md-54px" container_class="fill-black" %}
5
+
6
+ {% include
7
+ header.html
8
+ logo_src="public/logo_black.png"
9
+ logo_href="?#"
10
+ logo_alt="Compost"
11
+ logo_width=333
12
+ logo_class="w-221px w-md-333px"
13
+ btn_src="public/mushroom_open.gif"
14
+ btn_href="#"
15
+ btn_alt="Mushroom open menu"
16
+ btn_class="w-44px w-md-67px"
17
+ btn_width=67 %}
18
+ </div>
@@ -0,0 +1,11 @@
1
+ {% include headings/with_link.html level=2 text="Cabecera con toggler de menú funcionando" %}
2
+
3
+ {% include header_toggler.html
4
+ logo_open_src="public/logo_black.png"
5
+ logo_open_alt="Compost"
6
+ btn_open_src="public/mushroom_open.gif"
7
+ logo_close_src="public/logo_white.png"
8
+ logo_close_alt="Compost"
9
+ btn_close_src="public/mushroom_close.gif"
10
+ btn_href="#"
11
+ btn_alt="Mushroom open menu" %}
@@ -0,0 +1,5 @@
1
+ <div class="d-flex">
2
+ {% include image_supporter.html src="public/logo-distributedpress.png" alt="Descripción de la imagen" width=200 href="https://distributed.press/" %}
3
+
4
+ {% include image_supporter.html src="public/logo-hypha.png" alt="Descripción de la imagen" width=100 href="https://hypha.coop/" %}
5
+ </div>
@@ -0,0 +1,4 @@
1
+ {% include image_with_link.html src="public/placeholder.png" href="#" width=200 alt="Descripción de la imagen" %}
2
+
3
+ {% include headings/with_link.html level=2 text="Imagen con link externo" %}
4
+ {% include image_with_link.html src="public/placeholder.png" href="https://sutty.nl/" width=200 alt="Descripción de la imagen" %}
@@ -0,0 +1,3 @@
1
+ {% for letter_spacing in site.data.theme.letter_spacings %}
2
+ <p class="letter-spacing-{{ letter_spacing[0] }}">Letter spacing {{ letter_spacing[0] }}</p>
3
+ {% endfor %}
@@ -0,0 +1 @@
1
+ {% include license_block.html title="Content License: CC BY-ND 4.0" content="We built this little tool for you to inoculate other web spaces with the ideas and stories contained in this issue. To re-publish this piece under the terms of the license, click below to copy the markdown." %}
@@ -0,0 +1,7 @@
1
+ <div class="d-flex flex-column flex-md-row">
2
+ {% include menu_item.html text="Issue 02" href="https://sutty.nl/" %}
3
+
4
+ {% include menu_item.html text="About" href="https://sutty.nl/" %}
5
+
6
+ {% include menu_item.html text="Support Us" href="https://sutty.nl/" %}
7
+ </div>
@@ -0,0 +1,17 @@
1
+ <div class="mb-3">
2
+ {% include headings/h2.html text="Todos los botones visibles" %}
3
+
4
+ {% include navigation_post.html src_previous="public/arrow_previous.png" src_home="public/home.png" alt_previous=site.i18n.previous_page src_next="public/arrow_next.png" href_previous="#biografía-de-autore-en-los-artículos" href_home="?#" href_next="#imagen-con-link-de-sección-supporters" alt_next=site.i18n.next_page %}
5
+ </div>
6
+
7
+ <div class="mb-3">
8
+ {% include headings/h2.html text="Cuando se llega al principio del indice de contenido" %}
9
+
10
+ {% include navigation_post.html src_previous="public/arrow_previous.png" alt_previous=site.i18n.previous_page src_home="public/home.png" src_next="public/arrow_next.png" href_home="?#" href_next="#imagen-con-link-de-sección-supporters" alt_next=site.i18n.next_page %}
11
+ </div>
12
+
13
+ <div class="mb-3">
14
+ {% include headings/h2.html text="Cuando se llega al final del indice de contenido" %}
15
+
16
+ {% include navigation_post.html src_previous="public/arrow_previous.png" alt_previous=site.i18n.previous_page src_home="public/home.png" href_previous="#biografía-de-autore-en-los-artículos" src_next="public/arrow_next.png" href_home="?#" alt_next=site.i18n.next_page %}
17
+ </div>
@@ -0,0 +1,5 @@
1
+ <div class="content">
2
+ <p>Una imagen de 100px</p>
3
+ </div>
4
+
5
+ {% include picture.html src="public/placeholder.png" width=100 %}
@@ -0,0 +1,21 @@
1
+ {% comment %}
2
+ Este elemento colocado en el mismo nivel que un elemento con la clase
3
+ toggled permite ocultarlo o mostrarlo.
4
+
5
+ @see toggler_label.html
6
+ @param :id [String] La ID
7
+ @param :toggled_class [String] Las clases del elemento toggled
8
+ @param :toggled_content [String] El contenido del elemento toggled
9
+ {% endcomment %}
10
+ <input
11
+ type="checkbox"
12
+ class="toggler sr-only"
13
+ data-action="body-scroll#toggle"
14
+ autocomplete="off"
15
+ id="{{ include.id }}"
16
+ name="{{ include.id }}"
17
+ aria-labelledby="{{ include.id }}-label" />
18
+
19
+ <div class="toggled position-absolute {{ include.toggled_class }}">
20
+ {{ include.toggled_content }}
21
+ </div>
@@ -0,0 +1,21 @@
1
+ {% comment %}
2
+ Este label puede usarse para abrir y cerrar un elemento asociado a
3
+ toggler.html
4
+
5
+ Mientras compartan la misma ID puede colocarse el label en cualquier
6
+ lado del HTML.
7
+
8
+ @see toggler.html
9
+ @param :id [String] La ID del elemento
10
+ @param :class [String] CSS
11
+ @param :content [String] Contenido
12
+ {% endcomment %}
13
+ <label
14
+ data-controller="label"
15
+ tabindex="0"
16
+ aria-hidden="true"
17
+ id="{{ include.id }}-label"
18
+ for="{{ include.id }}"
19
+ class="{{ include.class }}">
20
+ {{ include.content }}
21
+ </label>
@@ -0,0 +1,23 @@
1
+ {% comment %}
2
+ Este label puede usarse para abrir y cerrar un elemento asociado a
3
+ toggler.html
4
+
5
+ Similar a toggler_label.html pero no comparte la misma ID, se puede
6
+ usar para botones de cierre o relacionados, pero que no aportan
7
+ descripción al elemento que se abre y cierra (especialmente para
8
+ lectores de pantalla).
9
+
10
+ @see togger_label.html
11
+ @param :id [String] La ID del elemento
12
+ @param :class [String] CSS
13
+ @param :content [HTML] Contenido
14
+ {% endcomment %}
15
+ <label
16
+ data-controller="label"
17
+ tabindex="0"
18
+ aria-hidden="true"
19
+ id="{{ include.id }}-label-related"
20
+ for="{{ include.id }}"
21
+ class="{{ include.class }}">
22
+ {{ include.content }}
23
+ </label>
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: "default_with_menu"
3
+ ---
4
+
5
+ <article id="{{ page.slug }}" class="container mx-auto max-w-780px py-4 px-20 mt-lg-5">
6
+ {% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-4" text=page.title %}
7
+
8
+ <div class="lead-md content pt-2 source-serif">{{ page.content }}</div>
9
+ </article>
@@ -0,0 +1,68 @@
1
+ ---
2
+ layout: "default"
3
+ ---
4
+
5
+ {%- assign authors = site.posts | where: "layout", "author" -%}
6
+ {%- assign back_covers = site.posts | where: "layout", "back_cover" -%}
7
+ {%- assign posts = site.posts | where: "layout", "post" | concat: back_covers -%}
8
+ {%- assign supporters = site.posts | where: "layout", "supporter" -%}
9
+ {%- assign prev = page | prev: posts -%}
10
+ {%- assign next = page | next: posts -%}
11
+
12
+ <article id="{{ page.slug }}" class="container mx-auto max-w-780px my-4 px-20">
13
+ {% include embed_responsive.html src=page.image.path alt=page.image.description x=2 y=1 width=780 embed_class="shadow" %}
14
+
15
+ <div class="">
16
+ <div class="border-bottom border-gray border-width-2">
17
+ {% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-12 mt-5" text=page.title %}
18
+ </div>
19
+
20
+ {% unless page.authors_title == empty %}
21
+ {% include headings/h2.html class="text-uppercase black hover-black letter-spacing-8 mt-50 mb-4" text=page.authors_title %}
22
+ {% endunless %}
23
+
24
+ {% unless authors == empty %}
25
+ {% for author in authors %}
26
+ {% unless author.projects == empty %}
27
+ {% include author_block.html title=author.alias links=author.projects %}
28
+ {% endunless %}
29
+ {% endfor %}
30
+ {% endunless %}
31
+
32
+ {% unless page.content_title == empty %}
33
+ <div class="pt-32">
34
+ {% include headings/h2.html class="text-uppercase black hover-black letter-spacing-4 mb-12 mt-5" text=page.content_title %}
35
+ </div>
36
+ {% endunless %}
37
+
38
+ {% unless page.content == empty %}
39
+ <div class="source-serif lead-md pt-2 content">
40
+ {{ content }}
41
+ </div>
42
+ {% endunless %}
43
+
44
+ {% unless page.supporters_title == empty %}
45
+ <div class="pt-32">
46
+ {% include headings/h2.html class="text-uppercase black hover-black letter-spacing-4 mb-12 mt-5" text=page.supporters_title %}
47
+ </div>
48
+ {% endunless %}
49
+
50
+ {% unless supporters == empty %}
51
+ <div class="row row-cols-2 row-cols-md-4 align-items-center">
52
+ {% for supporter in supporters %}
53
+ <div class="col p-2">
54
+ {% include image_supporter.html src=supporter.image.path alt=supporter.image.description href=supporter.link width=576 %}
55
+ </div>
56
+ {% endfor %}
57
+ </div>
58
+ {% endunless %}
59
+
60
+ {% unless page.final_message == empty %}
61
+ <p class="font-italic source-serif lead-md border-bottom border-gray border-width-2 py-3">{{ page.final_message }}</p>
62
+ {% endunless %}
63
+ </div>
64
+
65
+ <footer class="d-flex flex-column align-items-center pt-5">
66
+ {% include navigation_post.html src_previous="public/arrow_previous.png" src_home="public/home.png" src_next="public/arrow_next.png" href_previous=prev.url href_home="?#" href_next=next.url %}
67
+ </footer>
68
+ </article>
@@ -0,0 +1,52 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ site.lang }}" dir="{{ site.dir }}">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <base href="{% base %}" />
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
7
+ <meta content="width=device-width, initial-scale=1.0" name="viewport">
8
+ <meta name="theme-color" content="white"/>
9
+ <meta name="color-scheme" content="light"/>
10
+ <meta name="referrer" content="strict-origin-when-cross-origin"/>
11
+
12
+ <link href="assets/css/styles.css?{{ site.time | date: '%s' }}" rel="stylesheet" data-turbo-track="reload">
13
+
14
+ {%- include script.html src="assets/js/env.js" -%}
15
+ {%- if jekyll.environment == "production" -%}
16
+ {%- for pack in site.data.manifest.outputs -%}
17
+ {%- unless pack[1].entryPoint -%}{%- continue -%}{%- endunless -%}
18
+ {%- assign src = pack[0] -%}
19
+ {%- include script.html src=src -%}
20
+ {%- endfor -%}
21
+ {%- else -%}
22
+ {%- include script.html src="pack.js" -%}
23
+ {%- endif -%}
24
+
25
+ {%- assign about = site.posts | find: "layout", "about" -%}
26
+ {%- assign theme = site.posts | find: "layout", "theme" -%}
27
+
28
+ {% for apple_touch_size in site.data.theme.apple_touch_sizes %}
29
+ <link rel="apple-touch-icon" sizes="{{ apple_touch_size }}x{{ apple_touch_size }}" href="{{ about.favicon.path | thumbnail: apple_touch_size, apple_touch_size | uri_escape }}">
30
+ {% endfor %}
31
+
32
+ {% for chrome_icon_size in site.data.theme.chrome_icon_sizes %}
33
+ <link rel="icon" type="image/png" sizes="{{ chrome_icon_size }}x{{chrome_icon_size }}" href="{{ about.favicon.path | thumbnail: chrome_icon_size , chrome_icon_size | uri_escape }}">
34
+ {% endfor %}
35
+
36
+ {% for msapplication_size in site.data.theme.msapplication_sizes %}
37
+ <meta name="msapplication-TileImage" content="{{ about.favicon.path | thumbnail: msapplication_size , msapplication_size | uri_escape }}">
38
+ {% endfor %}
39
+
40
+ <link rel="manifest" href="site.webmanifest">
41
+ <meta name="msapplication-TileColor" content="{{ theme.bg_color }}">
42
+ <meta name="theme-color" content="{{ theme.primary }}">
43
+ {% seo %}
44
+ </head>
45
+ <body>
46
+ {% include device_detector.html %}
47
+
48
+ <main tabindex="-1" role="main" id="content">
49
+ {{ content }}
50
+ </main>
51
+ </body>
52
+ </html>
@@ -0,0 +1,24 @@
1
+ ---
2
+ layout: "default"
3
+ ---
4
+
5
+ {%- assign footer = site.posts | find: "layout", "footer" -%}
6
+ {%- assign about = site.posts | find: "layout", "about" -%}
7
+ {%- assign support = site.posts | find: "layout", "support" -%}
8
+
9
+ <div class="background-post {{ site.data.theme.layout_class[page.layout] }}">
10
+ {% include header_toggler.html
11
+ logo_open_src=about.image_menu_open.path
12
+ logo_open_alt=about.image_menu_open.description
13
+ btn_open_src="public/mushroom_open.gif"
14
+ logo_close_src=about.image_menu_close.path
15
+ logo_close_alt=about.image_menu_close.description
16
+ btn_close_src="public/mushroom_close.gif"
17
+ btn_href=support.url
18
+ btn_alt=site.i18n.support_alt
19
+ background_class="pt-2 px-3 pb-100 background-image-menu background-position-center-bottom w-100 background-size-auto-100" %}
20
+
21
+ {{ content }}
22
+
23
+ {% include footer.html col_1=footer.column_1 col_2=footer.column_2 col_3=footer.column_3 col_4=footer.column_4 %}
24
+ </div>
@@ -0,0 +1,35 @@
1
+ ---
2
+ layout: "default_with_menu"
3
+ ---
4
+
5
+ {%- assign front_cover = site.posts | find: "layout", "front_cover" -%}
6
+ {%- assign posts = site.posts | where: "layout", "post" -%}
7
+ {%- assign back_cover = site.posts | find: "layout", "back_cover" -%}
8
+
9
+ <div class="pt-md-6 px-3">
10
+ {% include card_horizontal.html
11
+ src=front_cover.image.path
12
+ alt=front_cover.image.alt
13
+ title=front_cover.title
14
+ subtitle=front_cover.subtitle
15
+ content=front_cover.content
16
+ %}
17
+ <article class="row row-cols-1 row-cols-md-2 row-cols-lg-3 mt-6 container-lg mx-auto">
18
+ {% for post in posts %}
19
+ <div class="col pb-5 px-2">
20
+ {% include cover_post/home.html
21
+ authors=post.authors
22
+ src=post.image.path
23
+ alt=post.image.alt
24
+ title=post.title
25
+ description=post.description
26
+ href=post.url
27
+ %}
28
+ </div>
29
+ {% endfor %}
30
+
31
+ <div class="col pb-5 px-2">
32
+ {% include cover_post/home.html title=back_cover.title src=back_cover.image.path alt=back_cover.image.description href=back_cover.url description=back_cover.description %}
33
+ </div>
34
+ </article>
35
+ </div>
@@ -0,0 +1,58 @@
1
+ ---
2
+ layout: "default_with_menu"
3
+ ---
4
+
5
+ {%- assign about = site.posts | find: "layout", "about" -%}
6
+ {%- assign back_covers = site.posts | where: "layout", "back_cover" -%}
7
+ {%- assign posts = site.posts | where: "layout", "post" | concat: back_covers -%}
8
+ {%- assign authors = site.posts | where: "layout", "author" -%}
9
+ {%- assign prev = page | prev: posts -%}
10
+ {%- assign next = page | next: posts -%}
11
+
12
+ <article id="{{ page.slug }}" class="container mx-auto max-w-780px my-4 px-20">
13
+ {% include picture.html src=page.image.path alt=page.image.description width=780 img_class="w-100 shadow" %}
14
+
15
+ <div class="mt-5">
16
+ {% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-12" text=page.title %}
17
+
18
+ {% if page.subtitle %}
19
+ {% include headings/h2.html class="text-uppercase letter-spacing-8 mb-20" text=page.subtitle %}
20
+ {% endif %}
21
+
22
+ {% unless page.authors == empty %}
23
+ <p class="lead text-uppercase letter-spacing-5">
24
+ {% for author in page.authors %}
25
+ {{ author.title }}{% unless forloop.last %} {{ site.i18n.and }} {% endunless %}
26
+ {% endfor %}
27
+ </p>
28
+ {% endunless %}
29
+
30
+ <div
31
+ class="source-serif lead-md pt-20 content"
32
+ data-controller="footnotes"
33
+ data-action="resize@window->footnotes#resize"
34
+ data-footnotes-container-width-value="{{ site.data.theme.footnotes_container_width }}"
35
+ data-footnotes-sidenote-width-value="{{ site.data.theme.footnotes_sidenote_width }}"
36
+ data-footnotes-padding-left-value="{{ site.data.theme.footnotes_padding_left }}"
37
+ data-footnotes-offset-left-value="{{ site.data.theme.footnotes_offset_left }}"
38
+ data-footnotes-footnote-class="{{ site.data.theme.footnotes_footnote_class | join: " " }}"
39
+ data-footnotes-footnote-toggled-class="{{ site.data.theme.footnotes_footnote_toggled_class | join: " " }}"
40
+ data-footnotes-sidenote-class="{{ site.data.theme.footnotes_sidenote_class | join: " " }}">
41
+ {{ content }}
42
+ </div>
43
+ </div>
44
+
45
+ <footer class="d-flex flex-column align-items-center mt-60">
46
+ {% unless page.authors == empty or page.show_biography == false %}
47
+ {% for author in page.authors %}
48
+ {% include biography.html text=author.content %}
49
+ {% endfor %}
50
+ {% endunless %}
51
+
52
+ {% if page.license %}
53
+ {% include license_block.html title=page.license content=about.license %}
54
+ {% endif %}
55
+
56
+ {% include navigation_post.html src_previous="public/arrow_previous.png" src_home="public/home.png" src_next="public/arrow_next.png" href_previous=prev.url href_home="?#" href_next=next.url %}
57
+ </footer>
58
+ </article>
@@ -0,0 +1,45 @@
1
+ ---
2
+ layout: "default_with_menu"
3
+ ---
4
+
5
+ {%- assign about = site.posts | find: "layout", "about" -%}
6
+ {%- assign authors = site.posts | where: "layout", "author" -%}
7
+ {%- assign buttons = site.posts | where: "layout", "button" -%}
8
+ {%- assign buttons = site.posts | where: "layout", "button_copy" | concat: buttons | order -%}
9
+ {%- assign goals = site.posts | where: "layout", "goal" -%}
10
+
11
+ <article
12
+ data-controller="support-us"
13
+ data-support-us-monetization-url-value="{{ page.monetization_url }}"
14
+ id="{{ page.slug }}" class="container mx-auto max-w-780px py-4 mt-lg-5 px-20">
15
+ {% include headings/h1.html class="text-uppercase black hover-black letter-spacing-4 font-weight-bold mb-4" text=page.title %}
16
+
17
+ <p class="lead-md content">{{ page.description }}</p>
18
+
19
+ <div class="row row-cols-2 justify-content-center my-80 no-gutters">
20
+ {% for button in buttons %}
21
+ <div class="col d-flex p-1">
22
+ {% if button.layout == "button" %}
23
+ {% include buttons/with_link.html href=button.link text=button.title %}
24
+ {% elsif button.layout == "button_copy" %}
25
+ {% include buttons/with_copy.html copy=button.text text=button.title %}
26
+ {% endif %}
27
+ </div>
28
+ {% endfor %}
29
+ </div>
30
+
31
+ <div class="lead-md content">
32
+ {{-
33
+ page.section_1
34
+ | replace: "BALANCE", '<code data-support-us-target="balance"></code>'
35
+ | replace: "DATE", '<span data-support-us-target="date"></span>' -}}
36
+ </div>
37
+
38
+ <div class="my-4">
39
+ {% for goal in goals %}
40
+ {% include goal.html title=goal.title text=goal.description value_now=1000 value_max=goal.value_max currency=goal.currency %}
41
+ {% endfor %}
42
+ </div>
43
+
44
+ <div class="lead-md content">{{ page.section_2 }}</div>
45
+ </article>
@@ -0,0 +1,60 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% capture components %}
6
+ {% for component in site.data.components %}
7
+ {% assign component_include = "theme/" | append: component | append: ".html" %}
8
+ {% assign title = component | replace: "_", " " | capitalize %}
9
+
10
+ <section id="{{ component | replace: "_", "-" }}" class="mb-5">
11
+ <header>
12
+ {% include headings/with_link.html level=1 text=title %}
13
+ </header>
14
+
15
+ {% include {{ component_include }} %}
16
+ </section>
17
+ {% endfor %}
18
+ {% endcapture %}
19
+
20
+ {% capture full_width_components %}
21
+ {% for component in site.data.full_width_components %}
22
+ {% assign component_include = "theme/" | append: component | append: ".html" %}
23
+ {% assign title = component | replace: "_", " " | capitalize %}
24
+
25
+ <section id="{{ component | replace: "_", "-" }}" class="mb-5">
26
+ <header>
27
+ {% include headings/with_link.html level=1 text=title %}
28
+ </header>
29
+
30
+ {% include {{ component_include }} %}
31
+ </section>
32
+ {% endfor %}
33
+ {% endcapture %}
34
+
35
+ <div class="container-fluid">
36
+ <div class="row">
37
+ <aside class="col-12 col-md-3">
38
+ <ol class="list-unstyled">
39
+ {%- assign toc_full_width = full_width_components | table_of_contents: 1 -%}
40
+ {%- assign toc = components | table_of_contents: 1 | concat: toc_full_width -%}
41
+
42
+ {% for item in toc %}
43
+ <li>
44
+ <a href="#{{ item.id }}" data-turbo="false">
45
+ {{- item.title -}}
46
+ </a>
47
+ </li>
48
+ {% endfor %}
49
+ </ol>
50
+ </aside>
51
+
52
+ <section class="col-12 col-md">
53
+ {{ components }}
54
+ </section>
55
+ </div>
56
+ </div>
57
+
58
+ <section class="w-100">
59
+ {{ full_width_components }}
60
+ </section>
@@ -0,0 +1,93 @@
1
+ .content {
2
+ p { min-height: $font-size-base * $line-height-base; }
3
+ h1 { min-height: $h1-font-size * $headings-line-height; }
4
+ h2 {
5
+ min-height: $h2-font-size * $headings-line-height;
6
+ text-transform: uppercase !important;
7
+ margin-top:2rem;
8
+ margin-bottom:1.5rem;
9
+ font-family: "Open Sans", sans-serif;
10
+ letter-spacing: 2.73px;
11
+ }
12
+
13
+ h3 {
14
+ min-height: $h3-font-size * $headings-line-height;
15
+ font-weight: $font-weight-bold;
16
+ margin: 2rem 0 1.5rem;
17
+ }
18
+
19
+ h4 { min-height: $h4-font-size * $headings-line-height; }
20
+ h5 { min-height: $h5-font-size * $headings-line-height; }
21
+ h6 { min-height: $h6-font-size * $headings-line-height; }
22
+
23
+ iframe { border: 0; }
24
+
25
+ audio { width: 100%; }
26
+
27
+ img,
28
+ video,
29
+ iframe {
30
+ @extend .img-fluid;
31
+ height: auto;
32
+ margin: 2rem 0;
33
+ }
34
+
35
+ figure {
36
+ text-align: center;
37
+ margin: 0;
38
+ }
39
+
40
+ & > * {
41
+ margin-bottom: 1rem;
42
+
43
+ &:last-child {
44
+ margin-bottom: 0;
45
+ }
46
+ }
47
+
48
+ li p {
49
+ margin-bottom: $paragraph-margin-bottom;
50
+ }
51
+
52
+ a {
53
+ text-decoration: underline !important;
54
+ }
55
+
56
+ sup {
57
+ position: relative;
58
+ @include font-size(100%);
59
+ line-height: 0;
60
+ vertical-align: baseline;
61
+ top: 0;
62
+ font-weight: bold;
63
+
64
+ &:before {
65
+ content: "[";
66
+ }
67
+
68
+ &:after {
69
+ content: "]";
70
+ }
71
+ }
72
+
73
+ a {
74
+ word-break: break-word !important;
75
+ word-wrap: break-word !important;
76
+ }
77
+
78
+ blockquote {
79
+ border-left: 4px solid rgba(0, 0, 0, 0.2);
80
+ margin-left: 0.75em;
81
+ padding-left: 0.5em;
82
+ }
83
+ }
84
+
85
+ footer .content a {
86
+ text-decoration: none !important;
87
+ }
88
+
89
+ small,
90
+ .small {
91
+ @include font-size($small-font-size);
92
+ font-weight: unset;
93
+ }