j1-template 2023.1.0 → 2023.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_collection.html +2 -3
  3. data/assets/data/banner.html +8 -6
  4. data/assets/data/masonry.html +263 -73
  5. data/assets/data/slick.html +155 -59
  6. data/assets/error_pages/HTTP204.html +1 -1
  7. data/assets/error_pages/HTTP400.html +1 -1
  8. data/assets/error_pages/HTTP401.html +1 -1
  9. data/assets/error_pages/HTTP403.html +1 -1
  10. data/assets/error_pages/HTTP404.html +1 -1
  11. data/assets/error_pages/HTTP444.html +1 -1
  12. data/assets/error_pages/HTTP445.html +1 -1
  13. data/assets/error_pages/HTTP446.html +1 -1
  14. data/assets/error_pages/HTTP447.html +1 -1
  15. data/assets/error_pages/HTTP448.html +1 -1
  16. data/assets/error_pages/HTTP500.html +1 -1
  17. data/assets/error_pages/HTTP501.html +1 -1
  18. data/assets/error_pages/HTTP502.html +1 -1
  19. data/assets/error_pages/HTTP503.html +1 -1
  20. data/assets/themes/j1/adapter/js/masonry.js +9 -1
  21. data/assets/themes/j1/adapter/js/slick.js +239 -134
  22. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +247 -0
  23. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  24. data/assets/themes/j1/core/js/template.js +55 -57
  25. data/assets/themes/j1/core/js/template.min.js +6 -6
  26. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  27. data/assets/themes/j1/modules/masonry/css/theme/uno.css +1 -1
  28. data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +1 -1
  29. data/assets/themes/j1/modules/slick/lightbox/README.md +6 -1
  30. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +36 -0
  31. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +15 -0
  32. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +1 -1
  33. data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +173 -137
  34. data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +1 -1
  35. data/assets/themes/j1/modules/slick/slider/js/slick.js +2970 -2233
  36. data/assets/themes/j1/modules/translator/css/translator.css +3 -19
  37. data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
  38. data/lib/j1/version.rb +1 -1
  39. data/lib/starter_web/Gemfile +1 -1
  40. data/lib/starter_web/README.md +5 -5
  41. data/lib/starter_web/_config.yml +25 -1
  42. data/lib/starter_web/_data/blocks/banner.yml +45 -46
  43. data/lib/starter_web/_data/blocks/panel.yml +9 -9
  44. data/lib/starter_web/_data/layouts/home.yml +39 -21
  45. data/lib/starter_web/_data/modules/defaults/slick.yml +2 -2
  46. data/lib/starter_web/_data/modules/masonry.yml +155 -41
  47. data/lib/starter_web/_data/modules/navigator_menu.yml +632 -591
  48. data/lib/starter_web/_data/modules/scroller.yml +1 -1
  49. data/lib/starter_web/_data/modules/slick.yml +260 -54
  50. data/lib/starter_web/_data/puma/config.rb +10 -0
  51. data/lib/starter_web/_data/resources.yml +1 -0
  52. data/lib/starter_web/_data/templates/feed.xml +1 -1
  53. data/lib/starter_web/_includes/attributes.asciidoc +24 -0
  54. data/lib/starter_web/_includes/custom/static/readme +1 -1
  55. data/lib/starter_web/_includes/custom/templates/collection_panel.html +131 -0
  56. data/lib/starter_web/_includes/custom/templates/custom_header.html +98 -76
  57. data/lib/starter_web/_includes/custom/templates/people_panel.html +144 -0
  58. data/lib/starter_web/_includes/custom/templates/readme +1 -1
  59. data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +1 -1
  60. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +1 -1
  61. data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +1 -1
  62. data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
  63. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
  64. data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
  65. data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +10 -0
  66. data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +44 -0
  67. data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +1 -1
  68. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  69. data/lib/starter_web/assets/images/collections/people/diana-petersen.jpg +0 -0
  70. data/lib/starter_web/assets/images/collections/people/larry-parker.jpg +0 -0
  71. data/lib/starter_web/assets/images/collections/people/parveen-anand.jpg +0 -0
  72. data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
  73. data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
  74. data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
  75. data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +5 -5
  76. data/lib/starter_web/collections/_biography/becoming.adoc +5 -5
  77. data/lib/starter_web/collections/_biography/born-to-run.adoc +5 -5
  78. data/lib/starter_web/collections/_biography/forty-autumns.adoc +5 -5
  79. data/lib/starter_web/collections/_biography/not-dead-yet.adoc +5 -6
  80. data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +5 -5
  81. data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +6 -7
  82. data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +14 -4
  83. data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +13 -3
  84. data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +11 -3
  85. data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +15 -3
  86. data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +11 -3
  87. data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +11 -3
  88. data/lib/starter_web/collections/_people/diana-petersen.adoc +167 -0
  89. data/lib/starter_web/collections/_people/larry-parker.adoc +167 -0
  90. data/lib/starter_web/collections/_people/parveen-anand.adoc +167 -0
  91. data/lib/starter_web/collections/_portfolio/branding.adoc +97 -0
  92. data/lib/starter_web/collections/_portfolio/graphic_design.adoc +97 -0
  93. data/lib/starter_web/collections/_portfolio/identity.adoc +99 -0
  94. data/lib/starter_web/collections/_portfolio/illustration.adoc +101 -0
  95. data/lib/starter_web/collections/_portfolio/photography.adoc +100 -0
  96. data/lib/starter_web/collections/_portfolio/web_design.adoc +109 -0
  97. data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +12 -3
  98. data/lib/starter_web/collections/_romance/dressmaker-the.adoc +10 -3
  99. data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +13 -3
  100. data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +11 -3
  101. data/lib/starter_web/collections/_romance/outlander-novel.adoc +12 -3
  102. data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +16 -4
  103. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +2 -2
  104. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
  105. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +4 -4
  106. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +4 -4
  107. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +4 -4
  108. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +4 -4
  109. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +4 -4
  110. data/lib/starter_web/index.html +129 -129
  111. data/lib/starter_web/package.json +1 -1
  112. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +107 -0
  113. data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_biography.adoc +21 -12
  114. data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_fantasy.adoc +11 -6
  115. data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/article_previewer/viewer_romance.adoc +11 -5
  116. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
  117. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +53 -4
  118. data/lib/starter_web/pages/public/plans/plans.adoc +25 -12
  119. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  120. data/lib/starter_web/utilsrv/package.json +1 -1
  121. metadata +59 -79
  122. data/assets/data/masonry.4.html +0 -213
  123. data/assets/themes/j1/adapter/js/slick.3.js +0 -365
  124. data/lib/starter_web/assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg +0 -0
  125. data/lib/starter_web/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg +0 -0
  126. data/lib/starter_web/assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg +0 -0
  127. data/lib/starter_web/assets/images/parsa/customers/200x150/img1.png +0 -0
  128. data/lib/starter_web/assets/images/parsa/customers/200x150/img2.png +0 -0
  129. data/lib/starter_web/assets/images/parsa/customers/200x150/img3.png +0 -0
  130. data/lib/starter_web/assets/images/parsa/customers/200x150/img4.png +0 -0
  131. data/lib/starter_web/assets/images/parsa/customers/200x150/img5.png +0 -0
  132. data/lib/starter_web/assets/images/parsa/customers/200x150/img6.png +0 -0
  133. data/lib/starter_web/assets/images/parsa/customers/200x150/img7.png +0 -0
  134. data/lib/starter_web/assets/images/parsa/customers/200x150/img8.png +0 -0
  135. data/lib/starter_web/assets/images/parsa/customers/200x150/img9.png +0 -0
  136. data/lib/starter_web/assets/images/parsa/customers/client-1.png +0 -0
  137. data/lib/starter_web/assets/images/parsa/customers/client-2.png +0 -0
  138. data/lib/starter_web/assets/images/parsa/customers/client-3.png +0 -0
  139. data/lib/starter_web/assets/images/parsa/customers/client-4.png +0 -0
  140. data/lib/starter_web/assets/images/parsa/customers/client-5.png +0 -0
  141. data/lib/starter_web/assets/images/parsa/customers/client-6.png +0 -0
  142. data/lib/starter_web/assets/images/parsa/customers/client-7.png +0 -0
  143. data/lib/starter_web/assets/images/parsa/icons/favicon.ico +0 -0
  144. data/lib/starter_web/assets/images/parsa/icons/icon.png +0 -0
  145. data/lib/starter_web/assets/images/parsa/icons/icon.svg +0 -152
  146. data/lib/starter_web/assets/images/parsa/icons/logo.svg +0 -172
  147. data/lib/starter_web/assets/images/parsa/masthead/19-02-_2023_09-05-46.jpg +0 -0
  148. data/lib/starter_web/assets/images/parsa/masthead/banner-img.png +0 -0
  149. data/lib/starter_web/assets/images/parsa/pages/1920x1280/author.jpg +0 -0
  150. data/lib/starter_web/assets/images/parsa/pages/1920x1280/contact.jpg +0 -0
  151. data/lib/starter_web/assets/images/parsa/pages/author.jpg +0 -0
  152. data/lib/starter_web/assets/images/parsa/pages/contact.jpg +0 -0
  153. data/lib/starter_web/assets/images/parsa/partners/scalable/facebook.svg +0 -34
  154. data/lib/starter_web/assets/images/parsa/partners/scalable/google.svg +0 -35
  155. data/lib/starter_web/assets/images/parsa/partners/scalable/ibm.svg +0 -24
  156. data/lib/starter_web/assets/images/parsa/partners/scalable/microsoft.svg +0 -42
  157. data/lib/starter_web/assets/images/parsa/posts/1280x1024/post-img.jpg +0 -0
  158. data/lib/starter_web/assets/images/parsa/posts/1280x1024/post-single.jpg +0 -0
  159. data/lib/starter_web/assets/images/parsa/promo/home/screenshot.jpg +0 -0
  160. data/lib/starter_web/pages/public/previewer/preview_masonry.adoc +0 -361
  161. data/lib/starter_web/pages/public/previewer/preview_slick_slider.adoc +0 -375
  162. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/1.jpg +0 -0
  163. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/2.jpg +0 -0
  164. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/3.jpg +0 -0
  165. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/4.jpg +0 -0
  166. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/5.jpg +0 -0
  167. /data/lib/starter_web/assets/images/{parsa → collections}/portfolio/6.jpg +0 -0
  168. /data/lib/starter_web/assets/images/{parsa/icons → icons/controls}/close-icon.svg +0 -0
  169. /data/lib/starter_web/assets/images/{parsa/icons → icons/controls}/up.svg +0 -0
  170. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/dynamic-web-access.png +0 -0
  171. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jamstack-generators.png +0 -0
  172. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.1200x400.png +0 -0
  173. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.png +0 -0
  174. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-1.jpg +0 -0
  175. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-2.jpg +0 -0
  176. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-3.jpg +0 -0
  177. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-4.jpg +0 -0
  178. /data/lib/starter_web/assets/images/{parsa/posts → posts}/featured/post-5.jpg +0 -0
  179. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/static-web-access.png +0 -0
  180. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-1.jpg +0 -0
  181. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-10.jpg +0 -0
  182. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-11.jpg +0 -0
  183. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-12.jpg +0 -0
  184. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-13.jpg +0 -0
  185. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-2.jpg +0 -0
  186. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-3.jpg +0 -0
  187. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-4.jpg +0 -0
  188. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-5.jpg +0 -0
  189. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-6.jpg +0 -0
  190. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-7.jpg +0 -0
  191. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-8.jpg +0 -0
  192. /data/lib/starter_web/assets/images/{parsa/posts → posts}/natural_food/post-9.jpg +0 -0
  193. /data/lib/starter_web/assets/images/{parsa/posts → posts}/post-img.jpg +0 -0
  194. /data/lib/starter_web/assets/images/{parsa/posts → posts}/post-single.jpg +0 -0
  195. /data/lib/starter_web/pages/public/{bookshelf → learn/bookshelf}/jekyll_collections.adoc +0 -0
@@ -31,5 +31,5 @@
31
31
  .masonry-title {
32
32
  font-style: italic;
33
33
  font-weight: 500;
34
- /* margin-left: 5px; */
34
+ margin-left: 4px;
35
35
  }
@@ -12,4 +12,4 @@
12
12
  # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
13
13
  # -----------------------------------------------------------------------------
14
14
  */
15
- @charset 'UTF-8';.grid-sizer,.grid-item{float:left;width:33%}.masonry-title{font-style:italic;font-weight:500}
15
+ @charset 'UTF-8';.grid-sizer,.grid-item{float:left;width:33%}.masonry-title{font-style:italic;font-weight:500;margin-left:4px}
@@ -62,6 +62,11 @@ Make sure you include CSS for both slick and slick-lightbox. Example HTML:
62
62
  </html>
63
63
  ```
64
64
 
65
+ ## Codepen
66
+
67
+ Find an [example lightbox](https://codepen.io/mreq/pen/KgQrQa) on Codepen.
68
+
69
+
65
70
  ## Options
66
71
 
67
72
  Option | Type | Default | Description
@@ -81,7 +86,7 @@ useHistoryApi | boolean | `false` | When `true`, opening the li
81
86
  layouts | object | | See [Layouts](#layouts)
82
87
  shouldOpen | function | `null` | Given a function, checks the return value before opening. If the function returns a falsy value, the lightbox is not opened upon clicking on the items. Accepts three arguments - the slick lightbox instance as the first, the clicked element as the second and the click event as the last.
83
88
  imageMaxHeight | number | `0.9` | Maximum height of the lightbox images. Relative to the window height.
84
- lazy | boolean | `false` | Should the images be lazyloaded?
89
+ lazy | boolean | `false` | Should the images be lazyloaded?
85
90
  lazyPlaceholder | string | `null` | Path to lazyloading placeholder. Defaults to a blank gif.
86
91
 
87
92
  ## Events
@@ -0,0 +1,36 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css
4
+ # Provides Slicks styles for J1 Theme Uno
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ #
9
+ # Copyright (C) 2023 Juergen Adams
10
+ #
11
+ # J1 Theme is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
13
+ # -----------------------------------------------------------------------------
14
+ */
15
+ @charset 'UTF-8';
16
+
17
+
18
+ /* Close Button
19
+ -------------------------------------------------------------------------------- */
20
+
21
+ .slick-lightbox-close {
22
+ right: 15px;
23
+ width: 50px;
24
+ cursor: pointer;
25
+ background: transparent;
26
+ color: transparent;
27
+ }
28
+
29
+ .slick-lightbox-close:before {
30
+ font-size: 70px;
31
+ line-height: .5 !important;
32
+ color: white;
33
+ opacity: 0.85;
34
+ -webkit-font-smoothing: antialiased;
35
+ -moz-osx-font-smoothing: grayscale;
36
+ }
@@ -0,0 +1,15 @@
1
+ /*
2
+ # -----------------------------------------------------------------------------
3
+ # ~/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css
4
+ # Provides Slicks styles for J1 Theme Uno
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ #
9
+ # Copyright (C) 2023 Juergen Adams
10
+ #
11
+ # J1 Theme is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
13
+ # -----------------------------------------------------------------------------
14
+ */
15
+ @charset 'UTF-8';.slick-lightbox-close{right:15px;width:50px;cursor:pointer;background:transparent;color:transparent}.slick-lightbox-close:before{font-size:70px;line-height:.5 !important;color:white;opacity:.85;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
@@ -350,4 +350,4 @@
350
350
  return this.slickLightbox = null;
351
351
  });
352
352
  };
353
- }(jQuery));
353
+ }(jQuery));
@@ -14,8 +14,35 @@
14
14
  */
15
15
  @charset 'UTF-8';
16
16
 
17
+
18
+ /* Article link (collections)
19
+ -------------------------------------------------------------------------------- */
20
+ a.article-link {
21
+ font-weight: 500 !important;
22
+ text-decoration: none;
23
+ border-bottom: unset;
24
+ color: #FAFAFA;
25
+ }
26
+
27
+ a.article-link:hover {
28
+ color: #BDBDBD;
29
+ }
30
+
17
31
  /* Example slider
18
32
  -------------------------------------------------------------------------------- */
33
+ h2.slide-item, h3.slide-item {
34
+ background: var(--bs-gray-400);
35
+ color: var(--bs-gray-800);
36
+ /* font-size: 36px !important; */
37
+ line-height: 150px;
38
+ margin-right: 1%;
39
+ margin-top: 0px;
40
+ margin-bottom: 0px;
41
+ padding-bottom: 0px;
42
+ text-align: center;
43
+ }
44
+
45
+ /*
19
46
  h2.slide-item, h3.slide-item {
20
47
  background: var(--bs-gray-400);
21
48
  color: var(--bs-gray-800);
@@ -24,21 +51,26 @@ h2.slide-item, h3.slide-item {
24
51
  margin: 1%;
25
52
  text-align: center;
26
53
  }
54
+ */
27
55
 
28
- /* All slider
56
+ /* All carousels
29
57
  -------------------------------------------------------------------------------- */
30
58
  .slick-loading .slick-list {
31
59
  background: #fff url('../../images/ajax-loader.gif') center center no-repeat;
32
60
  }
33
61
 
34
62
  .slider-title {
35
- font-style: italic;
36
- font-weight: 500;
37
- margin-left: 5px;
63
+ font-style: italic;
64
+ font-weight: 500;
65
+ margin-left: 1px;
38
66
  }
39
67
 
40
68
  /* Cards
41
69
  -------------------------------------------------------------------------------- */
70
+ .card {
71
+ border: none !important;
72
+ }
73
+
42
74
  .card [class*="header-"], .card [class*="content-"] {
43
75
  color: var(--bs-gray-400) !important;
44
76
  }
@@ -59,55 +91,29 @@ a.link-no-decoration:hover {
59
91
  color: rgba(255, 255, 255, 0.4) !important;
60
92
  }
61
93
 
62
- /* Images
63
- -------------------------------------------------------------------------------- */
64
- /*
65
- .slick-slide img {
66
- width: 150px;
67
- height: 200px;
68
- }
69
- */
70
-
71
- /* Arrows
72
- -------------------------------------------------------------------------------- */
73
- .slick-arrows {
74
- /* padding-top: 3.25rem; */
75
- }
76
-
77
- .slick-arrow {
78
- position: absolute; /* position of the arrow */
79
- margin-left: 20px;
80
- margin-right: 20px;
81
- /* padding-top: 1.75rem; */
82
- z-index: 10; /* show on top of a slide */
83
- }
84
-
85
94
  /* Dots
86
95
  -------------------------------------------------------------------------------- */
87
- /*
88
- .slick-dotted.slick-slider {
89
- margin-bottom: 30px;
90
- }
91
- */
92
-
93
96
  .slick-dots {
94
- position: absolute;
95
- bottom: -25px;
96
97
  display: block;
97
98
  width: 100%;
98
99
  padding: 0;
99
100
  margin: 0;
101
+ /* margin-top: 5px; */
100
102
  list-style: none;
101
103
  text-align: center;
102
104
  }
103
105
 
104
106
  .slick-dots li {
105
- position: relative;
106
107
  display: inline-block;
107
- width: 20px;
108
- height: 20px;
109
- margin: 0 5px;
110
- padding: 0;
108
+ width: 1.25rem;
109
+ height: 1.25rem;
110
+ margin: 5px 7px;
111
+ filter: Alpha(Opacity=50);
112
+ opacity: 0.5;
113
+ -webkit-border-radius: 20px;
114
+ -moz-border-radius: 20px;
115
+ border-radius: 20px;
116
+ background: var(--bs-primary);
111
117
  cursor: pointer;
112
118
  }
113
119
 
@@ -130,7 +136,14 @@ a.link-no-decoration:hover {
130
136
  outline: none;
131
137
  }
132
138
 
133
- .slick-dots li button:hover:before,
139
+ .slick-dots li:hover {
140
+ opacity: 1;
141
+ }
142
+
143
+ .slick-dots li.slick-active {
144
+ opacity: 1;
145
+ }
146
+
134
147
  .slick-dots li button:focus:before {
135
148
  opacity: 1;
136
149
  }
@@ -139,118 +152,141 @@ a.link-no-decoration:hover {
139
152
  font-family: 'slick';
140
153
  font-size: 12px;
141
154
  line-height: 20px;
142
- position: absolute;
143
- top: 0;
144
- left: 0;
155
+ position: relative;
156
+ top: -4px;
157
+ left: -1px;
145
158
  width: 20px;
146
159
  height: 20px;
147
160
  content: '•';
148
161
  text-align: center;
149
- opacity: .25;
162
+ opacity: 0;
150
163
  color: black;
151
164
  -webkit-font-smoothing: antialiased;
152
165
  -moz-osx-font-smoothing: grayscale;
153
166
  }
154
167
 
155
168
  .slick-dots li.slick-active button:before {
156
- opacity: .75;
169
+ opacity: 1;
157
170
  color: black;
158
171
  }
159
172
 
160
173
  /* Arrows
161
174
  -------------------------------------------------------------------------------- */
175
+ .slick-arrow {
176
+ top: 45%; /* center arrows in slide (default) */
177
+ z-index: 10; /* show on top of a slide */
178
+ }
162
179
 
180
+ .slick-prev,
181
+ .slick-next {
182
+ position: absolute; /* position of the arrow */
183
+ display: block; /* shown by default */
184
+ font-size: 0; /* disable button text */
185
+ border: none; /* disable button decoration */
186
+ outline: none; /* disable button decoration */
187
+ background: transparent; /* disable button background */
188
+ }
163
189
 
164
- /* Media breakpoints, all screens
165
- -------------------------------------------------------------------------------- */
166
- @media all {
167
-
168
- .slick-prev,
169
- .slick-next {
170
- display: block; /* shown by default */
171
- top: 50%; /* center button in slide */
172
- font-size: 0; /* disable button text */
173
- border: none; /* disable button decoration */
174
- outline: none; /* disable button decoration */
175
- background: transparent; /* disable button background */
176
- -webkit-transform: translate(0, -50%); /* move upwards by 50% */
177
- -moz-transform: translate(0, -50%);
178
- -ms-transform: translate(0, -50%);
179
- -o-transform: translate(0, -50%);
180
- transform: translate(0, -50%);
181
- }
182
-
183
- .slick-prev:hover,
184
- .slick-prev:focus,
185
- .slick-next:hover,
186
- .slick-next:focus {
187
- color: transparent;
188
- outline: none;
189
- background: transparent;
190
- }
191
-
192
- .slick-prev:hover:before,
193
- .slick-prev:focus:before,
194
- .slick-next:hover:before,
195
- .slick-next:focus:before {
196
- opacity: 1;
197
- }
198
-
199
- .slick-prev.slick-disabled:before,
200
- .slick-next.slick-disabled:before {
201
- opacity: .25;
202
- }
203
-
204
- .slick-prev:before,
205
- .slick-next:before {
206
- font-family: 'slick';
207
- font-size: 40px;
208
- line-height: 1;
209
- opacity: .75;
210
- /* color: var(--bs-primary); */
211
- color: var(--bs-white);
212
- -webkit-font-smoothing: antialiased;
213
- -moz-osx-font-smoothing: grayscale;
214
- }
215
-
216
- .slick-prev {
217
- left: 0%;
218
- }
219
-
220
- .slick-prev:before {
221
- content: '←';
222
- }
223
-
224
- [dir='rtl'] .slick-prev:before {
225
- content: '→';
226
- }
227
-
228
- .slick-next {
229
- right: 0%;
230
- }
231
-
232
- .slick-next:before {
233
- content: '→';
234
- }
235
-
236
- [dir='rtl'] .slick-next:before {
237
- content: '←';
238
- }
239
- }
240
-
241
- /* Media breakpoints, tablet|mobile
190
+ .slick-prev:hover,
191
+ .slick-prev:focus,
192
+ .slick-next:hover,
193
+ .slick-next:focus {
194
+ outline: none;
195
+ color: transparent;
196
+ background: transparent;
197
+ }
198
+
199
+ .slick-prev:hover:before,
200
+ .slick-prev:focus:before,
201
+ .slick-next:hover:before,
202
+ .slick-next:focus:before {
203
+ opacity: 1;
204
+ }
205
+
206
+ .slick-prev.slick-disabled:before,
207
+ .slick-next.slick-disabled:before {
208
+ opacity: .25;
209
+ }
210
+
211
+ .slick-prev:before,
212
+ .slick-next:before {
213
+ font-family: 'slick';
214
+ font-size: 40px;
215
+ opacity: .75;
216
+ color: var(--bs-white);
217
+ -webkit-font-smoothing: antialiased;
218
+ -moz-osx-font-smoothing: grayscale;
219
+ }
220
+
221
+ .slick-prev {
222
+ left: 3%;
223
+ }
224
+
225
+ .slick-prev:before {
226
+ content: '←';
227
+ }
228
+
229
+ [dir='rtl'] .slick-prev:before {
230
+ content: '→';
231
+ }
232
+
233
+ .slick-next {
234
+ right: 3%;
235
+ }
236
+
237
+ .slick-next:before {
238
+ content: '→';
239
+ }
240
+
241
+ [dir='rtl'] .slick-next:before {
242
+ content: '←';
243
+ }
244
+
245
+
246
+ /* Slider controls, captions and pagination
247
+ See: https://codepen.io/Svarnoy85/pen/NzQPpe
242
248
  -------------------------------------------------------------------------------- */
243
- /*
244
- @media screen and (max-width: 992px) {
245
- .siick-arrow,
246
- .siick-arrows {
247
- margin-top: 0 !important;
248
- }
249
- .slick-prev {
250
- display: none !important;
251
- }
252
- .slick-next {
253
- display: none !important;
254
- }
249
+ .controls {
250
+ display: flex;
251
+ width: 100%;
252
+ }
253
+
254
+ .captions {
255
+ flex: 1;
256
+ width: 100px;
257
+ padding: 10px;
258
+ color: #212121;
259
+ background: rgba(0,0,0,.1);
260
+ }
261
+
262
+ .caption {
263
+ outline: 0 !important;
264
+ font-size: 14px;
265
+ font-weight: 500;
266
+ }
267
+
268
+ .pagination {
269
+ display: flex;
270
+ margin-top: 2px;
271
+ }
272
+
273
+ .pagination__button {
274
+ cursor: pointer;
275
+ display: flex;
276
+ justify-content: center;
277
+ align-items: center;
278
+ color: #ccc;
279
+ background: #fff;
280
+ width: 40px;
281
+ height: 40px;
282
+ margin-left: 2px;
283
+ }
284
+ .pagination__button:hover {
285
+ color: #fff;
286
+ background: #2aa1c0;
287
+ }
288
+ .pagination__button.slick-disabled {
289
+ cursor: not-allowed;
290
+ background: #ccc;
291
+ color: #fff;
255
292
  }
256
- */
@@ -12,4 +12,4 @@
12
12
  # See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
13
13
  # -----------------------------------------------------------------------------
14
14
  */
15
- h2.slide-item,h3.slide-item{background:var(--bs-gray-400);color:var(--bs-gray-800);font-size:36px;line-height:150px;margin:1%;text-align:center}.slick-loading .slick-list{background:#fff url('../../images/ajax-loader.gif') center center no-repeat}.slider-title{font-style:italic;font-weight:500;margin-left:5px}.card [class*="header-"],.card [class*="content-"]{color:var(--bs-gray-400) !important}.card .card-title a{color:var(--bs-gray-400) !important}.card .card-title>a:focus,.card .card-title>a:hover{color:rgba(255,255,255,0.4) !important}a.link-no-decoration:hover{color:rgba(255,255,255,0.4) !important}.slick-arrow{position:absolute;margin-left:20px;margin-right:20px;z-index:10}.slick-dots{position:absolute;bottom:-25px;display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center}.slick-dots li{position:relative;display:inline-block;width:20px;height:20px;margin:0 5px;padding:0;cursor:pointer}.slick-dots li button{font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:0;background:transparent}.slick-dots li button:hover,.slick-dots li button:focus{outline:0}.slick-dots li button:hover:before,.slick-dots li button:focus:before{opacity:1}.slick-dots li button:before{font-family:'slick';font-size:12px;line-height:20px;position:absolute;top:0;left:0;width:20px;height:20px;content:'•';text-align:center;opacity:.25;color:black;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-dots li.slick-active button:before{opacity:.75;color:black}@media all{.slick-prev,.slick-next{display:block;top:50%;font-size:0;border:0;outline:0;background:transparent;-webkit-transform:translate(0,-50%);-moz-transform:translate(0,-50%);-ms-transform:translate(0,-50%);-o-transform:translate(0,-50%);transform:translate(0,-50%)}.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus{color:transparent;outline:0;background:transparent}.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before{opacity:1}.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before{opacity:.25}.slick-prev:before,.slick-next:before{font-family:'slick';font-size:40px;line-height:1;opacity:.75;color:var(--bs-white);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-prev{left:0}.slick-prev:before{content:'←'}[dir='rtl'] .slick-prev:before{content:'→'}.slick-next{right:0}.slick-next:before{content:'→'}[dir='rtl'] .slick-next:before{content:'←'}}
15
+ @charset 'UTF-8';a.article-link{font-weight:500 !important;text-decoration:none;border-bottom:unset;color:#fafafa}a.article-link:hover{color:#bdbdbd}h2.slide-item,h3.slide-item{background:var(--bs-gray-400);color:var(--bs-gray-800);line-height:150px;margin-right:1%;margin-top:0;margin-bottom:0;padding-bottom:0;text-align:center}.slick-loading .slick-list{background:#fff url('../../images/ajax-loader.gif') center center no-repeat}.slider-title{font-style:italic;font-weight:500;margin-left:1px}.card{border:none !important}.card [class*="header-"],.card [class*="content-"]{color:var(--bs-gray-400) !important}.card .card-title a{color:var(--bs-gray-400) !important}.card .card-title>a:focus,.card .card-title>a:hover{color:rgba(255,255,255,0.4) !important}a.link-no-decoration:hover{color:rgba(255,255,255,0.4) !important}.slick-dots{display:block;width:100%;padding:0;margin:0;list-style:none;text-align:center}.slick-dots li{display:inline-block;width:1.25rem;height:1.25rem;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:var(--bs-primary);cursor:pointer}.slick-dots li button{font-size:0;line-height:0;display:block;width:20px;height:20px;padding:5px;cursor:pointer;color:transparent;border:0;outline:0;background:transparent}.slick-dots li button:hover,.slick-dots li button:focus{outline:0}.slick-dots li:hover{opacity:1}.slick-dots li.slick-active{opacity:1}.slick-dots li button:focus:before{opacity:1}.slick-dots li button:before{font-family:'slick';font-size:12px;line-height:20px;position:relative;top:-4px;left:-1px;width:20px;height:20px;content:'•';text-align:center;opacity:0;color:black;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-dots li.slick-active button:before{opacity:1;color:black}.slick-arrow{top:45%;z-index:10}.slick-prev,.slick-next{position:absolute;display:block;font-size:0;border:0;outline:0;background:transparent}.slick-prev:hover,.slick-prev:focus,.slick-next:hover,.slick-next:focus{outline:0;color:transparent;background:transparent}.slick-prev:hover:before,.slick-prev:focus:before,.slick-next:hover:before,.slick-next:focus:before{opacity:1}.slick-prev.slick-disabled:before,.slick-next.slick-disabled:before{opacity:.25}.slick-prev:before,.slick-next:before{font-family:'slick';font-size:40px;opacity:.75;color:var(--bs-white);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.slick-prev{left:3%}.slick-prev:before{content:'←'}[dir='rtl'] .slick-prev:before{content:'→'}.slick-next{right:3%}.slick-next:before{content:'→'}[dir='rtl'] .slick-next:before{content:'←'}.controls{display:flex;width:100%}.captions{flex:1;width:100px;padding:10px;color:#212121;background:rgba(0,0,0,.1)}.caption{outline:0 !important;font-size:14px;font-weight:500}.pagination{display:flex;margin-top:2px}.pagination__button{cursor:pointer;display:flex;justify-content:center;align-items:center;color:#ccc;background:#fff;width:40px;height:40px;margin-left:2px}.pagination__button:hover{color:#fff;background:#2aa1c0}.pagination__button.slick-disabled{cursor:not-allowed;background:#ccc;color:#fff}