jekyll-theme-satellite 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/_config.yml +82 -0
  4. data/_includes/loading.html +6 -0
  5. data/_includes/navigation.html +84 -0
  6. data/_includes/pagination.html +71 -0
  7. data/_includes/post.html +65 -0
  8. data/_includes/search.html +21 -0
  9. data/_includes/sidebar.html +83 -0
  10. data/_layouts/default.html +113 -0
  11. data/_sass/darkmode.scss +211 -0
  12. data/_sass/layout.scss +57 -0
  13. data/_sass/navigation.scss +178 -0
  14. data/_sass/pagination.scss +253 -0
  15. data/_sass/post.scss +640 -0
  16. data/_sass/search.scss +248 -0
  17. data/_sass/sidebar.scss +309 -0
  18. data/_sass/toc.scss +52 -0
  19. data/_sass/vars.scss +15 -0
  20. data/assets/css/highlight-dark.min.css +1 -0
  21. data/assets/css/highlight-default.min.css +1 -0
  22. data/assets/css/style.scss +89 -0
  23. data/assets/fonts/Lato-Regular.ttf +0 -0
  24. data/assets/fonts/NunitoSans-Regular.ttf +0 -0
  25. data/assets/fonts/Righteous-Regular.ttf +0 -0
  26. data/assets/img/La-Mancha.jpg +0 -0
  27. data/assets/img/example.jpg +0 -0
  28. data/assets/img/favicon.webp +0 -0
  29. data/assets/img/icon/book-solid.svg +1 -0
  30. data/assets/img/icon/calendar-days-regular.svg +1 -0
  31. data/assets/img/icon/clipboard-regular.svg +1 -0
  32. data/assets/img/icon/folder-open-regular.svg +1 -0
  33. data/assets/img/icon/tags-solid.svg +1 -0
  34. data/assets/img/loading.webp +0 -0
  35. data/assets/img/profile.jpg +0 -0
  36. data/assets/img/sorry.png +0 -0
  37. data/assets/img/thumbnail/book.jpg +0 -0
  38. data/assets/img/thumbnail/bricks.webp +0 -0
  39. data/assets/img/thumbnail/empty.jpg +0 -0
  40. data/assets/img/thumbnail/nightgardenflower.jpg +0 -0
  41. data/assets/img/thumbnail/sample.png +0 -0
  42. data/assets/img/tile.png +0 -0
  43. data/assets/js/404.js +22 -0
  44. data/assets/js/highlight.min.js +1213 -0
  45. data/assets/js/main.js +709 -0
  46. data/assets/js/stars.js +700 -0
  47. data/assets/js/sweet-scroll.min.js +2 -0
  48. data/assets/js/tocbot.min.js +1 -0
  49. metadata +104 -0
@@ -0,0 +1,211 @@
1
+ body.dark-theme {
2
+
3
+ background: #1E1E1F;
4
+
5
+ a, span, p, h1, h2, h3, i { color: #aaa; }
6
+
7
+ svg { fill: #aaa; }
8
+
9
+ #stars, #loading { background: #1E1E1F; }
10
+
11
+ #loading p { color: cadetblue; }
12
+
13
+ .sidebar-left { background-color: #313132; }
14
+
15
+ .nav-item span { color: #ccc; }
16
+
17
+ .nav-lh svg { fill: goldenrod; }
18
+
19
+ .nav-list-expander {
20
+ &:hover {
21
+ svg { fill: goldenrod; }
22
+ }
23
+ }
24
+
25
+ .nav-list li > .nav-list { background: #464647; }
26
+
27
+ .side-banner {
28
+ box-shadow: 0px 4px 8px 0 black;
29
+
30
+ button {
31
+ background-color: #313132;
32
+
33
+ &:hover { background-color: #1E1E1F; }
34
+ }
35
+
36
+ svg { fill: $color-aqua; }
37
+ }
38
+
39
+ #contact{
40
+ ul>li>a {
41
+ &:hover{
42
+ svg { fill: indianred; }
43
+ }
44
+ }
45
+
46
+ a { color: mediumseagreen; }
47
+ }
48
+
49
+ #post {
50
+ .inner-header { background: #464647; }
51
+
52
+ .inner-content { background: #313132; }
53
+ }
54
+
55
+ .transbox { background-color: rgba(64, 64, 64, 0.6); }
56
+
57
+ .post-title,
58
+ .info-box * {
59
+ color: #eee;
60
+ fill : #eee;
61
+ filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
62
+ }
63
+
64
+ main {
65
+ h1, h2, h3, p { color: #aaa; }
66
+
67
+ strong { color: lightgrey; }
68
+
69
+ a {
70
+ color: dodgerblue;
71
+
72
+ &::before {
73
+ color: mediumseagreen;
74
+ text-decoration-color: mediumseagreen;
75
+ }
76
+ }
77
+
78
+ code,
79
+ .highlighter-rouge .highlight {
80
+ border: 1px solid dimgrey;
81
+ background-color: #363a41;
82
+ color: goldenrod;
83
+ }
84
+
85
+ blockquote {
86
+ background: #1E1E1F;
87
+ border-left: 4px solid #464647;
88
+ }
89
+
90
+ table { background-color: #464647; }
91
+
92
+ table, head { box-shadow: 0 0 32px 0 rgba(128,128,128,.15); }
93
+
94
+ th, td { border: 2px solid #3c3c3d; }
95
+
96
+ thead th,
97
+ tbody td {
98
+ color: #aaa;
99
+ }
100
+
101
+ hr { background: cadetblue; }
102
+
103
+ img + em,
104
+ li {
105
+ color: #aaa;
106
+ }
107
+ }
108
+
109
+ #related-box span { color: darkgoldenrod; }
110
+
111
+ #related-posts .title { color: #ccc; }
112
+
113
+ #related-posts li:hover { box-shadow: 8px 8px 16px -4px rgba(255, 255, 255, .2); }
114
+
115
+ .category-tree a { color: goldenrod; }
116
+
117
+ .category-header {
118
+ color: cadetblue;
119
+ text-decoration: underline slategrey;
120
+ }
121
+
122
+ #article_content {
123
+ border-bottom: 2px solid #464647;
124
+
125
+ .box_contents { background-image: none; }
126
+
127
+ .txt_post { color: #aaa; }
128
+
129
+ .title_post { color: darkgoldenrod; }
130
+
131
+ .date { color: #ccc; }
132
+
133
+ .category { color: mediumseagreen; }
134
+ }
135
+
136
+ .pagination-number,
137
+ .pagination-button {
138
+ color: #ccc;
139
+ }
140
+
141
+ .pagination-number:hover,
142
+ .pagination-button:not(.disabled):hover {
143
+ background: grey;
144
+ }
145
+
146
+ #search {
147
+ background: rgba(64, 64, 64, 0.875);
148
+
149
+ ul {
150
+ border-bottom: 2px solid #464647;
151
+ box-shadow: 0px 4px 8px 0 #1E1E1F;
152
+
153
+ svg { background-color: #ccc; }
154
+
155
+ th { color: #ccc; }
156
+
157
+ &::-webkit-scrollbar {
158
+ width: 8px;
159
+ background-color: grey;
160
+ }
161
+ }
162
+
163
+ input, input::placeholder { color: #ccc; }
164
+ }
165
+
166
+ .search-box h1 { color: #fff; }
167
+
168
+ .input-box {
169
+ &:before { background: #5a5a5b; }
170
+
171
+ &:after { opacity: 0.5; }
172
+ }
173
+
174
+ .result-item{
175
+ border: 1px solid #464647;
176
+ background: #313132;
177
+
178
+ &:hover { background: $color-wenge; }
179
+ }
180
+
181
+ .toc-header { color: darkgoldenrod; }
182
+
183
+ @include mq(tablet){
184
+ #article_content .box_contents { background-color: rgba(70, 70, 70, 0.95); }
185
+
186
+ .post-title { text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
187
+ }
188
+
189
+ @include mq(desktop) {
190
+ .sidebar-left { background: none; }
191
+
192
+ .site-name { box-shadow: none; }
193
+
194
+ .nav-lh {
195
+ &:before { background: rgba(#464647, 1); }
196
+
197
+ &:hover:before { background: rgba(#464647, .75); }
198
+ }
199
+
200
+ .nav-list li > .nav-list { background: none; }
201
+
202
+ #contact{
203
+ hr { border-top: 1px solid dimgrey; }
204
+
205
+ h3 { background-color: #1E1E1F; }
206
+ }
207
+
208
+ #post .inner-content { box-shadow: none; }
209
+ }
210
+
211
+ }
data/_sass/layout.scss ADDED
@@ -0,0 +1,57 @@
1
+ @mixin mq($name) {
2
+ // Retrieves the value from the key
3
+ $value: map-get($mediawd, $name);
4
+
5
+ // If the key exists in the map
6
+ @if $value {
7
+ // Prints a media query based on the value
8
+ @media (min-width: $value) {
9
+ @content;
10
+ }
11
+ } @else {
12
+ @warn "No value could be retrieved from `#{$mediawd}`. Please make sure it is defined in `$mediawd` map.";
13
+ }
14
+ }
15
+
16
+ #loading
17
+ {
18
+ width: 100%;
19
+ height: 100%;
20
+ top: 0;
21
+ left: 0;
22
+ position: fixed;
23
+ display: flex;
24
+ background: white;
25
+ z-index: 999;
26
+ text-align: center;
27
+
28
+ .loading_box {
29
+ margin: auto;
30
+
31
+ img {
32
+ width: 128px;
33
+ height: 128px;
34
+ }
35
+
36
+ p {
37
+ margin: 2rem;
38
+ font-size: 2.5rem;
39
+ color: $color-wenge;
40
+ font-weight: 600;
41
+ font-family: Cambria, sans-serif;
42
+ }
43
+ }
44
+ }
45
+
46
+ #stars {
47
+ display: none;
48
+ position: fixed;
49
+ width: 100%;
50
+ height: 100vh;
51
+ z-index: -1;
52
+ background: none;
53
+ }
54
+
55
+ @include mq(desktop){
56
+ #stars { display: block; }
57
+ }
@@ -0,0 +1,178 @@
1
+ #navigation {
2
+ display: none;
3
+ flex: 1 1 auto;
4
+ width: 100%;
5
+
6
+ &.nav-open {
7
+ display: block;
8
+ border-top: 1px solid dimgrey;
9
+ }
10
+ }
11
+
12
+ .nav-list {
13
+ padding: 0;
14
+ margin: 0 auto;
15
+ font-family: 'Lato', sans-serif;
16
+
17
+ li {
18
+ font-size: 1rem;
19
+
20
+ > .nav-list {
21
+ padding-left: 1.125rem;
22
+ background: #eee;
23
+
24
+ transition: max-height .5s, opacity .2s;
25
+ opacity: 0;
26
+ max-height: 0;
27
+
28
+ li { position: relative; }
29
+ }
30
+
31
+ &.active {
32
+ > .nav-item .nav-list-expander svg { transform: rotate(180deg); }
33
+
34
+ > .nav-list {
35
+ opacity: 1;
36
+ max-height: 256px;
37
+ }
38
+ }
39
+ }
40
+
41
+ svg {
42
+ margin-right: 0.5rem;
43
+ display: inline-block;
44
+ vertical-align: middle;
45
+ }
46
+ }
47
+
48
+ .nav-item {
49
+ position: relative;
50
+ padding: 0.75rem;
51
+ border-bottom: 1px solid #aaa;
52
+
53
+ &.selected {
54
+ span {
55
+ font-weight: 600;
56
+ text-decoration: underline;
57
+ }
58
+ }
59
+
60
+ a { font-weight: 400; }
61
+ }
62
+
63
+ .nav-list-link {
64
+ position: relative;
65
+ transition: .2s ease;
66
+
67
+ span { position: relative; }
68
+ }
69
+
70
+ .nav-lh svg {
71
+ margin-left: -0.25rem;
72
+ position: relative;
73
+ fill: $color-darkorange;
74
+ transform: translateY(-2px);
75
+ }
76
+
77
+ .nav-sh svg {
78
+ width: 14px;
79
+ margin-left: 0;
80
+ }
81
+
82
+ .nav-list-expander {
83
+ position: absolute;
84
+ height: 100%;
85
+ aspect-ratio: 1;
86
+ top: 0;
87
+ right: 8px;
88
+ cursor: pointer;
89
+
90
+ &, svg { transition: .3s; }
91
+
92
+ svg { width: 18px; }
93
+
94
+ &:hover {
95
+ transform: scale(1.25);
96
+ svg { fill: $color-darkorange; }
97
+ }
98
+ }
99
+
100
+ @include mq(tablet) {
101
+ .nav-list-link { min-height: 2rem; }
102
+
103
+ .nav-list li { font-size: 1.125rem; }
104
+
105
+ .nav-sh svg { width: 16px; }
106
+
107
+ .nav-lh svg { width: 18px; }
108
+
109
+ .nav-list-expander svg { width: 20px; }
110
+ }
111
+
112
+ @include mq(desktop){
113
+ #navigation {
114
+ width: calc(#{$sidebarwd} - 2.5rem);
115
+ display: block;
116
+ max-height: calc(100vh - 26rem);
117
+ padding: 0 1.25rem;
118
+ overflow-y: auto;
119
+ overflow-x: hidden;
120
+ margin-top: 2rem;
121
+
122
+ &.nav-open { border: none; }
123
+
124
+ &::-webkit-scrollbar {
125
+ width: 4px;
126
+ background-color: #aaa;
127
+ }
128
+
129
+ &::-webkit-scrollbar-thumb { background-color: rosybrown; }
130
+ }
131
+
132
+ .nav-list { position: relative; }
133
+
134
+ .nav-list li > .nav-list { background: none; }
135
+
136
+ .nav-lh svg { transform: none; }
137
+
138
+ .nav-item { border: none; }
139
+
140
+ .nav-list-link {
141
+ display: flex;
142
+ width: 95%;
143
+ align-items: center;
144
+
145
+ &:hover {
146
+ span {
147
+ font-weight: 600;
148
+ text-decoration: underline;
149
+ }
150
+
151
+ transform: scale(.9);
152
+ }
153
+ }
154
+
155
+ .nav-lh {
156
+ &:before {
157
+ content: "";
158
+ position: absolute;
159
+ display: block;
160
+ left: 0;
161
+ border-radius: 1.5rem;
162
+ background: rgba(gold, .375);
163
+ width: 3rem;
164
+ height: 3rem;
165
+ transition: .3s;
166
+ }
167
+
168
+ &:hover:before {
169
+ width: 105%;
170
+ background: gold;
171
+ }
172
+ }
173
+
174
+ .nav-list-expander {
175
+ background-color: transparent;
176
+ right: -16px;
177
+ }
178
+ }
@@ -0,0 +1,253 @@
1
+ #category-list { width: 100%; }
2
+
3
+ .category-tree {
4
+ margin:0 0.5rem;
5
+ position: relative;
6
+ font-size: 0.875rem;
7
+
8
+ p {
9
+ margin: 0;
10
+ padding: 1rem 0;
11
+ padding-left: 1.5rem;
12
+ line-height: 150%;
13
+ font-weight: bold;
14
+ color: slategrey;
15
+ }
16
+
17
+ a {
18
+ color: dodgerblue;
19
+ text-decoration: none;
20
+ }
21
+
22
+ svg {
23
+ position: absolute;
24
+ display: inline-flex;
25
+ top: 18px;
26
+ width: 14px;
27
+ }
28
+ }
29
+
30
+ .category-header {
31
+ margin: 0 0.5rem;
32
+ margin-bottom: 1.5rem;
33
+ font-weight: 600;
34
+ font-family: 'Lato', sans-serif;
35
+ border-bottom: 1px solid lightgrey;
36
+ text-decoration: underline dimgrey;
37
+ text-underline-offset: 12px;
38
+ padding-bottom: 8px;
39
+ }
40
+
41
+ .paginated-list {
42
+ margin: 0;
43
+ padding: 0;
44
+ }
45
+
46
+ .paginated-item {
47
+ list-style-type: none;
48
+ height: fit-content;
49
+ }
50
+
51
+ #article_content {
52
+ border-bottom: 2px solid lightgrey;
53
+
54
+ .thumbnail_post {
55
+ display: block;
56
+ background-size: cover;
57
+ background-position: 50% 50%;
58
+ width: 100%;
59
+ aspect-ratio: 5 / 3;
60
+ border-radius: 0;
61
+ }
62
+
63
+ .thumbnail_post:hover { opacity: 0.8; }
64
+
65
+ .empty { opacity: 0.5; }
66
+
67
+ .box_contents {
68
+ margin: 0.75rem;
69
+ position: relative;
70
+ overflow: hidden;
71
+ }
72
+
73
+ a { text-decoration: none; }
74
+
75
+ .title_post{
76
+ font-family: 'Lato', sans-serif;
77
+ font-weight: 600;
78
+ font-size: 1rem;
79
+ line-height: 2rem;
80
+ word-break: normal;
81
+ white-space: nowrap;
82
+ overflow: hidden;
83
+ text-overflow: ellipsis;
84
+ text-align: left;
85
+ }
86
+
87
+ .info-post { font-size: 0.875rem; }
88
+
89
+ .category{ color: mediumseagreen !important; }
90
+
91
+ .title_post:hover,
92
+ .category:hover {
93
+ color: $color-rose;
94
+ }
95
+
96
+ .txt_post {
97
+ display: -webkit-box;
98
+ margin-bottom: 0.75rem;
99
+ font-size: 0.875rem;
100
+ color: grey;
101
+ overflow: hidden;
102
+ text-overflow: ellipsis;
103
+ -webkit-line-clamp: 2;
104
+ -webkit-box-orient: vertical;
105
+ word-wrap: break-word;
106
+ }
107
+ }
108
+
109
+ .no-posts {
110
+ position: relative;
111
+ margin: 6rem 0;
112
+ text-align: center;
113
+
114
+ img {
115
+ width: 50%;
116
+ aspect-ratio: 2/1;
117
+ }
118
+
119
+ h1 {margin-top: 3rem;}
120
+ }
121
+
122
+ .hidden { display: none; }
123
+
124
+ .pagination-container {
125
+ width: 90%;
126
+ display: flex;
127
+ align-items: center;
128
+ padding: 4rem 0;
129
+ margin: auto;
130
+ justify-content: center;
131
+ }
132
+
133
+ .pagination-number,
134
+ .pagination-button{
135
+ font-size: 1rem;
136
+ margin: 4px;
137
+ cursor: pointer;
138
+ width: 2.5rem;
139
+ aspect-ratio: 1.0;
140
+ border-radius: .2rem;
141
+ }
142
+
143
+ .pagination-number:hover,
144
+ .pagination-button:not(.disabled):hover {
145
+ background: #fff;
146
+ }
147
+
148
+ .pagination-number.active {
149
+ color: #fff;
150
+ background: #0085b6;
151
+ }
152
+
153
+ @include mq(tablet){
154
+ .category-tree {
155
+ margin: 0 2rem;
156
+ font-size: 1.125rem;
157
+
158
+ p {
159
+ padding: 1.5rem 0;
160
+ padding-left: 2rem;
161
+ }
162
+
163
+ svg {
164
+ top: 28px;
165
+ width: 18px;
166
+ }
167
+ }
168
+
169
+ .category-header {
170
+ font-size: 2.25rem;
171
+ padding-bottom: 0.5rem;
172
+ text-underline-offset: 16px;
173
+ margin: 0 2rem;
174
+ margin-bottom: 3rem;
175
+ }
176
+
177
+ .paginated-list { margin: auto 2rem; }
178
+
179
+ .paginated-item {
180
+ margin: 3rem 0;
181
+ height: 12.5rem;
182
+ }
183
+
184
+ #article_content {
185
+ display: flex;
186
+ transition: .3s;
187
+ box-shadow: 0 1px 1px 0 rgba(31, 35, 46, .15);
188
+
189
+ &:hover {
190
+ transform: translate(0px, -4px);
191
+ box-shadow: 0 15px 45px -10px rgba(10, 16, 34, .2);
192
+ }
193
+
194
+ .thumbnail_post {
195
+ display: block;
196
+ height: 12.5rem;
197
+ aspect-ratio: 4 / 3;
198
+ margin: auto;
199
+ }
200
+
201
+ .box_contents {
202
+ width: 100%;
203
+ margin: auto 0 auto -5rem;
204
+ padding: 0.5rem 1.5rem;
205
+ background-color: rgba(255,255,255,0.95);
206
+ background-image: url(/assets/img/tile.png);
207
+ border-radius: 6px;
208
+ }
209
+
210
+ .title_post{
211
+ font-size: 1.5rem;
212
+ padding-top: 0.75rem;
213
+ }
214
+
215
+ .info-post,
216
+ .txt_post {
217
+ font-size: 1.125rem;
218
+ }
219
+
220
+ .category{ font-weight: bold; }
221
+
222
+ .txt_post {
223
+ margin-top: 1rem;
224
+ margin-bottom: 1.5rem;
225
+ }
226
+ }
227
+
228
+ .pagination-number,
229
+ .pagination-button{
230
+ font-size: 1.125rem;
231
+ }
232
+ }
233
+
234
+ @include mq(desktop){
235
+ .category-header { font-size: 3rem; }
236
+
237
+ .paginated-item { height: 15rem; }
238
+
239
+ #article_content {
240
+ .thumbnail_post { height: 15rem; }
241
+
242
+ .box_contents {
243
+ margin-left: -6rem;
244
+ border-radius: 8px;
245
+ }
246
+
247
+ .date { font-size: 1.125rem; }
248
+
249
+ .category { font-size: 1.25rem; }
250
+
251
+ .txt_post { margin-top: 1.25rem; }
252
+ }
253
+ }