jekyll-theme-panda 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +79 -0
  4. data/_config.yml +72 -0
  5. data/_includes/about/en.md +1 -0
  6. data/_includes/about/zh.md +0 -0
  7. data/_includes/footer.html +80 -0
  8. data/_includes/head.html +81 -0
  9. data/_includes/header.html +158 -0
  10. data/_includes/policy/en.md +1 -0
  11. data/_includes/policy/zh.md +9 -0
  12. data/_includes/search.html +5 -0
  13. data/_includes/toc.html +112 -0
  14. data/_layouts/default.html +9 -0
  15. data/_layouts/forarchive.html +91 -0
  16. data/_layouts/home.html +115 -0
  17. data/_layouts/post.html +117 -0
  18. data/_sass/common.scss +4480 -0
  19. data/_sass/header.scss +622 -0
  20. data/_sass/post.scss +362 -0
  21. data/_sass/syntax.scss +191 -0
  22. data/assets/css/bootstrap.min.css +6 -0
  23. data/assets/css/font-awesome.min.css +4 -0
  24. data/assets/css/styles.scss +6 -0
  25. data/assets/fonts/FontAwesome.otf +0 -0
  26. data/assets/fonts/amarillo/AmarilloUSAF.svg +181 -0
  27. data/assets/fonts/amarillo/AmarilloUSAF.ttf +0 -0
  28. data/assets/fonts/amarillo/AmarilloUSAF.woff +0 -0
  29. data/assets/fonts/amarillo/amarillo-font.css +18 -0
  30. data/assets/fonts/amarillo/amarurgt.eot +0 -0
  31. data/assets/fonts/amarillo/amarurgt.woff2 +0 -0
  32. data/assets/fonts/fontawesome-webfont.eot +0 -0
  33. data/assets/fonts/fontawesome-webfont.svg +2671 -0
  34. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  35. data/assets/fonts/fontawesome-webfont.woff +0 -0
  36. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  37. data/assets/img/banner.gif +0 -0
  38. data/assets/img/logo_Nest.png +0 -0
  39. data/assets/img/switcher.png +0 -0
  40. data/assets/js/archive.min.js +5 -0
  41. data/assets/js/imagesLoaded-3.1.8.js +9434 -0
  42. data/assets/js/imagesLoaded-4.1.4.js +497 -0
  43. data/assets/js/jquery-3.5.1.min.js +2 -0
  44. data/assets/js/mermaid.min.js +31 -0
  45. data/assets/js/script.js +216 -0
  46. data/assets/js/slick.min.js +1 -0
  47. metadata +116 -0
data/_sass/post.scss ADDED
@@ -0,0 +1,362 @@
1
+ #markdown-content li {
2
+ text-transform: none;
3
+ }
4
+
5
+ html {
6
+ --link-color:rgb(0, 112, 201);
7
+ --main-background-color:#FFF;
8
+ --footer-color:#FFF;
9
+ --main-text-color:#000;
10
+ --post-title-color:#282828;
11
+ --message-border-color:#000;
12
+ --author-color:#212529;
13
+ --text:#000;
14
+
15
+ &[data-theme="light"] {
16
+ --link-color:rgb(0, 112, 201);
17
+ --main-background-color:#FFF;
18
+ --footer-color:#FFF;
19
+ --main-text-color:#000;
20
+ --post-title-color:#282828;
21
+ --message-border-color:#000;
22
+ --author-color:#212529;
23
+ --text:#000;
24
+ }
25
+
26
+ &[data-theme="dark"] {
27
+ --link-color:rgb(100, 210, 255);
28
+ --main-background-color:#171717;
29
+ --footer-color:#282828;
30
+ --main-text-color:#FFF;
31
+ --post-title-color:#FFF;
32
+ --message-border-color:#282828;
33
+ --author-color:#FFF;
34
+ --text:#e3e3e3;
35
+ }
36
+ }
37
+
38
+ @media (prefers-color-scheme: dark) {
39
+ html {
40
+ --link-color:rgb(0, 112, 201);
41
+ --main-background-color:#FFF;
42
+ --footer-color:#FFF;
43
+ --main-text-color:#000;
44
+ --post-title-color:#282828;
45
+ --message-border-color:#000;
46
+ --author-color:#212529;
47
+ --text:#000;
48
+ --rect-color:#ECECFF;
49
+
50
+ &[data-theme="light"] {
51
+ --link-color:rgb(0, 112, 201);
52
+ --main-background-color:#FFF;
53
+ --footer-color:#FFF;
54
+ --main-text-color:#000;
55
+ --post-title-color:#282828;
56
+ --message-border-color:#000;
57
+ --author-color:#212529;
58
+ --text:#000;
59
+ --rect-color:#ECECFF;
60
+ }
61
+
62
+ &[data-theme="dark"] {
63
+ --link-color:rgb(100, 210, 255);
64
+ --main-background-color:#171717;
65
+ --footer-color:#282828;
66
+ --main-text-color:#FFF;
67
+ --post-title-color:#FFF;
68
+ --message-border-color:#282828;
69
+ --author-color:#FFF;
70
+ --text:#e3e3e3;
71
+ --rect-color:#282828;
72
+ }
73
+ }
74
+ }
75
+
76
+ /* override mermaid: */
77
+
78
+ .messageText {
79
+ fill: var(--text) !important;
80
+ stroke: none !important;
81
+ }
82
+
83
+ tspan {
84
+ fill: var(--post-title-color) !important;
85
+ }
86
+
87
+ rect.actor {
88
+ fill: var(--rect-color) !important;
89
+ }
90
+
91
+ line {
92
+ stroke: var(--text) !important;
93
+ }
94
+
95
+ .noteText tspan, .labelText {
96
+ fill: #000 !important;
97
+ }
98
+
99
+ g text {
100
+ fill: var(--post-title-color) !important;
101
+ }
102
+
103
+ path {
104
+ stroke: var(--text) !important;
105
+ }
106
+
107
+ /* override mermaid: */
108
+
109
+ div .highlight {
110
+ background: var(--color-background-color);
111
+ }
112
+
113
+ .MathJax_CHTML, #markdown-content h1, h2, h3, h4, h5, h6, .container,.home-message__ttl h1, h2, h3, h4, h5, h6 {
114
+ color: var(--main-text-color) !important;
115
+ }
116
+
117
+ #markdown-content p, th, td, center, li {
118
+ color: var(--text);
119
+ font-family: Segoe UI, SegoeUI, Helvetica Neue, Helvetica, Arial, "PingFang SC", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, sans-serif;
120
+ }
121
+
122
+ .banner .banner-text {
123
+ font-family: AmarilloUSAF !important;
124
+ text-align: center;
125
+ }
126
+
127
+ h1.banner-text {
128
+ font-size: 3rem;
129
+ }
130
+
131
+ p.banner-text {
132
+ font-size: 1.5rem;
133
+ }
134
+
135
+ .banner img {
136
+ &.banner-image {
137
+ object-fit: cover;
138
+ margin-left: 0px;
139
+ }
140
+
141
+ &.warning-image {
142
+ filter: invert(38%) sepia(73%) saturate(3208%) hue-rotate(310deg) brightness(96%) contrast(90%);
143
+ }
144
+ }
145
+
146
+ p {
147
+ color: var(--text);
148
+ margin-top: 1rem;
149
+ margin-bottom: 0;
150
+ }
151
+
152
+ .meta, .fa {
153
+ color: var(--main-text-color);
154
+ }
155
+
156
+ .toc {
157
+ padding-left: 10px !important;
158
+
159
+ /* text-transform: inherit !important; */
160
+
161
+ li {
162
+ a {
163
+ color: var(--link-color);
164
+ text-transform: none;
165
+ }
166
+
167
+ margin-left: 10px;
168
+ }
169
+ }
170
+
171
+ #markdown-content li {
172
+ margin-left: 50px;
173
+ }
174
+
175
+ /*.section-nav is the embedded toc, .sidebar_catelog is the toc in sidebar.*/
176
+ @media screen and (max-width: 1000px) {
177
+ .sidebar_catelog {
178
+ visibility: hidden;
179
+ }
180
+ }
181
+
182
+ .sidebar_catelog {
183
+ /*float: left;*/
184
+ width: auto;
185
+
186
+ /*margin-right: -200px;*/
187
+ padding-right: -200px;
188
+
189
+ a {
190
+ color: black;
191
+
192
+ &:hover {
193
+ background: black;
194
+ color: white;
195
+ }
196
+ }
197
+
198
+ .list-click {
199
+ background: black;
200
+ color: white;
201
+ }
202
+ }
203
+
204
+ .list_click {
205
+ color: white !important;
206
+ background: black;
207
+ transition: all 0.4s;
208
+ }
209
+
210
+ .tag {
211
+ border: 1px var(--main-text-color) solid;
212
+ border-radius: 3px;
213
+ padding: 0 11px;
214
+ color: var(--main-text-color);
215
+ transition: all 0.4s;
216
+
217
+ &:hover {
218
+ border: 1px var(--main-text-color) solid;
219
+ border-radius: 3px;
220
+ padding: 0 11px;
221
+ color: var(--main-background-color);
222
+ background: var(--main-text-color);
223
+ }
224
+ }
225
+
226
+ .edit-button {
227
+ color: black;
228
+ font-size: 1rem;
229
+ }
230
+
231
+ @media screen and (max-width: 768px) {
232
+ img {
233
+ width: 100%;
234
+ }
235
+ }
236
+
237
+ img {
238
+ border: 0;
239
+ max-width: 650px;
240
+ overflow: hidden;
241
+ margin-left: auto;
242
+ margin-right: auto;
243
+ display: block;
244
+
245
+ /*width:expression(this.width > 650 ? 650 : "auto");*/
246
+ /*width:auto;*/
247
+ }
248
+
249
+ table {
250
+ margin-bottom: 5px;
251
+ width: 100%;
252
+ text-align: center;
253
+ border-collapse: collapse;
254
+ border: 1px solid grey;
255
+ }
256
+
257
+ th {
258
+ background-color: lighten grey;
259
+ border: 1px solid darken grey;
260
+ border-bottom-color: darken grey;
261
+ }
262
+
263
+ td {
264
+ border: 1px solid grey;
265
+ }
266
+
267
+ /* CSS FOR ARCHIVE */
268
+
269
+ .tag-button--all {
270
+ padding: 2px;
271
+ border: 1px var(--main-text-color) solid;
272
+ border-radius: 3px;
273
+ padding: 0 11px;
274
+ color: var(--main-text-color);
275
+ margin: 10px;
276
+ text-decoration: none;
277
+
278
+ &:hover {
279
+ margin: 10px;
280
+ border: 1px var(--main-text-color) solid;
281
+ border-radius: 3px;
282
+ padding: 0 11px;
283
+ color: var(--main-background-color);
284
+ background: var(--main-text-color);
285
+ }
286
+ }
287
+
288
+ #tag_cloud .tag-button {
289
+ padding: 2px;
290
+ margin: 10px;
291
+ border: 1px var(--main-text-color) solid;
292
+ border-radius: 3px;
293
+ padding: 0 11px;
294
+ color: var(--main-text-color);
295
+
296
+ &:hover {
297
+ margin: 10px;
298
+ border: 1px var(--main-text-color) solid;
299
+ border-radius: 3px;
300
+ padding: 0 11px;
301
+ color: var(--main-background-color);
302
+ background: var(--main-text-color);
303
+ }
304
+ }
305
+
306
+ .post-subtitle {
307
+ font-size: 18px;
308
+ color: var(--text) !important;
309
+ line-height: 1.75;
310
+ }
311
+
312
+ .post-title {
313
+ /* color: #282828; */
314
+ font-size: 20px;
315
+ line-height: 1;
316
+ font-weight: 500;
317
+ letter-spacing: 0.05em;
318
+ }
319
+
320
+ .tag-text {
321
+ font-size: 22px;
322
+ color: black;
323
+ float: center;
324
+ }
325
+
326
+ .focus {
327
+ color: var(--main-background-color) !important;
328
+ background: var(--main-text-color);
329
+ }
330
+
331
+ .emoji {
332
+ display: inline;
333
+ width: auto;
334
+ }
335
+
336
+ blockquote {
337
+ border-left: 10px solid var(--text);
338
+ border-bottom: 2px solid var(--text);
339
+ margin: 1.5em 10px;
340
+ color: var(--text) !important;
341
+ padding: 0.5em 10px;
342
+ quotes: "“" "”" "‘" "’";
343
+ margin-left: 20px !important;
344
+ margin-right: 20px !important;
345
+
346
+ &:before {
347
+ color: var(--post-title-color);
348
+ content: open-quote;
349
+ font-size: 4em;
350
+ line-height: 0.1em;
351
+ margin-right: 0.25em;
352
+ vertical-align: -0.4em;
353
+ }
354
+
355
+ p {
356
+ display: inline;
357
+ }
358
+ }
359
+
360
+ .MathJax_Display {
361
+ color: var(--text) !important;
362
+ }
data/_sass/syntax.scss ADDED
@@ -0,0 +1,191 @@
1
+ .highlight {
2
+ table {
3
+ td {
4
+ padding: 5px;
5
+ }
6
+
7
+ pre {
8
+ margin: 0;
9
+ }
10
+ }
11
+
12
+ .cm {
13
+ color: #999988;
14
+ font-style: italic;
15
+ }
16
+ }
17
+
18
+ div .highlight {
19
+ -webkit-box-shadow: 10px 10px 5px rgba(71, 71, 71, 0.2);
20
+ -moz-box-shadow: 10px 10px 5px rgba(71, 71, 71, 0.2);
21
+ box-shadow: 10px 10px 5px rgba(71, 71, 71, 0.2);
22
+ background: #e9e8e8;
23
+ }
24
+
25
+ .highlight {
26
+ .cp {
27
+ color: #999999;
28
+ font-weight: bold;
29
+ }
30
+
31
+ .c1 {
32
+ color: #999988;
33
+ font-style: italic;
34
+ }
35
+
36
+ .cs {
37
+ color: #999999;
38
+ font-weight: bold;
39
+ font-style: italic;
40
+ }
41
+
42
+ .c, .ch, .cd, .cpf {
43
+ color: #999988;
44
+ font-style: italic;
45
+ }
46
+
47
+ .err {
48
+ color: #a61717;
49
+ background-color: #e3d2d2;
50
+ }
51
+
52
+ .gd {
53
+ color: #000000;
54
+ background-color: #ffdddd;
55
+ }
56
+
57
+ .ge {
58
+ color: #000000;
59
+ font-style: italic;
60
+ }
61
+
62
+ .gr {
63
+ color: #aa0000;
64
+ }
65
+
66
+ .gh {
67
+ color: #999999;
68
+ }
69
+
70
+ .gi {
71
+ color: #000000;
72
+ background-color: #ddffdd;
73
+ }
74
+
75
+ .go {
76
+ color: #888888;
77
+ }
78
+
79
+ .gp {
80
+ color: #555555;
81
+ }
82
+
83
+ .gs {
84
+ font-weight: bold;
85
+ }
86
+
87
+ .gu {
88
+ color: #aaaaaa;
89
+ }
90
+
91
+ .gt {
92
+ color: #aa0000;
93
+ }
94
+
95
+ .kc, .kd, .kn, .kp, .kr {
96
+ color: #000000;
97
+ font-weight: bold;
98
+ }
99
+
100
+ .kt {
101
+ color: #445588;
102
+ font-weight: bold;
103
+ }
104
+
105
+ .k, .kv {
106
+ color: #000000;
107
+ font-weight: bold;
108
+ }
109
+
110
+ .mf, .mh, .il, .mi, .mo, .m, .mb, .mx {
111
+ color: #009999;
112
+ }
113
+
114
+ .sb, .sc, .sd, .s2, .se, .sh, .si, .sx {
115
+ color: #d14;
116
+ }
117
+
118
+ .sr {
119
+ color: #009926;
120
+ }
121
+
122
+ .s1 {
123
+ color: #d14;
124
+ }
125
+
126
+ .ss {
127
+ color: #990073;
128
+ }
129
+
130
+ .s, .sa, .dl {
131
+ color: #d14;
132
+ }
133
+
134
+ .na {
135
+ color: #008080;
136
+ }
137
+
138
+ .bp {
139
+ color: #999999;
140
+ }
141
+
142
+ .nb {
143
+ color: #0086B3;
144
+ }
145
+
146
+ .nc {
147
+ color: #445588;
148
+ font-weight: bold;
149
+ }
150
+
151
+ .no {
152
+ color: #008080;
153
+ }
154
+
155
+ .nd {
156
+ color: #3c5d5d;
157
+ font-weight: bold;
158
+ }
159
+
160
+ .ni {
161
+ color: #800080;
162
+ }
163
+
164
+ .ne, .nf, .fm, .nl {
165
+ color: #990000;
166
+ font-weight: bold;
167
+ }
168
+
169
+ .nn {
170
+ color: #555555;
171
+ }
172
+
173
+ .nt {
174
+ color: #000080;
175
+ }
176
+
177
+ .vc, .vg, .vi, .nv, .vm {
178
+ color: #008080;
179
+ }
180
+
181
+ .ow, .o {
182
+ color: #000000;
183
+ font-weight: bold;
184
+ }
185
+
186
+ .w {
187
+ color: #bbbbbb;
188
+ }
189
+
190
+ background-color: #f8f8f8;
191
+ }