jekyll-theme-centos 0.5.8 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -3
  3. data/_includes/download/header.html +2 -2
  4. data/_includes/home/news-and-events.html +1 -1
  5. data/_includes/home/planet.html +10 -1
  6. data/_includes/navbar.html +1 -1
  7. data/_includes/page/code-header.html +7 -1
  8. data/_includes/post-nav-explorer.html +4 -4
  9. data/_includes/top.html +1 -1
  10. data/_layouts/home.html +0 -13
  11. data/_sass/centos/_fonts.scss +1 -0
  12. data/_sass/centos/_footer.scss +2 -3
  13. data/_sass/centos/_header.scss +1 -1
  14. data/_sass/centos/_highlighter.scss +167 -356
  15. data/_sass/centos/_main.scss +7 -7
  16. data/_sass/centos/_nav.scss +8 -1
  17. data/_sass/centos/_toc.scss +1 -1
  18. data/_sass/centos/_variables.scss +37 -53
  19. data/_sass/centos/fonts/_overpass.scss +45 -0
  20. data/_sass/centos/mixins/_code-header.scss +49 -29
  21. data/_sass/centos/mixins/_content.scss +8 -3
  22. data/_sass/centos/mixins/_link-list.scss +1 -1
  23. data/assets/fonts/Overpass/overpass-mono-bold.eot +0 -0
  24. data/assets/fonts/Overpass/overpass-mono-bold.ttf +0 -0
  25. data/assets/fonts/Overpass/overpass-mono-bold.woff +0 -0
  26. data/assets/fonts/Overpass/overpass-mono-bold.woff2 +0 -0
  27. data/assets/fonts/Overpass/overpass-mono-light.eot +0 -0
  28. data/assets/fonts/Overpass/overpass-mono-light.ttf +0 -0
  29. data/assets/fonts/Overpass/overpass-mono-light.woff +0 -0
  30. data/assets/fonts/Overpass/overpass-mono-light.woff2 +0 -0
  31. data/assets/fonts/Overpass/overpass-mono-regular.eot +0 -0
  32. data/assets/fonts/Overpass/overpass-mono-regular.ttf +0 -0
  33. data/assets/fonts/Overpass/overpass-mono-regular.woff +0 -0
  34. data/assets/fonts/Overpass/overpass-mono-regular.woff2 +0 -0
  35. data/assets/fonts/Overpass/overpass-mono-semibold.eot +0 -0
  36. data/assets/fonts/Overpass/overpass-mono-semibold.ttf +0 -0
  37. data/assets/fonts/Overpass/overpass-mono-semibold.woff +0 -0
  38. data/assets/fonts/Overpass/overpass-mono-semibold.woff2 +0 -0
  39. metadata +19 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daceb5812e455c146d36dc268efeb1d088faad2e1942b78b16d3772446725691
4
- data.tar.gz: f623690b8fdb873dda2447df495c6c8da099a9c41acaef300667dc44c5f6c64b
3
+ metadata.gz: 75c6ebb3390dab7cb7398c35ee2e6004e6bc58cef61725c55a7b20489cc854b9
4
+ data.tar.gz: 33e0aa7400fe52cfee092e83d4128a6a652c7b5eed8a704f9cfe73e36a59fbd2
5
5
  SHA512:
6
- metadata.gz: 80f3567f9d5e3da5b22dc7918239179c2ed0a72f0f90112d83ac2e305623810da30b8789c69f2a429824badb568b7c9e78795083efe602db7bd99bd91a9b8398
7
- data.tar.gz: 41cc1a3a9885f3dada9fda45ef17e99755a91fd7b044adfd92d3474f3583ca8043c5a9b5a7e43df39b61e9cdd927f9bd8a349bab1adddb95e8401a94ab26d025
6
+ metadata.gz: bada97657460f8099b01ed3b91be287e1fde2abbde4fd619a9660adee880272d0e5ec2f7a7fa8ef3754bc960e5caaf65221b7abf7811b6a06989a657b7e06f96
7
+ data.tar.gz: 3c2b26425790408acb7301995e50c855417da0d52ed3d4446a2e1cee8aed1ef81928110eb8400d55fe5c4e3d26e2a8c39cd772f42a34f9fae3f16df3486343d8
data/README.md CHANGED
@@ -32,13 +32,12 @@ Or install it yourself as:
32
32
 
33
33
  ## Usage
34
34
 
35
- TODO: Write usage instructions here. Describe your available layouts, includes,
36
- sass and/or assets.
35
+ Usage documentation is available at https://gitlab.com/areguera/jekyll-theme-centos-styleguide/.
37
36
 
38
37
  ## Contributing
39
38
 
40
39
  Bug reports and pull requests are welcome on GitHub at
41
- https://github.com/areguera/jekyll-theme-centos. This project is intended to be
40
+ https://gitlab.com/areguera/jekyll-theme-centos. This project is intended to be
42
41
  a safe, welcoming space for collaboration, and contributors are expected to
43
42
  adhere to the [Contributor Covenant](http://contributor-covenant.org) code of
44
43
  conduct.
@@ -2,8 +2,8 @@
2
2
  <thead>
3
3
  <tr>
4
4
  <th scope="col"><i class="fas fa-microchip"></i> Architectures</th>
5
- <th scope="col"><i class="fas fa-cubes"></i> Packages</th>
6
- <th scope="col"><i class="fas fa-plus-circle"></i> Others</th>
5
+ <th scope="col">Packages</th>
6
+ <th scope="col">Others</th>
7
7
  </tr>
8
8
  </thead>
9
9
  <tbody>
@@ -6,7 +6,7 @@
6
6
  {% assign blog_posts = site.posts | where: "category", "news-and-events" %}
7
7
  {% for i in blog_posts limit:4 %}
8
8
  {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
9
- <li><a href="{{ i.url }}">{{ i.title }}</a> &mdash; <small>{{ i.date | date: date_format }}</small> {{ i.excerpt }}</li>
9
+ <li><a href="{{ i.url }}">{{ i.title }}</a><br>{{ i.date | date: date_format }} &mdash; {{ i.excerpt | strip_html }}</li>
10
10
  {% endfor %}
11
11
  </ul>
12
12
 
@@ -1,4 +1,13 @@
1
1
  <section class="home__content__planet">
2
+
2
3
  <h2>Around CentOS</h2>
3
- <div id="rss-feeds"></div>
4
+
5
+ <ul>
6
+ {% assign entries = site.data.centos.planet %}
7
+ {% for i in entries limit:8 %}
8
+ {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
9
+ <li><a href="{{ i.link }}">{{ i.title }}</a><br>{{ i.published | date: date_format }} &mdash; {{ i.summary | strip_html | slice: 0,150 }}...</li>
10
+ {% endfor %}
11
+ </ul>
12
+
4
13
  </section>
@@ -1,6 +1,6 @@
1
1
  <nav class="navbar fixed-top navbar-expand-lg navbar-dark">
2
2
  <div class="container">
3
- <a class="navbar-brand" href="{{ site.data.centos.identity.logo.link }}"><img src="{{ site.data.centos.identity.logo.image }}" height="32" alt="{{ site.title }}"></a>
3
+ <a class="navbar-brand" href="{{ site.data.centos.identity.logo.link }}"><img src="{{ site.data.centos.identity.logo.image }}" height="32" alt="{{ site.title }}"> <span class="manifestation">{{ site.data.centos.identity.logo.manifestation }}</span></a>
4
4
  <button data-toggle="collapse" class="navbar-toggler" data-target="#navcol-1"><span class="sr-only">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
5
5
  <div class="collapse navbar-collapse" id="navcol-1">
6
6
  <ul class="nav navbar-nav ml-auto">
@@ -1,4 +1,10 @@
1
1
  <div class="code-header">
2
+ {% if include.icon and include.title %}
3
+ <div class="code-header--description-{{ include.icon }}">{{ include.title }}</div>
4
+ {% else %}
5
+ <div class="code-header--description-code">Code</div>
6
+ {% endif %}
7
+ <div class="code-header--button">
2
8
  <button class="copy-code-button" aria-label="Copy code to clipboard"></button>
9
+ </div>
3
10
  </div>
4
-
@@ -4,20 +4,20 @@
4
4
  {% else %}
5
5
  <div class="post__nav__explorer__newer--disabled">
6
6
  {% endif %}
7
- <a href="{{ page.previous.url }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Previous Post - {{ page.previous.title }}"><i class="fas fa-arrow-left"></i></button></a>
7
+ <a href="{{ page.previous.url }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Previous Post - {{ page.previous.title }}"><i class="fas fa-arrow-left"></i></button></a>
8
8
  </div>
9
9
  {% include top.html %}
10
10
  <div class="post__nav_explorer__feeds">
11
- <a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="RSS"><i class="fas fa-rss"></i></button></a>
11
+ <a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="RSS"><i class="fas fa-rss"></i></button></a>
12
12
  </div>
13
13
  <div class="post__nav__explorer__index">
14
- <a href="/{{ site.pagination.indexpage }}/"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Blog posts"><i class="fas fa-th"></i></button></a>
14
+ <a href="/{{ site.pagination.indexpage }}.html"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Blog posts"><i class="fas fa-th"></i></button></a>
15
15
  </div>
16
16
  {% if page.next.url %}
17
17
  <div class="post__nav__explorer__older">
18
18
  {% else %}
19
19
  <div class="post__nav__explorer__older--disabled">
20
20
  {% endif %}
21
- <a href="{{ page.next.url }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Next Post - {{ page.next.title }}"><i class="fas fa-arrow-right"></i></button></a>
21
+ <a href="{{ page.next.url }}"><button type="button" class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="Next Post - {{ page.next.title }}"><i class="fas fa-arrow-right"></i></button></a>
22
22
  </div>
23
23
  </nav>
data/_includes/top.html CHANGED
@@ -1,3 +1,3 @@
1
1
  <div class="top">
2
- <a href="#top"><button title="Page top" type="button" data-toggle="tooltip" class="btn btn-light"><i class="fas fa-arrow-circle-up"></i></button></a>
2
+ <a href="#top"><button title="Page top" type="button" data-toggle="tooltip" class="btn btn-primary"><i class="fas fa-arrow-circle-up"></i></button></a>
3
3
  </div>
data/_layouts/home.html CHANGED
@@ -31,19 +31,6 @@
31
31
 
32
32
  <script src="/assets/js/jquery.min.js"></script>
33
33
  <script src="/assets/js/bootstrap.min.js"></script>
34
- <script src="/assets/js/moment.min.js"></script>
35
- <script src="/assets/js/jquery.rss.js"></script>
36
- <script>
37
- jQuery(function($) {
38
- $("#rss-feeds").rss("https://www.centos.org/assets/planet.rss", {
39
- limit: 5,
40
- ssl: true,
41
- dateFormat: "MMM DD, YYYY",
42
- entryTemplate: '<li><a href="{url}">{title}</a> &mdash; <small>{date}</small><br/>{shortBodyPlain}</li>'
43
- },
44
- )
45
- })
46
- </script>
47
34
  </body>
48
35
 
49
36
  </html>
@@ -1 +1,2 @@
1
1
  @import "fonts/_montserrat";
2
+ @import "fonts/_overpass";
@@ -7,8 +7,7 @@
7
7
  }
8
8
  }
9
9
 
10
- background-image: url($background-image);
11
- background-color: $black;
10
+ background-image: url($centos-img-motif);
12
11
  background-size: cover;
13
12
  background-position: top right;
14
13
 
@@ -17,7 +16,7 @@
17
16
  }
18
17
 
19
18
  color: $white;
20
- background-color: $black;
19
+ background-color: $dark;
21
20
  font-size: $font-size-base * 0.9;
22
21
  text-shadow: 0 0 5px $black;
23
22
 
@@ -1,7 +1,7 @@
1
1
  .header {
2
2
 
3
3
  color: $white;
4
- background-image: url($background-image);
4
+ background-image: url($centos-img-motif);
5
5
  background-color: $black;
6
6
  background-size: cover;
7
7
  background-position: top right;
@@ -1,360 +1,171 @@
1
- .highlight {
2
- color: $nord-color-4;
3
- background-color: $nord-color-0;
4
-
5
- /* Text.Whitespace */
6
- .w {
7
- background-color: $nord-color-11;
8
- }
9
1
 
10
- /* Error */
11
- .err {
12
- color: $nord-color-11;
13
- }
2
+ /*
3
+ * GitHub style for Pygments syntax highlighter, for use with Jekyll
4
+ * Courtesy of GitHub.com
5
+ *
6
+ * src: https://github.com/aahan/pygments-github-style
7
+ */
8
+
9
+ .highlight pre, pre {
10
+ background-color: #f8f8f8;
11
+ border: 1px solid #ccc;
12
+ padding: 6px 10px;
13
+ border-radius: 0 0 3px 3px;
14
+ }
14
15
 
15
- /* Other */
16
+ .highlight {
17
+ .hll {
18
+ background-color: #f8f8f8;
19
+ border: 1px solid #ccc;
20
+ padding: 6px 10px;
21
+ border-radius: 3px;
22
+ }
23
+ .c {
24
+ color: #999988;
25
+ font-style: italic;
26
+ }
27
+ .err {
28
+ color: #a61717;
29
+ background-color: #e3d2d2;
30
+ }
31
+ .k, .o {
32
+ font-weight: bold;
33
+ }
34
+ .cm {
35
+ color: #999988;
36
+ font-style: italic;
37
+ }
38
+ .cp {
39
+ color: #999999;
40
+ font-weight: bold;
41
+ }
42
+ .c1 {
43
+ color: #999988;
44
+ font-style: italic;
45
+ }
46
+ .cs {
47
+ color: #999999;
48
+ font-weight: bold;
49
+ font-style: italic;
50
+ }
51
+ .gd {
52
+ color: #000000;
53
+ background-color: #ffdddd;
16
54
  .x {
17
- color: $nord-color-4;
18
- }
19
-
20
- /* Keyword */
21
- .k {
22
- color: $nord-color-9;
23
- }
24
-
25
- /* Keyword.Constant */
26
- .kc {
27
- color: $nord-color-11;
28
- }
29
-
30
- /* Keyword.Declaration */
31
- .kd {
32
- color: $nord-color-9;
33
- }
34
- /* Keyword.Namespace */
35
- .kn {
36
- color: $nord-color-9;
37
- }
38
-
39
- /* Keyword.Pseudo */
40
- .kp {
41
- color: $nord-color-9;
42
- }
43
-
44
- /* Keyword.Reserved */
45
- .kr {
46
- color: $nord-color-10;
47
- }
48
-
49
- /* Keyword.Type */
50
- .kt {
51
- color: $nord-color-9;
52
- }
53
-
54
- /* Name */
55
- .n {
56
- color: $nord-color-4;
57
- }
58
-
59
- /* Name.Attribute */
60
- .na {
61
- color: $nord-color-7;
62
- }
63
-
64
- /* Name.Builtin */
65
- .nb {
66
- color: $nord-color-9;
67
- }
68
-
69
- /* Name.Builtin.Pseudo */
70
- .bp {
71
- color: $nord-color-9;
72
- }
73
-
74
- /* Name.Class */
75
- .nc {
76
- color: $nord-color-7;
77
- }
78
-
79
- /* Name.Constant */
80
- .no {
81
- color: $nord-color-7;
82
- }
83
-
84
- /* Name.Decorator */
85
- .nd {
86
- color: $nord-color-7;
87
- }
88
-
89
- /* Name.Entity */
90
- .ni {
91
- color: $nord-color-12;
92
- }
93
-
94
- /* Name.Exception */
95
- .ne {
96
- color: $nord-color-12;
97
- }
98
-
99
- /* Name.Function */
100
- .nf {
101
- color: $nord-color-8;
102
- }
103
-
104
- /* Name.Property */
105
- .py {
106
- color: $nord-color-9;
107
- }
108
-
109
- /* Name.Label */
110
- .nl {
111
- color: $nord-color-8;
112
- }
113
-
114
- /* Name.Namespace */
115
- .nn {
116
- color: $nord-color-8;
117
- }
118
-
119
- /* Name.Other */
120
- .nx {
121
- color: $nord-color-8;
122
- }
123
-
124
- /* Name.Tag */
125
- .nt {
126
- color: $nord-color-9;
127
- }
128
-
129
- /* Name.Variable */
130
- .nv {
131
- color: $nord-color-4;
132
- }
133
-
134
- /* Name.Variable.Class */
135
- .vc {
136
- color: $nord-color-4;
137
- }
138
-
139
- /* Name.Variable.Global */
140
- .vg {
141
- color: $nord-color-4;
142
- }
143
-
144
- /* Name.Variable.Instance */
145
- .vi {
146
- color: $nord-color-4;
147
- }
148
-
149
- /* Literal */
150
- .l {
151
- color: $nord-color-9;
152
- }
153
-
154
- /* Literal.Date */
155
- .ld {
156
- color: $nord-color-9;
157
- }
158
-
159
- /* Literal.String */
160
- .s {
161
- color: $nord-color-14;
162
- }
163
-
164
- /* Literal.String.Backtick */
165
- .sb {
166
- color: $nord-color-14;
167
- }
168
-
169
- /* Literal.String.Char */
170
- .sc {
171
- color: $nord-color-14;
172
- }
173
-
174
- /* Literal.String.Doc */
175
- .sd {
176
- color: $nord-color-14;
177
- }
178
-
179
- /* Literal.String.Double */
180
- .s2 {
181
- color: $nord-color-14;
182
- }
183
-
184
- /* Literal.String.Escape */
185
- .se {
186
- color: $nord-color-12;
187
- }
188
-
189
- /* Literal.String.Heredoc */
190
- .sh {
191
- color: $nord-color-14;
192
- }
193
-
194
- /* Literal.String.Interpol */
195
- .si {
196
- color: $nord-color-14;
197
- }
198
-
199
- /* Literal.String.Other */
200
- .sx {
201
- color: $nord-color-14;
202
- }
203
-
204
- /* Literal.String.Regex */
205
- .sr {
206
- color: $nord-color-13;
207
- }
208
-
209
- /* Literal.String.Single */
210
- .s1 {
211
- color: $nord-color-14;
212
- }
213
-
214
- /* Literal.String.Symbol */
215
- .ss {
216
- color: $nord-color-14;
217
- }
218
-
219
- /* Literal.Number */
220
- .m {
221
- color: $nord-color-15;
222
- }
223
-
224
- /* Literal.Number.Float */
225
- .mf {
226
- color: $nord-color-15;
227
- }
228
-
229
- /* Literal.Number.Hex */
230
- .mh {
231
- color: $nord-color-15;
232
- }
233
-
234
- /* Literal.Number.Integer */
235
- .mi {
236
- color: $nord-color-15;
237
- }
238
-
239
- /* Literal.Number.Integer.Long */
240
- .il {
241
- color: $nord-color-15;
242
- }
243
-
244
- /* Literal.Number.Oct */
245
- .mo {
246
- color: $nord-color-15;
247
- }
248
-
249
- /* Literal.Number.Hex */
250
- .mx {
251
- color: $nord-color-15;
252
- }
253
-
254
- /* Literal.Number.Bin */
255
- .mb {
256
- color: $nord-color-15;
257
- }
258
-
259
- /* Operator */
260
- .o {
261
- color: $nord-color-4;
262
- }
263
-
264
- /* Operator.Word */
265
- .ow {
266
- color: $nord-color-9;
267
- }
268
-
269
- /* Punctuation */
270
- .p {
271
- color: $nord-color-4;
272
- }
273
-
274
- /* Comment */
275
- .c {
276
- color: $nord-color-3;
277
- }
278
-
279
- /* Comment.Multiline */
280
- .cm {
281
- color: $nord-color-3;
282
- }
283
-
284
- /* Comment.Preproc */
285
- .cp {
286
- color: $nord-color-10;
287
- }
288
-
289
- /* Comment.Single */
290
- .c1 {
291
- color: $nord-color-3;
292
- }
293
-
294
- /* Comment.Special */
295
- .cs {
296
- color: $nord-color-3;
297
- }
298
-
299
- /* Generic */
300
- .g {
301
- color: $nord-color-4;
302
- }
303
-
304
- /* Generic.Deleted */
305
- .gd {
306
- color: $nord-color-13;
307
- }
308
-
309
- /* Generic.Emph */
310
- .ge {
311
- color: $nord-color-4;
312
- font-style: italic;
313
- }
314
-
315
- /* Generic.Error */
316
- .gr {
317
- color: $nord-color-11;
318
- }
319
-
320
- /* Generic.Heading */
321
- .gh {
322
- color: $nord-color-8;
323
- }
324
-
325
- /* Generic.Inserted */
326
- .gi {
327
- color: $nord-color-4;
328
- }
329
-
330
- /* Generic.Output */
331
- .go {
332
- color: $nord-color-4;
333
- }
334
-
335
- /* Generic.Prompt */
336
- .gp {
337
- color: $nord-color-4;
338
- }
339
-
340
- /* Generic.Strong */
341
- .gs {
342
- color: $nord-color-4;
343
- font-weight: bold;
344
- }
345
-
346
- /* Generic.Subheading */
347
- .gu {
348
- color: $nord-color-9;
349
- }
350
-
351
- /* Generic.Traceback */
352
- .gt {
353
- color: $nord-color-13;
354
- }
355
-
356
- /* Generic.Lineno */
357
- .gl {
358
- color: $nord-color-2;
359
- }
55
+ color: #000000;
56
+ background-color: #ffaaaa;
57
+ }
58
+ }
59
+ .ge {
60
+ font-style: italic;
61
+ }
62
+ .gr {
63
+ color: #aa0000;
64
+ }
65
+ .gh {
66
+ color: #999999;
67
+ }
68
+ .gi {
69
+ color: #000000;
70
+ background-color: #ddffdd;
71
+ .x {
72
+ color: #000000;
73
+ background-color: #aaffaa;
74
+ }
75
+ }
76
+ .go {
77
+ color: #888888;
78
+ }
79
+ .gp {
80
+ color: #555555;
81
+ }
82
+ .gs {
83
+ font-weight: bold;
84
+ }
85
+ .gu {
86
+ color: #800080;
87
+ font-weight: bold;
88
+ }
89
+ .gt {
90
+ color: #aa0000;
91
+ }
92
+ .kc, .kd, .kn, .kp, .kr {
93
+ font-weight: bold;
94
+ }
95
+ .kt {
96
+ color: #445588;
97
+ font-weight: bold;
98
+ }
99
+ .m {
100
+ color: #009999;
101
+ }
102
+ .s {
103
+ color: #dd1144;
104
+ }
105
+ .n {
106
+ color: #333333;
107
+ }
108
+ .na {
109
+ color: teal;
110
+ }
111
+ .nb {
112
+ color: #0086b3;
113
+ }
114
+ .nc {
115
+ color: #445588;
116
+ font-weight: bold;
117
+ }
118
+ .no {
119
+ color: teal;
120
+ }
121
+ .ni {
122
+ color: purple;
123
+ }
124
+ .ne, .nf {
125
+ color: #990000;
126
+ font-weight: bold;
127
+ }
128
+ .nn {
129
+ color: #555555;
130
+ }
131
+ .nt {
132
+ color: navy;
133
+ }
134
+ .nv {
135
+ color: teal;
136
+ }
137
+ .ow {
138
+ font-weight: bold;
139
+ }
140
+ .w {
141
+ color: #bbbbbb;
142
+ }
143
+ .mf, .mh, .mi, .mo {
144
+ color: #009999;
145
+ }
146
+ .sb, .sc, .sd, .s2, .se, .sh, .si, .sx {
147
+ color: #dd1144;
148
+ }
149
+ .sr {
150
+ color: #009926;
151
+ }
152
+ .s1 {
153
+ color: #dd1144;
154
+ }
155
+ .ss {
156
+ color: #990073;
157
+ }
158
+ .bp {
159
+ color: #999999;
160
+ }
161
+ .vc, .vg, .vi {
162
+ color: teal;
163
+ }
164
+ .il {
165
+ color: #009999;
166
+ }
167
+ .gc {
168
+ color: #999;
169
+ background-color: #EAF2F5;
170
+ }
360
171
  }
@@ -27,6 +27,7 @@
27
27
  }
28
28
  }
29
29
  &__planet, &__news-and-events {
30
+ a { font-weight: bold; }
30
31
  @include link-list;
31
32
  }
32
33
  }
@@ -177,16 +178,15 @@
177
178
  border: none;
178
179
  padding: 15px;
179
180
  text-align: left;
180
- &__image {
181
- img {
182
- width: auto;
183
- height: 50px;
184
- }
181
+ img {
182
+ width: auto;
183
+ height: 50px;
185
184
  }
186
185
  &__body {
187
- &__title {
186
+ &_title {
187
+ display: none;
188
188
  }
189
- &__description {
189
+ &_description {
190
190
  }
191
191
  }
192
192
  }
@@ -1,6 +1,13 @@
1
1
  .navbar {
2
2
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
3
3
  &-dark {
4
- background: $black;
4
+ background: $dark;
5
+ }
6
+ &-brand {
7
+ .manifestation {
8
+ color: white;
9
+ font-size: small;
10
+ padding-left: 5px;
11
+ }
5
12
  }
6
13
  }
@@ -20,7 +20,7 @@
20
20
  list-style: none;
21
21
  &:before {
22
22
  @extend .fas;
23
- color: $secondary;
23
+ color: $primary;
24
24
  margin-right: 5px;
25
25
  content: fa-content($fa-var-angle-right);
26
26
  }
@@ -4,44 +4,28 @@
4
4
  // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
5
5
  //
6
6
 
7
- //
8
7
  /* ----------------------------------------------------------------------
9
- * Color system
8
+ * CentOS identity
10
9
  * ---------------------------------------------------------------------- */
11
- $white: #fff;
12
- $black: #000;
13
- $dark: #343a40;
10
+ $centos-color-0: #9ccd2a;
11
+ $centos-color-1: #efa724;
12
+ $centos-color-2: #a14f8c;
13
+ $centos-color-3: #262577;
14
+ $centos-img-logo: "/assets/img/logo.png";
15
+ $centos-img-motif: "/assets/img/motif.png";
14
16
 
15
17
  /* ----------------------------------------------------------------------
16
- * Nord Identity
18
+ * Color system - based in the artistic motif palette and the number of
19
+ * occurrence each color has in the image.
17
20
  * ---------------------------------------------------------------------- */
18
- $nord-color-0: #2e3440;
19
- $nord-color-1: #3b4252;
20
- $nord-color-2: #434c5e;
21
- $nord-color-3: #4c566a;
22
- $nord-color-4: #d8dee9;
23
- $nord-color-5: #e5e9f0;
24
- $nord-color-6: #eceff4;
25
- $nord-color-7: #8fbcbb;
26
- $nord-color-8: #88c0d0;
27
- $nord-color-9: #81a1c1;
28
- $nord-color-10: #5e81ac;
29
- $nord-color-11: #bf616a;
30
- $nord-color-12: #d08770;
31
- $nord-color-13: #ebcb8b;
32
- $nord-color-14: #a3be8c;
33
- $nord-color-15: #b48ead;
21
+ $white: #fff;
22
+ $primary: #6226a9;
23
+ $secondary: #0f1c4c;
24
+ $dark: #05112b;
25
+
34
26
  /* ----------------------------------------------------------------------
35
- * CentOS Identity
27
+ * Header
36
28
  * ---------------------------------------------------------------------- */
37
- $color-0: #9ccd2a;
38
- $color-1: #efa724;
39
- $color-2: #a14f8c;
40
- $color-3: #262577;
41
-
42
- $logo-image: "/assets/img/logo.png";
43
- $background-image: "/assets/img/motif.png";
44
-
45
29
  $home-header-padding-top: 202px;
46
30
  $home-header-padding-bottom: 150px;
47
31
  $page-header-padding-top: 152px;
@@ -49,40 +33,40 @@ $page-header-padding-bottom: 100px;
49
33
  $heading-margin-top: 1rem;
50
34
  $scroll-margin-top: $heading-margin-top * 2.6;
51
35
 
52
- // Body
53
- //
54
- // Settings for the `<body>` element.
55
-
36
+ /* ----------------------------------------------------------------------
37
+ * Body - settings for `<body>` element.
38
+ * ---------------------------------------------------------------------- */
56
39
  $body-bg: #f0f0f0;
57
- $body-color: #212529;
58
-
59
- // Paragraphs
60
- //
61
- // Style p element.
40
+ $body-color: $dark;
62
41
 
42
+ /* ----------------------------------------------------------------------
43
+ * Paragraphs
44
+ * ---------------------------------------------------------------------- */
63
45
  $paragraph-margin-bottom: 1.8rem;
64
46
 
65
- // Typography
66
- //
67
- // Font, line-height, and color for body text, headings, and more.
68
-
47
+ /* ----------------------------------------------------------------------
48
+ * Typography - Font, line-height, and color for body text, headings, and more.
49
+ * ---------------------------------------------------------------------- */
69
50
  $font-family-sans-serif: Montserrat;
70
51
  $line-height-base: 1.75;
71
52
  $headings-line-height: $line-height-base - 0.3;
72
53
  $headings-font-weight: 700;
73
54
 
74
- //
75
- // Dropdown menu container and contents.
76
- //
77
- $dropdown-bg: $black;
55
+ /* ----------------------------------------------------------------------
56
+ * Dropdown menu container and contents.
57
+ * ---------------------------------------------------------------------- */
58
+ $dropdown-bg: $dark;
78
59
  $dropdown-link-color: $white;
79
60
  $dropdown-link-hover-color: $white;
80
- $dropdown-link-hover-bg: rgba($white, .2);
61
+ $dropdown-link-hover-bg: rgba($primary, .2);
81
62
 
82
- // Breadcrumbs
63
+ /* ----------------------------------------------------------------------
64
+ * Breadcrumbs
65
+ * ---------------------------------------------------------------------- */
83
66
  $breadcrumb-bg: transparent;
84
67
  $breadcrumb-padding-x: 0;
85
68
 
86
- //
87
- //$component-active-color: $white;
88
- //#$component-active-bg: $dark;
69
+ /* ----------------------------------------------------------------------
70
+ * Tables
71
+ * ---------------------------------------------------------------------- */
72
+ $table-dark-bg: $dark;
@@ -0,0 +1,45 @@
1
+ $font-family-path: "../fonts/Overpass/";
2
+
3
+ @font-face {
4
+ font-family: 'overpass-mono';
5
+ src: url('#{$font-family-path}overpass-mono-light.eot');
6
+ src: url('#{$font-family-path}overpass-mono-light.eot?#iefix') format('embedded-opentype'),
7
+ url('#{$font-family-path}overpass-mono-light.woff2') format('woff2'),
8
+ url('#{$font-family-path}overpass-mono-light.woff') format('woff'),
9
+ url('#{$font-family-path}overpass-mono-light.ttf') format('truetype');
10
+ font-weight: 300;
11
+ font-style: normal;
12
+ }
13
+
14
+ @font-face {
15
+ font-family: 'overpass-mono';
16
+ src: url('#{$font-family-path}overpass-mono-regular.eot');
17
+ src: url('#{$font-family-path}overpass-mono-regular.eot?#iefix') format('embedded-opentype'),
18
+ url('#{$font-family-path}overpass-mono-regular.woff2') format('woff2'),
19
+ url('#{$font-family-path}overpass-mono-regular.woff') format('woff'),
20
+ url('#{$font-family-path}overpass-mono-regular.ttf') format('truetype');
21
+ font-weight: 400;
22
+ font-style: normal;
23
+ }
24
+
25
+ @font-face {
26
+ font-family: 'overpass-mono';
27
+ src: url('#{$font-family-path}overpass-mono-semibold.eot');
28
+ src: url('#{$font-family-path}overpass-mono-semibold.eot?#iefix') format('embedded-opentype'),
29
+ url('#{$font-family-path}overpass-mono-semibold.woff2') format('woff2'),
30
+ url('#{$font-family-path}overpass-mono-semibold.woff') format('woff'),
31
+ url('#{$font-family-path}overpass-mono-semibold.ttf') format('truetype');
32
+ font-weight: 500;
33
+ font-style: normal;
34
+ }
35
+
36
+ @font-face {
37
+ font-family: 'overpass-mono';
38
+ src: url('#{$font-family-path}overpass-mono-bold.eot');
39
+ src: url('#{$font-family-path}overpass-mono-bold.eot?#iefix') format('embedded-opentype'),
40
+ url('#{$font-family-path}overpass-mono-bold.woff2') format('woff2'),
41
+ url('#{$font-family-path}overpass-mono-bold.woff') format('woff'),
42
+ url('#{$font-family-path}overpass-mono-bold.ttf') format('truetype');
43
+ font-weight: 600;
44
+ font-style: normal;
45
+ }
@@ -1,40 +1,60 @@
1
+ /* code-header
2
+ */
1
3
  @mixin code-header {
2
4
 
3
5
  .code-header {
6
+ @extend .bg-light;
4
7
  display: flex;
5
- justify-content: flex-end;
6
- background: $black;
7
- }
8
-
9
- .copy-code-button {
10
- @extend .btn, .btn-dark, .shadow-none;
11
- border-radius: 0px;
12
- display: grid;
13
- grid-auto-flow: column;
8
+ justify-content: space-between;
14
9
  align-items: center;
15
- grid-column-gap: 4px;
16
- border: none;
17
- cursor: pointer;
18
- background-color: $black;
19
- font-size: small;
10
+ padding-left: 10px;
11
+ font-size: small;
20
12
 
21
- &:before {
22
- @extend .fas;
23
- content: fa-content($fa-var-clipboard);
24
- }
25
- &:after {
26
- content: "Copy";
27
- display: block;
13
+ &--description {
14
+ &-code {
15
+ &:before { @extend .fas; content: fa-content($fa-var-code); padding-right: 5px; }
16
+ }
17
+ &-python {
18
+ &:before { @extend .fab; content: fa-content($fa-var-python); padding-right: 5px; }
19
+ }
20
+ &-terminal {
21
+ &:before { @extend .fas; content: fa-content($fa-var-terminal); padding-right: 5px; }
22
+ }
23
+ &-key {
24
+ &:before { @extend .fas; content: fa-content($fa-var-key); padding-right: 5px; }
25
+ }
28
26
  }
29
27
 
30
- // This class will be toggled via JavaScript
31
- &.copied {
32
- &:before {
33
- @extend .fas;
34
- content: fa-content($fa-var-clipboard-check);
35
- }
36
- &:after {
37
- content: "Copied!";
28
+ &--button {
29
+ .copy-code-button {
30
+ @extend .btn, .btn-light, .shadow-none, .btn-sm;
31
+ border-radius: 0px;
32
+ display: grid;
33
+ grid-auto-flow: column;
34
+ align-items: center;
35
+ grid-column-gap: 4px;
36
+ border: none;
37
+ cursor: pointer;
38
+ font-size: small;
39
+
40
+ &:before {
41
+ @extend .fas;
42
+ content: fa-content($fa-var-clipboard);
43
+ }
44
+ &:after {
45
+ content: "Copy";
46
+ }
47
+
48
+ // This class will be toggled via JavaScript
49
+ &.copied {
50
+ &:before {
51
+ @extend .fas;
52
+ content: fa-content($fa-var-clipboard-check);
53
+ }
54
+ &:after {
55
+ content: "Copied!";
56
+ }
57
+ }
38
58
  }
39
59
  }
40
60
  }
@@ -3,7 +3,7 @@
3
3
  background: #fff;
4
4
  padding: 2.75rem;
5
5
  margin-top: -120px;
6
- min-height: 430px;
6
+ min-height: 490px;
7
7
  box-shadow: 0px -2px 3px 0px rgba(50, 50, 50, 0.25);
8
8
 
9
9
  h1, h2, h3, h4, h5, h6 {
@@ -16,7 +16,7 @@
16
16
 
17
17
  h2 {
18
18
  margin-top: $scroll-margin-top;
19
- border-bottom: 3px solid $body-color;
19
+ border-bottom: 3px solid $dark;
20
20
  }
21
21
 
22
22
  img {
@@ -25,8 +25,13 @@
25
25
  }
26
26
 
27
27
  pre {
28
+ font-family: "overpass-mono";
28
29
  @extend .highlight, .pre-scrollable;
29
- padding: 1rem;
30
+ padding: 5px 10px;
31
+ }
32
+
33
+ code {
34
+ font-family: "overpass-mono";
30
35
  }
31
36
 
32
37
  table {
@@ -7,9 +7,9 @@
7
7
  margin-left: 1em;
8
8
  &:before {
9
9
  @extend .fas;
10
- color: $secondary;
11
10
  margin-right: 0.5em;
12
11
  margin-left: -1em;
12
+ color: $primary;
13
13
  content: fa-content($fa-var-angle-right);
14
14
  }
15
15
  }
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.5.8
4
+ version: 0.6.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: 2021-04-11 00:00:00.000000000 Z
11
+ date: 2021-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -217,6 +217,7 @@ files:
217
217
  - _sass/centos/_variables.scss
218
218
  - _sass/centos/centos.scss
219
219
  - _sass/centos/fonts/_montserrat.scss
220
+ - _sass/centos/fonts/_overpass.scss
220
221
  - _sass/centos/mixins/_aside-nav.scss
221
222
  - _sass/centos/mixins/_code-header.scss
222
223
  - _sass/centos/mixins/_content-nav.scss
@@ -316,6 +317,22 @@ files:
316
317
  - assets/fonts/Montserrat/MontserratAlternates-ThinItalic.woff
317
318
  - assets/fonts/Montserrat/MontserratAlternates-ThinItalic.woff2
318
319
  - assets/fonts/Montserrat/README.MD
320
+ - assets/fonts/Overpass/overpass-mono-bold.eot
321
+ - assets/fonts/Overpass/overpass-mono-bold.ttf
322
+ - assets/fonts/Overpass/overpass-mono-bold.woff
323
+ - assets/fonts/Overpass/overpass-mono-bold.woff2
324
+ - assets/fonts/Overpass/overpass-mono-light.eot
325
+ - assets/fonts/Overpass/overpass-mono-light.ttf
326
+ - assets/fonts/Overpass/overpass-mono-light.woff
327
+ - assets/fonts/Overpass/overpass-mono-light.woff2
328
+ - assets/fonts/Overpass/overpass-mono-regular.eot
329
+ - assets/fonts/Overpass/overpass-mono-regular.ttf
330
+ - assets/fonts/Overpass/overpass-mono-regular.woff
331
+ - assets/fonts/Overpass/overpass-mono-regular.woff2
332
+ - assets/fonts/Overpass/overpass-mono-semibold.eot
333
+ - assets/fonts/Overpass/overpass-mono-semibold.ttf
334
+ - assets/fonts/Overpass/overpass-mono-semibold.woff
335
+ - assets/fonts/Overpass/overpass-mono-semibold.woff2
319
336
  - assets/fonts/fa-brands-400.eot
320
337
  - assets/fonts/fa-brands-400.svg
321
338
  - assets/fonts/fa-brands-400.ttf