type-on-strap 2.5.0 → 2.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -42
  3. data/_includes/blog/post_nav.liquid +2 -2
  4. data/_includes/default/head.liquid +12 -12
  5. data/_includes/default/navbar.liquid +2 -2
  6. data/_includes/gallery.html +5 -7
  7. data/_includes/portfolio.html +1 -1
  8. data/_includes/social/share_buttons.liquid +9 -9
  9. data/_layouts/default.html +1 -1
  10. data/_layouts/page.liquid +1 -7
  11. data/_layouts/post.liquid +1 -3
  12. data/_sass/base/_global.scss +7 -11
  13. data/_sass/base/_utility.scss +8 -29
  14. data/_sass/base/_variables.scss +43 -2
  15. data/_sass/external/_font-awesome.scss +1 -1
  16. data/_sass/external/_katex.scss +1 -1
  17. data/_sass/external/_pacifico.scss +3 -6
  18. data/_sass/external/font-awesome/_core.scss +1 -1
  19. data/_sass/external/font-awesome/_icons.scss +0 -1
  20. data/_sass/external/font-awesome/brands.scss +1 -1
  21. data/_sass/external/font-awesome/fontawesome.scss +1 -1
  22. data/_sass/external/font-awesome/regular.scss +1 -1
  23. data/_sass/external/font-awesome/solid.scss +1 -1
  24. data/_sass/external/font-awesome/v4-shims.scss +1 -1
  25. data/_sass/external/katex/katex.scss +151 -266
  26. data/_sass/includes/_blog_nav.scss +0 -4
  27. data/_sass/includes/_gallery.scss +12 -24
  28. data/_sass/includes/_navbar.scss +1 -7
  29. data/_sass/includes/_portfolio.scss +2 -4
  30. data/_sass/layouts/_blog.scss +7 -23
  31. data/_sass/layouts/_categories.scss +4 -3
  32. data/_sass/layouts/_page.scss +1 -1
  33. data/_sass/layouts/_posts.scss +13 -12
  34. data/_sass/layouts/_search.scss +6 -19
  35. data/_sass/type-on-strap.scss +10 -0
  36. data/assets/fonts/Pacifico/Pacifico.woff +0 -0
  37. data/assets/fonts/Pacifico/Pacifico.woff2 +0 -0
  38. data/assets/fonts/font-awesome/fa-brands-400.ttf +0 -0
  39. data/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
  40. data/assets/fonts/font-awesome/fa-regular-400.ttf +0 -0
  41. data/assets/fonts/font-awesome/fa-regular-400.woff2 +0 -0
  42. data/assets/fonts/font-awesome/fa-solid-900.ttf +0 -0
  43. data/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
  44. data/assets/js/comments-lazy-load.min.js +1 -1
  45. data/assets/js/main.min.js +1 -6
  46. data/assets/js/vendor/katex.auto-render.min.js +1 -1
  47. data/assets/js/vendor/katex.min.js +1 -1
  48. data/assets/js/vendor/mermaid.min.js +534 -323
  49. data/assets/js/vendor/simple-jekyll-search.min.js +2 -2
  50. metadata +16 -39
  51. data/assets/css/bootstrap-iso.less +0 -12
  52. data/assets/css/vendor/bootstrap-iso.css +0 -9121
  53. data/assets/css/vendor/bootstrap-iso.min.css +0 -6
  54. data/assets/css/vendor/bootstrap.css +0 -10007
  55. data/assets/fonts/Pacifico/Pacifico.eot +0 -0
  56. data/assets/fonts/Pacifico/Pacifico.svg +0 -10833
  57. data/assets/fonts/Pacifico/Pacifico.ttf +0 -0
  58. data/assets/fonts/Pacifico/original-pacifico-regular.ttf +0 -0
  59. data/assets/fonts/font-awesome/fa-v4compatibility.ttf +0 -0
  60. data/assets/fonts/font-awesome/fa-v4compatibility.woff2 +0 -0
  61. data/assets/fonts/katex/KaTeX_AMS-Regular.ttf +0 -0
  62. data/assets/fonts/katex/KaTeX_Caligraphic-Bold.ttf +0 -0
  63. data/assets/fonts/katex/KaTeX_Caligraphic-Regular.ttf +0 -0
  64. data/assets/fonts/katex/KaTeX_Fraktur-Bold.ttf +0 -0
  65. data/assets/fonts/katex/KaTeX_Fraktur-Regular.ttf +0 -0
  66. data/assets/fonts/katex/KaTeX_Main-Bold.ttf +0 -0
  67. data/assets/fonts/katex/KaTeX_Main-BoldItalic.ttf +0 -0
  68. data/assets/fonts/katex/KaTeX_Main-Italic.ttf +0 -0
  69. data/assets/fonts/katex/KaTeX_Main-Regular.ttf +0 -0
  70. data/assets/fonts/katex/KaTeX_Math-BoldItalic.ttf +0 -0
  71. data/assets/fonts/katex/KaTeX_Math-Italic.ttf +0 -0
  72. data/assets/fonts/katex/KaTeX_SansSerif-Bold.ttf +0 -0
  73. data/assets/fonts/katex/KaTeX_SansSerif-Italic.ttf +0 -0
  74. data/assets/fonts/katex/KaTeX_SansSerif-Regular.ttf +0 -0
  75. data/assets/fonts/katex/KaTeX_Script-Regular.ttf +0 -0
  76. data/assets/fonts/katex/KaTeX_Size1-Regular.ttf +0 -0
  77. data/assets/fonts/katex/KaTeX_Size2-Regular.ttf +0 -0
  78. data/assets/fonts/katex/KaTeX_Size3-Regular.ttf +0 -0
  79. data/assets/fonts/katex/KaTeX_Size4-Regular.ttf +0 -0
  80. data/assets/fonts/katex/KaTeX_Typewriter-Regular.ttf +0 -0
  81. data/assets/js/comments-lazy-load.js +0 -123
  82. data/assets/js/partials/cookie_consent_init.js +0 -60
  83. data/assets/js/partials/dark-mode.js +0 -57
  84. data/assets/js/partials/masonry_init.js +0 -22
  85. data/assets/js/partials/navbar.js +0 -26
  86. data/assets/js/vendor/imagesloaded.pkgd.min.js +0 -12
  87. data/assets/js/vendor/masonry.pkgd.min.js +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7b245eafb6465e6bd1a012032498fb81901591c09680290587ec232ea579643
4
- data.tar.gz: f81e6aaf2e9ef2dc13f6275da54a05143cb305a88dbd4e6b3af6cad085555e2c
3
+ metadata.gz: ccb4fee6ac8c69a532174663a2a2c0dcfad5725c42a4f31ecf1d109e8319a170
4
+ data.tar.gz: ca86903243c9c9b1d660b03962853a7db7b156dbd5f76b5af17e2535734f2a7d
5
5
  SHA512:
6
- metadata.gz: ca5de0fb72854009a6ede7a395e65c572c2100a80d6f338f90dd6cc0b8f08199aca694f54a1be26f01231681673173662caa4b1bc7c277f736b9d14d4569aeef
7
- data.tar.gz: 44fe3825598c76e401b010c7b9630b4b7c1a83309c609ef7cff81efaeded6e78242447664e0c567ca88b0cac361fc9ca02da921d944f64a24f6d301d71680c1c
6
+ metadata.gz: 4de654f0b9e47747ada241f063797864252a72705eb543e252da6c0270e1fcc178328170192095372504095eb05d0f5a1f0132eb55d563049087d27f454a6b6c
7
+ data.tar.gz: ff886caa5eb1c059b8a9df3e175349f6b701059f09fe8cfa071e688aedb0d8552b98de4229df9417c38292ac6973dabf1984b6515106cbca0ac96af2e378a386
data/README.md CHANGED
@@ -354,7 +354,7 @@ tags: [sample, markdown, html] # [Opt] Add tags to the page
354
354
  ```
355
355
 
356
356
  With `thumbnail`, you can add a smaller image than the `feature-img`.
357
- If you don't have a thumbnail, you can still use the same image as the feature one. Or use the gulp task to create it.
357
+ If you don't have a thumbnail, you can still use the same image as the feature one. Or use the npm script to create it.
358
358
 
359
359
  If you don't use a feature image, but `color`, the transparent background is set comes from [`lineart.png`](assets/img/lineart.png).
360
360
  You can edit it in the config file (`_config.yml > color_image`). If you want another one, put it in `/assets/img` as well.
@@ -371,7 +371,7 @@ It will respect the page and theme layout, mind the padding on the sides.
371
371
  The [excerpt](https://jekyllrb.com/docs/posts/#post-excerpts) is the head of the article rendered in the blog page.
372
372
  The length of the excerpt has a default of around `250` characters or can be manually set in the post using:
373
373
 
374
- in `conflig.yml`:
374
+ in `_config.yml`:
375
375
 
376
376
  ```yml
377
377
  excerpt: true
@@ -516,8 +516,8 @@ This creates the collection for Jekyll, so it can find and display your portfoli
516
516
 
517
517
  ### Feature: Gallery 🖼
518
518
 
519
- You can create a gallery using [Masonry JS](https://masonry.desandro.com/) which will placing the pictures at the optimal position
520
- based on available vertical space.
519
+ You can create a gallery using a column layout which will place the pictures at the optimal position
520
+ based on available vertical space.
521
521
  You need to specify the `gallery_path` which will be used to find the pictures to render.
522
522
  It will take all the pictures under that directory. Then use the `include` to add it in your page.
523
523
 
@@ -586,51 +586,20 @@ Jekyll works with [liquid](https://shopify.github.io/liquid/) tags usually repre
586
586
  These are useful to render your jekyll files.
587
587
  You can learn more about them on [shopify's doc](https://help.shopify.com/themes/liquid/basics)
588
588
 
589
- ### Gulp toolbox
589
+ ### npm scripts toolbox
590
590
 
591
- #### Requirements
591
+ If you are not familiar with npm scripts, check the [CONTRIBUTING.md](.github/CONTRIBUTING.md) for setup instructions.
592
592
 
593
- Before you need to have *node* and `npm` installed:
594
-
595
- - Windows: https://nodejs.org/
596
- - Ubuntu/Debian: `apt-get install nodejs npm libgl1 libxi6`
597
- - Fedora (dnf) / RHEL/CentOS (yum): `dnf install node npm libglvnd-glx libXi`
598
-
599
- Then you need to install [`gulp-cli`](https://gulpjs.com/) and its dependencies:
600
-
601
- ```bash
602
- cd assets/
603
- sudo npm install gulp-cli -g
604
- npm install
605
- ```
606
-
607
- #### Minimizing and optimizing: css, js and images
608
-
609
- You can run the default task that will compress the js, css and images and create the thumbnails for the supported image
610
- formats:
593
+ To create a new post with today's date:
611
594
 
612
595
  ```bash
613
- cd assets/
614
- gulp default
615
- gulp thumbnails-all # to create all of the images thumbnails
616
- gulp thumbnails # to create thumbnails for the feature-img/ only
617
- # tip: run a git status to see the changes
618
- git status
596
+ npm run post 'title of the post'
619
597
  ```
620
598
 
621
- You can find more about the gulp tasks in the [gulpfile.js](assets/gulpfile.js).
622
-
623
- #### Create a post
624
-
625
- To create a `.md` file in the *_posts/* section with the jekyll format of today's date.
626
- Use this command with the title you'd like to create the very basic post.
627
-
628
- ```bash
629
- gulp post -n 'title of the post'
630
- ```
599
+ A file `_posts/YYYY-MM-DD-title-of-the-post.md` will be created with default frontmatter.
600
+ Nothing will happen if the file already exists.
631
601
 
632
- A file will be created following the format `yyyy-mm-dd-title-of-the-post.md` with default post attributes inside.
633
- Nothing will happen if the file exists already.
602
+ For build scripts, image optimization, and the full development setup, see [CONTRIBUTING.md](.github/CONTRIBUTING.md).
634
603
 
635
604
  ### Use as Ruby Gem 💎
636
605
 
@@ -1,7 +1,7 @@
1
1
  <div id="post-nav">
2
2
  {% if page.next.url %}
3
3
  <div id="previous-post">
4
- <a alt="{{ page.next.title }}" href="{{ page.next.url | relative_url | default: 'none' }}">
4
+ <a href="{{ page.next.url | relative_url | default: 'none' }}">
5
5
  <p>{{ site.data.language.str_previous_post | default: "Previous post" }}</p>
6
6
  {{ page.next.title }}
7
7
  </a>
@@ -10,7 +10,7 @@
10
10
 
11
11
  {% if page.previous.url %}
12
12
  <div id="next-post">
13
- <a alt="{{ page.previous.title }}" href="{{ page.previous.url | relative_url | default: 'none' }}">
13
+ <a href="{{ page.previous.url | relative_url | default: 'none' }}">
14
14
  <p>{{ site.data.language.str_next_post | default: "Next post"}}</p>
15
15
  {{ page.previous.title }}
16
16
  </a>
@@ -15,7 +15,7 @@
15
15
  }
16
16
  </script>
17
17
 
18
- <!-- Main JS (navbar.js, katex_init.js and masonry_init.js)-->
18
+ <!-- Main JS (navbar.js, katex_init.js)-->
19
19
  <script defer src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
20
20
 
21
21
  <!-- CSS -->
@@ -30,28 +30,28 @@
30
30
  {% endif %}
31
31
 
32
32
  {% if page.bootstrap %}
33
- <!-- Bootstrap-4.1.3 isolation CSS -->
34
- <link rel="stylesheet" type="text/css" href="{{ '/assets/css/vendor/bootstrap-iso.min.css' | relative_url }}">
35
- <!-- JQuery 3.3.1 -->
36
- <script defer src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
37
- <!-- Bootstrap 4.1.3 compiled and minified JavaScript -->
38
- <script defer src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
39
- <!-- Popper, a dependency of Bootstrap-->
40
- <script defer src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
33
+ <!-- Bootstrap 4.6.2 CSS CDN -->
34
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
35
+ <!-- jQuery 3.5.1 CDN -->
36
+ <script defer src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
37
+ <!-- Popper.js 1.16.1 CDN -->
38
+ <script defer src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
39
+ <!-- Bootstrap 4.6.2 JS CDN -->
40
+ <script defer src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.min.js" integrity="sha384-+sLIOodYLS7CIrQpBjl+C7nPvqq+FbZUBVs2mbGk8cFoTfurqEOk6sD3+6VUuY3" crossorigin="anonymous"></script>
41
41
  {% endif %}
42
42
 
43
- <!-- KaTeX 0.16.28 -->
43
+ <!-- KaTeX 0.16.38 -->
44
44
  {% if site.katex or site.theme_settings.katex %}
45
45
  <script defer src="{{ '/assets/js/vendor/katex.min.js' | relative_url }}"></script>
46
46
  <script defer src="{{ '/assets/js/vendor/katex.auto-render.min.js' | relative_url }}" onload="renderMathInElement(document.body);"></script>
47
47
  {% endif %}
48
48
 
49
- <!-- Mermaid 11.12.2 -->
49
+ <!-- Mermaid 11.13.0 -->
50
50
  {% if site.mermaid %}
51
51
  <script defer src="{{ '/assets/js/vendor/mermaid.min.js' | relative_url }}"></script>
52
52
  {% endif %}
53
53
 
54
- <!-- Simple Jekyll Search 2.1.1 -->
54
+ <!-- Simple-Jekyll-Search 2.1.3 -->
55
55
  <script src="{{ '/assets/js/vendor/simple-jekyll-search.min.js' | relative_url }}" type="text/javascript"></script>
56
56
 
57
57
  <!-- Google Analytics / Cookie Consent -->
@@ -30,7 +30,7 @@
30
30
  <li>
31
31
  <a class="clear" aria-label="{{ page.title }}" title="{{ page.title }}" href="{{ page.url | relative_url }}">
32
32
  {% if page.icon %} <i class="navbar-icon fas {{ page.icon }}" aria-hidden="true"></i>{% endif %}
33
- <span class="navbar-label {% if page.icon %}navbar-label-with-icon{% endif%}">{{ page.title }}</span>
33
+ <span class="navbar-label {% if page.icon %}navbar-label-with-icon{% endif %}">{{ page.title }}</span>
34
34
  </a>
35
35
  </li>
36
36
  {% endunless %}
@@ -39,7 +39,7 @@
39
39
 
40
40
  {% if site.color_theme == 'auto' %}
41
41
  <li class="separator"> | </li>
42
- <li><a id="theme-toggle" title="{{ page.title }} " aria-label="{{ page.title }}" onclick="themeToggle()"></a></li>
42
+ <li><a id="theme-toggle" title="{{ site.data.language.str_dark | default: 'Toggle theme' }}" aria-label="{{ site.data.language.str_dark | default: 'Toggle theme' }}" onclick="themeToggle()"></a></li>
43
43
  {% endif %}
44
44
  </ul>
45
45
 
@@ -6,17 +6,15 @@ html { overflow-y: scroll; }
6
6
  /* article {padding:2%;} */
7
7
  </style>
8
8
 
9
- <div id='masonry' class="grid">
10
- <div class="grid-sizer"></div>
11
- <div class="gutter-sizer"></div>
9
+ <div id="gallery-grid" class="grid">
10
+ <div class="grid-col grid-col--1"></div>
11
+ <div class="grid-col grid-col--2"></div>
12
+ <div class="grid-col grid-col--3"></div>
12
13
  {% for image in site.static_files %}
13
14
  {% if image.path contains include.gallery_path %}
14
15
  {% unless image.path contains '.md' %}
15
- <img src="{{ image.path | relative_url }}" alt="" class="grid-item" style="padding: 0;">
16
+ <img src="{{ image.path | relative_url }}" alt="" class="grid-item" loading="lazy" style="padding: 0;">
16
17
  {% endunless %}
17
18
  {% endif %}
18
19
  {% endfor %}
19
20
  </div>
20
-
21
- <script src="{{ '/assets/js/vendor/imagesloaded.pkgd.min.js' | relative_url }}" type="text/javascript"></script>
22
- <script src="{{ '/assets/js/vendor/masonry.pkgd.min.js' | relative_url }}" type="text/javascript"></script>
@@ -8,7 +8,7 @@
8
8
  <i class="fas fa-search-plus fa-3x"></i>
9
9
  </div>
10
10
  </div>
11
- <img alt="" class="" data-testid="portfolio-item-image" src="{{ item.img | relative_url }}">
11
+ <img alt="{{ item.title }}" class="" data-testid="portfolio-item-image" loading="lazy" src="{{ item.img | relative_url }}">
12
12
  </a>
13
13
  </div>
14
14
  {% endfor %}
@@ -13,7 +13,7 @@
13
13
  <li class="meta">Share</li>
14
14
  {% if site.data.social.share.facebook or site.theme_settings.share_buttons.facebook %}
15
15
  <li>
16
- <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" target="_blank"
16
+ <a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url }}" target="_blank" rel="noopener noreferrer"
17
17
  title="{{ site.data.social.language.str_share_on }} Facebook">
18
18
  <i class="fab fa-facebook-square fa-2x" aria-hidden="true"></i>
19
19
  <span class="sr-only">{{ site.data.social.language.str_share_on | default: "Share on" }} Facebook</span>
@@ -22,7 +22,7 @@
22
22
  {% endif %} {% if site.data.social.share.twitter or site.theme_settings.twitter %}
23
23
  <li>
24
24
  <a href="https://twitter.com/intent/tweet?text={{ page.title | strip_html | url_encode }}%20{{ page.url | absolute_url | url_encode }}"
25
- target="_blank" title="{{ site.data.social.language.str_tweet }}">
25
+ target="_blank" rel="noopener noreferrer" title="{{ site.data.social.language.str_tweet }}">
26
26
  <i class="fab fa-twitter-square fa-2x" aria-hidden="true"></i>
27
27
  <span class="sr-only">{{ site.data.social.language.str_tweet | default: "Tweet" }}</span>
28
28
  </a>
@@ -30,7 +30,7 @@
30
30
  {% endif %} {% if site.data.social.share.tumblr or site.theme_settings.tumblr %}
31
31
  <li>
32
32
  <a href="https://www.tumblr.com/share?v=3&u={{ page.url | absolute_url }}&quote={{ page.title | url_encode }}%20%7C%20{{ site.title | strip_html | url_encode }}&s="
33
- target="_blank" title="{{ site.data.social.language.str_share_on }} Tumblr">
33
+ target="_blank" rel="noopener noreferrer" title="{{ site.data.social.language.str_share_on }} Tumblr">
34
34
  <i class="fab fa-tumblr-square fa-2x" aria-hidden="true"></i>
35
35
  <span class="sr-only">{{ site.data.social.language.str_share_on | default: "Share on" }} Tumblr</span>
36
36
  </a>
@@ -38,7 +38,7 @@
38
38
  {% endif %} {% if site.data.social.share.pinterest or site.theme_settings.pinterest %}
39
39
  <li>
40
40
  <a href="https://pinterest.com/pin/create/button/?url={{ page.url | absolute_url }}&media={{ page.feature-img | absolute_url }}$description={{ page.excerpt | strip_html | url_encode }}"
41
- target="_blank" title="{{ site.data.social.language.str_pin_it }}">
41
+ target="_blank" rel="noopener noreferrer" title="{{ site.data.social.language.str_pin_it }}">
42
42
  <i class="fab fa-pinterest-square fa-2x" aria-hidden="true"></i>
43
43
  <span class="sr-only">{{ site.data.social.language.str_pin_it | default: "Pin it" }}</span>
44
44
  </a>
@@ -46,7 +46,7 @@
46
46
  {% endif %} {% if site.data.social.share.pocket or site.theme_settings.pocket %}
47
47
  <li>
48
48
  <a href="https://getpocket.com/save?url={{ page.url | absolute_url }}&title={{ page.title | strip_html | url_encode }}%20%7C%20{{ site.title | strip_html | url_encode }}"
49
- target="_blank" title="{{ site.data.social.language.str_add_to }} Pocket">
49
+ target="_blank" rel="noopener noreferrer" title="{{ site.data.social.language.str_add_to }} Pocket">
50
50
  <span class="fa-stack fa-1x" style="vertical-align: top">
51
51
  <i class="fas fa-square fa-stack-2x" aria-hidden="true"></i>
52
52
  <i class="fab fa-get-pocket fa-stack-1x fa-inverse" aria-hidden="true"></i>
@@ -57,7 +57,7 @@
57
57
  {% endif %} {% if site.data.social.share.reddit or site.theme_settings.reddit %}
58
58
  <li>
59
59
  <a href="https://www.reddit.com/submit?url={{ page.url | absolute_url }}&title={{ page.title | strip_html | url_encode }}%20%7C%20{{ site.title | strip_html | url_encode }}"
60
- target="_blank" title="{{ site.data.social.language.str_share_on }} Reddit">
60
+ target="_blank" rel="noopener noreferrer" title="{{ site.data.social.language.str_share_on }} Reddit">
61
61
  <i class="fab fa-reddit-square fa-2x" aria-hidden="true"></i>
62
62
  <span class="sr-only">{{ site.data.social.language.str_share_on | default: "Share on" }} Reddit</span>
63
63
  </a>
@@ -65,7 +65,7 @@
65
65
  {% endif %} {% if site.data.social.share.linkedin or site.theme_settings.linkedin %}
66
66
  <li>
67
67
  <a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url }}&title={{ page.title | strip_html | url_encode }}%20%7C%20{{ site.title | strip_html | url_encode }}&summary=&source={{ page.url | absolute_url }}"
68
- target="_blank" title="{{ site.data.social.language.str_share_on }} LinkedIn">
68
+ target="_blank" rel="noopener noreferrer" title="{{ site.data.social.language.str_share_on }} LinkedIn">
69
69
  <i class="fab fa-linkedin fa-2x" aria-hidden="true"></i>
70
70
  <span class="sr-only">{{ site.data.social.language.str_share_on | default: "Share on" }} LinkedIn</span>
71
71
  </a>
@@ -73,7 +73,7 @@
73
73
  {% endif %} {% if site.data.social.share.wordpress or site.theme_settings.wordpress %}
74
74
  <li>
75
75
  <a href="https://wordpress.com/press-this.php?u={{ page.url | absolute_url }}&quote={{ page.title | strip_html | url_encode }}%20%7C%20{{ site.title | strip_html | url_encode }}&s="
76
- target="_blank" title="{{ site.data.social.language.str_share_on }} WordPress">
76
+ target="_blank" rel="noopener noreferrer" title="{{ site.data.social.language.str_share_on }} WordPress">
77
77
  <i class="fab fa-wordpress fa-2x" aria-hidden="true"></i>
78
78
  <span class="sr-only">{{ site.data.social.language.str_share_on | default: "Share on" }} WordPress</span>
79
79
  </a>
@@ -81,7 +81,7 @@
81
81
  {% endif %} {% if site.data.social.share.email or site.theme_settings.email %}
82
82
  <li>
83
83
  <a href="mailto:?subject={{ page.title }}%20%7C%20{{ site.title }}&body={{ page.url | absolute_url }}"
84
- target="_blank" title="{{ site.data.social.language.str_email }}">
84
+ target="_blank" rel="noopener noreferrer" title="{{ site.data.social.language.str_email }}">
85
85
  <i class="fas fa-envelope-square fa-2x" aria-hidden="true"></i>
86
86
  <span class="sr-only">{{ site.data.social.language.str_email | default: "Email" }}</span></a>
87
87
  </li>
@@ -1,6 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <!--
3
- Type on Strap jekyll theme v2.5.0
3
+ Type on Strap jekyll theme v2.5.1
4
4
  Theme free for personal and commercial use under the MIT license
5
5
  https://github.com/sylhare/Type-on-Strap/blob/master/LICENSE
6
6
  -->
data/_layouts/page.liquid CHANGED
@@ -15,13 +15,7 @@ layout: default
15
15
  </div>
16
16
  </header>
17
17
  <section class="post-content">
18
- {% if page.bootstrap %}
19
- <div class="bootstrap-iso">
20
- {% endif %}
21
- {{ content }}
22
- {% if page.bootstrap %}
23
- </div>
24
- {% endif %}
18
+ {{ content }}
25
19
  </section>
26
20
  <!-- Category and Tag list -->
27
21
  <div class="tag-category-container">
data/_layouts/post.liquid CHANGED
@@ -14,9 +14,7 @@ layout: default
14
14
  </header>
15
15
 
16
16
  <section class="post-content">
17
- {% if page.bootstrap %}<div class="bootstrap-iso">{% endif %}
18
- {{ content }}
19
- {% if page.bootstrap %}</div>{% endif %}
17
+ {{ content }}
20
18
  </section>
21
19
 
22
20
  <!-- Social media shares -->
@@ -17,10 +17,6 @@ html {
17
17
  background: var(--selection);
18
18
  }
19
19
 
20
- ::-moz-selection {
21
- background: var(--selection);
22
- }
23
-
24
20
  body {
25
21
  color: var(--text);
26
22
  font-family: $font-family-main;
@@ -141,7 +137,7 @@ summary {
141
137
  }
142
138
 
143
139
  blockquote {
144
- border-left: 2px solid #9fd2e3;
140
+ border-left: 2px solid var(--blockquote-border);
145
141
  margin: 1em 1em;
146
142
  padding: 0.75em 1em;
147
143
  background-color: var(--blockquote);
@@ -215,7 +211,7 @@ ul {
215
211
  hr {
216
212
  border: 0;
217
213
  border-top: 1px solid var(--border);
218
- border-bottom: 1px solid #fff;
214
+ border-bottom: 1px solid var(--background);
219
215
  margin: 1em 0;
220
216
  }
221
217
 
@@ -225,11 +221,11 @@ a {
225
221
  }
226
222
 
227
223
  kbd {
228
- background-color: #eee;
224
+ background-color: var(--kbd-background);
229
225
  border-radius: 3px;
230
- border: 1px solid #b4b4b4;
231
- box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
232
- color: #333;
226
+ border: 1px solid var(--kbd-border);
227
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
228
+ color: var(--kbd-color);
233
229
  display: inline-block;
234
230
  font-size: .85em;
235
231
  font-weight: 700;
@@ -259,7 +255,7 @@ details {
259
255
  width: 100%;
260
256
  background: rgba(2, 2, 2, 0.85);
261
257
  color: lightgray;
262
- z-index: 1000;
258
+ z-index: $z-index-cookie;
263
259
 
264
260
  & a {
265
261
  display: inline-block;
@@ -1,35 +1,14 @@
1
1
  // Mix-ins
2
- %padding-nav {
3
- padding: $padding-small $padding-x-large;
4
- @media (max-width: $xl-break) {
5
- padding: $padding-small ($padding-large * 2);
6
- }
7
- @media (max-width: $l-break) {
8
- padding: $padding-small $padding-large;
9
- }
10
- @media (max-width: $m-break) {
11
- padding: $padding-small $padding-medium;
12
- }
13
- @media (max-width: $sm-break) {
14
- padding: $padding-small $padding-x-small;
15
- }
2
+ @mixin responsive-padding($v, $sm-h) {
3
+ padding: $v $padding-x-large;
4
+ @media (max-width: $xl-break) { padding: $v ($padding-large * 2); }
5
+ @media (max-width: $l-break) { padding: $v $padding-large; }
6
+ @media (max-width: $m-break) { padding: $v $padding-medium; }
7
+ @media (max-width: $sm-break) { padding: $v $sm-h; }
16
8
  }
17
9
 
18
- %padding-post {
19
- padding: $padding-x-small $padding-x-large;
20
- @media (max-width: $xl-break) {
21
- padding: $padding-x-small ($padding-large * 2);
22
- }
23
- @media (max-width: $l-break) {
24
- padding: $padding-x-small $padding-large;
25
- }
26
- @media (max-width: $m-break) {
27
- padding: $padding-x-small $padding-medium;
28
- }
29
- @media (max-width: $sm-break) {
30
- padding: $padding-x-small $padding-small;
31
- }
32
- }
10
+ %padding-nav { @include responsive-padding($padding-small, $padding-x-small); }
11
+ %padding-post { @include responsive-padding($padding-x-small, $padding-small); }
33
12
 
34
13
  %padding-header {
35
14
  padding: $padding-medium $padding-large;
@@ -25,6 +25,37 @@ $m-break: 1000px;
25
25
  $break: 768px;
26
26
  $sm-break: 576px;
27
27
  $x-sm-break: 320px;
28
+ $xs-l-break: 450px;
29
+ $xs-m-break: 400px;
30
+ $xs-s-break: 380px;
31
+
32
+ /* TRANSITIONS */
33
+ $transition-fast: 0.15s;
34
+ $transition-base: 0.2s;
35
+ $transition-slow: 0.5s;
36
+
37
+ /* Z-INDEX */
38
+ $z-index-cookie: 1000;
39
+
40
+ /* COMPONENT SIZES */
41
+ $post-img-height: 250px;
42
+ $post-img-height-mobile: 150px;
43
+ $portfolio-max-width: 400px;
44
+ $gallery-item-width: 32.6%;
45
+ $gallery-gutter: 1%;
46
+
47
+ /* MIXINS */
48
+ @mixin respond-to($breakpoint) {
49
+ @if $breakpoint == 'xl' { @media screen and (max-width: $xl-break) { @content; } }
50
+ @if $breakpoint == 'l' { @media screen and (max-width: $l-break) { @content; } }
51
+ @if $breakpoint == 'm' { @media screen and (max-width: $m-break) { @content; } }
52
+ @if $breakpoint == 'break' { @media screen and (max-width: $break) { @content; } }
53
+ @if $breakpoint == 'sm' { @media screen and (max-width: $sm-break) { @content; } }
54
+ @if $breakpoint == 'x-sm' { @media screen and (max-width: $x-sm-break) { @content; } }
55
+ @if $breakpoint == 'xs-l' { @media screen and (max-width: $xs-l-break) { @content; } }
56
+ @if $breakpoint == 'xs-m' { @media screen and (max-width: $xs-m-break) { @content; } }
57
+ @if $breakpoint == 'xs-s' { @media screen and (max-width: $xs-s-break) { @content; } }
58
+ }
28
59
 
29
60
 
30
61
  /* THEME COLOR SCHEMES */
@@ -47,7 +78,12 @@ html, html[data-theme="light"] {
47
78
  --h4: #262626;
48
79
  --h5: #262626;
49
80
  --h6: #262626;
50
- --border: rgba(0, 0, 0, 0.2);
81
+ --border: rgb(229, 229, 229);
82
+ --blockquote-border: #9fd2e3;
83
+ --kbd-background: #eee;
84
+ --kbd-border: #b4b4b4;
85
+ --kbd-color: #333;
86
+ --search-highlight: rgba(255, 221, 76, 0.5);
51
87
  }
52
88
 
53
89
  html[data-theme="dark"] {
@@ -69,7 +105,12 @@ html[data-theme="dark"] {
69
105
  --h4: #00af9e;
70
106
  --h5: #6bac00;
71
107
  --h6: #ff5c00;
72
- --border: rgba(255, 255, 255, 0.5); // border
108
+ --border: rgba(255, 255, 255, 0.15);
109
+ --blockquote-border: #546e7a;
110
+ --kbd-background: #3a3f4b;
111
+ --kbd-border: #5a6070;
112
+ --kbd-color: #cdd9e5;
113
+ --search-highlight: rgba(167, 139, 250, 0.5);
73
114
  --cusdis--color-text-default: var(--text);
74
115
  --cusdis--color-comment-username-text: var(--link);
75
116
  }
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Type-on-strap Font Awesome kit v6.7.1
2
+ * Type-on-strap Font Awesome kit v6.7.2
3
3
  * Find the version and license of the included Font Awesome here: _sass/external/font-awesome/fontawesome.scss
4
4
  */
5
5
  $fa-inverse: var(--background);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * KaTeX v0.16.28
2
+ * KaTeX v0.16.38
3
3
  * Plus added customizations for the theme
4
4
  */
5
5
 
@@ -6,12 +6,9 @@ $pacifico-font-path: "../../assets/fonts/Pacifico" !default;
6
6
 
7
7
  @font-face {
8
8
  font-family: 'Pacifico';
9
- src: url('#{$pacifico-font-path}/Pacifico.eot'); /* IE9 Compat Modes */
10
- src: url('#{$pacifico-font-path}/Pacifico.eot?#iefix') format('embedded-opentype'),
11
- url('#{$pacifico-font-path}/Pacifico.woff2') format('woff2'),
12
- url('#{$pacifico-font-path}/Pacifico.woff') format('woff'),/* Modern Browsers */
13
- url('#{$pacifico-font-path}/Pacifico.ttf') format('truetype'),/* Safari, Android, iOS */
14
- url('#{$pacifico-font-path}/Pacifico.svg#Pacifico') format('svg');/* Legacy iOS */
9
+ src: url('#{$pacifico-font-path}/Pacifico.woff2') format('woff2'),
10
+ url('#{$pacifico-font-path}/Pacifico.woff') format('woff');
15
11
  font-weight: normal;
16
12
  font-style: normal;
13
+ font-display: swap;
17
14
  }
@@ -28,7 +28,7 @@
28
28
  .#{$fa-css-prefix}-solid::before,
29
29
  .#{$fa-css-prefix}-regular::before,
30
30
  .#{$fa-css-prefix}-brands::before,
31
- .fa::before {
31
+ .#{$fa-css-prefix}::before {
32
32
  content: var(#{$fa-icon-property});
33
33
  }
34
34
 
@@ -7,7 +7,6 @@ readers do not read off random characters that represent icons */
7
7
  @each $name, $icon in $fa-icons {
8
8
  .#{$fa-css-prefix}-#{$name} {
9
9
  #{$fa-icon-property}: unquote("\"#{ $icon }\"");
10
- #{$fa-duotone-icon-property}: unquote("\"#{$icon}#{$icon}\"");
11
10
  }
12
11
  }
13
12
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com
2
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  * Copyright 2024 Fonticons, Inc.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com
2
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  * Copyright 2024 Fonticons, Inc.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com
2
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  * Copyright 2024 Fonticons, Inc.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com
2
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  * Copyright 2024 Fonticons, Inc.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com
2
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  * Copyright 2024 Fonticons, Inc.
5
5
  */