type-on-strap 2.4.7 → 2.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -23
- data/_data/language.yml +3 -1
- data/_includes/blog/post_footer.liquid +57 -0
- data/_includes/default/head.liquid +12 -12
- data/_includes/default/navbar.liquid +9 -7
- data/_includes/default/search_input.liquid +50 -0
- data/_layouts/default.html +7 -4
- data/_layouts/home.liquid +2 -4
- data/_layouts/page.liquid +24 -29
- data/_layouts/post.liquid +24 -74
- data/_sass/external/_font-awesome.scss +8 -16
- data/_sass/external/_katex.scss +5 -1146
- data/_sass/external/font-awesome/_animated.scss +142 -9
- data/_sass/external/font-awesome/_bordered-pulled.scss +13 -13
- data/_sass/external/font-awesome/_core.scss +28 -6
- data/_sass/external/font-awesome/_fixed-width.scss +2 -1
- data/_sass/external/font-awesome/_functions.scss +57 -0
- data/_sass/external/font-awesome/_icons.scss +7 -1459
- data/_sass/external/font-awesome/_list.scss +4 -4
- data/_sass/external/font-awesome/_mixins.scss +53 -34
- data/_sass/external/font-awesome/_rotated-flipped.scss +25 -18
- data/_sass/external/font-awesome/_screen-reader.scss +12 -3
- data/_sass/external/font-awesome/_shims.scss +640 -664
- data/_sass/external/font-awesome/_sizing.scss +16 -0
- data/_sass/external/font-awesome/_stacked.scss +5 -4
- data/_sass/external/font-awesome/_variables.scss +4923 -1409
- data/_sass/external/font-awesome/brands.scss +30 -0
- data/_sass/external/font-awesome/fontawesome.scss +21 -0
- data/_sass/external/font-awesome/regular.scss +26 -0
- data/_sass/external/font-awesome/solid.scss +26 -0
- data/_sass/external/font-awesome/v4-shims.scss +6 -1
- data/_sass/external/katex/katex.scss +1414 -0
- data/_sass/includes/_navbar.scss +6 -4
- data/_sass/includes/_share_buttons.scss +1 -1
- data/_sass/layouts/_posts.scss +1 -1
- data/assets/data/search.liquid +6 -27
- data/assets/fonts/font-awesome/fa-brands-400.ttf +0 -0
- data/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.ttf +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.woff2 +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.ttf +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- data/assets/fonts/font-awesome/fa-v4compatibility.ttf +0 -0
- data/assets/fonts/font-awesome/fa-v4compatibility.woff2 +0 -0
- data/assets/js/main.min.js +3 -3
- data/assets/js/partials/cookie_consent_init.js +5 -0
- data/assets/js/partials/dark-mode.js +22 -18
- data/assets/js/vendor/katex.auto-render.min.js +1 -0
- data/assets/js/vendor/katex.min.js +1 -1
- data/assets/js/vendor/mermaid.min.js +830 -772
- metadata +14 -16
- data/_sass/external/font-awesome/_brands.scss +0 -23
- data/_sass/external/font-awesome/_larger.scss +0 -23
- data/_sass/external/font-awesome/_regular.scss +0 -23
- data/_sass/external/font-awesome/_solid.scss +0 -24
- data/assets/fonts/font-awesome/fa-brands-400.eot +0 -0
- data/assets/fonts/font-awesome/fa-brands-400.svg +0 -3717
- data/assets/fonts/font-awesome/fa-brands-400.woff +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.eot +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.svg +0 -801
- data/assets/fonts/font-awesome/fa-regular-400.woff +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.eot +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.svg +0 -5028
- data/assets/fonts/font-awesome/fa-solid-900.woff +0 -0
- data/assets/js/vendor/auto-render.min.js +0 -1
@@ -1,20 +1,153 @@
|
|
1
|
-
//
|
1
|
+
// animating icons
|
2
2
|
// --------------------------
|
3
3
|
|
4
|
+
.#{$fa-css-prefix}-beat {
|
5
|
+
animation-name: #{$fa-css-prefix}-beat;
|
6
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
7
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
8
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
9
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
10
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, ease-in-out);
|
11
|
+
}
|
12
|
+
|
13
|
+
.#{$fa-css-prefix}-bounce {
|
14
|
+
animation-name: #{$fa-css-prefix}-bounce;
|
15
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
16
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
17
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
18
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
19
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(0.280, 0.840, 0.420, 1));
|
20
|
+
}
|
21
|
+
|
22
|
+
.#{$fa-css-prefix}-fade {
|
23
|
+
animation-name: #{$fa-css-prefix}-fade;
|
24
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
25
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
26
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
27
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
28
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
|
29
|
+
}
|
30
|
+
|
31
|
+
.#{$fa-css-prefix}-beat-fade {
|
32
|
+
animation-name: #{$fa-css-prefix}-beat-fade;
|
33
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
34
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
35
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
36
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
37
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, cubic-bezier(.4,0,.6,1));
|
38
|
+
}
|
39
|
+
|
40
|
+
.#{$fa-css-prefix}-flip {
|
41
|
+
animation-name: #{$fa-css-prefix}-flip;
|
42
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
43
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
44
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
45
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
46
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, ease-in-out);
|
47
|
+
}
|
48
|
+
|
49
|
+
.#{$fa-css-prefix}-shake {
|
50
|
+
animation-name: #{$fa-css-prefix}-shake;
|
51
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
52
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
53
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
54
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
55
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, linear);
|
56
|
+
}
|
57
|
+
|
4
58
|
.#{$fa-css-prefix}-spin {
|
5
|
-
animation: fa-spin
|
59
|
+
animation-name: #{$fa-css-prefix}-spin;
|
60
|
+
animation-delay: var(--#{$fa-css-prefix}-animation-delay, 0s);
|
61
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
62
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 2s);
|
63
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
64
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, linear);
|
65
|
+
}
|
66
|
+
|
67
|
+
.#{$fa-css-prefix}-spin-reverse {
|
68
|
+
--#{$fa-css-prefix}-animation-direction: reverse;
|
69
|
+
}
|
70
|
+
|
71
|
+
.#{$fa-css-prefix}-pulse,
|
72
|
+
.#{$fa-css-prefix}-spin-pulse {
|
73
|
+
animation-name: #{$fa-css-prefix}-spin;
|
74
|
+
animation-direction: var(--#{$fa-css-prefix}-animation-direction, normal);
|
75
|
+
animation-duration: var(--#{$fa-css-prefix}-animation-duration, 1s);
|
76
|
+
animation-iteration-count: var(--#{$fa-css-prefix}-animation-iteration-count, infinite);
|
77
|
+
animation-timing-function: var(--#{$fa-css-prefix}-animation-timing, steps(8));
|
78
|
+
}
|
79
|
+
|
80
|
+
// if agent or operating system prefers reduced motion, disable animations
|
81
|
+
// see: https://www.smashingmagazine.com/2020/09/design-reduced-motion-sensitivities/
|
82
|
+
// see: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
|
83
|
+
@media (prefers-reduced-motion: reduce) {
|
84
|
+
.#{$fa-css-prefix}-beat,
|
85
|
+
.#{$fa-css-prefix}-bounce,
|
86
|
+
.#{$fa-css-prefix}-fade,
|
87
|
+
.#{$fa-css-prefix}-beat-fade,
|
88
|
+
.#{$fa-css-prefix}-flip,
|
89
|
+
.#{$fa-css-prefix}-pulse,
|
90
|
+
.#{$fa-css-prefix}-shake,
|
91
|
+
.#{$fa-css-prefix}-spin,
|
92
|
+
.#{$fa-css-prefix}-spin-pulse {
|
93
|
+
animation-delay: -1ms;
|
94
|
+
animation-duration: 1ms;
|
95
|
+
animation-iteration-count: 1;
|
96
|
+
transition-delay: 0s;
|
97
|
+
transition-duration: 0s;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
@keyframes #{$fa-css-prefix}-beat {
|
102
|
+
0%, 90% { transform: scale(1); }
|
103
|
+
45% { transform: scale(var(--#{$fa-css-prefix}-beat-scale, 1.25)); }
|
104
|
+
}
|
105
|
+
|
106
|
+
@keyframes #{$fa-css-prefix}-bounce {
|
107
|
+
0% { transform: scale(1,1) translateY(0); }
|
108
|
+
10% { transform: scale(var(--#{$fa-css-prefix}-bounce-start-scale-x, 1.1),var(--#{$fa-css-prefix}-bounce-start-scale-y, 0.9)) translateY(0); }
|
109
|
+
30% { transform: scale(var(--#{$fa-css-prefix}-bounce-jump-scale-x, 0.9),var(--#{$fa-css-prefix}-bounce-jump-scale-y, 1.1)) translateY(var(--#{$fa-css-prefix}-bounce-height, -0.5em)); }
|
110
|
+
50% { transform: scale(var(--#{$fa-css-prefix}-bounce-land-scale-x, 1.05),var(--#{$fa-css-prefix}-bounce-land-scale-y, 0.95)) translateY(0); }
|
111
|
+
57% { transform: scale(1,1) translateY(var(--#{$fa-css-prefix}-bounce-rebound, -0.125em)); }
|
112
|
+
64% { transform: scale(1,1) translateY(0); }
|
113
|
+
100% { transform: scale(1,1) translateY(0); }
|
6
114
|
}
|
7
115
|
|
8
|
-
|
9
|
-
|
116
|
+
@keyframes #{$fa-css-prefix}-fade {
|
117
|
+
50% { opacity: var(--#{$fa-css-prefix}-fade-opacity, 0.4); }
|
10
118
|
}
|
11
119
|
|
12
|
-
@keyframes fa-
|
13
|
-
0% {
|
14
|
-
|
120
|
+
@keyframes #{$fa-css-prefix}-beat-fade {
|
121
|
+
0%, 100% {
|
122
|
+
opacity: var(--#{$fa-css-prefix}-beat-fade-opacity, 0.4);
|
123
|
+
transform: scale(1);
|
15
124
|
}
|
125
|
+
50% {
|
126
|
+
opacity: 1;
|
127
|
+
transform: scale(var(--#{$fa-css-prefix}-beat-fade-scale, 1.125));
|
128
|
+
}
|
129
|
+
}
|
16
130
|
|
17
|
-
|
18
|
-
|
131
|
+
@keyframes #{$fa-css-prefix}-flip {
|
132
|
+
50% {
|
133
|
+
transform: rotate3d(var(--#{$fa-css-prefix}-flip-x, 0), var(--#{$fa-css-prefix}-flip-y, 1), var(--#{$fa-css-prefix}-flip-z, 0), var(--#{$fa-css-prefix}-flip-angle, -180deg));
|
19
134
|
}
|
20
135
|
}
|
136
|
+
|
137
|
+
@keyframes #{$fa-css-prefix}-shake {
|
138
|
+
0% { transform: rotate(-15deg); }
|
139
|
+
4% { transform: rotate(15deg); }
|
140
|
+
8%, 24% { transform: rotate(-18deg); }
|
141
|
+
12%, 28% { transform: rotate(18deg); }
|
142
|
+
16% { transform: rotate(-22deg); }
|
143
|
+
20% { transform: rotate(22deg); }
|
144
|
+
32% { transform: rotate(-12deg); }
|
145
|
+
36% { transform: rotate(12deg); }
|
146
|
+
40%, 100% { transform: rotate(0deg); }
|
147
|
+
}
|
148
|
+
|
149
|
+
@keyframes #{$fa-css-prefix}-spin {
|
150
|
+
0% { transform: rotate(0deg); }
|
151
|
+
100% { transform: rotate(360deg); }
|
152
|
+
}
|
153
|
+
|
@@ -1,20 +1,20 @@
|
|
1
|
-
//
|
1
|
+
// bordered + pulled icons
|
2
2
|
// -------------------------
|
3
3
|
|
4
4
|
.#{$fa-css-prefix}-border {
|
5
|
-
border:
|
6
|
-
border-radius:
|
7
|
-
|
5
|
+
border-color: var(--#{$fa-css-prefix}-border-color, #{$fa-border-color});
|
6
|
+
border-radius: var(--#{$fa-css-prefix}-border-radius, #{$fa-border-radius});
|
7
|
+
border-style: var(--#{$fa-css-prefix}-border-style, #{$fa-border-style});
|
8
|
+
border-width: var(--#{$fa-css-prefix}-border-width, #{$fa-border-width});
|
9
|
+
padding: var(--#{$fa-css-prefix}-border-padding, #{$fa-border-padding});
|
8
10
|
}
|
9
11
|
|
10
|
-
.#{$fa-css-prefix}-pull-left {
|
11
|
-
|
12
|
+
.#{$fa-css-prefix}-pull-left {
|
13
|
+
float: left;
|
14
|
+
margin-right: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
|
15
|
+
}
|
12
16
|
|
13
|
-
.#{$fa-css-prefix}
|
14
|
-
|
15
|
-
|
16
|
-
.fal,
|
17
|
-
.fab {
|
18
|
-
&.#{$fa-css-prefix}-pull-left { margin-right: .3em; }
|
19
|
-
&.#{$fa-css-prefix}-pull-right { margin-left: .3em; }
|
17
|
+
.#{$fa-css-prefix}-pull-right {
|
18
|
+
float: right;
|
19
|
+
margin-left: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
|
20
20
|
}
|
@@ -1,21 +1,43 @@
|
|
1
|
-
//
|
1
|
+
// base icon class definition
|
2
2
|
// -------------------------
|
3
3
|
|
4
|
+
.#{$fa-css-prefix} {
|
5
|
+
font-family: var(--#{$fa-css-prefix}-style-family, '#{$fa-style-family}');
|
6
|
+
font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
|
7
|
+
}
|
8
|
+
|
4
9
|
.#{$fa-css-prefix},
|
10
|
+
.#{$fa-css-prefix}-classic,
|
11
|
+
.#{$fa-css-prefix}-sharp,
|
5
12
|
.fas,
|
13
|
+
.#{$fa-css-prefix}-solid,
|
6
14
|
.far,
|
7
|
-
|
8
|
-
.
|
9
|
-
|
15
|
+
.#{$fa-css-prefix}-regular,
|
16
|
+
.fab,
|
17
|
+
.#{$fa-css-prefix}-brands {
|
10
18
|
-moz-osx-font-smoothing: grayscale;
|
11
19
|
-webkit-font-smoothing: antialiased;
|
12
|
-
display:
|
20
|
+
display: var(--#{$fa-css-prefix}-display, #{$fa-display});
|
13
21
|
font-style: normal;
|
14
22
|
font-variant: normal;
|
15
|
-
text-rendering: auto;
|
16
23
|
line-height: 1;
|
24
|
+
text-rendering: auto;
|
17
25
|
}
|
18
26
|
|
27
|
+
.fas,
|
28
|
+
.#{$fa-css-prefix}-classic,
|
29
|
+
.#{$fa-css-prefix}-solid,
|
30
|
+
.far,
|
31
|
+
.#{$fa-css-prefix}-regular {
|
32
|
+
font-family: 'Font Awesome 6 Free';
|
33
|
+
}
|
34
|
+
|
35
|
+
.fab,
|
36
|
+
.#{$fa-css-prefix}-brands {
|
37
|
+
font-family: 'Font Awesome 6 Brands';
|
38
|
+
}
|
39
|
+
|
40
|
+
|
19
41
|
%fa-icon {
|
20
42
|
@include fa-icon;
|
21
43
|
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
// functions
|
2
|
+
// --------------------------
|
3
|
+
|
4
|
+
// fa-content: convenience function used to set content property
|
5
|
+
@function fa-content($fa-var) {
|
6
|
+
@return unquote("\"#{ $fa-var }\"");
|
7
|
+
}
|
8
|
+
|
9
|
+
// fa-divide: Originally obtained from the Bootstrap https://github.com/twbs/bootstrap
|
10
|
+
//
|
11
|
+
// Licensed under: The MIT License (MIT)
|
12
|
+
//
|
13
|
+
// Copyright (c) 2011-2021 Twitter, Inc.
|
14
|
+
// Copyright (c) 2011-2021 The Bootstrap Authors
|
15
|
+
//
|
16
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
17
|
+
// of this software and associated documentation files (the "Software"), to deal
|
18
|
+
// in the Software without restriction, including without limitation the rights
|
19
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
20
|
+
// copies of the Software, and to permit persons to whom the Software is
|
21
|
+
// furnished to do so, subject to the following conditions:
|
22
|
+
//
|
23
|
+
// The above copyright notice and this permission notice shall be included in
|
24
|
+
// all copies or substantial portions of the Software.
|
25
|
+
//
|
26
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
27
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
28
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
29
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
30
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
31
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
32
|
+
// THE SOFTWARE.
|
33
|
+
|
34
|
+
@function fa-divide($dividend, $divisor, $precision: 10) {
|
35
|
+
$sign: if($dividend > 0 and $divisor > 0, 1, -1);
|
36
|
+
$dividend: abs($dividend);
|
37
|
+
$divisor: abs($divisor);
|
38
|
+
$quotient: 0;
|
39
|
+
$remainder: $dividend;
|
40
|
+
@if $dividend == 0 {
|
41
|
+
@return 0;
|
42
|
+
}
|
43
|
+
@if $divisor == 0 {
|
44
|
+
@error "Cannot divide by 0";
|
45
|
+
}
|
46
|
+
@if $divisor == 1 {
|
47
|
+
@return $dividend;
|
48
|
+
}
|
49
|
+
@while $remainder >= $divisor {
|
50
|
+
$quotient: $quotient + 1;
|
51
|
+
$remainder: $remainder - $divisor;
|
52
|
+
}
|
53
|
+
@if $remainder > 0 and $precision > 0 {
|
54
|
+
$remainder: fa-divide($remainder * 10, $divisor, $precision - 1) * .1;
|
55
|
+
}
|
56
|
+
@return ($quotient + $remainder) * $sign;
|
57
|
+
}
|