summoner-jekyll-theme 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4909ae43a84494161285c8978c034169796b964fe9f1ea32c6618841064590b8
4
- data.tar.gz: 3a74d7289215fd2ffe5a024030d3956b60de89c2c528b8b85d2adb440719b001
3
+ metadata.gz: 412f3e32ea300d4bbe7ab8a2d2de7786a689a34e646385a5f139afa10157b3a1
4
+ data.tar.gz: c3485785bb55472f9081ba21854a298b6a5c6d6769767c8c03a82eec65cfe79a
5
5
  SHA512:
6
- metadata.gz: fc9702ba5fb6dde46b410e6ba472a580880c3ae02f46fb53995e09addbd33d76230778488c1cda599785a1ac3e3ff3185a9cc57ba7e68c7f9f699a13cc9290b4
7
- data.tar.gz: de25a47cb339c22e5c43c6a81be9f217c61e12890e23fb3328020920613e97742939848912ae5b52979ff2910959b0c74de9382000a2fa9f41e34c82edbfb397
6
+ metadata.gz: 99197a8dabb7605f0e8be8c170fbb4c9add9b4baab43d4f2b473cea5a36ed33f578e90ccf2bc93165f3ede3508cf0613292c8ddb32882c14abda4683fba294d6
7
+ data.tar.gz: 4b8221999e647250e8d3f4f613e3c26e77582dd196b3ca8f34369f2368cc34e7da5481d1ebef6a6a82b979e41f05ec928a88b5ead58fc5f362f053f6f0cc44bc
data/_includes/date.html CHANGED
@@ -1,7 +1,7 @@
1
1
  <date>
2
2
  {% if post.date %}
3
- {{post.date | date: "%m/%d/%Y"}}
3
+ {{post.date | date: "%B %d, %Y"}}
4
4
  {% else %}
5
- {{page.date | date: "%m/%d/%Y"}}
5
+ {{page.date | date: "%B %d, %Y"}}
6
6
  {% endif %}
7
7
  </date>
@@ -4,6 +4,7 @@ layout: default
4
4
 
5
5
  <div class="content">
6
6
  <div class="nav" style="margin-bottom: var(--space-i);">
7
+ <a href="javascript:history.back()">back</a>
7
8
  <a href="/">home</a>
8
9
  <a href="/blog/feed">rss</a>
9
10
  </div>
@@ -0,0 +1,3 @@
1
+ .content .highlight {
2
+ margin: var(--space-b) 0px;
3
+ }
@@ -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: 'Georgia';
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: 30px 0px;
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: 5px;
81
- height: 35px;
82
- width: 35px;
80
+ padding: 0px;
81
+ height: 20px;
82
+ width: 20px;
83
83
  top: 0px;
84
- left: 94.5%;
85
- font-size: 1.5em;
86
- border: 1px solid #ffffff;
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
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 = '1px solid #64CC70';
16
+ copyBtn.style.border = 'none';
17
17
 
18
18
  setTimeout(() => {
19
19
  copyBtn.innerHTML = '<img src="/assets/img/copy.svg" />';
20
- copyBtn.style.border = '1px solid #ffffff';
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.0.0
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