jekyll-theme-centos-test 1.0.22 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/breadcrumbs.html +11 -0
- data/_includes/download/cards-body-convert.html +12 -0
- data/_includes/download/cards-body-doc.html +6 -0
- data/_includes/download/cards-body-eol.html +7 -0
- data/_includes/download/cards-body.html +7 -0
- data/_includes/download/cards-footer.html +3 -0
- data/_includes/download/cards-header-convert.html +9 -0
- data/_includes/download/cards-header-doc.html +9 -0
- data/_includes/download/cards-header-eol.html +9 -0
- data/_includes/download/cards-header.html +11 -0
- data/_includes/download/cards.html +63 -0
- data/_includes/footer.html +64 -0
- data/_includes/head-datatables.html +8 -0
- data/_includes/head.html +7 -0
- data/_includes/header/blog.html +22 -0
- data/_includes/header/home.html +5 -0
- data/_includes/header/page.html +6 -0
- data/_includes/header/post.html +23 -0
- data/_includes/header.html +9 -0
- data/_includes/home/distributions.html +18 -0
- data/_includes/home/news-and-events.html +18 -0
- data/_includes/home/planet.html +18 -0
- data/_includes/home/shortcuts.html +17 -0
- data/_includes/home/sponsors.html +19 -0
- data/_includes/hr.html +6 -0
- data/_includes/navbar.html +26 -0
- data/_includes/page/alert-danger.html +4 -0
- data/_includes/page/alert-info.html +4 -0
- data/_includes/page/alert-success.html +4 -0
- data/_includes/page/alert-warning.html +4 -0
- data/_includes/page/figure.html +3 -0
- data/_includes/page/video.html +3 -0
- data/_includes/post-nav-explorer.html +23 -0
- data/_includes/post-nav.html +3 -0
- data/_includes/search.html +81 -0
- data/_includes/toc.html +104 -0
- data/_includes/top.html +3 -0
- data/_layouts/aside.html +25 -0
- data/_layouts/blog.html +38 -0
- data/_layouts/default.html +18 -0
- data/_layouts/home.html +45 -0
- data/_layouts/page-datatables.html +35 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +29 -0
- data/_layouts/search.html +38 -0
- data/_layouts/sponsors.html +30 -0
- data/_sass/centos/_variables.scss +16 -0
- data/_sass/centos/centos-blog.scss +46 -0
- data/_sass/centos/centos-httpd.scss +27 -0
- data/_sass/centos/centos-lists.scss +162 -0
- data/_sass/centos/centos.scss +1 -0
- data/_sass/centos/fonts/_montserrat.scss +253 -0
- data/_sass/centos/fonts/_overpass.scss +43 -0
- data/assets/css/stylesheet.scss +14 -0
- metadata +58 -4
data/_includes/toc.html
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
{% capture tocWorkspace %}
|
2
|
+
{% comment %}
|
3
|
+
Version 1.0.10
|
4
|
+
https://github.com/allejo/jekyll-toc
|
5
|
+
|
6
|
+
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
|
7
|
+
|
8
|
+
Usage:
|
9
|
+
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
|
10
|
+
|
11
|
+
Parameters:
|
12
|
+
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
|
13
|
+
|
14
|
+
Optional Parameters:
|
15
|
+
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
|
16
|
+
* class (string) : '' - a CSS class assigned to the TOC
|
17
|
+
* id (string) : '' - an ID to assigned to the TOC
|
18
|
+
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
|
19
|
+
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
|
20
|
+
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
|
21
|
+
* item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
|
22
|
+
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
|
23
|
+
* anchor_class (string) : '' - add custom class(es) for each anchor element
|
24
|
+
|
25
|
+
Output:
|
26
|
+
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
|
27
|
+
generate the table of contents and will NOT output the markdown given to it
|
28
|
+
{% endcomment %}
|
29
|
+
|
30
|
+
{% capture my_toc %}{% endcapture %}
|
31
|
+
{% assign orderedList = include.ordered | default: false %}
|
32
|
+
{% assign minHeader = include.h_min | default: 1 %}
|
33
|
+
{% assign maxHeader = include.h_max | default: 6 %}
|
34
|
+
{% assign nodes = include.html | split: '<h' %}
|
35
|
+
{% assign firstHeader = true %}
|
36
|
+
|
37
|
+
{% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
|
38
|
+
|
39
|
+
{% for node in nodes %}
|
40
|
+
{% if node == "" %}
|
41
|
+
{% continue %}
|
42
|
+
{% endif %}
|
43
|
+
|
44
|
+
{% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
|
45
|
+
|
46
|
+
{% if headerLevel < minHeader or headerLevel > maxHeader %}
|
47
|
+
{% continue %}
|
48
|
+
{% endif %}
|
49
|
+
|
50
|
+
{% if firstHeader %}
|
51
|
+
{% assign firstHeader = false %}
|
52
|
+
{% assign minHeader = headerLevel %}
|
53
|
+
{% endif %}
|
54
|
+
|
55
|
+
{% assign indentAmount = headerLevel | minus: minHeader %}
|
56
|
+
{% assign _workspace = node | split: '</h' %}
|
57
|
+
|
58
|
+
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
|
59
|
+
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
|
60
|
+
{% assign html_id = _idWorkspace[0] %}
|
61
|
+
|
62
|
+
{% assign _classWorkspace = _workspace[0] | split: 'class="' %}
|
63
|
+
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
|
64
|
+
{% assign html_class = _classWorkspace[0] %}
|
65
|
+
|
66
|
+
{% if html_class contains "no_toc" %}
|
67
|
+
{% continue %}
|
68
|
+
{% endif %}
|
69
|
+
|
70
|
+
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
|
71
|
+
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
|
72
|
+
|
73
|
+
{% assign space = '' %}
|
74
|
+
{% for i in (1..indentAmount) %}
|
75
|
+
{% assign space = space | prepend: ' ' %}
|
76
|
+
{% endfor %}
|
77
|
+
|
78
|
+
{% if include.item_class and include.item_class != blank %}
|
79
|
+
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
|
80
|
+
{% endif %}
|
81
|
+
|
82
|
+
{% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
|
83
|
+
{% capture my_toc %}{{ my_toc }}
|
84
|
+
{{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %}
|
85
|
+
{% endfor %}
|
86
|
+
|
87
|
+
{% if include.class and include.class != blank %}
|
88
|
+
{% capture my_toc %}{:.{{ include.class }}}
|
89
|
+
{{ my_toc | lstrip }}{% endcapture %}
|
90
|
+
{% endif %}
|
91
|
+
|
92
|
+
{% if include.id %}
|
93
|
+
{% capture my_toc %}{: #{{ include.id }}}
|
94
|
+
{{ my_toc | lstrip }}{% endcapture %}
|
95
|
+
{% endif %}{% endcapture %}
|
96
|
+
|
97
|
+
<div class="toc">
|
98
|
+
{% if my_toc != "" %}
|
99
|
+
<header class="toc__header">On this page:</header>
|
100
|
+
<section class="toc__section">
|
101
|
+
{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
|
102
|
+
</section>
|
103
|
+
{% endif %}
|
104
|
+
</div>
|
data/_includes/top.html
ADDED
data/_layouts/aside.html
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="aside">
|
6
|
+
|
7
|
+
<article class="aside__content">
|
8
|
+
<div class="aside__content__nav">
|
9
|
+
{% include breadcrumbs.html %}
|
10
|
+
{% include toc.html html=content %}
|
11
|
+
</div>
|
12
|
+
{{ content }}
|
13
|
+
|
14
|
+
<div class="aside__content__nav">
|
15
|
+
<div class="aside__nav__explorer">
|
16
|
+
</div>
|
17
|
+
</div>
|
18
|
+
</article>
|
19
|
+
|
20
|
+
<aside class="aside__nav">
|
21
|
+
{% include breadcrumbs.html %}
|
22
|
+
{% include toc.html html=content %}
|
23
|
+
</aside>
|
24
|
+
|
25
|
+
</main>
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="blog">
|
6
|
+
|
7
|
+
<div class="blog__content">
|
8
|
+
|
9
|
+
<ol class="blog__content__breadcrumb">
|
10
|
+
<li class="blog__content__breadcrumb__item"><a href="/">Home</a></li>
|
11
|
+
<li class="blog__content__breadcrumb__item--active">{{ page.title | capitalize }}</li>
|
12
|
+
</ol>
|
13
|
+
|
14
|
+
<section class="blog__content__entries">
|
15
|
+
{%- if site.posts.size > 0 -%}
|
16
|
+
<div class="blog__content__entries__card">
|
17
|
+
{%- for post in paginator.posts -%}
|
18
|
+
<div class="blog__content__entries__card__item">
|
19
|
+
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
20
|
+
{%- if post.image -%}
|
21
|
+
<a href="{{ post.url | relative_url }}"><img class="blog__content__entries__card__item__image" src="{{ post.image }}" alt="{{ post.title | escape }}"></a>
|
22
|
+
{%- endif -%}
|
23
|
+
<a href="{{ post.url | relative_url }}"><h4 class="blog__content__entries__card__item__title">{{ post.title | escape }}</h4></a>
|
24
|
+
<p class="blog__content__entries__card__item__date">{{ post.date | date: date_format }}</p>
|
25
|
+
{%- if site.show_excerpts -%}
|
26
|
+
<p class="blog__content__entries__card__item__excerpt">{{ sponsor.excerpt }}</p>
|
27
|
+
{%- endif -%}
|
28
|
+
</div>
|
29
|
+
{% endfor %}
|
30
|
+
</div>
|
31
|
+
{%- endif -%}
|
32
|
+
</section>
|
33
|
+
|
34
|
+
{% include post-nav-explorer.html %}
|
35
|
+
|
36
|
+
</div>
|
37
|
+
|
38
|
+
</main>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: 'en' }}">
|
3
|
+
|
4
|
+
{% include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{% include navbar.html -%}
|
9
|
+
{% include header.html -%}
|
10
|
+
|
11
|
+
{{ content }}
|
12
|
+
|
13
|
+
{% include footer.html -%}
|
14
|
+
|
15
|
+
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
|
16
|
+
</body>
|
17
|
+
|
18
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: 'en' }}">
|
3
|
+
|
4
|
+
{% include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{% include navbar.html -%}
|
9
|
+
|
10
|
+
<main>
|
11
|
+
|
12
|
+
<div id="content">
|
13
|
+
<div class="pt-5 pb-5 bg-gradient">
|
14
|
+
{% include header.html -%}
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="container">
|
18
|
+
{% if site.data.centos.distributions %}
|
19
|
+
<p class="display-6 fw-bold text-center pt-3"><i class="fa-brands fa-linux"></i> Linux distributions</p>
|
20
|
+
<p class="text-center">We offer two Linux variants: (<a href="cl-vs-cs">What's the difference?</a>)</p>
|
21
|
+
{% include home/distributions.html %}
|
22
|
+
{% endif %}
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div class="container">
|
26
|
+
<div class="row">
|
27
|
+
<div class="col-md-12 col-lg-6 mt-5">
|
28
|
+
<p class="display-6 fw-bold pt-3"><i class="fa-solid fa-microphone-lines"></i> News and events</p>
|
29
|
+
</div>
|
30
|
+
<div class="col-md-12 col-lg-6 mt-5">
|
31
|
+
<p class="display-6 fw-bold pt-3"><i class="fa-solid fa-keyboard"></i> Blog posts</p>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
</div>
|
37
|
+
|
38
|
+
</main>
|
39
|
+
|
40
|
+
{% include footer.html -%}
|
41
|
+
|
42
|
+
<script src="{{ site.url }}{{ site.baseurl }}/assets/js/bootstrap.bundle.min.js"></script>
|
43
|
+
</body>
|
44
|
+
|
45
|
+
</html>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: 'en' }}">
|
3
|
+
|
4
|
+
{% include head-datatables.html %}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{% include navbar.html -%}
|
9
|
+
{% include header.html -%}
|
10
|
+
|
11
|
+
<main id="main" class="download">
|
12
|
+
<article class="download__content">
|
13
|
+
<div class="download__content__nav">
|
14
|
+
{% include breadcrumbs.html %}
|
15
|
+
{% include toc.html html=content %}
|
16
|
+
</div>
|
17
|
+
{{ content }}
|
18
|
+
</article>
|
19
|
+
</main>
|
20
|
+
|
21
|
+
{% include footer.html -%}
|
22
|
+
|
23
|
+
<script src="/assets/js/jquery.min.js"></script>
|
24
|
+
<script src="/assets/js/jquery.dataTables.min.js"></script>
|
25
|
+
<script src="/assets/js/dataTables.bootstrap5.min.js"></script>
|
26
|
+
<script>
|
27
|
+
$(document).ready(function() {
|
28
|
+
$('#download-mirror').DataTable();
|
29
|
+
} );
|
30
|
+
</script>
|
31
|
+
|
32
|
+
<script src="/assets/js/bootstrap.bundle.min.js"></script>
|
33
|
+
</body>
|
34
|
+
|
35
|
+
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="page">
|
6
|
+
|
7
|
+
<article class="page__content">
|
8
|
+
<div class="page__content__nav">
|
9
|
+
{% include breadcrumbs.html %}
|
10
|
+
{% include toc.html html=content %}
|
11
|
+
</div>
|
12
|
+
|
13
|
+
{{ content }}
|
14
|
+
|
15
|
+
</article>
|
16
|
+
|
17
|
+
</main>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="post">
|
6
|
+
|
7
|
+
<article class="post__content">
|
8
|
+
|
9
|
+
<nav class="post__content__nav">
|
10
|
+
{% include breadcrumbs.html %}
|
11
|
+
{% include toc.html html=content %}
|
12
|
+
</nav>
|
13
|
+
|
14
|
+
{% if page.image %}
|
15
|
+
<figure><img class="figure-img img-fluid" src="{{ page.image }}" alt="{{ page.title | escape }}"></figure>
|
16
|
+
{% endif %}
|
17
|
+
|
18
|
+
{{ content }}
|
19
|
+
|
20
|
+
<nav class="post__content__nav">
|
21
|
+
{% include post-nav-explorer.html %}
|
22
|
+
</nav>
|
23
|
+
</article>
|
24
|
+
|
25
|
+
<aside class="post__nav">
|
26
|
+
{% include post-nav.html %}
|
27
|
+
</aside>
|
28
|
+
|
29
|
+
</main>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: 'en' }}">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
7
|
+
<title>{{ page.title }}</title>
|
8
|
+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon.png">
|
9
|
+
<link rel="stylesheet" href="/assets/css/centos.bootstrap.min.css">
|
10
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch.min.css">
|
11
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.6.0/dist/instantsearch-theme-algolia.min.css">
|
12
|
+
</head>
|
13
|
+
|
14
|
+
<body>
|
15
|
+
|
16
|
+
{% include navbar.html -%}
|
17
|
+
{% include header.html -%}
|
18
|
+
|
19
|
+
<main class="search">
|
20
|
+
|
21
|
+
<div class="search__content">
|
22
|
+
<div class="search__content__nav">
|
23
|
+
{% include breadcrumbs.html %}
|
24
|
+
</div>
|
25
|
+
|
26
|
+
<div class="search__content_results">
|
27
|
+
{{ content }}
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
</main>
|
32
|
+
|
33
|
+
{% include footer.html -%}
|
34
|
+
|
35
|
+
<script src="/assets/js/bootstrap.bundle.min.js"></script>
|
36
|
+
</body>
|
37
|
+
|
38
|
+
</html>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="sponsors">
|
6
|
+
|
7
|
+
<div class="sponsors__content">
|
8
|
+
|
9
|
+
<div class="sponsors__content__nav">
|
10
|
+
{% include breadcrumbs.html %}
|
11
|
+
{% include toc.html html=content %}
|
12
|
+
</div>
|
13
|
+
|
14
|
+
{{ content }}
|
15
|
+
|
16
|
+
<div class="sponsors__content__card">
|
17
|
+
{% for sponsor in site.sponsors %}
|
18
|
+
<div class="sponsors__content__card__item">
|
19
|
+
<a href="{{ sponsor.address }}">
|
20
|
+
<img class="sponsors__content__card__item__image" src="{{ sponsor.logo }}" alt="{{ sponsor.name }}">
|
21
|
+
<div class="sponsors__content__card__item__body">
|
22
|
+
<p class="sponsors__content__card__item__body_title">{{ sponsor.name }}</p>
|
23
|
+
<p class="sponsors__content__card__item__body_description">{{ sponsor.description }}</p>
|
24
|
+
</div>
|
25
|
+
</a>
|
26
|
+
</div>
|
27
|
+
{% endfor %}
|
28
|
+
</div>
|
29
|
+
|
30
|
+
</main>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
//
|
2
|
+
// CentOS Branding
|
3
|
+
//
|
4
|
+
$centos-color-1: #a14f8c;
|
5
|
+
$centos-color-2: #262577;
|
6
|
+
$centos-color-3: #9ccd2a;
|
7
|
+
$centos-color-4: #efa724;
|
8
|
+
//
|
9
|
+
// Bootstrap v5 customization variables
|
10
|
+
//
|
11
|
+
$enable-rounded: false !default;
|
12
|
+
$nav-pills-link-active-bg: $centos-color-1;
|
13
|
+
$link-color: $centos-color-1;
|
14
|
+
$gradient: linear-gradient(rgba(239,167,36,0.3), rgba(161,79,140,0.3) 30%, rgba(255,255,255,1));
|
15
|
+
$font-family-sans-serif: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
16
|
+
$font-family-monospace: overpass-mono, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/*!
|
2
|
+
* Blog customization (https://gitlab.com/areguera/jekyll-theme-centos/)
|
3
|
+
* Copyright 2020-2021 Alain Reguera Delgado
|
4
|
+
* Licensed under MIT (https://gitlab.com/areguera/jekyll-theme-centos/-/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
|
7
|
+
.aside {
|
8
|
+
&__content {
|
9
|
+
.entry {
|
10
|
+
border-bottom: 1px solid $body-bg;
|
11
|
+
margin-bottom: 1.5rem;
|
12
|
+
}
|
13
|
+
.comment-list {
|
14
|
+
padding-left: 0;
|
15
|
+
}
|
16
|
+
.comment-list li {
|
17
|
+
list-style: none;
|
18
|
+
margin-top: 1rem;
|
19
|
+
margin-bottom: 1rem;
|
20
|
+
}
|
21
|
+
.avatar {
|
22
|
+
border-radius: $border-radius;
|
23
|
+
margin-right: 1rem;
|
24
|
+
margin-bottom: 1rem;
|
25
|
+
}
|
26
|
+
.comment-body {
|
27
|
+
border-radius: $border-radius;
|
28
|
+
background: #f8f8f8;
|
29
|
+
padding: 1rem;
|
30
|
+
}
|
31
|
+
.comment-form-author textarea, input[type="text"],
|
32
|
+
.comment-form-comment textarea {
|
33
|
+
width: 100%;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
&__nav {
|
38
|
+
.searchform input[type="text"] {
|
39
|
+
width: 80%;
|
40
|
+
margin-bottom: 2rem;
|
41
|
+
}
|
42
|
+
.widget ul {
|
43
|
+
padding-left: 0;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/*!
|
2
|
+
* Httpd customization (https://gitlab.com/areguera/jekyll-theme-centos/)
|
3
|
+
* Copyright 2020-2021 Alain Reguera Delgado
|
4
|
+
* Licensed under MIT (https://gitlab.com/areguera/jekyll-theme-centos/-/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
|
7
|
+
.page {
|
8
|
+
&__content {
|
9
|
+
&__autoindex {
|
10
|
+
// The autoindex is not directly used by website content but by external
|
11
|
+
// sites (e.g., mirror.centos.org, people.centos.org and all the
|
12
|
+
// user-specific pages under it.
|
13
|
+
&__list {
|
14
|
+
}
|
15
|
+
img {
|
16
|
+
width: auto;
|
17
|
+
}
|
18
|
+
pre {
|
19
|
+
background: none;
|
20
|
+
border: none;
|
21
|
+
max-height: none;
|
22
|
+
overflow-y: hidden;
|
23
|
+
padding: 0;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,162 @@
|
|
1
|
+
/*!
|
2
|
+
* Mailing lists customization (https://gitlab.com/areguera/jekyll-theme-centos/)
|
3
|
+
* Copyright 2020-2021 Alain Reguera Delgado
|
4
|
+
* Licensed under MIT (https://gitlab.com/areguera/jekyll-theme-centos/-/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
|
7
|
+
.aside, .page {
|
8
|
+
&__content {
|
9
|
+
&__mailman {
|
10
|
+
&__nav {
|
11
|
+
ul {
|
12
|
+
font-size: small;
|
13
|
+
list-style: none;
|
14
|
+
padding-left: 0;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
&__article {
|
18
|
+
pre {
|
19
|
+
border: none;
|
20
|
+
border-bottom: 1px solid #ccc;
|
21
|
+
border-top: 1px solid #ccc;
|
22
|
+
max-height: none;
|
23
|
+
font-size: 1rem;
|
24
|
+
padding: 0;
|
25
|
+
padding-top: 1rem;
|
26
|
+
padding-bottom: 1rem;
|
27
|
+
overflow: hidden;
|
28
|
+
white-space: pre-wrap;
|
29
|
+
background: $white;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.page {
|
37
|
+
&__content {
|
38
|
+
&__mailman {
|
39
|
+
&__admlogin {
|
40
|
+
&> address:nth-child(4) > table:nth-child(8) > tbody:nth-child(1) > tr:nth-child(1) > td {
|
41
|
+
background-color: $white;
|
42
|
+
border: none;
|
43
|
+
padding: 0;
|
44
|
+
vertical-align: middle;
|
45
|
+
}
|
46
|
+
&> address:nth-child(4) > table:nth-child(8) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) {
|
47
|
+
text-align: center;
|
48
|
+
}
|
49
|
+
&> address:nth-child(4) > table:nth-child(8) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(3) {
|
50
|
+
text-align: right;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
&__welcome {
|
54
|
+
&> table:nth-child(1) > tbody > tr:nth-child(1) > td,
|
55
|
+
&> form > table > tbody > tr > td > center > table > tbody > tr > td,
|
56
|
+
&> form > table > tbody > tr > td {
|
57
|
+
background-color: white;
|
58
|
+
border: none;
|
59
|
+
}
|
60
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(4) > td {
|
61
|
+
border: none;
|
62
|
+
}
|
63
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(1) > font:nth-child(1) {
|
64
|
+
display: none;
|
65
|
+
}
|
66
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(2) > td > p {
|
67
|
+
line-height: $line-height-base;
|
68
|
+
}
|
69
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1),
|
70
|
+
&> address:nth-child(5) > p:nth-child(7) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td,
|
71
|
+
&> address > table > tbody > tr > td,
|
72
|
+
&> table:nth-child(3) > tbody:nth-child(1) > tr:nth-child(1) > td {
|
73
|
+
background-color: $white;
|
74
|
+
border: none;
|
75
|
+
padding: 0;
|
76
|
+
vertical-align: middle;
|
77
|
+
text-align: left;
|
78
|
+
}
|
79
|
+
&> address > table > tbody > tr > td:nth-child(2),
|
80
|
+
&> table:nth-child(3) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) {
|
81
|
+
text-align: center;
|
82
|
+
}
|
83
|
+
&> address > table > tbody > tr > td:nth-child(3),
|
84
|
+
&> table:nth-child(3) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(3) {
|
85
|
+
text-align: right;
|
86
|
+
}
|
87
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(1) {
|
88
|
+
padding: 0;
|
89
|
+
}
|
90
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(1) > strong:nth-child(1) > font:nth-child(1),
|
91
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(2) > strong:nth-child(1) > font:nth-child(1) {
|
92
|
+
font-size: 1rem;
|
93
|
+
}
|
94
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(1) > font:nth-child(1) {
|
95
|
+
@extend .h3;
|
96
|
+
}
|
97
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(2) > td {
|
98
|
+
border: none;
|
99
|
+
}
|
100
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(3),
|
101
|
+
&> hr:nth-child(2) {
|
102
|
+
display: none;
|
103
|
+
}
|
104
|
+
&> table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(4) {
|
105
|
+
@extend .text-white, .bg-dark;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
&__listinfo {
|
109
|
+
&> address:nth-child(8) > table:nth-child(8) > tbody:nth-child(1) > tr:nth-child(1) > td {
|
110
|
+
background-color: $white;
|
111
|
+
border: none;
|
112
|
+
padding: 0;
|
113
|
+
vertical-align: middle;
|
114
|
+
text-align: left;
|
115
|
+
}
|
116
|
+
&> address:nth-child(8) > table:nth-child(8) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) {
|
117
|
+
text-align: left;
|
118
|
+
}
|
119
|
+
&> address:nth-child(8) > table:nth-child(8) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2) {
|
120
|
+
text-align: center;
|
121
|
+
}
|
122
|
+
&> address:nth-child(8) > table:nth-child(8) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(3) {
|
123
|
+
text-align: right;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
&__options {
|
127
|
+
&> address > table > tbody > tr > td {
|
128
|
+
background-color: $white;
|
129
|
+
border: none;
|
130
|
+
padding: 0;
|
131
|
+
}
|
132
|
+
&> address > table > tbody > tr > td:nth-child(1) {
|
133
|
+
text-align: left;
|
134
|
+
}
|
135
|
+
&> address > table > tbody > tr > td:nth-child(2) {
|
136
|
+
text-align: center;
|
137
|
+
}
|
138
|
+
&> address > table > tbody > tr > td:nth-child(3) {
|
139
|
+
text-align: right;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
&__subscribe {
|
143
|
+
&> address > table > tbody > tr > td {
|
144
|
+
background-color: $white;
|
145
|
+
border: none;
|
146
|
+
padding: 0;
|
147
|
+
}
|
148
|
+
&> address > table > tbody > tr > td:nth-child(1) {
|
149
|
+
text-align: left;
|
150
|
+
}
|
151
|
+
&> address > table > tbody > tr > td:nth-child(2) {
|
152
|
+
text-align: center;
|
153
|
+
}
|
154
|
+
&> address > table > tbody > tr > td:nth-child(3) {
|
155
|
+
text-align: right;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
&__welcome, &__listinfo, &__archtoc, &__archtocnombox, &__article, &__emptyarchive, &__options, &__roster, &__subscribe, &__private, &__admlogin {
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "centos/variables"
|