jekyll-theme-satellite 1.1.0 → 1.2.4

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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -11
  3. data/_includes/footer.html +2 -3
  4. data/_includes/head.html +37 -8
  5. data/_includes/navigation.html +45 -30
  6. data/_includes/pagination.html +1 -1
  7. data/_includes/post.html +4 -4
  8. data/_includes/search_event.html +1 -175
  9. data/_includes/sidebar.html +6 -10
  10. data/_layouts/page.html +5 -6
  11. data/_sass/darkmode.scss +115 -122
  12. data/_sass/layout.scss +40 -40
  13. data/_sass/navigation.scss +133 -138
  14. data/_sass/pagination.scss +198 -211
  15. data/_sass/post.scss +553 -552
  16. data/_sass/search.scss +185 -204
  17. data/_sass/sidebar.scss +253 -254
  18. data/_sass/toc.scss +41 -41
  19. data/assets/css/404.scss +35 -35
  20. data/assets/css/highlight.min.css +2 -0
  21. data/assets/css/style.scss +22 -44
  22. data/assets/fonts/Lato-Regular.woff2 +0 -0
  23. data/assets/fonts/NunitoSans-Regular.woff2 +0 -0
  24. data/assets/fonts/Righteous-Regular.woff2 +0 -0
  25. data/assets/img/favicon.webp +0 -0
  26. data/assets/img/icon/house.webp +0 -0
  27. data/assets/img/loading.webp +0 -0
  28. data/assets/img/profile.webp +0 -0
  29. data/assets/js/background.js +1 -700
  30. data/assets/js/common.js +194 -21
  31. data/assets/js/post.js +171 -126
  32. data/assets/js/subject.js +1 -1
  33. metadata +58 -14
  34. data/assets/css/fonts.scss +0 -29
  35. data/assets/css/highlight-dark.min.css +0 -1
  36. data/assets/css/highlight-default.min.css +0 -1
  37. data/assets/fonts/Lato-Regular.ttf +0 -0
  38. data/assets/fonts/NunitoSans-Regular.ttf +0 -0
  39. data/assets/fonts/Righteous-Regular.ttf +0 -0
  40. data/assets/img/profile.jpg +0 -0
  41. data/assets/js/search.js +0 -168
  42. data/assets/js/sweet-scroll.min.js +0 -2
  43. data/assets/js/tocbot.min.js +0 -1
data/assets/css/404.scss CHANGED
@@ -2,46 +2,46 @@
2
2
  ---
3
3
 
4
4
  body {
5
- margin: 0;
6
- background:
7
- repeating-linear-gradient(
8
- to right, transparent,
9
- transparent 100px,
10
- white 100px,
11
- white 112px
12
- ),
13
- repeating-linear-gradient(
14
- to bottom, transparent,
15
- transparent 100px,
16
- white 100px,
17
- white 112px
18
- ),
19
- linear-gradient(45deg, pink, skyblue);
5
+ margin:0;
6
+ background:
7
+ repeating-linear-gradient(
8
+ to right, transparent,
9
+ transparent 100px,
10
+ white 100px,
11
+ white 112px
12
+ ),
13
+ repeating-linear-gradient(
14
+ to bottom, transparent,
15
+ transparent 100px,
16
+ white 100px,
17
+ white 112px
18
+ ),
19
+ linear-gradient(45deg, pink, skyblue);
20
20
  }
21
21
 
22
22
  .blank-page {
23
- display: table-cell;
24
- z-index: 0;
25
- background: #fff;
26
- margin: 1rem auto;
27
- width: 100vw;
28
- height: 45vh;
29
- vertical-align: middle;
23
+ display:table-cell;
24
+ z-index:0;
25
+ background:#fff;
26
+ margin:1rem auto;
27
+ width:100vw;
28
+ height:45vh;
29
+ vertical-align:middle;
30
30
 
31
- .go-home {
32
- text-decoration: none;
33
- margin-left: 5vw;
34
- font-size: 1.25rem;
35
- }
31
+ .go-home {
32
+ text-decoration:none;
33
+ margin-left:5vw;
34
+ font-size:1.25rem;
35
+ }
36
36
 
37
- .not-found-msg { text-align: center; }
37
+ .not-found-msg { text-align:center; }
38
38
 
39
- .sour-face {
40
- margin: 3rem auto;
41
- font-size: 5rem;
42
- line-height: 1;
43
- letter-spacing: -1px;
44
- }
39
+ .sour-face {
40
+ margin:3rem auto;
41
+ font-size:5rem;
42
+ line-height:1;
43
+ letter-spacing:-1px;
44
+ }
45
45
  }
46
46
 
47
- .container { display: none; }
47
+ .container { display:none; }
@@ -0,0 +1,2 @@
1
+ pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#383a42;background:#fafafa}.hljs-comment,.hljs-attribute{color:#0184bb}.hljs-doctag,.hljs-formula,.hljs-keyword{color:#a626a4}.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:#e45649}.hljs-literal{color:#0184bb}.hljs-addition,.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#50a14f}.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable{color:#986801}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title{color:#4078f2}.hljs-built_in,.hljs-class .hljs-title,.hljs-title.class_{color:#c18401}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}
2
+ .pre-dark {code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#abb2bf !important;background:#282c34 !important}.hljs-doctag,.hljs-formula,.hljs-keyword{color:#c678dd !important}.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst{color:#e06c75 !important}.hljs-literal{color:#56b6c2 !important}.hljs-addition,.hljs-attribute,.hljs-comment,.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#98c379 !important}.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable{color:#d19a66 !important}.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title{color:#61aeee !important}.hljs-built_in,.hljs-class .hljs-title,.hljs-title.class_{color:#e6c07b !important}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}}
@@ -2,67 +2,46 @@
2
2
  ---
3
3
 
4
4
  html, body {
5
- margin: 0;
6
- padding: 0;
5
+ margin:0;
6
+ padding:0;
7
7
  }
8
8
 
9
9
  .fonts-loaded {
10
- a, span, p {
11
- font-family: "Nunito Sans", 'Lucida Sans', sans-serif;
12
- }
13
-
14
- h1, h2, h3 {
15
- font-family: "Lato", Helvetica, sans-serif;
16
- }
17
-
18
- mark {
19
- font-family: 'Righteous', sans-serif;
20
- }
21
- }
22
-
23
- a {
24
- text-decoration: none;
25
- }
26
-
27
- a, span, p, h1, h2, h3, i {
28
- color: #3A241A;
29
- }
30
-
31
- a, span, p {
32
- font-family: 'Lucida Sans', sans-serif;
10
+ a, span, p { font-family:"Nunito Sans", 'Lucida Sans', sans-serif; }
11
+ h1, h2, h3 { font-family:"Lato", Helvetica, sans-serif; }
12
+ mark { font-family:'Righteous', sans-serif; }
33
13
  }
34
14
 
15
+ a { text-decoration:none; }
16
+ a, span, p, h1, h2, h3, i { color:#3A241A; }
17
+ a, span, p { font-family:'Lucida Sans', sans-serif; }
35
18
  h1, h2, h3, mark {
36
- margin: 0;
37
- font-family: Helvetica, sans-serif;
38
- }
39
-
40
- mark {
41
- background-color: transparent;
19
+ margin:0;
20
+ font-family:Helvetica, sans-serif;
42
21
  }
22
+ mark { background-color:transparent; }
43
23
 
44
24
  svg {
45
- width: 16px;
46
- aspect-ratio: 1.0;
47
- fill: #3A241A;
48
- display: block;
49
- margin: auto;
25
+ width:16px;
26
+ aspect-ratio:1.0;
27
+ fill:#3A241A;
28
+ display:block;
29
+ margin:auto;
50
30
  }
51
31
 
52
32
  button {
53
- border: none;
54
- background: none;
55
- padding: 0;
33
+ border:none;
34
+ background:none;
35
+ padding:0;
56
36
  }
57
37
 
58
38
  /* Disable default input cancel button */
59
39
  input::-ms-clear,
60
40
  input::-ms-reveal{
61
41
  display:none;
62
- width:0;
63
- height:0;
42
+ width:0;
43
+ height:0;
64
44
  }
65
-
66
45
  input::-webkit-search-decoration,
67
46
  input::-webkit-search-cancel-button,
68
47
  input::-webkit-search-results-button,
@@ -74,7 +53,7 @@ input::-webkit-search-results-decoration{
74
53
  @import 'layout';
75
54
 
76
55
  :root{
77
- --pagewidth-desktop: calc(max(min(100vw - #{$sidebarwd} - 2rem, #{$contentwd}), 44rem));
56
+ --pagewidth-desktop:calc(max(min(100vw - #{$sidebarwd} - 2rem, #{$contentwd}), 44rem));
78
57
  }
79
58
 
80
59
  @import "sidebar";
@@ -83,5 +62,4 @@ input::-webkit-search-results-decoration{
83
62
  @import "toc";
84
63
  @import "post";
85
64
  @import "search";
86
-
87
65
  @import "darkmode";
Binary file
Binary file
Binary file
Binary file
Binary file