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.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/_includes/download/header.html +2 -2
- data/_includes/home/news-and-events.html +1 -1
- data/_includes/home/planet.html +10 -1
- data/_includes/navbar.html +1 -1
- data/_includes/page/code-header.html +7 -1
- data/_includes/post-nav-explorer.html +4 -4
- data/_includes/top.html +1 -1
- data/_layouts/home.html +0 -13
- data/_sass/centos/_fonts.scss +1 -0
- data/_sass/centos/_footer.scss +2 -3
- data/_sass/centos/_header.scss +1 -1
- data/_sass/centos/_highlighter.scss +167 -356
- data/_sass/centos/_main.scss +7 -7
- data/_sass/centos/_nav.scss +8 -1
- data/_sass/centos/_toc.scss +1 -1
- data/_sass/centos/_variables.scss +37 -53
- data/_sass/centos/fonts/_overpass.scss +45 -0
- data/_sass/centos/mixins/_code-header.scss +49 -29
- data/_sass/centos/mixins/_content.scss +8 -3
- data/_sass/centos/mixins/_link-list.scss +1 -1
- data/assets/fonts/Overpass/overpass-mono-bold.eot +0 -0
- data/assets/fonts/Overpass/overpass-mono-bold.ttf +0 -0
- data/assets/fonts/Overpass/overpass-mono-bold.woff +0 -0
- data/assets/fonts/Overpass/overpass-mono-bold.woff2 +0 -0
- data/assets/fonts/Overpass/overpass-mono-light.eot +0 -0
- data/assets/fonts/Overpass/overpass-mono-light.ttf +0 -0
- data/assets/fonts/Overpass/overpass-mono-light.woff +0 -0
- data/assets/fonts/Overpass/overpass-mono-light.woff2 +0 -0
- data/assets/fonts/Overpass/overpass-mono-regular.eot +0 -0
- data/assets/fonts/Overpass/overpass-mono-regular.ttf +0 -0
- data/assets/fonts/Overpass/overpass-mono-regular.woff +0 -0
- data/assets/fonts/Overpass/overpass-mono-regular.woff2 +0 -0
- data/assets/fonts/Overpass/overpass-mono-semibold.eot +0 -0
- data/assets/fonts/Overpass/overpass-mono-semibold.ttf +0 -0
- data/assets/fonts/Overpass/overpass-mono-semibold.woff +0 -0
- data/assets/fonts/Overpass/overpass-mono-semibold.woff2 +0 -0
- metadata +19 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75c6ebb3390dab7cb7398c35ee2e6004e6bc58cef61725c55a7b20489cc854b9
|
4
|
+
data.tar.gz: 33e0aa7400fe52cfee092e83d4128a6a652c7b5eed8a704f9cfe73e36a59fbd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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://
|
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"
|
6
|
-
<th scope="col"
|
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
|
-
|
9
|
+
<li><a href="{{ i.url }}">{{ i.title }}</a><br>{{ i.date | date: date_format }} — {{ i.excerpt | strip_html }}</li>
|
10
10
|
{% endfor %}
|
11
11
|
</ul>
|
12
12
|
|
data/_includes/home/planet.html
CHANGED
@@ -1,4 +1,13 @@
|
|
1
1
|
<section class="home__content__planet">
|
2
|
+
|
2
3
|
<h2>Around CentOS</h2>
|
3
|
-
|
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 }} — {{ i.summary | strip_html | slice: 0,150 }}...</li>
|
10
|
+
{% endfor %}
|
11
|
+
</ul>
|
12
|
+
|
4
13
|
</section>
|
data/_includes/navbar.html
CHANGED
@@ -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-
|
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-
|
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 }}
|
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-
|
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-
|
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> — <small>{date}</small><br/>{shortBodyPlain}</li>'
|
43
|
-
},
|
44
|
-
)
|
45
|
-
})
|
46
|
-
</script>
|
47
34
|
</body>
|
48
35
|
|
49
36
|
</html>
|
data/_sass/centos/_fonts.scss
CHANGED
data/_sass/centos/_footer.scss
CHANGED
@@ -7,8 +7,7 @@
|
|
7
7
|
}
|
8
8
|
}
|
9
9
|
|
10
|
-
background-image: url($
|
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: $
|
19
|
+
background-color: $dark;
|
21
20
|
font-size: $font-size-base * 0.9;
|
22
21
|
text-shadow: 0 0 5px $black;
|
23
22
|
|
data/_sass/centos/_header.scss
CHANGED
@@ -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
|
-
|
11
|
-
|
12
|
-
|
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
|
-
|
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
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
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
|
}
|
data/_sass/centos/_main.scss
CHANGED
@@ -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
|
-
|
181
|
-
|
182
|
-
|
183
|
-
height: 50px;
|
184
|
-
}
|
181
|
+
img {
|
182
|
+
width: auto;
|
183
|
+
height: 50px;
|
185
184
|
}
|
186
185
|
&__body {
|
187
|
-
&
|
186
|
+
&_title {
|
187
|
+
display: none;
|
188
188
|
}
|
189
|
-
&
|
189
|
+
&_description {
|
190
190
|
}
|
191
191
|
}
|
192
192
|
}
|
data/_sass/centos/_nav.scss
CHANGED
data/_sass/centos/_toc.scss
CHANGED
@@ -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
|
-
*
|
8
|
+
* CentOS identity
|
10
9
|
* ---------------------------------------------------------------------- */
|
11
|
-
$
|
12
|
-
$
|
13
|
-
$
|
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
|
-
*
|
18
|
+
* Color system - based in the artistic motif palette and the number of
|
19
|
+
* occurrence each color has in the image.
|
17
20
|
* ---------------------------------------------------------------------- */
|
18
|
-
$
|
19
|
-
$
|
20
|
-
$
|
21
|
-
$
|
22
|
-
|
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
|
-
*
|
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
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
36
|
+
/* ----------------------------------------------------------------------
|
37
|
+
* Body - settings for `<body>` element.
|
38
|
+
* ---------------------------------------------------------------------- */
|
56
39
|
$body-bg: #f0f0f0;
|
57
|
-
$body-color:
|
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
|
-
|
66
|
-
|
67
|
-
|
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
|
-
|
76
|
-
|
77
|
-
$dropdown-bg: $
|
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($
|
61
|
+
$dropdown-link-hover-bg: rgba($primary, .2);
|
81
62
|
|
82
|
-
|
63
|
+
/* ----------------------------------------------------------------------
|
64
|
+
* Breadcrumbs
|
65
|
+
* ---------------------------------------------------------------------- */
|
83
66
|
$breadcrumb-bg: transparent;
|
84
67
|
$breadcrumb-padding-x: 0;
|
85
68
|
|
86
|
-
|
87
|
-
|
88
|
-
|
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:
|
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
|
-
|
16
|
-
|
17
|
-
cursor: pointer;
|
18
|
-
background-color: $black;
|
19
|
-
font-size: small;
|
10
|
+
padding-left: 10px;
|
11
|
+
font-size: small;
|
20
12
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
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:
|
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 $
|
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:
|
30
|
+
padding: 5px 10px;
|
31
|
+
}
|
32
|
+
|
33
|
+
code {
|
34
|
+
font-family: "overpass-mono";
|
30
35
|
}
|
31
36
|
|
32
37
|
table {
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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.
|
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-
|
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
|