j1-template 2021.1.29 → 2021.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +6 -6
  3. data/_includes/themes/j1/layouts/content_generator_post.html +3 -0
  4. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +5 -5
  5. data/_includes/themes/j1/procedures/posts/create_series_header.proc +6 -6
  6. data/_layouts/default.html +36 -26
  7. data/assets/data/mdil_icons.json +2417 -0
  8. data/assets/data/panel.html +10 -10
  9. data/assets/data/quicklinks.html +1 -2
  10. data/assets/themes/j1/adapter/js/fam.js +1 -1
  11. data/assets/themes/j1/adapter/js/j1.js +139 -139
  12. data/assets/themes/j1/adapter/js/navigator.js +11 -4
  13. data/assets/themes/j1/adapter/js/rtable.js +77 -24
  14. data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.css +1222 -0
  15. data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.min.css +1 -0
  16. data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +1 -1
  17. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +58 -109
  18. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
  19. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +28 -18
  20. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  21. data/assets/themes/j1/core/css/vendor.css +7 -20
  22. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  23. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/eot/materialdesignicons-light-webfont.eot +0 -0
  24. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff +0 -0
  25. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff2 +0 -0
  26. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/svg/materialdesignicons-light-webfont.svg +801 -0
  27. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/ttf/materialdesignicons-light-webfont.ttf +0 -0
  28. data/assets/themes/j1/core/js/template.js +16 -7
  29. data/assets/themes/j1/core/js/template.js.map +1 -1
  30. data/assets/themes/j1/core/js/template.min.js +16 -7
  31. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  32. data/assets/themes/j1/modules/carousel/css/theme/uno.css +1 -1
  33. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  34. data/assets/themes/j1/modules/j1Deepl/js/j1deepl.js +385 -0
  35. data/assets/themes/j1/modules/j1Deepl/js/j1deepl.min.js +18 -0
  36. data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +3 -0
  37. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.css +1 -1
  38. data/assets/themes/j1/modules/justifiedGallery/css/theme/uno.min.css +1 -1
  39. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +1 -1
  40. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  41. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +5 -15
  42. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +1 -1
  43. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.css +97 -0
  44. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.min.css +15 -0
  45. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.js +125 -0
  46. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js +15 -0
  47. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.css +3 -3
  48. data/assets/themes/j1/modules/rtable/css/theme/uno/rtable.min.css +2 -174
  49. data/assets/themes/j1/modules/rtable/js/rtable.js +59 -25
  50. data/assets/themes/j1/modules/rtable/js/rtable.min.js +12 -683
  51. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js +73 -73
  52. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.min.js +15 -15
  53. data/lib/j1/commands/generate.rb +5 -8
  54. data/lib/j1/version.rb +3 -3
  55. data/lib/starter_web/Gemfile +1 -1
  56. data/lib/starter_web/_config.yml +15 -51
  57. data/lib/starter_web/_data/blocks/banner.yml +4 -5
  58. data/lib/starter_web/_data/modules/defaults/rtable.yml +34 -0
  59. data/lib/starter_web/_data/modules/j1scroll.yml +2 -2
  60. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
  61. data/lib/starter_web/_data/modules/rtable.yml +34 -0
  62. data/lib/starter_web/_data/resources.yml +45 -1
  63. data/lib/starter_web/_includes/attributes.asciidoc +6 -1
  64. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  65. data/lib/starter_web/assets/images/modules/attics/annie-spratt-1920x1280.jpg +0 -0
  66. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
  67. data/lib/starter_web/assets/images/modules/attics/humble-lamb-1920x1280.jpg +0 -0
  68. data/lib/starter_web/assets/images/modules/attics/library-1920x1280.jpg +0 -0
  69. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
  70. data/lib/starter_web/assets/images/modules/attics/sigmund-1920x1280.jpg +0 -0
  71. data/lib/starter_web/assets/images/{pages/videos → modules/attics}/szabo-viktor-1920x1280.jpg +0 -0
  72. data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
  73. data/lib/starter_web/collections/posts/public/featured/_posts/{2020-01-01-about-cookies.adoc → 2021-01-01-about-cookies.adoc} +0 -0
  74. data/lib/starter_web/collections/posts/public/featured/_posts/{2021-03-01-site-generators.adoc → 2021-02-01-site-generators.adoc} +0 -0
  75. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-20-minneapolis.adoc → series/_posts/2020-01-01-post-wiki-series.adoc} +11 -10
  76. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc → series/_posts/2020-01-02-post-wiki-series.adoc} +15 -13
  77. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-26-columbia-river.adoc → series/_posts/2020-01-03-post-wiki-series.adoc} +28 -11
  78. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/attributes.asciidoc +0 -0
  79. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/documents/readme +0 -0
  80. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/tables/readme +0 -0
  81. data/lib/starter_web/index.html +2 -2
  82. data/lib/starter_web/package.json +2 -2
  83. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/000_intro.adoc +5 -7
  84. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +43 -0
  85. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +61 -0
  86. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +95 -0
  87. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/000_intro.asciidoc +54 -0
  88. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/000_basic_example.asciidoc +31 -0
  89. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +111 -0
  90. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +95 -0
  91. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +39 -0
  92. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter.asciidoc +8 -0
  93. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +122 -0
  94. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +502 -0
  95. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +261 -0
  96. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes.asciidoc +8 -0
  97. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.bat +1 -1
  98. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.sh +2 -2
  99. data/lib/starter_web/pages/public/asciidoc_skeletons/{book/book.a2p → documentation/documentation.a2p} +2 -8
  100. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +86 -0
  101. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +848 -40
  102. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +149 -38
  103. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +2 -7
  104. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +312 -119
  105. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +4 -27
  106. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +5 -27
  107. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -20
  108. data/lib/starter_web/pages/public/blog/navigator/archive.html +5 -27
  109. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1 -1
  110. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  111. data/lib/starter_web/utilsrv/package.json +1 -1
  112. metadata +53 -83
  113. data/assets/themes/j1/modules/rtable/js/tablesaw-init.js +0 -18
  114. data/assets/themes/j1/modules/rtable/js/tablesaw.stackonly.js +0 -2371
  115. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +0 -128
  116. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +0 -131
  117. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +0 -131
  118. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +0 -132
  119. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +0 -11
  120. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +0 -23
  121. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +0 -5
  122. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +0 -7
  123. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +0 -9
  124. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +0 -3
  125. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +0 -6
  126. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +0 -12
  127. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +0 -30
  128. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +0 -16
  129. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +0 -25
  130. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +0 -62
  131. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +0 -64
  132. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +0 -73
  133. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +0 -74
  134. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +0 -33
  135. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +0 -21
  136. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +0 -36
  137. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +0 -7
  138. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +0 -53
  139. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +0 -5
  140. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +0 -23
  141. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +0 -33
  142. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +0 -26
  143. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +0 -81
  144. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +0 -23
  145. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
  146. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +0 -136
  147. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +0 -60
  148. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +0 -59
  149. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
  150. data/lib/starter_web/pages/public/features/modules.adoc +0 -104
  151. data/lib/starter_web/pages/public/features/platform.adoc +0 -104
  152. data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +0 -60
  153. data/lib/starter_web/pages/public/previewer/_includes/documents/licenses/mit.asciidoc +0 -19
  154. data/lib/starter_web/pages/public/previewer/_includes/documents/readme +0 -0
  155. data/lib/starter_web/pages/public/previewer/_includes/documents/rouge/100_language_examples.asciidoc +0 -119
  156. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +0 -39
  157. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +0 -47
  158. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/120_relative_sizes.asciidoc +0 -47
  159. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/200_rotate.asciidoc +0 -71
  160. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/300_flip.asciidoc +0 -31
  161. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +0 -39
  162. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +0 -61
  163. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +0 -55
  164. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/600_md_color_palette.asciidoc +0 -95
  165. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +0 -95
  166. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +0 -95
  167. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +0 -41
  168. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +0 -857
  169. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +0 -47
  170. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +0 -47
  171. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/200_rotate.asciidoc +0 -71
  172. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/300_flip.asciidoc +0 -30
  173. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +0 -31
  174. data/lib/starter_web/pages/public/previewer/iframer.adoc +0 -93
  175. data/lib/starter_web/pages/public/previewer/justified_gallery.html +0 -41
  176. data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +0 -574
  177. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +0 -220
  178. data/lib/starter_web/pages/public/previewer/rouge.adoc +0 -133
  179. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +0 -191
@@ -1,220 +0,0 @@
1
- ---
2
- title: MDI Icon Previewer
3
- tagline: search and select mdi icons
4
- date: 2020-11-08 00:00:00 +100
5
- description: >
6
- Previewer for Material Design Icons (MDI) for J1 Template.
7
- Material Design Icons is a growing icon collection allows
8
- designers and developers targeting various platforms to download
9
- icons in the format, color and size they need for any project.
10
-
11
- categories: [ Preview ]
12
- tags: [ MDI, Icons, Fonts ]
13
-
14
- scrollbar: false
15
-
16
- permalink: /pages/public/previewer/mdi_font/
17
- regenerate: false
18
-
19
- resources: [ clipboard, lightbox, rouge, mdi_previewer ]
20
- resource_options:
21
- - attic:
22
- padding_top: 400
23
- padding_bottom: 50
24
- opacity: 0.5
25
- slides:
26
- - url: /assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg
27
- alt: icon-fonts-1920x1280-bw
28
- ---
29
-
30
- // Page Initializer
31
- // =============================================================================
32
- // Enable the Liquid Preprocessor
33
- :page-liquid:
34
-
35
- // Set (local) page attributes here
36
- // -----------------------------------------------------------------------------
37
- //:my-asciidoc-attribute:
38
-
39
- // Load Liquid procedures
40
- // -----------------------------------------------------------------------------
41
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
42
-
43
- // Load page attributes
44
- // -----------------------------------------------------------------------------
45
- {% include {{load_attributes}} scope="all" %}
46
-
47
-
48
- // Page content
49
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50
-
51
- // Include sub-documents
52
- // -----------------------------------------------------------------------------
53
-
54
- == Material Design Icons
55
-
56
- _Material Design Icons_ (MDI) is a very helpful design resource for Web Design
57
- that is based on _Google's_ specification of Material Design. *MDI* is a
58
- community-driven project to create an increased icon-set based on the official
59
- Material Design Icon repository provided by _Google_.
60
-
61
- *MDI* is a fast growing collection to allow designers and developers targeting
62
- various platforms to download icons in the format, color and size they needed
63
- for a project. In the current *MDI* version (v5.9.55), 5900+ icons - plus
64
- converted icons from the official icon set created by _Google_ - are available.
65
-
66
- _J1 Template_ supports the full set of *MDI* icons for the Web (Webfont, WOFF).
67
- The icon set is fully integrated and can be used out-of-the-box.
68
-
69
- == HTML Markup
70
-
71
- There is no *official* markup for font icons, but 2 markups are widely used.
72
- Both markups can be used in block elements like the anchor tag `<a>`. That
73
- way, it's on you what to use for font icons.
74
-
75
- [source, html]
76
- ----
77
- <span class="mdi mdi-name" role="img" aria-label="name" ></span> <1>
78
- <i class="mdi mdi-name"></i> <1> <2>
79
- ----
80
- <1> Both forms are consistent with the HTML5 spec
81
- <2> It's short and the `<i>` tag may associated for an **i**con
82
- (semantic meaning)
83
-
84
- NOTE: The `<i>` tag provides more meaning to machines because of the HTML spec,
85
- it provides more meaning to *humans* because the `i` can easily associated with
86
- `icon`. And it's only *one letter* long - that win! And if you make sure to
87
- include equivalent text either inside the `<i>` tag or right next to it
88
- (as Twitter for Bootstrap does), then screen readers understand where to
89
- click to reply, the link is usable if CSS doesn't load, and human readers
90
- with good eyesight and a decent browser see a pretty icon.
91
-
92
- == Asciidoc Markup
93
-
94
- For pages using Asciidoc for the source (default), a easier solution is to
95
- use Markups from Asciidoc.
96
-
97
- [source, html]
98
- ----
99
- pass:[<i class="mdi mdi-<name> mdi-<size> mdi-<modifier>"></i>] <1>
100
- mdi:<name>[<size>, <modifier>] <2>
101
- ----
102
- <1> Markup using a pass block
103
- <2> Markup using the Asciidoc extension (mdi:)
104
-
105
-
106
- == Sizes
107
-
108
- For more eye-minded placement, or to place emphasis on, all icons can be
109
- specified in different sizes by the *optional* parameter `size`.
110
-
111
- NOTE: The size of an icon is typically specified relative to the *base* font
112
- size. Today, the base font size is set to `16px`. That mean for for font
113
- icons, that the *width* of an icon is set to `32px` if a relative size
114
- of `2x` is specified.
115
-
116
- See with the following what sizes are available.
117
-
118
- === Fixed Size
119
-
120
- If needed, the icon size can given in *absolute* sizes from `18px` to `48px`.
121
-
122
- include::{tabledir}/mdi_icons/100_absolute_sizes.asciidoc[]
123
-
124
- === BS Grid Size
125
-
126
- For a better Bootstrap integration, the icon size can be given like the
127
- view-port shortcuts `xs`, `sm`, `md`, `lg` and `xl`.
128
-
129
- include::{tabledir}/mdi_icons/110_bs_grid_sizes.asciidoc[]
130
-
131
- === Relative Size
132
-
133
- All icons can be specifier relativ to the base size of `1em` from `1x` to `10x`.
134
- See the examples with the table below.
135
-
136
- include::{tabledir}/mdi_icons/120_relative_sizes.asciidoc[]
137
-
138
- == Rotate
139
-
140
- To vary icons in their orientation, the icons can be rotated for 7 different
141
- angle. This is quite useful, if an icon has an orientation already but does
142
- *not* fit your need.
143
-
144
- NOTE: Using `flip-*` and `rotate-*` at the *same* time is *not* supported
145
-
146
- include::{tabledir}/mdi_icons/200_rotate.asciidoc[]
147
-
148
- == Flip
149
-
150
- Like `rotate`, an icon can be flipped by horizontal and vertical *axes*. It is
151
- similiar to `rotate` but the *angle* (perspective) remains *unchanged*.
152
-
153
- NOTE: Using `mdi-flip-*` and `mdi-rotate-*` at the same time is *not* supported
154
-
155
- include::{tabledir}/mdi_icons/300_flip.asciidoc[]
156
-
157
- == Spin and Pulsed
158
-
159
- For realy *eye-minded* placements of icons, icons can be animated im terms
160
- of *rotation* and *pulse*. Be careful using animated icons, because this
161
- may cause disturbing effects and can demand unwanted attention.
162
-
163
- include::{tabledir}/mdi_icons/400_spin_pulsed.asciidoc[]
164
-
165
- == Color Palette
166
-
167
- The implementation of _MDI_ font icons support the full color palette of
168
- _Google_'s_ Material design specification.
169
-
170
- === BW Colors
171
-
172
- The default color set used for _MDI_ are *black-and-white* for the flavours
173
- `light` and `dark` of default (dark) if *not* specified.
174
-
175
- include::{tabledir}/mdi_icons/500_bw_color_palette.asciidoc[]
176
-
177
- === BS Colors
178
-
179
- The implementation of _MDI_ font icons support the base color palette of
180
- Bootstrap range from `primary` to `danger`.
181
-
182
- .Bootstrap base color palette
183
- lightbox::base-color-palette[ 300, {lightbox-image-data--base-color-palette} ]
184
-
185
- include::{tabledir}/mdi_icons/510_bs_color_palette.asciidoc[]
186
-
187
- === MD Color Palette
188
-
189
- For _J1 Template_, 17 additional color variations are available comply with
190
- the concepts of _Google Material Design_:
191
-
192
- .Material Design color palette
193
- lightbox::md-color-palette[ 800, {lightbox-image-data--md-color-palette} ]
194
-
195
- ==== Indigo
196
-
197
- The color `Indigo` is used as the `primary` color for J1 Template. You'll find
198
- this color quite often in various `weights` (ranges from `50` to `900`).
199
-
200
- include::{tabledir}/mdi_icons/601_md_color_palette_indigo.asciidoc[]
201
-
202
- ==== Pink
203
-
204
- The color `Pink` is used as the `complementary` color for J1 Template. You'll
205
- find this color to put an emphasis on some elements. All colors comes in ranges
206
- from `50` to `900` but for `Pink` mostly the default `weight` of `500` is used.
207
-
208
- include::{tabledir}/mdi_icons/602_md_color_palette_pink.asciidoc[]
209
-
210
- == Icon Overview
211
-
212
- The Material Design Icon Font support a rich set of 5900+ icons
213
- (version v5.9.55) from a wide varity of topics.
214
-
215
- NOTE: Click on the elements below to copy icon data to clipboard
216
-
217
- ++++
218
- <!-- div class="my-popper">Popper element</div -->
219
- <div id="icons" class="icons"></div>
220
- ++++
@@ -1,133 +0,0 @@
1
- ---
2
- title: Rouge
3
- tagline: preview rouge themes
4
- date: 2020-11-08 00:00:00 +100
5
- description: >
6
- Previewer page for J1 module Rouge. Rouge is a pure Ruby
7
- syntax highlighter. It can highlight over 100 different
8
- languages fully integrated with J1 Template.
9
-
10
- categories: [ Previewer ]
11
- tags: [ Highlighter, Rouge ]
12
-
13
- scrollbar: false
14
- toc: true
15
-
16
- permalink: /pages/public/previewer/rouge/
17
- regenerate: true
18
-
19
- resources: [ rouge, clipboard ]
20
- resource_options:
21
- - toccer:
22
- collapseDepth: 4
23
- - attic:
24
- padding_top: 400
25
- padding_bottom: 50
26
- opacity: 0.5
27
- slides:
28
- - url: /assets/images/modules/attics/jessica-ruscello-1920x1280.jpg
29
- alt: Photo by Jessica Ruscello Unsplash
30
- # caption:
31
- # text: Photo by Jessica Ruscello on Unsplash
32
- # href: https://unsplash.com/@jasonrosewell
33
- badge:
34
- type: unsplash
35
- author: Jessica Ruscello
36
- href: https://unsplash.com/@jruscello
37
- ---
38
-
39
- // Page Initializer
40
- // =============================================================================
41
- // Enable the Liquid Preprocessor
42
- :page-liquid:
43
-
44
- // Set (local) page attributes here
45
- // -----------------------------------------------------------------------------
46
- // :page--attr: <attr-value>
47
- // :source-highlighter: rouge
48
- // https://dzone.com/articles/awesome-asciidoctor-highlight-lines-in-source-code
49
- //
50
- :rouge-line-class: line
51
- :rouge-line-id: X%i
52
-
53
- // Load Liquid procedures
54
- // -----------------------------------------------------------------------------
55
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
56
-
57
- // Load page attributes
58
- // -----------------------------------------------------------------------------
59
- {% include {{load_attributes}} scope="global" %}
60
-
61
-
62
- // Page content
63
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64
-
65
- // Include sub-documents
66
- // -----------------------------------------------------------------------------
67
-
68
- == Theme selector
69
-
70
- For the default theme `Uno` of J1 Template, the following _Rouge_ themes
71
- are used:
72
-
73
- * light: `igorpro`
74
- * dark: `monokai.sublime`
75
-
76
- NOTE: The default themes used for J1 Template can be configured with the
77
- global template config file `~/_data/j1_config.yml`.
78
-
79
- Make a selection of theme below to preview.
80
-
81
- ++++
82
- <div class="btn-group">
83
- <!-- See: https://stackoverflow.com/questions/47242702/force-bootstrap-dropdown-menu-to-always-display-at-the-bottom-and-allow-it-go-of -->
84
- <!-- NOTE: control the behaviour of popper.js for positioning -->
85
- <!-- NOTE: set attribute data-flip="false" to open the SELECT list at the BOTTOM of the BUTTON -->
86
- <button class="btn btn-primary btn-raised btn-flex btn-lg dropdown-toggle" data-flip="false" type="button" data-toggle="dropdown" data-target="#navbarDropdown" aria-haspopup="true" aria-expanded="false">
87
- Select a theme<span class="caret"></span>
88
- </button>
89
- <ul class="dropdown-menu scrollable-menu" role="menu">
90
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16</a></li>
91
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.dark</a></li>
92
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.light</a></li>
93
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai</a></li>
94
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai.dark</a></li>
95
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai.light</a></li>
96
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized</a></li>
97
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized.dark</a></li>
98
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized.light</a></li>
99
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('colorful')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>colorful</a></li>
100
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('github')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>github</a></li>
101
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('gruvbox')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>gruvbox</a></li>
102
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('gruvbox.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>gruvbox.light</a></li>
103
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('igorpro')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>igorpro</a></li>
104
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('molokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>molokai</a></li>
105
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('monokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>monokai</a></li>
106
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('monokai.sublime')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>monokai.sublime</a></li>
107
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('pastie')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>pastie</a></li>
108
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('thankful_eyes')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>thankful_eyes</a></li>
109
- <li><a class="dropdown-item" onclick="j1.adapter.rouge.reaplyStyles('tulip')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>tulip</a></li>
110
- </ul>
111
- </div>
112
- <div id="selected" class="mt-1 mb-3"></div>
113
- ++++
114
-
115
- === Language examples
116
-
117
- Find below a selected number languages (code blocks) and their highlightning.
118
-
119
- include::{documentdir}/rouge/100_language_examples.asciidoc[]
120
-
121
- == Rouge attributes
122
-
123
- You can further customize the source block output with additional Rouge
124
- attributes.
125
-
126
- include::{tabledir}/rouge/200_rouge_attributes.asciidoc[]
127
-
128
- == Supported languages
129
-
130
- Here the list of the (current of Feb, 2021) supported languages and lexers
131
- (language highlighters).
132
-
133
- include::{tabledir}/rouge/300_supported_languages.asciidoc[]
@@ -1,191 +0,0 @@
1
- ---
2
- title: Emoji Previewer
3
- tagline: search and select twitter emojis
4
- date: 2020-11-08 00:00:00 +100
5
- description: >
6
- Twitter Emoji Icons V1 Previewer.Twitter Emoji is a colored
7
- icon font developed by Twitter. The full icon set is fully
8
- supported by J1 Template.
9
-
10
- categories: [ Previewer ]
11
- tags: [ Emoji, Icons, Fonts, Twitter ]
12
-
13
- scrollbar: false
14
-
15
- permalink: /pages/public/previewer/twitter_emoji/
16
- regenerate: false
17
-
18
- resources: [ twemoji, twemoji_picker, fam ]
19
- resource_options:
20
- - attic:
21
- padding_top: 400
22
- padding_bottom: 50
23
- opacity: 0.5
24
- slides:
25
- - url: /assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg
26
- alt: Photo by Fausto Garcia on Unsplash
27
- badge:
28
- type: unsplash
29
- author: Fausto Garcia
30
- href: https://unsplash.com/@faustogarmen/portfolio
31
- ---
32
-
33
- // Page Initializer
34
- // =============================================================================
35
- // Enable the Liquid Preprocessor
36
- :page-liquid:
37
-
38
- // Set (local) page attributes here
39
- // -----------------------------------------------------------------------------
40
- :jollygoodcode--emoji: https://github.com/jollygoodcode/twemoji
41
-
42
- // Load Liquid procedures
43
- // -----------------------------------------------------------------------------
44
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
45
-
46
- // Load page attributes
47
- // -----------------------------------------------------------------------------
48
- {% include {{load_attributes}} scope="local" %}
49
-
50
-
51
- // Page content
52
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53
- == Twitter Emoji's
54
-
55
- J1 Template comes with the Twitter Emoji library (Twemoji) V1 included and
56
- offers more than 800+ icons. A lot of icons - hard to remember all the names,
57
- isn't it?
58
-
59
- To use all the Emoji's with your documents you don't need to remember any name.
60
- Simply pick the icon you want - use the <<Emoji Picker>>.
61
-
62
- To find the icon you need, to fasten your search the Emoji Library is sorted
63
- by five categories:
64
-
65
- * people, classic Emoji's like emoji:smile[] (`smile`) and emoji:laughing[] (`laughing`) or faces like emoji:girl[] (`girl`)
66
- * nature, like emoji:mouse[] (`mouse`), emoji:rose[] (`rose`) or emoji:sunny[] (`sunny`)
67
- * objects, like emoji:bell[] (`bell`), emoji:hammer[] (`hammer`) or emoji:notes[] (`notes`)
68
- * places, like emoji:office[] (`office`), emoji:car[] (`car`) or flags like emoji:de[] (`de`)
69
- * symbols, like emoji:ok[] (`ok`), emoji:clock12[] (`clock12`) or emoji:scorpius[] (`scorpius`)
70
-
71
- === Asciidoc Markup
72
-
73
- Using Twitter Emoji's for your Asciidoc documents is quite simple - use the
74
- `emoji:` inline macro like this:
75
-
76
- [source, adoc, role="noclip"]
77
- ----
78
- Your text emoji:icon_name[] ...
79
- Your text emoji:icon_name[size, modifier] ...
80
- ----
81
-
82
- For all Emoji's (`icon_name`), two parameters *can* be given for the `size` and
83
- a `modifier` to put additional features on the icon. See the following chapters
84
- for all *sizes* and *modifiers* (`rotate`, `spin`, `flip` and `pulsed`)
85
- available.
86
-
87
- If *none* if the additional parameters are specified, the `size` is set to `1x`
88
- and *no* `modifier` is used for an Emoji.
89
-
90
- .Click on `view result` to see the nice turtle ...
91
- ----
92
- You're faster than a emoji:turtle[2x] - for sure emoji:heart[pulsed]!
93
- ----
94
-
95
- [.result]
96
- ====
97
- You're faster than a emoji:turtle[2x] - for sure emoji:heart[pulsed]!
98
- ====
99
-
100
- Writing complex Asciidoc Macros for documents are not fun. For the `emoji:`
101
- inline macro the name of the Emoji is need. Go for the <<Emoji Picker>> and
102
- you're done in seconds.
103
-
104
- === Sizes
105
-
106
- For more eye-minded placement, or to place emphasis on, all Emoji's can be
107
- specified in different sizes by the *optional* parameter `size`. See with the
108
- following what sizes are available.
109
-
110
- ==== BS grid Size
111
-
112
- For a better Bootstrap integration, the icon size can be given like the
113
- view-port shortcuts `xs`, `sm`, `md`, `lg` and `xl`.
114
-
115
- include::{tabledir}/twitter_emoji/100_bs_sizes.asciidoc[]
116
-
117
- ==== Relative Size
118
-
119
- All icons can be specifier relativ to the base size of `1em` from `1x` to `5x`.
120
- See the examples with the table below.
121
-
122
- include::{tabledir}/twitter_emoji/100_relative_sizes.asciidoc[]
123
-
124
-
125
- === Rotate
126
-
127
- To vary Emoji's in their orientation, the icons can be rotated for 7 different
128
- angle. This is quite useful, if an Emoji has an orientation already but does
129
- *not* fit your need.
130
-
131
- NOTE: Using `flip-*` and `rotate-*` at the *same* time is *not* supported
132
-
133
- include::{tabledir}/twitter_emoji/200_rotate.asciidoc[]
134
-
135
- === Flip
136
-
137
- Like `rotate`, an icon can be flipped by horizontal and vertical *axes*. It is
138
- similiar to `rotate` but the *angle* (perspective) remains *unchanged*.
139
-
140
- include::{tabledir}/twitter_emoji/300_flip.asciidoc[]
141
-
142
- === Spin and Pulsed
143
-
144
- For realy *eye-minded* placements of Emoji's, icons can be animated im terms
145
- of *rotation* and *pulse*. Be careful using animated Emoji's, because this
146
- may cause disturbing effects and can demand unwanted attention.
147
-
148
- include::{tabledir}/twitter_emoji/400_spin_pulsed.asciidoc[]
149
-
150
- [NOTE, role="mb-5"]
151
- ====
152
- Animations gets stopped if the mouse (pointer) is moved over an animated
153
- Emoji.
154
- ====
155
-
156
- == Emoji Picker
157
-
158
- The Picker for `Emoji's` is easy to use. Open the *category view* by a click on
159
- the button `Picker` and click on an *emoji* you want to use. Automatically, the
160
- Asciidoc code is copied to the *clipboard*. You can paste the code directly from the
161
- clipboard to the document your're currently work on.
162
-
163
- For your reference, all Emoji's selected are copied into to *text-field* of the
164
- picker (and the Asciidoc code as well emoji:stuck-out-tongue-winking-eye[]).
165
- If gets too much, a click on the `Clear` button cleans up the text-field.
166
-
167
- Simple like that!
168
-
169
- ++++
170
- <div id="picker" class="mt-3 mb-5">
171
- <textarea id="twemoji-picker" class="form-control"></textarea>
172
- </div>
173
- <div class="paragraph mt-5">
174
- <p style="color: transparent;"> dummy-text</p>
175
- </div>
176
- <script>
177
- $('#twemoji-picker').twemojiPicker({
178
- init: '',
179
- language: "{{site.language}}",
180
- size: '3.5rem',
181
- iconSize: '2rem',
182
- height: '100px',
183
- width: '100%',
184
- category: ['smile', 'mouse', 'wrench', 'house', 'large-blue-diamond'],
185
- categorySize: '2.5rem',
186
- pickerPosition: 'bottom',
187
- pickerHeight: '1300px',
188
- pickerWidth: '100%'
189
- });
190
- </script>
191
- ++++