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,18 +1,18 @@
|
|
1
|
-
//
|
1
|
+
// icons in a list
|
2
2
|
// -------------------------
|
3
3
|
|
4
4
|
.#{$fa-css-prefix}-ul {
|
5
5
|
list-style-type: none;
|
6
|
-
margin-left: $fa-li-
|
6
|
+
margin-left: var(--#{$fa-css-prefix}-li-margin, #{$fa-li-margin});
|
7
7
|
padding-left: 0;
|
8
8
|
|
9
9
|
> li { position: relative; }
|
10
10
|
}
|
11
11
|
|
12
12
|
.#{$fa-css-prefix}-li {
|
13
|
-
left:
|
13
|
+
left: calc(var(--#{$fa-css-prefix}-li-width, #{$fa-li-width}) * -1);
|
14
14
|
position: absolute;
|
15
15
|
text-align: center;
|
16
|
-
width: $fa-li-width;
|
16
|
+
width: var(--#{$fa-css-prefix}-li-width, #{$fa-li-width});
|
17
17
|
line-height: inherit;
|
18
18
|
}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
//
|
1
|
+
// mixins
|
2
2
|
// --------------------------
|
3
3
|
|
4
|
+
// base rendering for an icon
|
4
5
|
@mixin fa-icon {
|
5
6
|
-webkit-font-smoothing: antialiased;
|
6
7
|
-moz-osx-font-smoothing: grayscale;
|
@@ -11,46 +12,64 @@
|
|
11
12
|
line-height: 1;
|
12
13
|
}
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
15
|
+
// sets relative font-sizing and alignment (in _sizing)
|
16
|
+
@mixin fa-size ($font-size) {
|
17
|
+
font-size: fa-divide($font-size, $fa-size-scale-base) * 1em; // converts step in sizing scale into an em-based value that's relative to the scale's base
|
18
|
+
line-height: fa-divide(1, $font-size) * 1em; // sets the line-height of the icon back to that of it's parent
|
19
|
+
vertical-align: (fa-divide(6, $font-size) - fa-divide(3, 8)) * 1em; // vertically centers the icon taking into account the surrounding text's descender
|
17
20
|
}
|
18
21
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
+
// only display content to screen readers
|
23
|
+
// see: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
|
24
|
+
// see: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
|
25
|
+
@mixin fa-sr-only() {
|
26
|
+
position: absolute;
|
27
|
+
width: 1px;
|
28
|
+
height: 1px;
|
29
|
+
padding: 0;
|
30
|
+
margin: -1px;
|
31
|
+
overflow: hidden;
|
32
|
+
clip: rect(0, 0, 0, 0);
|
33
|
+
white-space: nowrap;
|
34
|
+
border-width: 0;
|
22
35
|
}
|
23
36
|
|
37
|
+
// use in conjunction with .sr-only to only display content when it's focused
|
38
|
+
@mixin fa-sr-only-focusable() {
|
39
|
+
&:not(:focus) {
|
40
|
+
@include fa-sr-only();
|
41
|
+
}
|
42
|
+
}
|
24
43
|
|
25
|
-
//
|
26
|
-
//
|
27
|
-
// See: http://a11yproject.com/posts/how-to-hide-content/
|
44
|
+
// sets a specific icon family to use alongside style + icon mixins
|
28
45
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
46
|
+
// convenience mixins for declaring pseudo-elements by CSS variable,
|
47
|
+
// including all style-specific font properties, and both the ::before
|
48
|
+
// and ::after elements in the duotone case.
|
49
|
+
@mixin fa-icon-solid($fa-var) {
|
50
|
+
@extend %fa-icon;
|
51
|
+
@extend .fa-solid;
|
52
|
+
|
53
|
+
&::before {
|
54
|
+
content: unquote("\"#{ $fa-var }\"");
|
55
|
+
}
|
38
56
|
}
|
39
57
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
58
|
+
@mixin fa-icon-regular($fa-var) {
|
59
|
+
@extend %fa-icon;
|
60
|
+
@extend .fa-regular;
|
61
|
+
|
62
|
+
&::before {
|
63
|
+
content: unquote("\"#{ $fa-var }\"");
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
@mixin fa-icon-brands($fa-var) {
|
68
|
+
@extend %fa-icon;
|
69
|
+
@extend .fa-brands;
|
70
|
+
|
71
|
+
&::before {
|
72
|
+
content: unquote("\"#{ $fa-var }\"");
|
55
73
|
}
|
56
74
|
}
|
75
|
+
|
@@ -1,24 +1,31 @@
|
|
1
|
-
//
|
1
|
+
// rotating + flipping icons
|
2
2
|
// -------------------------
|
3
3
|
|
4
|
-
.#{$fa-css-prefix}-rotate-90
|
5
|
-
|
6
|
-
|
4
|
+
.#{$fa-css-prefix}-rotate-90 {
|
5
|
+
transform: rotate(90deg);
|
6
|
+
}
|
7
7
|
|
8
|
-
.#{$fa-css-prefix}-
|
9
|
-
|
10
|
-
|
8
|
+
.#{$fa-css-prefix}-rotate-180 {
|
9
|
+
transform: rotate(180deg);
|
10
|
+
}
|
11
11
|
|
12
|
-
|
13
|
-
|
12
|
+
.#{$fa-css-prefix}-rotate-270 {
|
13
|
+
transform: rotate(270deg);
|
14
|
+
}
|
15
|
+
|
16
|
+
.#{$fa-css-prefix}-flip-horizontal {
|
17
|
+
transform: scale(-1, 1);
|
18
|
+
}
|
19
|
+
|
20
|
+
.#{$fa-css-prefix}-flip-vertical {
|
21
|
+
transform: scale(1, -1);
|
22
|
+
}
|
23
|
+
|
24
|
+
.#{$fa-css-prefix}-flip-both,
|
25
|
+
.#{$fa-css-prefix}-flip-horizontal.#{$fa-css-prefix}-flip-vertical {
|
26
|
+
transform: scale(-1, -1);
|
27
|
+
}
|
14
28
|
|
15
|
-
|
16
|
-
|
17
|
-
.#{$fa-css-prefix}-rotate-180,
|
18
|
-
.#{$fa-css-prefix}-rotate-270,
|
19
|
-
.#{$fa-css-prefix}-flip-horizontal,
|
20
|
-
.#{$fa-css-prefix}-flip-vertical,
|
21
|
-
.#{$fa-css-prefix}-flip-both {
|
22
|
-
filter: none;
|
23
|
-
}
|
29
|
+
.#{$fa-css-prefix}-rotate-by {
|
30
|
+
transform: rotate(var(--#{$fa-css-prefix}-rotate-angle, none));
|
24
31
|
}
|
@@ -1,5 +1,14 @@
|
|
1
|
-
//
|
1
|
+
// screen-reader utilities
|
2
2
|
// -------------------------
|
3
3
|
|
4
|
-
|
5
|
-
.sr-only
|
4
|
+
// only display content to screen readers
|
5
|
+
.sr-only,
|
6
|
+
.#{$fa-css-prefix}-sr-only {
|
7
|
+
@include fa-sr-only;
|
8
|
+
}
|
9
|
+
|
10
|
+
// use in conjunction with .sr-only to only display content when it's focused
|
11
|
+
.sr-only-focusable,
|
12
|
+
.#{$fa-css-prefix}-sr-only-focusable {
|
13
|
+
@include fa-sr-only-focusable;
|
14
|
+
}
|