jekyll-theme-abd3lraouf 5.2.4 → 5.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -21
  3. data/README.md +105 -105
  4. data/_config.yml +207 -206
  5. data/_data/assets/cross_origin.yml +62 -62
  6. data/_data/assets/self_host.yml +51 -51
  7. data/_data/authors.yml +17 -17
  8. data/_data/contact.yml +30 -30
  9. data/_data/locales/bg-BG.yml +83 -83
  10. data/_data/locales/en.yml +83 -83
  11. data/_data/locales/es-ES.yml +79 -79
  12. data/_data/locales/fr-FR.yml +79 -79
  13. data/_data/locales/hu-HU.yml +81 -81
  14. data/_data/locales/id-ID.yml +79 -79
  15. data/_data/locales/ko-KR.yml +79 -79
  16. data/_data/locales/my-MM.yml +79 -79
  17. data/_data/locales/pt-BR.yml +79 -79
  18. data/_data/locales/ru-RU.yml +79 -79
  19. data/_data/locales/tr-TR.yml +79 -79
  20. data/_data/locales/uk-UA.yml +79 -79
  21. data/_data/locales/vi-VN.yml +77 -77
  22. data/_data/locales/zh-CN.yml +78 -78
  23. data/_data/share.yml +27 -27
  24. data/_includes/assets-origin.html +12 -12
  25. data/_includes/comments/disqus.html +54 -54
  26. data/_includes/comments/giscus.html +56 -56
  27. data/_includes/comments/utterances.html +51 -51
  28. data/_includes/comments.html +5 -5
  29. data/_includes/datetime.html +21 -21
  30. data/_includes/favicons.html +17 -17
  31. data/_includes/footer.html +17 -36
  32. data/_includes/google-analytics.html +14 -14
  33. data/_includes/head.html +116 -116
  34. data/_includes/js-selector.html +104 -104
  35. data/_includes/jsdelivr-combine.html +32 -32
  36. data/_includes/lang.html +8 -8
  37. data/_includes/language-alias.html +70 -70
  38. data/_includes/mermaid.html +57 -57
  39. data/_includes/mode-toggle.html +129 -129
  40. data/_includes/no-linenos.html +10 -10
  41. data/_includes/post-nav.html +30 -30
  42. data/_includes/post-paginator.html +88 -88
  43. data/_includes/post-sharing.html +27 -27
  44. data/_includes/read-time.html +30 -30
  45. data/_includes/refactor-content.html +282 -282
  46. data/_includes/related-posts.html +103 -103
  47. data/_includes/search-loader.html +46 -46
  48. data/_includes/search-results.html +11 -11
  49. data/_includes/sidebar.html +93 -93
  50. data/_includes/toc.html +16 -16
  51. data/_includes/topbar.html +70 -70
  52. data/_includes/trending-tags.html +50 -50
  53. data/_includes/update-list.html +40 -40
  54. data/_layouts/archives.html +48 -48
  55. data/_layouts/categories.html +120 -120
  56. data/_layouts/category.html +24 -24
  57. data/_layouts/compress.html +10 -10
  58. data/_layouts/default.html +74 -74
  59. data/_layouts/home.html +103 -103
  60. data/_layouts/page.html +64 -64
  61. data/_layouts/post.html +159 -159
  62. data/_layouts/tag.html +23 -23
  63. data/_layouts/tags.html +23 -23
  64. data/_plugins/posts-lastmod-hook.rb +14 -14
  65. data/_sass/addon/commons.scss +1678 -1680
  66. data/_sass/addon/module.scss +151 -151
  67. data/_sass/addon/syntax.scss +289 -289
  68. data/_sass/addon/variables.scss +34 -34
  69. data/_sass/colors/dark-syntax.scss +88 -88
  70. data/_sass/colors/dark-typography.scss +157 -157
  71. data/_sass/colors/light-syntax.scss +84 -84
  72. data/_sass/colors/light-typography.scss +94 -94
  73. data/_sass/jekyll-theme-abd3lraouf.scss +1 -1
  74. data/_sass/layout/archives.scss +147 -147
  75. data/_sass/layout/categories.scss +67 -67
  76. data/_sass/layout/category-tag.scss +73 -73
  77. data/_sass/layout/home.scss +184 -184
  78. data/_sass/layout/post.scss +369 -369
  79. data/_sass/layout/tags.scss +19 -19
  80. data/_sass/variables-hook.scss +3 -3
  81. data/_tabs/about.md +8 -8
  82. data/_tabs/archives.md +7 -7
  83. data/_tabs/categories.md +6 -6
  84. data/_tabs/tags.md +6 -6
  85. data/assets/404.html +16 -16
  86. data/assets/css/style.scss +12 -12
  87. data/assets/feed.xml +61 -61
  88. data/assets/img/favicons/browserconfig.xml +13 -13
  89. data/assets/img/favicons/site.webmanifest +26 -26
  90. data/assets/js/data/search.json +18 -18
  91. data/assets/js/data/swcache.js +55 -55
  92. data/assets/js/dist/categories.min.js +1 -1
  93. data/assets/js/dist/commons.min.js +1 -1
  94. data/assets/js/dist/home.min.js +1 -1
  95. data/assets/js/dist/misc.min.js +1 -1
  96. data/assets/js/dist/page.min.js +1 -1
  97. data/assets/js/dist/post.min.js +1 -1
  98. data/assets/js/dist/pvreport.min.js +1 -1
  99. data/assets/js/pwa/app.js +47 -47
  100. data/assets/js/pwa/sw.js +89 -89
  101. data/assets/js/pwa/unregister.js +12 -12
  102. data/assets/robots.txt +10 -10
  103. data/index.html +4 -4
  104. metadata +7 -7
@@ -1,67 +1,67 @@
1
- /*
2
- Style for Tab Categories
3
- */
4
-
5
- %category-icon-color {
6
- color: gray;
7
- }
8
-
9
- .categories {
10
- margin-bottom: 2rem;
11
-
12
- .card-header {
13
- padding-right: 12px;
14
- }
15
-
16
- i {
17
- @extend %category-icon-color;
18
-
19
- font-size: 86%; // fontawesome icons
20
- }
21
-
22
- .list-group-item {
23
- border-left: none;
24
- border-right: none;
25
- padding-left: 2rem;
26
-
27
- &:first-child {
28
- border-top-left-radius: 0;
29
- border-top-right-radius: 0;
30
- }
31
-
32
- }
33
-
34
- } // .categories
35
-
36
- .category-trigger {
37
- width: 1.7rem;
38
- height: 1.7rem;
39
- border-radius: 50%;
40
- text-align: center;
41
- color: #6c757d !important;
42
-
43
- &:hover {
44
- i {
45
- color: var(--categories-icon-hover-color);
46
- }
47
- }
48
-
49
- i {
50
- position: relative;
51
- height: 0.7rem;
52
- width: 1rem;
53
- transition: transform 300ms ease;
54
- }
55
- }
56
-
57
- @media (hover: hover) { // only works on desktop
58
- .category-trigger:hover {
59
- background-color: var(--categories-hover-bg);
60
- }
61
- }
62
-
63
- .rotate {
64
- -ms-transform: rotate(-90deg); /* IE 9 */
65
- -webkit-transform: rotate(-90deg); /* Safari 3-8 */
66
- transform: rotate(-90deg);
67
- }
1
+ /*
2
+ Style for Tab Categories
3
+ */
4
+
5
+ %category-icon-color {
6
+ color: gray;
7
+ }
8
+
9
+ .categories {
10
+ margin-bottom: 2rem;
11
+
12
+ .card-header {
13
+ padding-right: 12px;
14
+ }
15
+
16
+ i {
17
+ @extend %category-icon-color;
18
+
19
+ font-size: 86%; // fontawesome icons
20
+ }
21
+
22
+ .list-group-item {
23
+ border-left: none;
24
+ border-right: none;
25
+ padding-left: 2rem;
26
+
27
+ &:first-child {
28
+ border-top-left-radius: 0;
29
+ border-top-right-radius: 0;
30
+ }
31
+
32
+ }
33
+
34
+ } // .categories
35
+
36
+ .category-trigger {
37
+ width: 1.7rem;
38
+ height: 1.7rem;
39
+ border-radius: 50%;
40
+ text-align: center;
41
+ color: #6c757d !important;
42
+
43
+ &:hover {
44
+ i {
45
+ color: var(--categories-icon-hover-color);
46
+ }
47
+ }
48
+
49
+ i {
50
+ position: relative;
51
+ height: 0.7rem;
52
+ width: 1rem;
53
+ transition: transform 300ms ease;
54
+ }
55
+ }
56
+
57
+ @media (hover: hover) { // only works on desktop
58
+ .category-trigger:hover {
59
+ background-color: var(--categories-hover-bg);
60
+ }
61
+ }
62
+
63
+ .rotate {
64
+ -ms-transform: rotate(-90deg); /* IE 9 */
65
+ -webkit-transform: rotate(-90deg); /* Safari 3-8 */
66
+ transform: rotate(-90deg);
67
+ }
@@ -1,73 +1,73 @@
1
- /*
2
- Style for page Category and Tag
3
- */
4
-
5
- .dash {
6
- margin: 0 0.5rem 0.6rem 0.5rem;
7
- border-bottom: 2px dotted var(--dash-color);
8
- }
9
-
10
- #page-category,
11
- #page-tag {
12
- ul > li {
13
- line-height: 1.5rem;
14
- padding: 0.6rem 0;
15
-
16
- &::before { // dot
17
- background: #999;
18
- width: 5px;
19
- height: 5px;
20
- border-radius: 50%;
21
- display: block;
22
- content: "";
23
- position: relative;
24
- top: 0.6rem;
25
- margin-right: 0.5rem;
26
- }
27
-
28
- > a { /* post's title */
29
- @extend %no-bottom-border;
30
-
31
- font-size: 1.1rem;
32
- }
33
-
34
- > span:last-child {
35
- white-space: nowrap;
36
- } /* post's date */
37
- }
38
- }
39
-
40
- #page-tag h1 > i { // tag icon
41
- font-size: 1.2rem;
42
- }
43
-
44
- #page-category h1 > i {
45
- font-size: 1.25rem;
46
- }
47
-
48
- #page-category,
49
- #page-tag,
50
- #access-lastmod {
51
- a:hover {
52
- @extend %link-hover;
53
-
54
- margin-bottom: -1px; // Avoid jumping
55
- }
56
- }
57
-
58
- @media all and (max-width: 576px) {
59
- #page-category,
60
- #page-tag {
61
- ul > li {
62
- &::before {
63
- margin: 0 0.5rem;
64
- }
65
-
66
- > a {
67
- white-space: nowrap;
68
- overflow: hidden;
69
- text-overflow: ellipsis;
70
- }
71
- }
72
- }
73
- }
1
+ /*
2
+ Style for page Category and Tag
3
+ */
4
+
5
+ .dash {
6
+ margin: 0 0.5rem 0.6rem 0.5rem;
7
+ border-bottom: 2px dotted var(--dash-color);
8
+ }
9
+
10
+ #page-category,
11
+ #page-tag {
12
+ ul > li {
13
+ line-height: 1.5rem;
14
+ padding: 0.6rem 0;
15
+
16
+ &::before { // dot
17
+ background: #999;
18
+ width: 5px;
19
+ height: 5px;
20
+ border-radius: 50%;
21
+ display: block;
22
+ content: "";
23
+ position: relative;
24
+ top: 0.6rem;
25
+ margin-right: 0.5rem;
26
+ }
27
+
28
+ > a { /* post's title */
29
+ @extend %no-bottom-border;
30
+
31
+ font-size: 1.1rem;
32
+ }
33
+
34
+ > span:last-child {
35
+ white-space: nowrap;
36
+ } /* post's date */
37
+ }
38
+ }
39
+
40
+ #page-tag h1 > i { // tag icon
41
+ font-size: 1.2rem;
42
+ }
43
+
44
+ #page-category h1 > i {
45
+ font-size: 1.25rem;
46
+ }
47
+
48
+ #page-category,
49
+ #page-tag,
50
+ #access-lastmod {
51
+ a:hover {
52
+ @extend %link-hover;
53
+
54
+ margin-bottom: -1px; // Avoid jumping
55
+ }
56
+ }
57
+
58
+ @media all and (max-width: 576px) {
59
+ #page-category,
60
+ #page-tag {
61
+ ul > li {
62
+ &::before {
63
+ margin: 0 0.5rem;
64
+ }
65
+
66
+ > a {
67
+ white-space: nowrap;
68
+ overflow: hidden;
69
+ text-overflow: ellipsis;
70
+ }
71
+ }
72
+ }
73
+ }
@@ -1,184 +1,184 @@
1
- /*
2
- Style for Homepage
3
- */
4
-
5
- .pagination {
6
- color: var(--btn-patinator-text-color);
7
- font-family: 'Lato', sans-serif;
8
-
9
- a:hover {
10
- text-decoration: none;
11
- }
12
-
13
- .page-item {
14
- .page-link {
15
- color: inherit;
16
- width: 2.5rem;
17
- height: 2.5rem;
18
- padding: 0;
19
- display: -webkit-box;
20
- -webkit-box-pack: center;
21
- -webkit-box-align: center;
22
- border-radius: 50%;
23
- border: 1px solid var(--btn-paginator-border-color);
24
- background-color: var(--button-bg);
25
-
26
- &:hover {
27
- background-color: var(--btn-paginator-hover-color);
28
- }
29
- }
30
-
31
- &.active {
32
- .page-link {
33
- background-color: var(--btn-paginator-hover-color);
34
- color: var(--btn-text-color);
35
- }
36
- }
37
-
38
- &.disabled {
39
- cursor: not-allowed;
40
-
41
- .page-link {
42
- color: rgba(108, 117, 125, 0.57);
43
- border-color: var(--btn-paginator-border-color);
44
- background-color: var(--button-bg);
45
- }
46
- }
47
-
48
- &:first-child .page-link,
49
- &:last-child .page-link {
50
- border-radius: 50%;
51
- }
52
- } // .page-item
53
-
54
- } // .pagination
55
-
56
- #post-list {
57
- margin-top: 1rem;
58
- padding-right: 0.5rem;
59
-
60
- .post-preview {
61
- padding-top: 1.5rem;
62
- padding-bottom: 1rem;
63
- border-bottom: 1px solid var(--main-border-color);
64
-
65
- a:hover {
66
- @extend %link-hover;
67
- }
68
-
69
- h1 {
70
- font-size: 1.4rem;
71
- margin: 0;
72
- }
73
-
74
- .post-meta {
75
- i {
76
- font-size: 0.73rem;
77
-
78
- &:not(:first-child) {
79
- margin-left: 1.2rem;
80
- }
81
- }
82
-
83
- em {
84
- @extend %normal-font-style;
85
- }
86
- }
87
-
88
- .post-content {
89
- margin-top: 0.6rem;
90
- margin-bottom: 0.6rem;
91
- color: var(--post-list-text-color);
92
-
93
- > p {
94
- /* Make preview shorter on the homepage */
95
- margin: 0;
96
- overflow: hidden;
97
- text-overflow: ellipsis;
98
- display: -webkit-box;
99
- -webkit-line-clamp: 2;
100
- -webkit-box-orient: vertical;
101
- }
102
- }
103
-
104
- .pin {
105
- > i {
106
- transform: rotate(45deg);
107
- padding-left: 3px;
108
- color: var(--pin-color);
109
- }
110
-
111
- > span {
112
- display: none;
113
- }
114
- }
115
-
116
- } // .post-preview
117
- } // #post-list
118
-
119
- /* Hide SideBar and TOC */
120
- @media all and (max-width: 830px) {
121
- .pagination {
122
- justify-content: space-evenly;
123
-
124
- .page-item {
125
- &:not(:first-child):not(:last-child) {
126
- display: none;
127
- }
128
-
129
- }
130
-
131
- }
132
- }
133
-
134
- /* Sidebar is visible */
135
- @media all and (min-width: 831px) {
136
- #post-list {
137
- margin-top: 1.5rem;
138
-
139
- .post-preview .post-meta {
140
- .pin {
141
- background: var(--pin-bg);
142
- border-radius: 5px;
143
- line-height: 1.4rem;
144
- height: 1.3rem;
145
- margin-top: 3px;
146
- padding-left: 1px;
147
- padding-right: 6px;
148
-
149
- > span {
150
- display: inline;
151
- }
152
- }
153
- }
154
- }
155
-
156
- .pagination {
157
- font-size: 0.85rem;
158
-
159
- .page-item {
160
- &:not(:last-child) {
161
- margin-right: 0.7rem;
162
- }
163
-
164
- .page-link {
165
- width: 2rem;
166
- height: 2rem;
167
- }
168
-
169
- }
170
-
171
- .page-index {
172
- display: none;
173
- }
174
-
175
- } // .pagination
176
-
177
- }
178
-
179
- /* Pannel hidden */
180
- @media all and (max-width: 1200px) {
181
- #post-list {
182
- padding-right: 0;
183
- }
184
- }
1
+ /*
2
+ Style for Homepage
3
+ */
4
+
5
+ .pagination {
6
+ color: var(--btn-patinator-text-color);
7
+ font-family: 'Lato', sans-serif;
8
+
9
+ a:hover {
10
+ text-decoration: none;
11
+ }
12
+
13
+ .page-item {
14
+ .page-link {
15
+ color: inherit;
16
+ width: 2.5rem;
17
+ height: 2.5rem;
18
+ padding: 0;
19
+ display: -webkit-box;
20
+ -webkit-box-pack: center;
21
+ -webkit-box-align: center;
22
+ border-radius: 50%;
23
+ border: 1px solid var(--btn-paginator-border-color);
24
+ background-color: var(--button-bg);
25
+
26
+ &:hover {
27
+ background-color: var(--btn-paginator-hover-color);
28
+ }
29
+ }
30
+
31
+ &.active {
32
+ .page-link {
33
+ background-color: var(--btn-paginator-hover-color);
34
+ color: var(--btn-text-color);
35
+ }
36
+ }
37
+
38
+ &.disabled {
39
+ cursor: not-allowed;
40
+
41
+ .page-link {
42
+ color: rgba(108, 117, 125, 0.57);
43
+ border-color: var(--btn-paginator-border-color);
44
+ background-color: var(--button-bg);
45
+ }
46
+ }
47
+
48
+ &:first-child .page-link,
49
+ &:last-child .page-link {
50
+ border-radius: 50%;
51
+ }
52
+ } // .page-item
53
+
54
+ } // .pagination
55
+
56
+ #post-list {
57
+ margin-top: 1rem;
58
+ padding-right: 0.5rem;
59
+
60
+ .post-preview {
61
+ padding-top: 1.5rem;
62
+ padding-bottom: 1rem;
63
+ border-bottom: 1px solid var(--main-border-color);
64
+
65
+ a:hover {
66
+ @extend %link-hover;
67
+ }
68
+
69
+ h1 {
70
+ font-size: 1.4rem;
71
+ margin: 0;
72
+ }
73
+
74
+ .post-meta {
75
+ i {
76
+ font-size: 0.73rem;
77
+
78
+ &:not(:first-child) {
79
+ margin-left: 1.2rem;
80
+ }
81
+ }
82
+
83
+ em {
84
+ @extend %normal-font-style;
85
+ }
86
+ }
87
+
88
+ .post-content {
89
+ margin-top: 0.6rem;
90
+ margin-bottom: 0.6rem;
91
+ color: var(--post-list-text-color);
92
+
93
+ > p {
94
+ /* Make preview shorter on the homepage */
95
+ margin: 0;
96
+ overflow: hidden;
97
+ text-overflow: ellipsis;
98
+ display: -webkit-box;
99
+ -webkit-line-clamp: 2;
100
+ -webkit-box-orient: vertical;
101
+ }
102
+ }
103
+
104
+ .pin {
105
+ > i {
106
+ transform: rotate(45deg);
107
+ padding-left: 3px;
108
+ color: var(--pin-color);
109
+ }
110
+
111
+ > span {
112
+ display: none;
113
+ }
114
+ }
115
+
116
+ } // .post-preview
117
+ } // #post-list
118
+
119
+ /* Hide SideBar and TOC */
120
+ @media all and (max-width: 830px) {
121
+ .pagination {
122
+ justify-content: space-evenly;
123
+
124
+ .page-item {
125
+ &:not(:first-child):not(:last-child) {
126
+ display: none;
127
+ }
128
+
129
+ }
130
+
131
+ }
132
+ }
133
+
134
+ /* Sidebar is visible */
135
+ @media all and (min-width: 831px) {
136
+ #post-list {
137
+ margin-top: 1.5rem;
138
+
139
+ .post-preview .post-meta {
140
+ .pin {
141
+ background: var(--pin-bg);
142
+ border-radius: 5px;
143
+ line-height: 1.4rem;
144
+ height: 1.3rem;
145
+ margin-top: 3px;
146
+ padding-left: 1px;
147
+ padding-right: 6px;
148
+
149
+ > span {
150
+ display: inline;
151
+ }
152
+ }
153
+ }
154
+ }
155
+
156
+ .pagination {
157
+ font-size: 0.85rem;
158
+
159
+ .page-item {
160
+ &:not(:last-child) {
161
+ margin-right: 0.7rem;
162
+ }
163
+
164
+ .page-link {
165
+ width: 2rem;
166
+ height: 2rem;
167
+ }
168
+
169
+ }
170
+
171
+ .page-index {
172
+ display: none;
173
+ }
174
+
175
+ } // .pagination
176
+
177
+ }
178
+
179
+ /* Pannel hidden */
180
+ @media all and (max-width: 1200px) {
181
+ #post-list {
182
+ padding-right: 0;
183
+ }
184
+ }