jekyll-theme-centos 0.1.25 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/{page/breadcrumbs.html → breadcrumbs.html} +0 -0
  3. data/_includes/{page/download-body-doc.html → download/body-doc.html} +0 -0
  4. data/_includes/{page/download-body-eol.html → download/body-eol.html} +0 -0
  5. data/_includes/{page/download-body.html → download/body.html} +0 -0
  6. data/_includes/download/cards.html +16 -0
  7. data/_includes/{page/download-footer.html → download/footer.html} +0 -0
  8. data/_includes/download/header-doc.html +8 -0
  9. data/_includes/download/header-eol.html +8 -0
  10. data/_includes/download/header.html +10 -0
  11. data/_includes/download/linux.html +22 -0
  12. data/_includes/download/linux/7-doc.html +5 -0
  13. data/_includes/download/linux/7-eol.html +5 -0
  14. data/_includes/download/linux/7.html +5 -0
  15. data/_includes/download/linux/8-doc.html +5 -0
  16. data/_includes/download/linux/8-eol.html +5 -0
  17. data/_includes/download/linux/8.html +5 -0
  18. data/_includes/download/stream.html +16 -0
  19. data/_includes/download/stream/8-doc.html +5 -0
  20. data/_includes/download/stream/8-eol.html +5 -0
  21. data/_includes/download/stream/8.html +5 -0
  22. data/_includes/header.html +9 -11
  23. data/_includes/header/blog.html +17 -20
  24. data/_includes/header/home.html +13 -17
  25. data/_includes/header/page.html +4 -10
  26. data/_includes/header/post.html +19 -20
  27. data/_includes/home/around.html +2 -4
  28. data/_includes/home/news-and-sponsors.html +8 -0
  29. data/_includes/home/news.html +10 -13
  30. data/_includes/home/sponsors.html +6 -6
  31. data/_includes/{page/search.html → search.html} +0 -0
  32. data/_includes/{page/toc.html → toc.html} +4 -5
  33. data/_includes/top.html +3 -0
  34. data/_layouts/aside.html +11 -10
  35. data/_layouts/blog.html +34 -40
  36. data/_layouts/default.html +1 -0
  37. data/_layouts/download-mirror.html +5 -7
  38. data/_layouts/home.html +5 -9
  39. data/_layouts/page.html +10 -7
  40. data/_layouts/post.html +34 -19
  41. data/_layouts/search.html +8 -7
  42. data/_layouts/sponsors.html +16 -10
  43. data/_sass/centos/_breadcrumbs.scss +4 -0
  44. data/_sass/centos/_footer.scss +15 -3
  45. data/_sass/centos/_header.scss +85 -38
  46. data/_sass/centos/_main.scss +196 -0
  47. data/_sass/centos/_mixins.scss +3 -6
  48. data/_sass/centos/_nav.scss +2 -13
  49. data/_sass/centos/{mixins/_page-toc.scss → _toc.scss} +8 -4
  50. data/_sass/centos/_variables.scss +15 -45
  51. data/_sass/centos/centos.scss +3 -2
  52. data/_sass/centos/mixins/_aside-nav.scss +26 -0
  53. data/_sass/centos/mixins/_content.scss +82 -0
  54. data/_sass/centos/{_rssfeeds.scss → mixins/_link-list.scss} +1 -1
  55. data/assets/img/post.png +0 -0
  56. metadata +33 -33
  57. data/_includes/page/download-cards.html +0 -13
  58. data/_includes/page/download-header-doc.html +0 -8
  59. data/_includes/page/download-header-eol.html +0 -8
  60. data/_includes/page/download-header.html +0 -10
  61. data/_includes/page/download-linux.html +0 -20
  62. data/_includes/page/download-linux/7-doc.html +0 -5
  63. data/_includes/page/download-linux/7-eol.html +0 -5
  64. data/_includes/page/download-linux/7.html +0 -5
  65. data/_includes/page/download-linux/8-doc.html +0 -5
  66. data/_includes/page/download-linux/8-eol.html +0 -5
  67. data/_includes/page/download-linux/8.html +0 -5
  68. data/_includes/page/download-stream.html +0 -16
  69. data/_includes/page/download-stream/8-doc.html +0 -5
  70. data/_includes/page/download-stream/8-eol.html +0 -5
  71. data/_includes/page/download-stream/8.html +0 -5
  72. data/_layouts/download.html +0 -25
  73. data/_sass/centos/_page.scss +0 -222
  74. data/_sass/centos/mixins/_before-angle-right.scss +0 -9
  75. data/_sass/centos/mixins/_link-dark.scss +0 -10
  76. data/_sass/centos/mixins/_page-card.scss +0 -14
  77. data/_sass/centos/mixins/_page-heading.scss +0 -28
  78. data/_sass/centos/mixins/_page-lists.scss +0 -15
@@ -1,4 +1,4 @@
1
- #rss-feeds {
1
+ @mixin link-list {
2
2
  ul {
3
3
  padding-left: 0;
4
4
  li {
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.25
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-22 00:00:00.000000000 Z
11
+ date: 2021-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -61,6 +61,26 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - LICENSE
63
63
  - README.md
64
+ - _includes/breadcrumbs.html
65
+ - _includes/download/body-doc.html
66
+ - _includes/download/body-eol.html
67
+ - _includes/download/body.html
68
+ - _includes/download/cards.html
69
+ - _includes/download/footer.html
70
+ - _includes/download/header-doc.html
71
+ - _includes/download/header-eol.html
72
+ - _includes/download/header.html
73
+ - _includes/download/linux.html
74
+ - _includes/download/linux/7-doc.html
75
+ - _includes/download/linux/7-eol.html
76
+ - _includes/download/linux/7.html
77
+ - _includes/download/linux/8-doc.html
78
+ - _includes/download/linux/8-eol.html
79
+ - _includes/download/linux/8.html
80
+ - _includes/download/stream.html
81
+ - _includes/download/stream/8-doc.html
82
+ - _includes/download/stream/8-eol.html
83
+ - _includes/download/stream/8.html
64
84
  - _includes/footer.html
65
85
  - _includes/head.html
66
86
  - _includes/header.html
@@ -69,6 +89,7 @@ files:
69
89
  - _includes/header/page.html
70
90
  - _includes/header/post.html
71
91
  - _includes/home/around.html
92
+ - _includes/home/news-and-sponsors.html
72
93
  - _includes/home/news.html
73
94
  - _includes/home/sponsors.html
74
95
  - _includes/navbar.html
@@ -76,35 +97,15 @@ files:
76
97
  - _includes/page/alert-info.html
77
98
  - _includes/page/alert-success.html
78
99
  - _includes/page/alert-warning.html
79
- - _includes/page/breadcrumbs.html
80
- - _includes/page/download-body-doc.html
81
- - _includes/page/download-body-eol.html
82
- - _includes/page/download-body.html
83
- - _includes/page/download-cards.html
84
- - _includes/page/download-footer.html
85
- - _includes/page/download-header-doc.html
86
- - _includes/page/download-header-eol.html
87
- - _includes/page/download-header.html
88
- - _includes/page/download-linux.html
89
- - _includes/page/download-linux/7-doc.html
90
- - _includes/page/download-linux/7-eol.html
91
- - _includes/page/download-linux/7.html
92
- - _includes/page/download-linux/8-doc.html
93
- - _includes/page/download-linux/8-eol.html
94
- - _includes/page/download-linux/8.html
95
- - _includes/page/download-stream.html
96
- - _includes/page/download-stream/8-doc.html
97
- - _includes/page/download-stream/8-eol.html
98
- - _includes/page/download-stream/8.html
99
100
  - _includes/page/figure.html
100
- - _includes/page/search.html
101
- - _includes/page/toc.html
102
101
  - _includes/page/video.html
102
+ - _includes/search.html
103
+ - _includes/toc.html
104
+ - _includes/top.html
103
105
  - _layouts/aside.html
104
106
  - _layouts/blog.html
105
107
  - _layouts/default.html
106
108
  - _layouts/download-mirror.html
107
- - _layouts/download.html
108
109
  - _layouts/home.html
109
110
  - _layouts/page.html
110
111
  - _layouts/post.html
@@ -200,24 +201,22 @@ files:
200
201
  - _sass/bootstrap/utilities/_text.scss
201
202
  - _sass/bootstrap/utilities/_visibility.scss
202
203
  - _sass/bootstrap/vendor/_rfs.scss
204
+ - _sass/centos/_breadcrumbs.scss
203
205
  - _sass/centos/_datatable.scss
204
206
  - _sass/centos/_fonts.scss
205
207
  - _sass/centos/_footer.scss
206
208
  - _sass/centos/_header.scss
207
209
  - _sass/centos/_highlighter.scss
210
+ - _sass/centos/_main.scss
208
211
  - _sass/centos/_mixins.scss
209
212
  - _sass/centos/_nav.scss
210
- - _sass/centos/_page.scss
211
- - _sass/centos/_rssfeeds.scss
213
+ - _sass/centos/_toc.scss
212
214
  - _sass/centos/_variables.scss
213
215
  - _sass/centos/centos.scss
214
216
  - _sass/centos/fonts/_montserrat.scss
215
- - _sass/centos/mixins/_before-angle-right.scss
216
- - _sass/centos/mixins/_link-dark.scss
217
- - _sass/centos/mixins/_page-card.scss
218
- - _sass/centos/mixins/_page-heading.scss
219
- - _sass/centos/mixins/_page-lists.scss
220
- - _sass/centos/mixins/_page-toc.scss
217
+ - _sass/centos/mixins/_aside-nav.scss
218
+ - _sass/centos/mixins/_content.scss
219
+ - _sass/centos/mixins/_link-list.scss
221
220
  - _sass/fontawesome/_animated.scss
222
221
  - _sass/fontawesome/_bordered-pulled.scss
223
222
  - _sass/fontawesome/_core.scss
@@ -329,6 +328,7 @@ files:
329
328
  - assets/img/favicon.png
330
329
  - assets/img/logo.png
331
330
  - assets/img/motif.png
331
+ - assets/img/post.png
332
332
  - assets/js/bootstrap.min.js
333
333
  - assets/js/bootstrap.min.js.map
334
334
  - assets/js/dataTables.bootstrap4.min.js
@@ -1,13 +0,0 @@
1
- <section class="card">
2
- <header>
3
- <h2>CentOS Linux</h2>
4
- </header>
5
- {% include page/download-linux.html %}
6
- </section>
7
-
8
- <section class="card">
9
- <header>
10
- <h2>CentOS Stream</h2>
11
- </header>
12
- {% include page/download-stream.html %}
13
- </section>
@@ -1,8 +0,0 @@
1
- <table>
2
- <thead>
3
- <tr>
4
- <th><i class="fas fa-book"></i> Documentation</th>
5
- </tr>
6
- </thead>
7
- <tbody>
8
-
@@ -1,8 +0,0 @@
1
- <table>
2
- <thead>
3
- <tr>
4
- <th><i class="fas fa-hourglass-end"></i> End-of-life</th>
5
- </tr>
6
- </thead>
7
- <tbody>
8
-
@@ -1,10 +0,0 @@
1
- <table>
2
- <thead>
3
- <tr>
4
- <th><i class="fas fa-microchip"></i> Architectures</th>
5
- <th><i class="fas fa-cubes"></i> Packages</th>
6
- <th><i class="fas fa-plus-circle"></i> Others</th>
7
- </tr>
8
- </thead>
9
- <tbody>
10
-
@@ -1,20 +0,0 @@
1
- <ul class="nav nav-tabs">
2
- <li class="nav-item"><a class="nav-link active" role="tab" data-toggle="tab" href="#tab-linux-8">8</a></li>
3
- <li class="nav-item"><a class="nav-link" role="tab" data-toggle="tab" href="#tab-linux-7">7</a></li>
4
- </ul>
5
-
6
- <div class="tab-content">
7
-
8
- <div class="tab-pane active" role="tabpanel" id="tab-linux-8">
9
- {% include page/download-linux/8.html %}
10
- {% include page/download-linux/8-doc.html %}
11
- {% include page/download-linux/8-eol.html %}
12
- </div>
13
-
14
- <div class="tab-pane" role="tabpanel" id="tab-linux-7">
15
- {% include page/download-linux/7.html %}
16
- {% include page/download-linux/7-doc.html %}
17
- {% include page/download-linux/7-eol.html %}
18
- </div>
19
-
20
- </div>
@@ -1,5 +0,0 @@
1
- {% include page/download-header-doc.html %}
2
- {% for row in site.data.centos-linux-7-doc %}
3
- {% include page/download-body-doc.html %}
4
- {% endfor %}
5
- {% include page/download-footer.html %}
@@ -1,5 +0,0 @@
1
- {% include page/download-header-eol.html %}
2
- {% for row in site.data.centos-linux-7-eol %}
3
- {% include page/download-body-eol.html %}
4
- {% endfor %}
5
- {% include page/download-footer.html %}
@@ -1,5 +0,0 @@
1
- {% include page/download-header.html %}
2
- {% for row in site.data.centos-linux-7 %}
3
- {% include page/download-body.html %}
4
- {% endfor %}
5
- {% include page/download-footer.html %}
@@ -1,5 +0,0 @@
1
- {% include page/download-header-doc.html %}
2
- {% for row in site.data.centos-linux-8-doc %}
3
- {% include page/download-body-doc.html %}
4
- {% endfor %}
5
- {% include page/download-footer.html %}
@@ -1,5 +0,0 @@
1
- {% include page/download-header-eol.html %}
2
- {% for row in site.data.centos-linux-8-eol %}
3
- {% include page/download-body-eol.html %}
4
- {% endfor %}
5
- {% include page/download-footer.html %}
@@ -1,5 +0,0 @@
1
- {% include page/download-header.html %}
2
- {% for row in site.data.centos-linux-8 %}
3
- {% include page/download-body.html %}
4
- {% endfor %}
5
- {% include page/download-footer.html %}
@@ -1,16 +0,0 @@
1
- <section class="content-download-stream">
2
- <ul class="nav nav-tabs">
3
- <li class="nav-item"><a class="nav-link active" role="tab" data-toggle="tab" href="#tab-stream-8">Latest</a></li>
4
- </ul>
5
-
6
- <div class="tab-content">
7
-
8
- <div class="tab-pane active" role="tabpanel" id="tab-stream-8">
9
- {% include page/download-stream/8.html %}
10
- {% include page/download-stream/8-doc.html %}
11
- {% include page/download-stream/8-eol.html %}
12
- </div>
13
-
14
- </div>
15
-
16
- </section>
@@ -1,5 +0,0 @@
1
- {% include page/download-header-doc.html %}
2
- {% for row in site.data.centos-stream-8-doc %}
3
- {% include page/download-body-doc.html %}
4
- {% endfor %}
5
- {% include page/download-footer.html %}
@@ -1,5 +0,0 @@
1
- {% include page/download-header-eol.html %}
2
- {% for row in site.data.centos-stream-8-eol %}
3
- {% include page/download-body-eol.html %}
4
- {% endfor %}
5
- {% include page/download-footer.html %}
@@ -1,5 +0,0 @@
1
- {% include page/download-header.html %}
2
- {% for row in site.data.centos-stream-8 %}
3
- {% include page/download-body.html %}
4
- {% endfor %}
5
- {% include page/download-footer.html %}
@@ -1,25 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <main class="page">
6
-
7
- {% include page/breadcrumbs.html %}
8
-
9
- <div class="download">
10
- <div class="row">
11
- {% include page/download-cards.html %}
12
- </div>
13
- </div>
14
-
15
- <div class="row">
16
- <aside class="aside-navigation">
17
- {% include page/toc.html html=content %}
18
- </aside>
19
-
20
- <article class="aside-article">
21
- {{ content }}
22
- </section>
23
- </div>
24
-
25
- </main>
@@ -1,222 +0,0 @@
1
- .page {
2
-
3
- @extend .container;
4
- @include page-heading;
5
-
6
- .figure {
7
- img {
8
- @extend .img-fluid;
9
- }
10
- }
11
-
12
- pre {
13
- background: $nord-color-0;
14
- color: $nord-color-6;
15
- padding: 1em;
16
- max-height: 500px;
17
- }
18
-
19
- blockquote {
20
- @extend .blockquote;
21
- font-size: $font-size-base;
22
-
23
- border-left: 5px solid $nord-color-7;
24
- background-color: rgba($nord-color-7, 0.05);
25
- padding: 1em;
26
- padding-left: 2em;
27
-
28
- blockquote {
29
- border-left: 5px solid $nord-color-11;
30
- background-color: rgba($nord-color-11, 0.05);
31
- blockquote {
32
- border-left: 5px solid $nord-color-14;
33
- background-color: rgba($nord-color-14, 0.05);
34
- blockquote {
35
- border-left: 5px solid $nord-color-13;
36
- background-color: rgba($nord-color-13, 0.05);
37
- }
38
- }
39
- }
40
- }
41
-
42
- .alert {
43
- padding-bottom: 0;
44
- .title {
45
- font-size: $h4-font-size;
46
- font-weight: $font-weight-bold;
47
- margin-bottom: 0;
48
- }
49
- &-info {
50
- border-left: 5px solid $nord-color-7;
51
- }
52
- &-warning {
53
- border-left: 5px solid $nord-color-13;
54
- }
55
- &-danger {
56
- border-left: 5px solid $nord-color-11;
57
- }
58
- &-success {
59
- border-left: 5px solid $nord-color-14;
60
- }
61
- }
62
-
63
- table {
64
- @extend .table, .table-striped, .table-borderless;
65
- thead {
66
- @extend .thead-dark;
67
- @include link-dark;
68
- }
69
- }
70
-
71
- .breadcrumb {
72
- padding-top: 0;
73
- }
74
-
75
- .video {
76
- @extend .embed-responsive, .embed-responsive-16by9;
77
- margin-bottom: $line-height-base * 1em;
78
- }
79
-
80
- .news {
81
- @extend .col;
82
- .row {
83
- @extend .row;
84
- padding-left: 24px;
85
- }
86
- h4 {
87
- @include before-angle-right;
88
- font-weight: normal;
89
- }
90
-
91
- }
92
-
93
- .around {
94
- @extend .col-lg-12;
95
- margin-top: 1em;
96
- }
97
-
98
- .toc {
99
- @include page-toc;
100
- }
101
-
102
- .article {
103
- @extend .col-lg-12;
104
- @include page-lists;
105
- }
106
-
107
- .blog {
108
- @extend .col-lg-12;
109
-
110
- .card {
111
- @extend .col-lg-6;
112
- @include page-card;
113
- a {
114
- display: block;
115
- height: 100%;
116
- }
117
- }
118
-
119
- .paginator {
120
- border-top: 1px solid $nord-color-4;
121
- margin-top: 1em;
122
- padding: 0;
123
- padding-top: 1em;
124
- .older {
125
- float: right;
126
- }
127
- .newer {
128
- float: left;
129
- }
130
- }
131
- }
132
-
133
- .search {
134
- @extend .container;
135
- @include page-heading;
136
-
137
- p {
138
- padding: 3em;
139
- background: $nord-color-6;
140
- }
141
-
142
- ul {
143
- padding-left: 0;
144
- li {
145
- list-style: none;
146
- margin-top: 1em;
147
- margin-left: 1em;
148
- @include before-angle-right;
149
- }
150
- }
151
-
152
- .lunrsearchresult {
153
- .title {
154
- margin-top: 0;
155
- }
156
- .url {
157
- color: silver;
158
- }
159
- }
160
- }
161
-
162
- .aside-navigation {
163
- @extend .container;
164
- @extend .col-lg-4;
165
- font-size: small;
166
- @include media-breakpoint-up(lg) {
167
- align-self: start;
168
- position: sticky;
169
- top: 90px;
170
- }
171
-
172
- .toc {
173
- @include page-toc;
174
- @include media-breakpoint-up(lg) {
175
- display: flex;
176
- flex-direction: column;
177
- max-height: 75vh;
178
- overflow-y: auto;
179
- }
180
- }
181
- }
182
-
183
- .aside-article {
184
- @extend .col-lg-8;
185
- @include page-lists;
186
- }
187
-
188
- .download {
189
- @extend .container;
190
-
191
- .card {
192
- @extend .col-lg-6;
193
- @include page-card;
194
- .tab-content {
195
- table {
196
- font-size: small;
197
- }
198
- }
199
- }
200
-
201
- margin-bottom: 2em;
202
- padding-bottom: 2em;
203
- border-bottom: 1px solid $nord-color-4;
204
-
205
- }
206
-
207
- .sponsors {
208
- &.carousel {
209
- @extend .col-lg-4;
210
- }
211
- .card {
212
- margin: 1em;
213
- margin-left: 0;
214
- border: none;
215
- }
216
- img {
217
- width: auto;
218
- height: 50px;
219
- }
220
- }
221
-
222
- }