summoner-jekyll-theme 1.0.0 → 1.1.0
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.
- checksums.yaml +4 -4
- data/_includes/date.html +2 -2
- data/_layouts/archive.html +1 -0
- data/_sass/components/post/_code.scss +3 -0
- data/_sass/config/_fonts.scss +26 -0
- data/_sass/config/_variables.scss +1 -1
- data/_sass/mixins/_highlight.scss +7 -14
- data/_sass/summoner.scss +2 -0
- data/assets/fonts/FiraCode-Regular.ttf +0 -0
- data/assets/fonts/SyneMono-Regular.ttf +0 -0
- data/assets/fonts/iAWriterDuoS-Regular.ttf +0 -0
- data/assets/js/copy.js +2 -2
- metadata +6 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 412f3e32ea300d4bbe7ab8a2d2de7786a689a34e646385a5f139afa10157b3a1
|
|
4
|
+
data.tar.gz: c3485785bb55472f9081ba21854a298b6a5c6d6769767c8c03a82eec65cfe79a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99197a8dabb7605f0e8be8c170fbb4c9add9b4baab43d4f2b473cea5a36ed33f578e90ccf2bc93165f3ede3508cf0613292c8ddb32882c14abda4683fba294d6
|
|
7
|
+
data.tar.gz: 4b8221999e647250e8d3f4f613e3c26e77582dd196b3ca8f34369f2368cc34e7da5481d1ebef6a6a82b979e41f05ec928a88b5ead58fc5f362f053f6f0cc44bc
|
data/_includes/date.html
CHANGED
data/_layouts/archive.html
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'iA Writer Duo S';
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: normal;
|
|
5
|
+
src:
|
|
6
|
+
local('iA Writer Duo S'),
|
|
7
|
+
url('/assets/fonts/iAWriterDuoS-Regular.ttf') format('truetype');
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Syne Mono';
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: normal;
|
|
14
|
+
src:
|
|
15
|
+
local('Syne Mono'),
|
|
16
|
+
url('/assets/fonts/SyneMono-Regular.ttf') format('truetype');
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: 'Fira Code';
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-weight: normal;
|
|
23
|
+
src:
|
|
24
|
+
local('Fira Code'),
|
|
25
|
+
url('/assets/fonts/FiraCode-Regular.ttf') format('truetype');
|
|
26
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
// Global default font
|
|
3
3
|
--font-family-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
4
|
-
--font-family-serif: '
|
|
4
|
+
--font-family-serif: 'iA Writer Duo S';
|
|
5
5
|
--font-family-code: 'Fira Code';
|
|
6
6
|
--font-family-syne: 'Syne Mono', monospace;
|
|
7
7
|
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
pre.highlight {
|
|
68
68
|
position: relative;
|
|
69
69
|
display: flex;
|
|
70
|
-
padding:
|
|
70
|
+
padding: 20px 0px;
|
|
71
71
|
padding-right: 35px;
|
|
72
72
|
border-radius: 4px;
|
|
73
73
|
overflow: scroll;
|
|
@@ -77,14 +77,13 @@ pre.highlight > button {
|
|
|
77
77
|
position: sticky;
|
|
78
78
|
flex-shrink: 0;
|
|
79
79
|
opacity: 0;
|
|
80
|
-
padding:
|
|
81
|
-
height:
|
|
82
|
-
width:
|
|
80
|
+
padding: 0px;
|
|
81
|
+
height: 20px;
|
|
82
|
+
width: 20px;
|
|
83
83
|
top: 0px;
|
|
84
|
-
left:
|
|
85
|
-
font-size:
|
|
86
|
-
border:
|
|
87
|
-
border-radius: 8px;
|
|
84
|
+
left: 99%;
|
|
85
|
+
font-size: var(--font-size-xxs);
|
|
86
|
+
border: none;
|
|
88
87
|
background-color: #272823;
|
|
89
88
|
}
|
|
90
89
|
|
|
@@ -94,12 +93,6 @@ pre.highlight:hover > button {
|
|
|
94
93
|
transition-duration: 250ms;
|
|
95
94
|
}
|
|
96
95
|
|
|
97
|
-
pre.highlight button:hover {
|
|
98
|
-
background-color: #3c3d37;
|
|
99
|
-
transition-property: background-color;
|
|
100
|
-
transition-duration: 250ms;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
96
|
pre.highlight > button:active,
|
|
104
97
|
pre.highlight > button:focus {
|
|
105
98
|
opacity: 1;
|
data/_sass/summoner.scss
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
@import "mixins/highlight";
|
|
4
4
|
|
|
5
5
|
// Configurations
|
|
6
|
+
@import "config/fonts";
|
|
6
7
|
@import "config/variables";
|
|
7
8
|
@import "config/reset";
|
|
8
9
|
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
@import "components/paginator/link";
|
|
16
17
|
@import "components/paginator/span";
|
|
17
18
|
@import "components/paginator";
|
|
19
|
+
@import "components/post/code";
|
|
18
20
|
@import "components/post/paragraph";
|
|
19
21
|
@import "components/motif";
|
|
20
22
|
@import "components/spacing";
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/assets/js/copy.js
CHANGED
|
@@ -13,11 +13,11 @@ codeBlocks.forEach((block) => {
|
|
|
13
13
|
window.navigator.clipboard.writeText(code);
|
|
14
14
|
|
|
15
15
|
copyBtn.innerHTML = '<img src="/assets/img/check.svg" />';
|
|
16
|
-
copyBtn.style.border = '
|
|
16
|
+
copyBtn.style.border = 'none';
|
|
17
17
|
|
|
18
18
|
setTimeout(() => {
|
|
19
19
|
copyBtn.innerHTML = '<img src="/assets/img/copy.svg" />';
|
|
20
|
-
copyBtn.style.border = '
|
|
20
|
+
copyBtn.style.border = 'none';
|
|
21
21
|
document.activeElement.blur();
|
|
22
22
|
}, 3000);
|
|
23
23
|
});
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: summoner-jekyll-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rory Dudley
|
|
@@ -57,7 +57,9 @@ files:
|
|
|
57
57
|
- _sass/components/nav/_link.scss
|
|
58
58
|
- _sass/components/paginator/_link.scss
|
|
59
59
|
- _sass/components/paginator/_span.scss
|
|
60
|
+
- _sass/components/post/_code.scss
|
|
60
61
|
- _sass/components/post/_paragraph.scss
|
|
62
|
+
- _sass/config/_fonts.scss
|
|
61
63
|
- _sass/config/_reset.scss
|
|
62
64
|
- _sass/config/_variables.scss
|
|
63
65
|
- _sass/layouts/_404.scss
|
|
@@ -66,6 +68,9 @@ files:
|
|
|
66
68
|
- _sass/mixins/_highlight.scss
|
|
67
69
|
- _sass/mixins/_media.scss
|
|
68
70
|
- _sass/summoner.scss
|
|
71
|
+
- assets/fonts/FiraCode-Regular.ttf
|
|
72
|
+
- assets/fonts/SyneMono-Regular.ttf
|
|
73
|
+
- assets/fonts/iAWriterDuoS-Regular.ttf
|
|
69
74
|
- assets/img/back.svg
|
|
70
75
|
- assets/img/belphegor.png
|
|
71
76
|
- assets/img/check.svg
|