jekyll-theme-centos 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/{centos-footer.html → footer.html} +5 -5
  3. data/_includes/{centos-head.html → head.html} +0 -0
  4. data/_includes/header.html +11 -0
  5. data/_includes/header/blog.html +23 -0
  6. data/_includes/header/home.html +13 -0
  7. data/_includes/header/page.html +10 -0
  8. data/_includes/header/post.html +22 -0
  9. data/_includes/{centos-content → home}/around.html +1 -1
  10. data/_includes/home/news.html +14 -0
  11. data/_includes/{centos-content → home}/sponsors.html +2 -2
  12. data/_includes/{centos-nav.html → nav.html} +1 -1
  13. data/_includes/page/alert-danger.html +4 -0
  14. data/_includes/page/alert-info.html +4 -0
  15. data/_includes/page/alert-success.html +4 -0
  16. data/_includes/page/alert-warning.html +4 -0
  17. data/_includes/page/breadcrumbs.html +11 -0
  18. data/_includes/{centos-content/download/table-body-doc.html → page/download-body-doc.html} +0 -0
  19. data/_includes/{centos-content/download/table-body-eol.html → page/download-body-eol.html} +0 -0
  20. data/_includes/{centos-content/download/table-body.html → page/download-body.html} +0 -0
  21. data/_includes/page/download-cards.html +13 -0
  22. data/_includes/{centos-content/download/table-footer.html → page/download-footer.html} +0 -0
  23. data/_includes/{centos-content/download/table-header-doc.html → page/download-header-doc.html} +0 -0
  24. data/_includes/{centos-content/download/table-header-eol.html → page/download-header-eol.html} +0 -0
  25. data/_includes/{centos-content/download/table-header.html → page/download-header.html} +0 -0
  26. data/_includes/page/download-linux.html +20 -0
  27. data/_includes/page/download-linux/7-doc.html +5 -0
  28. data/_includes/page/download-linux/7-eol.html +5 -0
  29. data/_includes/page/download-linux/7.html +5 -0
  30. data/_includes/page/download-linux/8-doc.html +5 -0
  31. data/_includes/page/download-linux/8-eol.html +5 -0
  32. data/_includes/page/download-linux/8.html +5 -0
  33. data/_includes/{centos-content/download/stream.html → page/download-stream.html} +4 -4
  34. data/_includes/page/download-stream/8-doc.html +5 -0
  35. data/_includes/page/download-stream/8-eol.html +5 -0
  36. data/_includes/page/download-stream/8.html +5 -0
  37. data/_includes/page/figure.html +1 -0
  38. data/_includes/{centos-search.html → page/search.html} +0 -0
  39. data/_includes/{centos-content → page}/toc.html +4 -2
  40. data/_includes/{centos-content → page}/video.html +1 -1
  41. data/_layouts/aside.html +16 -0
  42. data/_layouts/{centos-content/blog.html → blog.html} +13 -13
  43. data/_layouts/{centos-content.html → default.html} +4 -4
  44. data/_layouts/{centos-content/download-mirror.html → download-mirror.html} +10 -7
  45. data/_layouts/download.html +25 -0
  46. data/_layouts/{centos-content/home.html → home.html} +8 -8
  47. data/_layouts/page.html +13 -0
  48. data/_layouts/post.html +23 -0
  49. data/_layouts/search.html +12 -0
  50. data/_layouts/{centos-content/sponsors.html → sponsors.html} +2 -2
  51. data/_sass/centos/_footer.scss +6 -6
  52. data/_sass/centos/_header.scss +23 -15
  53. data/_sass/centos/_mixins.scss +5 -4
  54. data/_sass/centos/_page.scss +242 -0
  55. data/_sass/centos/_variables.scss +13 -12
  56. data/_sass/centos/centos.scss +2 -2
  57. data/_sass/centos/mixins/{_footer-link.scss → _link-dark.scss} +1 -1
  58. data/_sass/centos/mixins/_page-card.scss +14 -0
  59. data/_sass/centos/mixins/_page-heading.scss +28 -0
  60. data/_sass/centos/mixins/_page-lists.scss +15 -0
  61. data/_sass/centos/mixins/{_content-toc.scss → _page-toc.scss} +9 -4
  62. data/assets/img/{centos-logo-white.png → logo.png} +0 -0
  63. data/assets/img/{centos-motif.png → motif.png} +0 -0
  64. data/assets/js/jquery.rss.js +1 -11
  65. data/assets/js/moment.min.js +2 -7
  66. metadata +59 -61
  67. data/_includes/centos-content/1col.html +0 -11
  68. data/_includes/centos-content/2col.html +0 -15
  69. data/_includes/centos-content/admonition/caution.html +0 -4
  70. data/_includes/centos-content/admonition/idea.html +0 -4
  71. data/_includes/centos-content/admonition/note.html +0 -4
  72. data/_includes/centos-content/admonition/warning.html +0 -4
  73. data/_includes/centos-content/breadcrumbs.html +0 -11
  74. data/_includes/centos-content/download/stream-8-doc.html +0 -5
  75. data/_includes/centos-content/download/stream-8-eol.html +0 -5
  76. data/_includes/centos-content/download/stream-8.html +0 -5
  77. data/_includes/centos-content/figure.html +0 -4
  78. data/_includes/centos-content/news.html +0 -15
  79. data/_includes/centos-header.html +0 -11
  80. data/_includes/centos-header/blog-paginator.html +0 -7
  81. data/_includes/centos-header/blog.html +0 -13
  82. data/_includes/centos-header/home.html +0 -15
  83. data/_includes/centos-header/page.html +0 -12
  84. data/_includes/centos-header/post-paginator.html +0 -6
  85. data/_includes/centos-header/post.html +0 -13
  86. data/_includes/centos-styleguide.md +0 -243
  87. data/_layouts/centos-content/1col.html +0 -9
  88. data/_layouts/centos-content/2col.html +0 -9
  89. data/_layouts/centos-content/download.html +0 -18
  90. data/_layouts/centos-content/post.html +0 -23
  91. data/_layouts/centos-content/search.html +0 -12
  92. data/_sass/centos/_content.scss +0 -107
  93. data/_sass/centos/content/_1col.scss +0 -109
  94. data/_sass/centos/content/_2col.scss +0 -44
  95. data/_sass/centos/content/_download.scss +0 -17
  96. data/_sass/centos/content/_sponsors.scss +0 -9
  97. data/_sass/centos/header/_home.scss +0 -4
  98. data/_sass/centos/header/_page.scss +0 -4
  99. data/_sass/centos/mixins/_content-card.scss +0 -13
  100. data/_sass/centos/mixins/_content-heading.scss +0 -28
@@ -1,15 +1,15 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ page.lang | default: 'en' }}">
3
3
 
4
- {% include centos-head.html -%}
4
+ {% include head.html -%}
5
5
 
6
6
  <body>
7
- {% include centos-nav.html -%}
8
- {% include centos-header.html -%}
7
+ {% include nav.html -%}
8
+ {% include header.html -%}
9
9
 
10
10
  {{ content }}
11
11
 
12
- {% include centos-footer.html -%}
12
+ {% include footer.html -%}
13
13
 
14
14
  <script src="/assets/js/jquery.min.js"></script>
15
15
  <script src="/assets/js/bootstrap.min.js"></script>
@@ -1,27 +1,30 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ page.lang | default: 'en' }}">
3
3
 
4
- {% include centos-head.html %}
4
+ {% include head.html %}
5
5
 
6
6
  <body>
7
7
 
8
- {% include centos-nav.html -%}
9
- {% include centos-header.html -%}
8
+ {% include nav.html -%}
9
+ {% include header.html -%}
10
10
 
11
- <main class="centos-content container">
11
+ <main class="page">
12
+ {% include page/breadcrumbs.html %}
12
13
  <div class="row">
13
- {% include centos-content/1col.html %}
14
+ <article class="article">
15
+ {{ content }}
16
+ </article>
14
17
  </div>
15
18
  </main>
16
19
 
17
- {% include centos-footer.html -%}
20
+ {% include footer.html -%}
18
21
 
19
22
  <script src="/assets/js/jquery.min.js"></script>
20
23
  <script src="/assets/js/jquery.dataTables.min.js"></script>
21
24
  <script src="/assets/js/dataTables.bootstrap4.min.js"></script>
22
25
  <script>
23
26
  $(document).ready(function() {
24
- $('#centos-mirrors-table').DataTable();
27
+ $('#download-mirror').DataTable();
25
28
  } );
26
29
  </script>
27
30
  <script src="/assets/js/bootstrap.min.js"></script>
@@ -0,0 +1,25 @@
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,24 +1,24 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ page.lang | default: 'en' }}">
3
3
 
4
- {% include centos-head.html -%}
4
+ {% include head.html -%}
5
5
 
6
6
  <body>
7
7
 
8
- {% include centos-nav.html -%}
9
- {% include centos-header.html -%}
8
+ {% include nav.html -%}
9
+ {% include header.html -%}
10
10
 
11
- <main class="centos-content container">
11
+ <main class="page">
12
12
  <div class="row">
13
- {% include centos-content/news.html -%}
14
- {% include centos-content/sponsors.html %}
13
+ {% include home/news.html -%}
14
+ {% include home/sponsors.html %}
15
15
  </div>
16
16
  <div class="row">
17
- {% include centos-content/around.html -%}
17
+ {% include home/around.html -%}
18
18
  </div>
19
19
  </main>
20
20
 
21
- {% include centos-footer.html -%}
21
+ {% include footer.html -%}
22
22
 
23
23
  <script src="/assets/js/jquery.min.js"></script>
24
24
  <script src="/assets/js/bootstrap.min.js"></script>
@@ -0,0 +1,13 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <main class="page">
6
+ {% include page/breadcrumbs.html %}
7
+ {% include page/toc.html html=content %}
8
+ <div class="row">
9
+ <article class="article">
10
+ {{ content }}
11
+ </article>
12
+ </div>
13
+ </main>
@@ -0,0 +1,23 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <main class="page">
6
+ <div class="row">
7
+
8
+ <aside class="aside-navigation">
9
+ {% include page/breadcrumbs.html %}
10
+ {% include page/toc.html html=content %}
11
+ </aside>
12
+
13
+ <article class="aside-article">
14
+ {% if page.image != "" %}
15
+ <figure class="figure">
16
+ <img src="{{ page.image }}" alt="{{ page.title | escape }}">
17
+ </figure>
18
+ {% endif %}
19
+ {{ content }}
20
+ </section>
21
+
22
+ </div>
23
+ </main>
@@ -0,0 +1,12 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <main class="page">
6
+ <div class="row">
7
+ <div class="search">
8
+ {{ content }}
9
+ </div>
10
+ </div>
11
+ </main>
12
+
@@ -1,10 +1,10 @@
1
1
  ---
2
- layout: centos-content/1col
2
+ layout: page
3
3
  ---
4
4
 
5
5
  {{ content }}
6
6
 
7
- <section class="centos-content-sponsors-cards">
7
+ <section class="sponsors">
8
8
  <div class="d-flex align-content-start flex-wrap align-content-stretch">
9
9
  {% for sponsor in site.sponsors %}
10
10
  <div class="card">
@@ -1,6 +1,6 @@
1
- .centos-footer {
1
+ .footer {
2
2
 
3
- @include centos-footer-link;
3
+ @include link-dark;
4
4
 
5
5
  %-margin {
6
6
  margin-top: $line-height-base * 1.5rem;
@@ -20,17 +20,17 @@
20
20
  margin-bottom: 0;
21
21
  }
22
22
 
23
- &-about {
23
+ .about {
24
24
  @extend .col-sm-6, .col-md-3;
25
25
  @extend %-margin;
26
26
  }
27
27
 
28
- &-community {
28
+ .community {
29
29
  @extend .col-sm-6, .col-md-3;
30
30
  @extend %-margin;
31
31
  }
32
32
 
33
- &-project {
33
+ .project {
34
34
  @extend .col-md-6;
35
35
  @extend %-margin;
36
36
 
@@ -41,7 +41,7 @@
41
41
  }
42
42
  }
43
43
 
44
- &-copyright {
44
+ .copyright {
45
45
  @extend %-margin;
46
46
  font-size: small;
47
47
  }
@@ -1,16 +1,29 @@
1
- .centos-header {
2
- background-image: url($centos-background-image);
1
+ .header {
2
+ color: #fff;
3
+ background-image: url($background-image);
3
4
  background-color: $nord-color-0;
4
5
  background-size: cover;
5
6
  margin-bottom: 2.5em;
7
+ display: flex;
8
+ align-items: center;
9
+
10
+ .title {
11
+ @extend .container;
12
+ padding-top: $page-header-padding-top;
13
+ padding-bottom: $page-header-padding-bottom;
14
+ }
15
+
16
+ .home {
17
+ @extend .container;
18
+ padding-top: $home-header-padding-top;
19
+ padding-bottom: $home-header-padding-bottom;
20
+ }
6
21
 
7
22
  h1 {
8
- color: #fff;
9
23
  text-shadow: 0 0 5px #000;
10
24
  }
11
25
 
12
26
  p {
13
- color: #fff;
14
27
  text-shadow: 0 0 5px #000;
15
28
  }
16
29
 
@@ -20,23 +33,18 @@
20
33
  }
21
34
 
22
35
  .paginator {
23
- color: #fff;
36
+ color: $white;
24
37
  background: $black;
25
38
  font-size: $h1-font-size;
39
+ margin: 0;
40
+ padding: 1em;
26
41
  opacity: 0.2;
27
42
  &:hover {
28
43
  opacity: 1;
29
44
  }
30
- &-previous {
31
- float: left;
32
- padding: 1em;
33
- }
34
- &-next {
35
- float: right;
36
- padding: 1em;
45
+ &.disabled {
46
+ opacity: 0;
37
47
  }
38
48
  }
39
- }
40
49
 
41
- @import "header/_home";
42
- @import "header/_page";
50
+ }
@@ -1,4 +1,5 @@
1
- @import "mixins/_content-heading";
2
- @import "mixins/_content-card";
3
- @import "mixins/_content-toc";
4
- @import "mixins/_footer-link";
1
+ @import "mixins/_page-heading";
2
+ @import "mixins/_page-lists";
3
+ @import "mixins/_page-card";
4
+ @import "mixins/_page-toc";
5
+ @import "mixins/_link-dark";
@@ -0,0 +1,242 @@
1
+ .page {
2
+
3
+ @extend .container;
4
+ @include page-heading;
5
+
6
+ pre {
7
+ background: $nord-color-0;
8
+ color: $nord-color-6;
9
+ padding: 1em;
10
+ max-height: 500px;
11
+ }
12
+
13
+ blockquote {
14
+ @extend .blockquote;
15
+ font-size: $font-size-base;
16
+
17
+ border-left: 5px solid $nord-color-7;
18
+ background-color: rgba($nord-color-7, 0.05);
19
+ padding: 1em;
20
+ padding-left: 2em;
21
+
22
+ blockquote {
23
+ border-left: 5px solid $nord-color-11;
24
+ background-color: rgba($nord-color-11, 0.05);
25
+ blockquote {
26
+ border-left: 5px solid $nord-color-14;
27
+ background-color: rgba($nord-color-14, 0.05);
28
+ blockquote {
29
+ border-left: 5px solid $nord-color-13;
30
+ background-color: rgba($nord-color-13, 0.05);
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ .alert {
37
+ padding-bottom: 0;
38
+ .title {
39
+ font-size: $h4-font-size;
40
+ font-weight: $font-weight-bold;
41
+ margin-bottom: 0;
42
+ }
43
+ &-info {
44
+ border-left: 5px solid $nord-color-7;
45
+ }
46
+ &-warning {
47
+ border-left: 5px solid $nord-color-13;
48
+ }
49
+ &-danger {
50
+ border-left: 5px solid $nord-color-11;
51
+ }
52
+ &-success {
53
+ border-left: 5px solid $nord-color-14;
54
+ }
55
+ }
56
+
57
+ table {
58
+ @extend .table, .table-striped, .table-borderless;
59
+ thead {
60
+ @extend .thead-dark;
61
+ @include link-dark;
62
+ }
63
+ }
64
+
65
+ .breadcrumb {
66
+ padding-top: 0;
67
+ }
68
+
69
+ .video {
70
+ @extend .embed-responsive, .embed-responsive-16by9;
71
+ margin-bottom: $line-height-base * 1em;
72
+ }
73
+
74
+ .news {
75
+ @extend .col-md-8, .col-lg-8;
76
+ .card {
77
+ border: none;
78
+ margin-left: 15px;
79
+ &-title {
80
+ font-size: $h5-font-size;
81
+ }
82
+ &-body {
83
+ list-style: none;
84
+ padding: 0;
85
+ li {
86
+ padding: 0.5em;
87
+ }
88
+ }
89
+ }
90
+ .card-title {
91
+ list-style: none;
92
+ &:before {
93
+ @extend .fas;
94
+ color: $nord-color-4;
95
+ margin-right: 0.5em;
96
+ margin-left: -1em;
97
+ content: fa-content($fa-var-angle-right);
98
+ }
99
+ }
100
+ }
101
+
102
+ .around {
103
+ @extend .col-md-12, .col-lg-12;
104
+ margin-top: 1em;
105
+ }
106
+
107
+ .toc {
108
+ @include page-toc;
109
+ }
110
+
111
+ .article {
112
+ @extend .col-md-12, .col-lg-12;
113
+ @include page-lists;
114
+ }
115
+
116
+ .blog {
117
+ @extend .col-md-12, .col-lg-12;
118
+
119
+ .card {
120
+ @extend .col-md-6;
121
+ @include page-card;
122
+ a {
123
+ display: block;
124
+ height: 100%;
125
+ }
126
+ }
127
+
128
+ .rss-subscribe {
129
+ @extend .col-md-12;
130
+ @extend .text-right;
131
+ margin-bottom: 1em;
132
+ }
133
+
134
+ .paginator {
135
+ border-top: 1px solid $nord-color-4;
136
+ margin-top: 1em;
137
+ padding: 0;
138
+ padding-top: 1em;
139
+ .older {
140
+ float: right;
141
+ }
142
+ .newer {
143
+ float: left;
144
+ }
145
+ }
146
+ }
147
+
148
+ .search {
149
+ @extend .container;
150
+ @include page-heading;
151
+
152
+ p {
153
+ padding: 3em;
154
+ background: $nord-color-6;
155
+ }
156
+
157
+ ul {
158
+ padding-left: 0;
159
+ li {
160
+ list-style: none;
161
+ margin-top: 1em;
162
+ margin-left: 1em;
163
+ &:before {
164
+ @extend .fas;
165
+ color: $nord-color-4;
166
+ margin-right: 0.5em;
167
+ margin-left: -1em;
168
+ content: fa-content($fa-var-angle-right);
169
+ }
170
+ }
171
+ }
172
+
173
+ .lunrsearchresult {
174
+ .title {
175
+ margin-top: 0;
176
+ }
177
+ .url {
178
+ color: silver;
179
+ }
180
+ }
181
+ }
182
+
183
+ .aside-navigation {
184
+ @extend .container;
185
+ @extend .col-md-4, .col-lg-4;
186
+ font-size: small;
187
+ @include media-breakpoint-up(md) {
188
+ align-self: start;
189
+ position: sticky;
190
+ top: 90px;
191
+ }
192
+
193
+ .toc {
194
+ @include page-toc;
195
+ @include media-breakpoint-up(md) {
196
+ display: flex;
197
+ flex-direction: column;
198
+ max-height: 75vh;
199
+ overflow-y: auto;
200
+ }
201
+ }
202
+ }
203
+
204
+ .aside-article {
205
+ @extend .col-md-8, .col-lg-8;
206
+ @include page-lists;
207
+ }
208
+
209
+ .download {
210
+ @extend .container;
211
+
212
+ .card {
213
+ @extend .col-md-6;
214
+ @include page-card;
215
+ .tab-content {
216
+ table {
217
+ font-size: small;
218
+ }
219
+ }
220
+ }
221
+
222
+ margin-bottom: 2em;
223
+ padding-bottom: 2em;
224
+ border-bottom: 1px solid $nord-color-4;
225
+
226
+ }
227
+
228
+ .sponsors {
229
+ &.carousel {
230
+ @extend .col-md-4;
231
+ }
232
+ .card {
233
+ margin: 1em;
234
+ border: none;
235
+ }
236
+ img {
237
+ width: auto;
238
+ height: 50px;
239
+ }
240
+ }
241
+
242
+ }