jekyll-theme-abd3lraouf 5.2.6 → 5.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -21
  3. data/README.md +105 -105
  4. data/_data/assets/cross_origin.yml +62 -62
  5. data/_data/assets/self_host.yml +51 -51
  6. data/_data/authors.yml +17 -17
  7. data/_data/contact.yml +30 -30
  8. data/_data/locales/bg-BG.yml +83 -83
  9. data/_data/locales/en.yml +83 -83
  10. data/_data/locales/es-ES.yml +79 -79
  11. data/_data/locales/fr-FR.yml +79 -79
  12. data/_data/locales/hu-HU.yml +81 -81
  13. data/_data/locales/id-ID.yml +79 -79
  14. data/_data/locales/ko-KR.yml +79 -79
  15. data/_data/locales/my-MM.yml +79 -79
  16. data/_data/locales/pt-BR.yml +79 -79
  17. data/_data/locales/ru-RU.yml +79 -79
  18. data/_data/locales/tr-TR.yml +79 -79
  19. data/_data/locales/uk-UA.yml +79 -79
  20. data/_data/locales/vi-VN.yml +77 -77
  21. data/_data/locales/zh-CN.yml +78 -78
  22. data/_data/share.yml +27 -27
  23. data/_includes/assets-origin.html +12 -12
  24. data/_includes/comments/disqus.html +54 -54
  25. data/_includes/comments/giscus.html +56 -56
  26. data/_includes/comments/utterances.html +51 -51
  27. data/_includes/comments.html +5 -5
  28. data/_includes/datetime.html +21 -21
  29. data/_includes/favicons.html +17 -17
  30. data/_includes/footer.html +17 -36
  31. data/_includes/google-analytics.html +14 -14
  32. data/_includes/head.html +116 -116
  33. data/_includes/js-selector.html +104 -104
  34. data/_includes/jsdelivr-combine.html +32 -32
  35. data/_includes/lang.html +8 -8
  36. data/_includes/language-alias.html +70 -70
  37. data/_includes/mermaid.html +57 -57
  38. data/_includes/mode-toggle.html +129 -129
  39. data/_includes/no-linenos.html +10 -10
  40. data/_includes/post-nav.html +30 -30
  41. data/_includes/post-paginator.html +88 -88
  42. data/_includes/post-sharing.html +27 -27
  43. data/_includes/read-time.html +30 -30
  44. data/_includes/refactor-content.html +282 -282
  45. data/_includes/related-posts.html +103 -103
  46. data/_includes/search-loader.html +46 -46
  47. data/_includes/search-results.html +11 -11
  48. data/_includes/sidebar.html +93 -93
  49. data/_includes/toc.html +16 -16
  50. data/_includes/topbar.html +70 -70
  51. data/_includes/trending-tags.html +50 -50
  52. data/_includes/update-list.html +40 -40
  53. data/_layouts/archives.html +48 -48
  54. data/_layouts/categories.html +120 -120
  55. data/_layouts/category.html +24 -24
  56. data/_layouts/compress.html +10 -10
  57. data/_layouts/default.html +74 -74
  58. data/_layouts/home.html +103 -103
  59. data/_layouts/page.html +64 -64
  60. data/_layouts/post.html +159 -159
  61. data/_layouts/tag.html +23 -23
  62. data/_layouts/tags.html +23 -23
  63. data/_plugins/posts-lastmod-hook.rb +14 -14
  64. data/_sass/addon/commons.scss +1694 -1680
  65. data/_sass/addon/module.scss +151 -151
  66. data/_sass/addon/syntax.scss +289 -289
  67. data/_sass/addon/variables.scss +34 -34
  68. data/_sass/colors/dark-syntax.scss +88 -88
  69. data/_sass/colors/dark-typography.scss +157 -157
  70. data/_sass/colors/light-syntax.scss +84 -84
  71. data/_sass/colors/light-typography.scss +94 -94
  72. data/_sass/layout/archives.scss +147 -147
  73. data/_sass/layout/categories.scss +67 -67
  74. data/_sass/layout/category-tag.scss +73 -73
  75. data/_sass/layout/home.scss +184 -184
  76. data/_sass/layout/post.scss +369 -369
  77. data/_sass/layout/tags.scss +19 -19
  78. data/_sass/variables-hook.scss +3 -3
  79. data/_tabs/about.md +8 -8
  80. data/_tabs/archives.md +7 -7
  81. data/_tabs/categories.md +6 -6
  82. data/_tabs/tags.md +6 -6
  83. data/assets/404.html +69 -16
  84. data/assets/css/style.scss +12 -12
  85. data/assets/feed.xml +61 -61
  86. data/assets/img/404.png +0 -0
  87. data/assets/img/favicons/browserconfig.xml +13 -13
  88. data/assets/img/favicons/site.webmanifest +26 -26
  89. data/assets/js/data/search.json +18 -18
  90. data/assets/js/data/swcache.js +55 -55
  91. data/assets/js/pwa/app.js +47 -47
  92. data/assets/js/pwa/sw.js +89 -89
  93. data/assets/js/pwa/unregister.js +12 -12
  94. data/assets/robots.txt +10 -10
  95. data/index.html +4 -4
  96. metadata +8 -7
@@ -1,289 +1,289 @@
1
- /*
2
- * The syntax highlight.
3
- */
4
-
5
- @import "colors/light-syntax";
6
- @import "colors/dark-syntax";
7
-
8
- html {
9
- @media (prefers-color-scheme: light) {
10
- &:not([data-mode]),
11
- &[data-mode=light] {
12
- @include light-syntax;
13
- }
14
-
15
- &[data-mode=dark] {
16
- @include dark-syntax;
17
- }
18
- }
19
-
20
- @media (prefers-color-scheme: dark) {
21
- &:not([data-mode]),
22
- &[data-mode=dark] {
23
- @include dark-syntax;
24
- }
25
-
26
- &[data-mode=light] {
27
- @include light-syntax;
28
- }
29
- }
30
- }
31
-
32
- /* -- Codes Snippet -- */
33
-
34
- $code-radius: 6px;
35
-
36
- %code-snippet-bg {
37
- background: var(--highlight-bg-color);
38
- }
39
-
40
- %code-snippet-radius {
41
- border-radius: $code-radius;
42
- }
43
-
44
- %code-snippet-padding {
45
- padding-left: 1rem;
46
- padding-right: 1.5rem;
47
- }
48
-
49
- .highlighter-rouge {
50
- @extend %code-snippet-bg;
51
- @extend %code-snippet-radius;
52
-
53
- color: var(--highlighter-rouge-color);
54
- margin-top: 0.5rem;
55
- margin-bottom: 1.2em; /* Override BS Inline-code style */
56
- }
57
-
58
- .highlight {
59
- @extend %code-snippet-radius;
60
- @extend %code-snippet-bg;
61
-
62
- @at-root figure#{&} {
63
- @extend %code-snippet-bg;
64
- }
65
-
66
- overflow: auto;
67
- padding-top: 0.5rem;
68
- padding-bottom: 1rem;
69
-
70
- pre {
71
- margin-bottom: 0;
72
- font-size: $code-font-size;
73
- line-height: 1.4rem;
74
- word-wrap: normal; /* Fixed Safari overflow-x */
75
- }
76
-
77
- table {
78
- td pre {
79
- overflow: visible; /* Fixed iOS safari overflow-x */
80
- word-break: normal; /* Fixed iOS safari linenos code break */
81
- }
82
- }
83
-
84
- .lineno {
85
- padding-right: 0.5rem;
86
- min-width: 2.2rem;
87
- text-align: right;
88
- color: var(--highlight-lineno-color);
89
- -webkit-user-select: none;
90
- -khtml-user-select: none;
91
- -moz-user-select: none;
92
- -ms-user-select: none;
93
- -o-user-select: none;
94
- user-select: none;
95
- }
96
-
97
- /* set the dollar sign to non-selectable */
98
- .gp {
99
- user-select: none;
100
- }
101
-
102
- } /* .highlight */
103
-
104
- code {
105
- -webkit-hyphens: none;
106
- -ms-hyphens: none;
107
- -moz-hyphens: none;
108
- hyphens: none;
109
-
110
- &.highlighter-rouge {
111
- font-size: $code-font-size;
112
- padding: 3px 5px;
113
- word-break: break-word;
114
- border-radius: 4px;
115
- background-color: var(--inline-code-bg);
116
- }
117
-
118
- &.filepath {
119
- background-color: inherit;
120
- color: var(--filepath-text-color);
121
- font-weight: 600;
122
- padding: 0;
123
- }
124
-
125
- a > &.highlighter-rouge {
126
- padding-bottom: 0; /* show link's underlinke */
127
- color: inherit;
128
- }
129
-
130
- a:hover > &.highlighter-rouge {
131
- border-bottom: none;
132
- }
133
-
134
- blockquote & {
135
- color: inherit;
136
- }
137
-
138
- .highlight > & {
139
- color: transparent;
140
- }
141
- }
142
-
143
- td.rouge-code {
144
- @extend %code-snippet-padding;
145
-
146
- /*
147
- Prevent some browser extends from
148
- changing the URL string of code block.
149
- */
150
- a {
151
- color: inherit !important;
152
- border-bottom: none !important;
153
- pointer-events: none;
154
- }
155
-
156
- }
157
-
158
- /* Hide line numbers for default, console, and terminal code snippets */
159
- div {
160
- &[class^='highlighter-rouge'],
161
- &.language-plaintext.highlighter-rouge,
162
- &.language-console.highlighter-rouge,
163
- &.language-terminal.highlighter-rouge,
164
- &.nolineno {
165
- pre.lineno {
166
- display: none;
167
- }
168
-
169
- td.rouge-code {
170
- padding-left: 1.5rem;
171
- }
172
- }
173
- }
174
-
175
- .code-header {
176
- @extend %no-cursor;
177
-
178
- $code-header-height: 2.25rem;
179
-
180
- border-top-left-radius: $code-radius;
181
- border-top-right-radius: $code-radius;
182
- display: flex;
183
- justify-content: space-between;
184
- align-items: center;
185
- height: $code-header-height;
186
-
187
- &::before {
188
- $dot-size: 0.75rem;
189
- $dot-margin: 0.5rem;
190
-
191
- content: "";
192
- display: inline-block;
193
- margin-left: 1rem;
194
- width: $dot-size;
195
- height: $dot-size;
196
- border-radius: 50%;
197
- background-color: var(--code-header-muted-color);
198
- box-shadow:
199
- ($dot-size + $dot-margin) 0 0 var(--code-header-muted-color),
200
- ($dot-size + $dot-margin) * 2 0 0 var(--code-header-muted-color);
201
- }
202
-
203
- /* the label block */
204
- span {
205
- /* label icon */
206
- i {
207
- font-size: 1rem;
208
- margin-right: 0.4rem;
209
- color: var(--code-header-icon-color);
210
-
211
- &.small {
212
- font-size: 70%;
213
- }
214
- }
215
-
216
- @at-root [file] #{&} > i {
217
- position: relative;
218
- top: 1px; /* center the file icon */
219
- }
220
-
221
- /* label text */
222
- &::after {
223
- content: attr(data-label-text);
224
- font-size: 0.85rem;
225
- font-weight: 600;
226
- color: var(--code-header-text-color);
227
- }
228
- }
229
-
230
- /* clipboard */
231
- button {
232
- @extend %cursor-pointer;
233
-
234
- border: 1px solid transparent;
235
- border-radius: $code-radius;
236
- height: $code-header-height;
237
- width: $code-header-height;
238
- padding: 0;
239
- background-color: inherit;
240
-
241
- i {
242
- color: var(--code-header-icon-color);
243
- }
244
-
245
- &[timeout] {
246
- &:hover {
247
- border-color: var(--clipboard-checked-color);
248
- }
249
-
250
- i {
251
- color: var(--clipboard-checked-color);
252
- }
253
- }
254
-
255
- &:not([timeout]):hover {
256
- background-color: rgba(128, 128, 128, 0.37);
257
-
258
- i {
259
- color: white;
260
- }
261
- }
262
-
263
- &:focus {
264
- outline: none;
265
- }
266
-
267
- }
268
-
269
- }
270
-
271
- @media all and (max-width: 576px) {
272
- .post-content {
273
- > div[class^='language-'] {
274
- @include ml-mr(-1.25rem);
275
-
276
- border-radius: 0;
277
-
278
- .highlight {
279
- padding-left: 0.25rem;
280
- }
281
-
282
- .code-header {
283
- border-radius: 0;
284
- padding-left: 0.4rem;
285
- padding-right: 0.5rem;
286
- }
287
- }
288
- }
289
- }
1
+ /*
2
+ * The syntax highlight.
3
+ */
4
+
5
+ @import "colors/light-syntax";
6
+ @import "colors/dark-syntax";
7
+
8
+ html {
9
+ @media (prefers-color-scheme: light) {
10
+ &:not([data-mode]),
11
+ &[data-mode=light] {
12
+ @include light-syntax;
13
+ }
14
+
15
+ &[data-mode=dark] {
16
+ @include dark-syntax;
17
+ }
18
+ }
19
+
20
+ @media (prefers-color-scheme: dark) {
21
+ &:not([data-mode]),
22
+ &[data-mode=dark] {
23
+ @include dark-syntax;
24
+ }
25
+
26
+ &[data-mode=light] {
27
+ @include light-syntax;
28
+ }
29
+ }
30
+ }
31
+
32
+ /* -- Codes Snippet -- */
33
+
34
+ $code-radius: 6px;
35
+
36
+ %code-snippet-bg {
37
+ background: var(--highlight-bg-color);
38
+ }
39
+
40
+ %code-snippet-radius {
41
+ border-radius: $code-radius;
42
+ }
43
+
44
+ %code-snippet-padding {
45
+ padding-left: 1rem;
46
+ padding-right: 1.5rem;
47
+ }
48
+
49
+ .highlighter-rouge {
50
+ @extend %code-snippet-bg;
51
+ @extend %code-snippet-radius;
52
+
53
+ color: var(--highlighter-rouge-color);
54
+ margin-top: 0.5rem;
55
+ margin-bottom: 1.2em; /* Override BS Inline-code style */
56
+ }
57
+
58
+ .highlight {
59
+ @extend %code-snippet-radius;
60
+ @extend %code-snippet-bg;
61
+
62
+ @at-root figure#{&} {
63
+ @extend %code-snippet-bg;
64
+ }
65
+
66
+ overflow: auto;
67
+ padding-top: 0.5rem;
68
+ padding-bottom: 1rem;
69
+
70
+ pre {
71
+ margin-bottom: 0;
72
+ font-size: $code-font-size;
73
+ line-height: 1.4rem;
74
+ word-wrap: normal; /* Fixed Safari overflow-x */
75
+ }
76
+
77
+ table {
78
+ td pre {
79
+ overflow: visible; /* Fixed iOS safari overflow-x */
80
+ word-break: normal; /* Fixed iOS safari linenos code break */
81
+ }
82
+ }
83
+
84
+ .lineno {
85
+ padding-right: 0.5rem;
86
+ min-width: 2.2rem;
87
+ text-align: right;
88
+ color: var(--highlight-lineno-color);
89
+ -webkit-user-select: none;
90
+ -khtml-user-select: none;
91
+ -moz-user-select: none;
92
+ -ms-user-select: none;
93
+ -o-user-select: none;
94
+ user-select: none;
95
+ }
96
+
97
+ /* set the dollar sign to non-selectable */
98
+ .gp {
99
+ user-select: none;
100
+ }
101
+
102
+ } /* .highlight */
103
+
104
+ code {
105
+ -webkit-hyphens: none;
106
+ -ms-hyphens: none;
107
+ -moz-hyphens: none;
108
+ hyphens: none;
109
+
110
+ &.highlighter-rouge {
111
+ font-size: $code-font-size;
112
+ padding: 3px 5px;
113
+ word-break: break-word;
114
+ border-radius: 4px;
115
+ background-color: var(--inline-code-bg);
116
+ }
117
+
118
+ &.filepath {
119
+ background-color: inherit;
120
+ color: var(--filepath-text-color);
121
+ font-weight: 600;
122
+ padding: 0;
123
+ }
124
+
125
+ a > &.highlighter-rouge {
126
+ padding-bottom: 0; /* show link's underlinke */
127
+ color: inherit;
128
+ }
129
+
130
+ a:hover > &.highlighter-rouge {
131
+ border-bottom: none;
132
+ }
133
+
134
+ blockquote & {
135
+ color: inherit;
136
+ }
137
+
138
+ .highlight > & {
139
+ color: transparent;
140
+ }
141
+ }
142
+
143
+ td.rouge-code {
144
+ @extend %code-snippet-padding;
145
+
146
+ /*
147
+ Prevent some browser extends from
148
+ changing the URL string of code block.
149
+ */
150
+ a {
151
+ color: inherit !important;
152
+ border-bottom: none !important;
153
+ pointer-events: none;
154
+ }
155
+
156
+ }
157
+
158
+ /* Hide line numbers for default, console, and terminal code snippets */
159
+ div {
160
+ &[class^='highlighter-rouge'],
161
+ &.language-plaintext.highlighter-rouge,
162
+ &.language-console.highlighter-rouge,
163
+ &.language-terminal.highlighter-rouge,
164
+ &.nolineno {
165
+ pre.lineno {
166
+ display: none;
167
+ }
168
+
169
+ td.rouge-code {
170
+ padding-left: 1.5rem;
171
+ }
172
+ }
173
+ }
174
+
175
+ .code-header {
176
+ @extend %no-cursor;
177
+
178
+ $code-header-height: 2.25rem;
179
+
180
+ border-top-left-radius: $code-radius;
181
+ border-top-right-radius: $code-radius;
182
+ display: flex;
183
+ justify-content: space-between;
184
+ align-items: center;
185
+ height: $code-header-height;
186
+
187
+ &::before {
188
+ $dot-size: 0.75rem;
189
+ $dot-margin: 0.5rem;
190
+
191
+ content: "";
192
+ display: inline-block;
193
+ margin-left: 1rem;
194
+ width: $dot-size;
195
+ height: $dot-size;
196
+ border-radius: 50%;
197
+ background-color: var(--code-header-muted-color);
198
+ box-shadow:
199
+ ($dot-size + $dot-margin) 0 0 var(--code-header-muted-color),
200
+ ($dot-size + $dot-margin) * 2 0 0 var(--code-header-muted-color);
201
+ }
202
+
203
+ /* the label block */
204
+ span {
205
+ /* label icon */
206
+ i {
207
+ font-size: 1rem;
208
+ margin-right: 0.4rem;
209
+ color: var(--code-header-icon-color);
210
+
211
+ &.small {
212
+ font-size: 70%;
213
+ }
214
+ }
215
+
216
+ @at-root [file] #{&} > i {
217
+ position: relative;
218
+ top: 1px; /* center the file icon */
219
+ }
220
+
221
+ /* label text */
222
+ &::after {
223
+ content: attr(data-label-text);
224
+ font-size: 0.85rem;
225
+ font-weight: 600;
226
+ color: var(--code-header-text-color);
227
+ }
228
+ }
229
+
230
+ /* clipboard */
231
+ button {
232
+ @extend %cursor-pointer;
233
+
234
+ border: 1px solid transparent;
235
+ border-radius: $code-radius;
236
+ height: $code-header-height;
237
+ width: $code-header-height;
238
+ padding: 0;
239
+ background-color: inherit;
240
+
241
+ i {
242
+ color: var(--code-header-icon-color);
243
+ }
244
+
245
+ &[timeout] {
246
+ &:hover {
247
+ border-color: var(--clipboard-checked-color);
248
+ }
249
+
250
+ i {
251
+ color: var(--clipboard-checked-color);
252
+ }
253
+ }
254
+
255
+ &:not([timeout]):hover {
256
+ background-color: rgba(128, 128, 128, 0.37);
257
+
258
+ i {
259
+ color: white;
260
+ }
261
+ }
262
+
263
+ &:focus {
264
+ outline: none;
265
+ }
266
+
267
+ }
268
+
269
+ }
270
+
271
+ @media all and (max-width: 576px) {
272
+ .post-content {
273
+ > div[class^='language-'] {
274
+ @include ml-mr(-1.25rem);
275
+
276
+ border-radius: 0;
277
+
278
+ .highlight {
279
+ padding-left: 0.25rem;
280
+ }
281
+
282
+ .code-header {
283
+ border-radius: 0;
284
+ padding-left: 0.4rem;
285
+ padding-right: 0.5rem;
286
+ }
287
+ }
288
+ }
289
+ }
@@ -1,34 +1,34 @@
1
- /*
2
- * The SCSS variables
3
- */
4
-
5
- /* sidebar */
6
-
7
- $sidebar-width: 260px !default; /* the basic width */
8
- $sidebar-width-small: 210px !default; /* screen width: >= 850px, <= 1199px (iPad landscape) */
9
- $sidebar-width-large: 350px !default; /* screen width: >= 1650px */
10
-
11
- /* tabs of sidebar */
12
-
13
- $tab-count: 5 !default; /* backward compatible (version <= 4.0.2) */
14
- $tab-height: 3rem !default;
15
- $tab-cursor-height: 1.6rem !default;
16
-
17
- $cursor-width: 2px !default; /* the cursor width of the selected tab */
18
-
19
- /* other framework sizes */
20
-
21
- $topbar-height: 3rem !default;
22
-
23
- $search-max-width: 210px !default;
24
-
25
- $footer-height: 5rem !default;
26
- $footer-height-mobile: 6rem !default; /* screen width: <= 576px */
27
-
28
- $main-content-max-width: 1250px !default;
29
-
30
- $bottom-min-height: 35rem !default;
31
-
32
- /* syntax highlight */
33
-
34
- $code-font-size: 0.85rem !default;
1
+ /*
2
+ * The SCSS variables
3
+ */
4
+
5
+ /* sidebar */
6
+
7
+ $sidebar-width: 260px !default; /* the basic width */
8
+ $sidebar-width-small: 210px !default; /* screen width: >= 850px, <= 1199px (iPad landscape) */
9
+ $sidebar-width-large: 350px !default; /* screen width: >= 1650px */
10
+
11
+ /* tabs of sidebar */
12
+
13
+ $tab-count: 5 !default; /* backward compatible (version <= 4.0.2) */
14
+ $tab-height: 3rem !default;
15
+ $tab-cursor-height: 1.6rem !default;
16
+
17
+ $cursor-width: 2px !default; /* the cursor width of the selected tab */
18
+
19
+ /* other framework sizes */
20
+
21
+ $topbar-height: 3rem !default;
22
+
23
+ $search-max-width: 210px !default;
24
+
25
+ $footer-height: 5rem !default;
26
+ $footer-height-mobile: 6rem !default; /* screen width: <= 576px */
27
+
28
+ $main-content-max-width: 1250px !default;
29
+
30
+ $bottom-min-height: 35rem !default;
31
+
32
+ /* syntax highlight */
33
+
34
+ $code-font-size: 0.85rem !default;