jekyll-theme-centos 0.1.21 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/{page/breadcrumbs.html → breadcrumbs.html} +0 -0
- data/_includes/{page/download-body-doc.html → download/body-doc.html} +0 -0
- data/_includes/{page/download-body-eol.html → download/body-eol.html} +0 -0
- data/_includes/{page/download-body.html → download/body.html} +0 -0
- data/_includes/download/cards.html +16 -0
- data/_includes/{page/download-footer.html → download/footer.html} +0 -0
- data/_includes/download/header-doc.html +8 -0
- data/_includes/download/header-eol.html +8 -0
- data/_includes/download/header.html +10 -0
- data/_includes/download/linux.html +22 -0
- data/_includes/download/linux/7-doc.html +5 -0
- data/_includes/download/linux/7-eol.html +5 -0
- data/_includes/download/linux/7.html +5 -0
- data/_includes/download/linux/8-doc.html +5 -0
- data/_includes/download/linux/8-eol.html +5 -0
- data/_includes/download/linux/8.html +5 -0
- data/_includes/download/stream.html +16 -0
- data/_includes/download/stream/8-doc.html +5 -0
- data/_includes/download/stream/8-eol.html +5 -0
- data/_includes/download/stream/8.html +5 -0
- data/_includes/header.html +9 -11
- data/_includes/header/blog.html +17 -20
- data/_includes/header/home.html +13 -17
- data/_includes/header/page.html +4 -10
- data/_includes/header/post.html +19 -20
- data/_includes/home/around.html +2 -4
- data/_includes/home/news-and-sponsors.html +8 -0
- data/_includes/home/news.html +10 -15
- data/_includes/home/sponsors.html +6 -6
- data/_includes/{page/search.html → search.html} +0 -0
- data/_includes/{page/toc.html → toc.html} +4 -5
- data/_includes/top.html +3 -0
- data/_layouts/aside.html +11 -10
- data/_layouts/blog.html +34 -40
- data/_layouts/default.html +1 -0
- data/_layouts/download-mirror.html +5 -7
- data/_layouts/home.html +5 -9
- data/_layouts/page.html +10 -7
- data/_layouts/post.html +34 -19
- data/_layouts/search.html +8 -7
- data/_layouts/sponsors.html +16 -10
- data/_sass/centos/_breadcrumbs.scss +4 -0
- data/_sass/centos/_footer.scss +15 -3
- data/_sass/centos/_header.scss +85 -38
- data/_sass/centos/_main.scss +196 -0
- data/_sass/centos/_mixins.scss +3 -6
- data/_sass/centos/_nav.scss +2 -9
- data/_sass/centos/{mixins/_page-toc.scss → _toc.scss} +8 -4
- data/_sass/centos/_variables.scss +15 -45
- data/_sass/centos/centos.scss +3 -2
- data/_sass/centos/mixins/_aside-nav.scss +26 -0
- data/_sass/centos/mixins/_content.scss +82 -0
- data/_sass/centos/{_rssfeeds.scss → mixins/_link-list.scss} +1 -1
- data/assets/img/post.png +0 -0
- metadata +33 -33
- data/_includes/page/download-cards.html +0 -13
- data/_includes/page/download-header-doc.html +0 -8
- data/_includes/page/download-header-eol.html +0 -8
- data/_includes/page/download-header.html +0 -10
- data/_includes/page/download-linux.html +0 -20
- data/_includes/page/download-linux/7-doc.html +0 -5
- data/_includes/page/download-linux/7-eol.html +0 -5
- data/_includes/page/download-linux/7.html +0 -5
- data/_includes/page/download-linux/8-doc.html +0 -5
- data/_includes/page/download-linux/8-eol.html +0 -5
- data/_includes/page/download-linux/8.html +0 -5
- data/_includes/page/download-stream.html +0 -16
- data/_includes/page/download-stream/8-doc.html +0 -5
- data/_includes/page/download-stream/8-eol.html +0 -5
- data/_includes/page/download-stream/8.html +0 -5
- data/_layouts/download.html +0 -25
- data/_sass/centos/_page.scss +0 -221
- data/_sass/centos/mixins/_before-angle-right.scss +0 -9
- data/_sass/centos/mixins/_link-dark.scss +0 -10
- data/_sass/centos/mixins/_page-card.scss +0 -14
- data/_sass/centos/mixins/_page-heading.scss +0 -28
- data/_sass/centos/mixins/_page-lists.scss +0 -15
data/_layouts/blog.html
CHANGED
@@ -2,60 +2,54 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<main class="
|
6
|
-
<div class="row">
|
5
|
+
<main class="blog">
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
</ol>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="col text-right">
|
16
|
-
<a href="{{ "/feed.xml" | relative_url }}"><button type="button" class="btn btn-light"><i class="fas fa-rss"></i></button></a>
|
17
|
-
</div>
|
18
|
-
|
19
|
-
</div>
|
7
|
+
<ol class="blog__breadcrumb">
|
8
|
+
<li class="blog__breadcrumb__item"><a href="/">Home</a></li>
|
9
|
+
<li class="blog__breadcrumb__item abreadcrumb-item--active">{{ page.title | capitalize }}</li>
|
10
|
+
</ol>
|
20
11
|
|
21
|
-
<
|
22
|
-
<div class="blog">
|
12
|
+
<section class="blog__entries">
|
23
13
|
{%- if site.posts.size > 0 -%}
|
24
|
-
<div class="
|
14
|
+
<div class="blog__entries__card">
|
25
15
|
{%- for post in paginator.posts -%}
|
26
|
-
<div class="
|
27
|
-
<a href="{{ post.url | relative_url }}">
|
28
|
-
<div class="card-body">
|
16
|
+
<div class="blog__entries__card__item">
|
29
17
|
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
30
18
|
{%- if post.image -%}
|
31
|
-
<img class="
|
19
|
+
<a href="{{ post.url | relative_url }}"><img class="blog__entries__card__item__image" src="{{ post.image }}" alt="{{ post.title | escape }}"></a>
|
32
20
|
{%- endif -%}
|
33
|
-
<
|
34
|
-
<p class="
|
21
|
+
<a href="{{ post.url | relative_url }}"><h4 class="blog__entries__card__item__title">{{ post.title | escape }}</h4></a>
|
22
|
+
<p class="blog__entries__card__item__date">{{ post.date | date: date_format }}</p>
|
35
23
|
{%- if site.show_excerpts -%}
|
36
|
-
<p class="
|
24
|
+
<p class="blog__entries__card__item__excerpt">{{ sponsor.excerpt }}</p>
|
37
25
|
{%- endif -%}
|
38
26
|
</div>
|
39
|
-
</a>
|
40
|
-
</div>
|
41
27
|
{% endfor %}
|
42
28
|
</div>
|
43
29
|
{%- endif -%}
|
30
|
+
</section>
|
44
31
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
32
|
+
{% if paginator.total_pages > 1 %}
|
33
|
+
<nav class="blog__navbar">
|
34
|
+
{% if paginator.previous_page %}
|
35
|
+
<div class="blog__navbar__newer">
|
36
|
+
{% else %}
|
37
|
+
<div class="blog__navbar__newer--disabled">
|
38
|
+
{% endif %}
|
39
|
+
<a href="{{ paginator.previous_page_path }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Newer Posts"><i class="fas fa-arrow-left"></i></button></a>
|
40
|
+
</div>
|
41
|
+
<div class="blog__navbar__feeds">
|
42
|
+
<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>
|
43
|
+
</div>
|
44
|
+
{% if paginator.next_page %}
|
45
|
+
<div class="blog__navbar__older">
|
46
|
+
{% else %}
|
47
|
+
<div class="blog__navbar__older--disabled">
|
48
|
+
{% endif %}
|
49
|
+
<a href="{{ paginator.next_page_path }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Older Posts"><i class="fas fa-arrow-right"></i></button></a>
|
59
50
|
</div>
|
60
51
|
</div>
|
52
|
+
{% endif %}
|
53
|
+
</nav>
|
54
|
+
|
61
55
|
</main>
|
data/_layouts/default.html
CHANGED
@@ -8,13 +8,11 @@
|
|
8
8
|
{% include navbar.html -%}
|
9
9
|
{% include header.html -%}
|
10
10
|
|
11
|
-
<main class="
|
12
|
-
{% include
|
13
|
-
<
|
14
|
-
|
15
|
-
|
16
|
-
</article>
|
17
|
-
</div>
|
11
|
+
<main class="download">
|
12
|
+
{% include breadcrumbs.html %}
|
13
|
+
<article class="download__content">
|
14
|
+
{{ content }}
|
15
|
+
</article>
|
18
16
|
</main>
|
19
17
|
|
20
18
|
{% include footer.html -%}
|
data/_layouts/home.html
CHANGED
@@ -8,14 +8,9 @@
|
|
8
8
|
{% include navbar.html -%}
|
9
9
|
{% include header.html -%}
|
10
10
|
|
11
|
-
<main class="
|
12
|
-
|
13
|
-
|
14
|
-
{% include home/sponsors.html %}
|
15
|
-
</div>
|
16
|
-
<div class="row">
|
17
|
-
{% include home/around.html -%}
|
18
|
-
</div>
|
11
|
+
<main class="home">
|
12
|
+
{% include home/news-and-sponsors.html -%}
|
13
|
+
{% include home/around.html -%}
|
19
14
|
</main>
|
20
15
|
|
21
16
|
{% include footer.html -%}
|
@@ -29,7 +24,8 @@
|
|
29
24
|
$("#rss-feeds").rss("https://www.centos.org/assets/planet.rss", {
|
30
25
|
limit: 5,
|
31
26
|
ssl: true,
|
32
|
-
|
27
|
+
dateFormat: "MMM DD, YYYY",
|
28
|
+
entryTemplate: '<li><a href="{url}">{title}</a> — <small>{date}</small><br/>{shortBodyPlain}</li>'
|
33
29
|
},
|
34
30
|
)
|
35
31
|
})
|
data/_layouts/page.html
CHANGED
@@ -3,11 +3,14 @@ layout: default
|
|
3
3
|
---
|
4
4
|
|
5
5
|
<main class="page">
|
6
|
-
|
7
|
-
{% include
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
</
|
6
|
+
|
7
|
+
{% include breadcrumbs.html %}
|
8
|
+
{% include toc.html html=content %}
|
9
|
+
|
10
|
+
<article class="page__content">
|
11
|
+
{{ content }}
|
12
|
+
</article>
|
13
|
+
|
14
|
+
{% include top.html %}
|
15
|
+
|
13
16
|
</main>
|
data/_layouts/post.html
CHANGED
@@ -2,26 +2,41 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<main class="
|
6
|
-
<div class="row">
|
5
|
+
<main class="post">
|
7
6
|
|
8
|
-
<
|
9
|
-
|
10
|
-
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
{
|
15
|
-
</
|
7
|
+
<section class="post__content">
|
8
|
+
{% if page.image %}
|
9
|
+
<figure>
|
10
|
+
<img class="figure-img img-fluid" src="{{ page.image }}" alt="{{ page.title | escape }}">
|
11
|
+
</figure>
|
12
|
+
{% endif %}
|
13
|
+
{{ content }}
|
14
|
+
</section>
|
16
15
|
|
17
|
-
<
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
{% endif %}
|
23
|
-
{{ content }}
|
24
|
-
</article>
|
16
|
+
<aside class="post__content__nav">
|
17
|
+
{% include breadcrumbs.html %}
|
18
|
+
{% include toc.html html=content %}
|
19
|
+
{% include top.html %}
|
20
|
+
</aside>
|
25
21
|
|
26
|
-
|
22
|
+
<nav class="post__navbar">
|
23
|
+
{% if page.previous.url %}
|
24
|
+
<div class="post__navbar__newer">
|
25
|
+
{% else %}
|
26
|
+
<div class="post__navbar__newer--disabled">
|
27
|
+
{% endif %}
|
28
|
+
<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>
|
29
|
+
</div>
|
30
|
+
<div class="blog__navbar_entries">
|
31
|
+
<a href="{{ "/blog" | relative_url }}"><button type="button" class="btn btn-light" data-toggle="tooltip" data-placement="top" title="Blog posts"><i class="fas fa-th"></i></button></a>
|
32
|
+
</div>
|
33
|
+
{% if page.next.url %}
|
34
|
+
<div class="post__navbar__older">
|
35
|
+
{% else %}
|
36
|
+
<div class="post__navbar__older--disabled">
|
37
|
+
{% endif %}
|
38
|
+
<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>
|
39
|
+
</div>
|
40
|
+
</nav>
|
41
|
+
|
27
42
|
</main>
|
data/_layouts/search.html
CHANGED
@@ -2,11 +2,12 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<main class="
|
6
|
-
|
7
|
-
|
8
|
-
{{ content }}
|
9
|
-
</div>
|
10
|
-
</div>
|
11
|
-
</main>
|
5
|
+
<main class="search">
|
6
|
+
|
7
|
+
{% include breadcrumbs.html %}
|
12
8
|
|
9
|
+
<section class="search__results">
|
10
|
+
{{ content }}
|
11
|
+
</section>
|
12
|
+
|
13
|
+
</main>
|
data/_layouts/sponsors.html
CHANGED
@@ -1,21 +1,27 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
|
5
|
+
<main class="sponsors">
|
6
6
|
|
7
|
-
|
8
|
-
|
7
|
+
{% include breadcrumbs.html %}
|
8
|
+
|
9
|
+
<div class="sponsors__content">
|
10
|
+
|
11
|
+
{{ content }}
|
12
|
+
|
13
|
+
<div class="sponsors__content__card">
|
9
14
|
{% for sponsor in site.sponsors %}
|
10
|
-
<div class="
|
15
|
+
<div class="sponsors__content__card__item">
|
11
16
|
<a href="{{ sponsor.address }}">
|
12
|
-
<img class="
|
13
|
-
<div class="
|
14
|
-
<p class="
|
15
|
-
<p class="
|
17
|
+
<img class="sponsors__content__card__item__image" src="{{ sponsor.logo }}" alt="{{ sponsor.name }}">
|
18
|
+
<div class="sponsors__content__card__item__body">
|
19
|
+
<p class="sponsors__content__card__item__body_title">{{ sponsor.name }}</p>
|
20
|
+
<p class="sponsors__content__card__item__body_description">{{ sponsor.description }}</p>
|
16
21
|
</div>
|
17
22
|
</a>
|
18
23
|
</div>
|
19
24
|
{% endfor %}
|
20
25
|
</div>
|
21
|
-
|
26
|
+
|
27
|
+
</main>
|
data/_sass/centos/_footer.scss
CHANGED
@@ -1,18 +1,30 @@
|
|
1
1
|
.footer {
|
2
2
|
|
3
|
-
|
3
|
+
a {
|
4
|
+
color: rgba(255,255,255,0.75);
|
5
|
+
&:hover {
|
6
|
+
color: $white;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
background-image: url($background-image);
|
11
|
+
background-color: $black;
|
12
|
+
background-size: cover;
|
13
|
+
background-position: top right;
|
4
14
|
|
5
15
|
%-margin {
|
6
16
|
margin-top: $line-height-base * 1.5rem;
|
7
17
|
}
|
8
18
|
|
9
19
|
color: $nord-color-6;
|
10
|
-
background-color: $
|
11
|
-
border-top: 1px solid $nord-color-3;
|
20
|
+
background-color: $black;
|
12
21
|
font-size: $font-size-base * 0.9;
|
13
22
|
|
14
23
|
margin-top: $line-height-base * 2rem;
|
15
24
|
|
25
|
+
scroll-margin-top: $scroll-margin-top;
|
26
|
+
margin-top: $heading-margin-top;
|
27
|
+
|
16
28
|
ul {
|
17
29
|
padding: 0;
|
18
30
|
list-style: none;
|
data/_sass/centos/_header.scss
CHANGED
@@ -1,50 +1,97 @@
|
|
1
1
|
.header {
|
2
|
-
color: #fff;
|
3
|
-
background-image: url($background-image);
|
4
|
-
background-color: $nord-color-0;
|
5
|
-
background-size: cover;
|
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
2
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
3
|
+
color: $white;
|
4
|
+
background-image: url($background-image);
|
5
|
+
background-color: $black;
|
6
|
+
background-size: cover;
|
7
|
+
background-position: center right;
|
8
|
+
|
9
|
+
&__home {
|
10
|
+
padding-top: 4rem;
|
11
|
+
padding-bottom: 3rem;
|
12
|
+
margin-top: 60px;
|
21
13
|
|
22
|
-
|
23
|
-
|
24
|
-
|
14
|
+
display: flex;
|
15
|
+
justify-content: center;
|
16
|
+
flex-direction: column;
|
17
|
+
|
18
|
+
&__title, &__description, &__preamble, &__worklines {
|
19
|
+
@extend .container;
|
20
|
+
text-shadow: 0 0 5px $black;
|
21
|
+
}
|
25
22
|
|
26
|
-
|
27
|
-
|
28
|
-
|
23
|
+
&__description, &__preamble {
|
24
|
+
@extend .lead;
|
25
|
+
}
|
29
26
|
|
30
|
-
|
31
|
-
|
32
|
-
|
27
|
+
&__worklines {
|
28
|
+
.btn {
|
29
|
+
margin-bottom: $line-height-base - 1em;
|
30
|
+
margin-right: $line-height-base - 1em;
|
31
|
+
color: $white;
|
32
|
+
background: rgba($black, 0.4);
|
33
|
+
&:hover {
|
34
|
+
background: rgba($black, 0.75);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
33
38
|
}
|
34
39
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
40
|
+
&__page {
|
41
|
+
padding-top: 4rem;
|
42
|
+
padding-bottom: 3rem;
|
43
|
+
margin-top: 60px;
|
44
|
+
|
45
|
+
display: flex;
|
46
|
+
justify-content: center;
|
47
|
+
flex-direction: column;
|
48
|
+
|
49
|
+
&__title, &__description {
|
50
|
+
@extend .container;
|
51
|
+
text-shadow: 0 0 5px $black;
|
44
52
|
}
|
45
|
-
|
46
|
-
|
53
|
+
|
54
|
+
&__description {
|
55
|
+
@extend .lead;
|
47
56
|
}
|
48
57
|
}
|
49
58
|
|
59
|
+
&__blog, &__post {
|
60
|
+
padding-top: 4rem;
|
61
|
+
padding-bottom: 3rem;
|
62
|
+
margin-top: 60px;
|
63
|
+
|
64
|
+
display: flex;
|
65
|
+
justify-content: space-between;
|
66
|
+
flex-direction: row;
|
67
|
+
|
68
|
+
&__newer, &__older {
|
69
|
+
padding: 0.5em;
|
70
|
+
font-size: $h3-font-size;
|
71
|
+
color: $white;
|
72
|
+
background: $black;
|
73
|
+
opacity: 0.3;
|
74
|
+
&:hover {
|
75
|
+
opacity: 0.65;
|
76
|
+
}
|
77
|
+
&--disabled {
|
78
|
+
opacity: 0;
|
79
|
+
&:hover {
|
80
|
+
opacity: 0;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
&__present {
|
86
|
+
@extend .container;
|
87
|
+
}
|
88
|
+
|
89
|
+
&__title, &__description {
|
90
|
+
text-shadow: 0 0 5px $black;
|
91
|
+
}
|
92
|
+
|
93
|
+
&__description {
|
94
|
+
@extend .lead;
|
95
|
+
}
|
96
|
+
}
|
50
97
|
}
|