jekyll-theme-satellite 1.1.2 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -3
- data/_includes/footer.html +2 -3
- data/_includes/head.html +37 -8
- data/_includes/pagination.html +1 -1
- data/_includes/post.html +2 -2
- data/_includes/search_event.html +1 -2
- data/_includes/sidebar.html +6 -3
- data/_layouts/page.html +5 -6
- data/_sass/darkmode.scss +115 -122
- data/_sass/layout.scss +40 -40
- data/_sass/navigation.scss +133 -138
- data/_sass/pagination.scss +198 -211
- data/_sass/post.scss +550 -558
- data/_sass/search.scss +185 -204
- data/_sass/sidebar.scss +253 -254
- data/_sass/toc.scss +41 -41
- data/assets/css/404.scss +35 -35
- data/assets/css/highlight.min.css +2 -0
- data/assets/css/style.scss +22 -44
- data/assets/fonts/Lato-Regular.woff2 +0 -0
- data/assets/fonts/NunitoSans-Regular.woff2 +0 -0
- data/assets/fonts/Righteous-Regular.woff2 +0 -0
- data/assets/img/icon/house.webp +0 -0
- data/assets/img/loading.webp +0 -0
- data/assets/img/profile.webp +0 -0
- data/assets/js/background.js +1 -700
- data/assets/js/common.js +194 -21
- data/assets/js/post.js +172 -121
- data/assets/js/subject.js +1 -1
- metadata +22 -12
- data/assets/css/fonts.scss +0 -29
- data/assets/css/highlight-dark.min.css +0 -1
- data/assets/css/highlight-default.min.css +0 -1
- data/assets/fonts/Lato-Regular.ttf +0 -0
- data/assets/fonts/NunitoSans-Regular.ttf +0 -0
- data/assets/fonts/Righteous-Regular.ttf +0 -0
- data/assets/img/profile.jpg +0 -0
- data/assets/js/search.js +0 -168
- data/assets/js/sweet-scroll.min.js +0 -2
- data/assets/js/tocbot.min.js +0 -1
data/_sass/search.scss
CHANGED
@@ -1,248 +1,229 @@
|
|
1
1
|
#search
|
2
2
|
{
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
3
|
+
width:100%;
|
4
|
+
height:100%;
|
5
|
+
top:0;
|
6
|
+
left:0;
|
7
|
+
position:fixed;
|
8
|
+
display:none;
|
9
|
+
background:rgba(255,255,255,0.875);
|
10
|
+
z-index:999;
|
11
|
+
text-align:center;
|
12
|
+
|
13
|
+
ul, input {
|
14
|
+
min-width:20rem;
|
15
|
+
width:50vw;
|
16
|
+
}
|
17
|
+
ul {
|
18
|
+
margin:auto;
|
19
|
+
margin-top:-1px;
|
20
|
+
padding:0;
|
21
|
+
overflow-y:auto;
|
22
|
+
max-height:60vh;
|
23
|
+
border-bottom:2px solid #aaa;
|
24
|
+
box-shadow:0px 4px 8px 0 #ccc;
|
25
|
+
|
26
|
+
i {
|
27
|
+
margin-right:0.5rem;
|
28
|
+
color:#666;
|
16
29
|
}
|
17
30
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
padding: 0;
|
22
|
-
overflow-y: auto;
|
23
|
-
max-height: 60vh;
|
24
|
-
border-bottom: 2px solid #aaa;
|
25
|
-
box-shadow: 0px 4px 8px 0 #ccc;
|
26
|
-
|
27
|
-
i {
|
28
|
-
margin-right: 0.5rem;
|
29
|
-
color: #666;
|
30
|
-
}
|
31
|
-
|
32
|
-
&::-webkit-scrollbar {
|
33
|
-
width: 8px;
|
34
|
-
background-color: #ddd;
|
35
|
-
}
|
36
|
-
|
37
|
-
&::-webkit-scrollbar-thumb { background-color: rosybrown; }
|
31
|
+
&::-webkit-scrollbar {
|
32
|
+
width:8px;
|
33
|
+
background-color:#ddd;
|
38
34
|
}
|
35
|
+
&::-webkit-scrollbar-thumb { background-color:rosybrown; }
|
36
|
+
}
|
39
37
|
|
40
|
-
|
38
|
+
&.active{ display:flex; }
|
41
39
|
}
|
42
40
|
|
43
41
|
.wave {
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
42
|
+
background:rgba(253, 177, 55, 0.5);
|
43
|
+
border-radius:0 0 250% 250%;
|
44
|
+
position:fixed;
|
45
|
+
width:200%;
|
46
|
+
height:12rem;
|
47
|
+
animation:wave 10s -3s linear infinite;
|
48
|
+
transform:translate3d(0, 0, 0);
|
49
|
+
opacity:0.75;
|
50
|
+
top:0;
|
51
|
+
left:0;
|
52
|
+
z-index:-1;
|
55
53
|
}
|
56
|
-
|
57
54
|
.wave:nth-of-type(2) {
|
58
|
-
|
59
|
-
|
60
|
-
|
55
|
+
top:-1.5em;
|
56
|
+
animation:wave 18s linear reverse infinite;
|
57
|
+
opacity:0.75;
|
61
58
|
}
|
62
|
-
|
63
59
|
.wave:nth-of-type(3) {
|
64
|
-
|
65
|
-
|
66
|
-
|
60
|
+
top:-3em;
|
61
|
+
animation:wave 20s -1s reverse infinite;
|
62
|
+
opacity:0.875;
|
67
63
|
}
|
68
64
|
|
69
65
|
@keyframes wave {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
75% { transform: translateX(-25%); }
|
77
|
-
|
78
|
-
100% { transform: translateX(1); }
|
66
|
+
2% { transform:translateX(1); }
|
67
|
+
25% { transform:translateX(-25%); }
|
68
|
+
50% { transform:translateX(-50%); }
|
69
|
+
75% { transform:translateX(-25%); }
|
70
|
+
100% { transform:translateX(1); }
|
79
71
|
}
|
80
72
|
|
81
73
|
.search-box {
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
74
|
+
margin:auto;
|
75
|
+
margin-top:2rem;
|
76
|
+
|
77
|
+
mark {
|
78
|
+
margin-bottom:1rem;
|
79
|
+
color:#fff !important;
|
80
|
+
opacity:0.8;
|
81
|
+
font-size:1.5rem;
|
82
|
+
font-weight:200;
|
83
|
+
display:block;
|
84
|
+
}
|
85
|
+
|
86
|
+
input {
|
87
|
+
font-size:1.25rem;
|
88
|
+
padding:8px;
|
89
|
+
border:2px solid #aaa;
|
90
|
+
background:none;
|
91
|
+
}
|
100
92
|
}
|
101
93
|
|
102
94
|
.input-box {
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
fill: #fff !important;
|
135
|
-
width: 14px;
|
136
|
-
}
|
95
|
+
position:relative;
|
96
|
+
|
97
|
+
&:before,
|
98
|
+
&:after {
|
99
|
+
content:"";
|
100
|
+
position:absolute;
|
101
|
+
width:100%;
|
102
|
+
height:100%;
|
103
|
+
top:0;
|
104
|
+
left:0;
|
105
|
+
z-index:-1;
|
106
|
+
}
|
107
|
+
&:before { background:#fff; }
|
108
|
+
&:after { background-image:url('/assets/img/tile.png'); }
|
109
|
+
|
110
|
+
button {
|
111
|
+
position:absolute;
|
112
|
+
display:none;
|
113
|
+
cursor:pointer;
|
114
|
+
top:0;
|
115
|
+
right:8px;
|
116
|
+
width:22px;
|
117
|
+
aspect-ratio:1.0;
|
118
|
+
border-radius:50%;
|
119
|
+
transform:translateY(50%);
|
120
|
+
font-size:14px;
|
121
|
+
background:slategrey !important;
|
122
|
+
|
123
|
+
svg {
|
124
|
+
fill:#fff !important;
|
125
|
+
width:14px;
|
137
126
|
}
|
127
|
+
}
|
138
128
|
}
|
139
129
|
|
140
130
|
.result-item {
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
}
|
154
|
-
|
155
|
-
th { font-size: 1rem; }
|
156
|
-
|
157
|
-
td { font-size: 0.875rem; }
|
158
|
-
|
159
|
-
svg {
|
160
|
-
background-color: darkslategrey;
|
161
|
-
mask-repeat: no-repeat;
|
162
|
-
display: inline-flex;
|
163
|
-
width: 14px;
|
164
|
-
margin-right: 8px;
|
165
|
-
transform: translateY(2px);
|
166
|
-
}
|
167
|
-
|
168
|
-
.ico-book {
|
169
|
-
background-color: dodgerblue !important;
|
170
|
-
-webkit-mask-image: url(/assets/img/icon/book-solid.svg);
|
171
|
-
mask-image: url(/assets/img/icon/book-solid.svg);
|
172
|
-
}
|
173
|
-
|
174
|
-
.ico-folder {
|
175
|
-
-webkit-mask-image: url(/assets/img/icon/folder-open-regular.svg);
|
176
|
-
mask-image: url(/assets/img/icon/folder-open-regular.svg);
|
177
|
-
}
|
178
|
-
|
179
|
-
.ico-tags {
|
180
|
-
-webkit-mask-image: url(/assets/img/icon/tags-solid.svg);
|
181
|
-
mask-image: url(/assets/img/icon/tags-solid.svg);
|
182
|
-
}
|
183
|
-
|
184
|
-
.ico-calendar {
|
185
|
-
-webkit-mask-image: url(/assets/img/icon/calendar-days-regular.svg);
|
186
|
-
mask-image: url(/assets/img/icon/calendar-days-regular.svg);
|
187
|
-
}
|
188
|
-
|
189
|
-
th .ico-folder { background-color: mediumseagreen !important; }
|
190
|
-
|
191
|
-
.ico-book, th .ico-folder { width: 18px; }
|
131
|
+
list-style:none;
|
132
|
+
text-align:justify;
|
133
|
+
padding:8px;
|
134
|
+
border:1px solid #aaa;
|
135
|
+
background:#fff;
|
136
|
+
|
137
|
+
&:hover { background:#ffe7a0; }
|
138
|
+
|
139
|
+
table {
|
140
|
+
th, td {
|
141
|
+
text-align:left;
|
142
|
+
vertical-align:top;
|
192
143
|
}
|
193
|
-
|
194
|
-
.
|
195
|
-
|
196
|
-
|
144
|
+
th { font-size:1rem; }
|
145
|
+
td { font-size:0.875rem; }
|
146
|
+
|
147
|
+
svg {
|
148
|
+
background-color:darkslategrey;
|
149
|
+
mask-repeat:no-repeat;
|
150
|
+
display:inline-flex;
|
151
|
+
width:14px;
|
152
|
+
margin-right:8px;
|
153
|
+
transform:translateY(2px);
|
154
|
+
}
|
155
|
+
.ico-book {
|
156
|
+
background-color:dodgerblue !important;
|
157
|
+
-webkit-mask-image:url(/assets/img/icon/book-solid.svg);
|
158
|
+
mask-image:url(/assets/img/icon/book-solid.svg);
|
159
|
+
}
|
160
|
+
.ico-folder {
|
161
|
+
-webkit-mask-image:url(/assets/img/icon/folder-open-regular.svg);
|
162
|
+
mask-image:url(/assets/img/icon/folder-open-regular.svg);
|
197
163
|
}
|
164
|
+
.ico-tags {
|
165
|
+
-webkit-mask-image:url(/assets/img/icon/tags-solid.svg);
|
166
|
+
mask-image:url(/assets/img/icon/tags-solid.svg);
|
167
|
+
}
|
168
|
+
.ico-calendar {
|
169
|
+
-webkit-mask-image:url(/assets/img/icon/calendar-days-regular.svg);
|
170
|
+
mask-image:url(/assets/img/icon/calendar-days-regular.svg);
|
171
|
+
}
|
172
|
+
.ico-book, th .ico-folder { width:18px; }
|
173
|
+
th .ico-folder { background-color:mediumseagreen !important; }
|
174
|
+
}
|
175
|
+
|
176
|
+
.highlight {
|
177
|
+
font-weight:900;
|
178
|
+
color:yellowgreen !important;
|
179
|
+
}
|
198
180
|
}
|
199
181
|
|
200
182
|
@include mq(tablet) {
|
201
|
-
#search {
|
202
|
-
ul, input { width: 40rem; }
|
203
183
|
|
204
|
-
|
205
|
-
|
184
|
+
#search {
|
185
|
+
ul, input { width:40rem; }
|
186
|
+
ul {
|
187
|
+
div { font-size:1.125rem; }
|
188
|
+
i { margin-right:1rem; }
|
189
|
+
}
|
190
|
+
}
|
206
191
|
|
207
|
-
|
208
|
-
|
209
|
-
}
|
192
|
+
.search-box {
|
193
|
+
margin-top:4rem;
|
210
194
|
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
margin-bottom: 2rem;
|
217
|
-
}
|
218
|
-
}
|
195
|
+
mark {
|
196
|
+
font-size:2.5rem;
|
197
|
+
margin-bottom:2rem;
|
198
|
+
}
|
199
|
+
}
|
219
200
|
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
201
|
+
.search-box input {
|
202
|
+
font-size:2rem;
|
203
|
+
padding:1rem;
|
204
|
+
width:40rem;
|
205
|
+
}
|
225
206
|
|
226
|
-
|
227
|
-
|
228
|
-
|
207
|
+
.input-box button {
|
208
|
+
width:36px;
|
209
|
+
right:16px;
|
229
210
|
|
230
|
-
|
231
|
-
|
211
|
+
svg { width:20px; }
|
212
|
+
}
|
232
213
|
|
233
|
-
|
234
|
-
|
214
|
+
.result-item {
|
215
|
+
padding:1rem;
|
235
216
|
|
236
|
-
|
237
|
-
|
217
|
+
table {
|
218
|
+
th { font-size:1.25rem; }
|
219
|
+
td { font-size:1rem; }
|
238
220
|
|
239
|
-
|
221
|
+
svg { width:16px; }
|
240
222
|
|
241
|
-
|
223
|
+
.ico-book, th .ico-folder { width:20px; }
|
224
|
+
}
|
242
225
|
|
243
|
-
|
244
|
-
|
226
|
+
.title { font-size:1.25rem; }
|
227
|
+
}
|
245
228
|
|
246
|
-
.title { font-size: 1.25rem; }
|
247
|
-
}
|
248
229
|
}
|