jekyll-theme-centos 2.8.0 → 2.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b950d67d998e1c1458007ba980532a85418f3291712acb9050234014f385ec0
4
- data.tar.gz: 458d0694345dec3a541c32a04f9dc5989d4dc7eb2a0baa31f76ea3c32243f7df
3
+ metadata.gz: 940972d56cfb361abd0b85e2ecd46e2a7fbbd6369ef7865a29b8f3b44e876bea
4
+ data.tar.gz: ba4d7ed5c775bf55d0fe31de301adcf193f5517b5a0e17c26237b624a0599918
5
5
  SHA512:
6
- metadata.gz: 786484d972cd6775876574698aa2025214399d251a0932d427fca51dab03a7b4899e6fe2130b8132497b80f2a445b06580bdcf66234d09f00386287646213b21
7
- data.tar.gz: ffeb7936ed6504ffd0bffa9687a3da2933242c03a48f750e58522f848952f7dbb2a9e9252cc9f89a043d6147d1fa9add760e84cfc981b5801bb1f2e2246fdb15
6
+ metadata.gz: 3d4a02cc9284b7a38624ec465acf85e818cf6f4c5543c7edf7322b61cf8ff8be3ecc49a1654466dc9632d0c66ede6da49bf578b5a407079a3ea1d23e9cb0cbf0
7
+ data.tar.gz: 7d66805d6ddfa4c70fad021e7864b6bcc6da9fc753203b21717f821fa67faa1329f82e3ba205d2b5107eed43f733fc29b0c941b91418d216d05fa29ba2926a13
@@ -25,8 +25,8 @@ copyright:
25
25
  author: "The CentOS Project"
26
26
  legals:
27
27
  - text: "Legal"
28
- link: "/legal"
28
+ link: "https://www.centos.org/legal"
29
29
  - text: "Privacy"
30
- link: "/legal/privacy"
30
+ link: "https://www.centos.org/legal/privacy"
31
31
  - text: "Site source"
32
32
  link: "https://git.centos.org/centos/centos.org"
@@ -1,5 +1,5 @@
1
1
  {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
2
- <footer class="footer small bg-dark text-light mt-3">
2
+ <footer class="footer small bg-dark text-light">
3
3
  <div class="container">
4
4
  <div class="row bg-primary justify-content-between">
5
5
  {% assign sections = navbar | where: "visible_on", "footer" %}
@@ -51,7 +51,7 @@
51
51
  <span>{{ site.data.base.footer.copyright.author }}</span>
52
52
  {% for item in site.data.base.footer.copyright.legals -%}
53
53
  <span class="border-start ms-2 ps-2">
54
- <a class="link-light" href="{{ site.baseurl }}{{ item.link }}">{{ item.text }}</a>
54
+ <a class="link-light" href="{{ item.link }}">{{ item.text }}</a>
55
55
  </span>
56
56
  {% endfor %}
57
57
  </div>
@@ -7,22 +7,25 @@
7
7
  {% include base/header.html -%}
8
8
 
9
9
  <main>
10
- <div class="container py-5">
11
- {% if page.with_breadcrumbs %}
12
- <div class="row justify-content-center">
13
- <div class="col-sm-12 col-xl-8">
14
- {% include base/breadcrumbs.html %}
15
- </div>
16
- </div>
17
- {% endif %}
18
- {% if page.with_toc %}
19
- <div class="row my-3 justify-content-center">
20
- <div class="col-sm-12 col-xl-8">{% include base/toc-accordion.html %}</div>
10
+ <div class="container my-5">
11
+ {% if page.with_breadcrumbs %}
12
+ <div class="row justify-content-center my-4">
13
+ <div class="col-sm-12 col-xl-8">
14
+ {% include base/breadcrumbs.html %}
21
15
  </div>
16
+ </div>
17
+ {% endif %}
18
+ {% if page.with_toc %}
19
+ <div class="row justify-content-center my-4">
20
+ <div class="col-sm-12 col-xl-8">{% include base/toc-accordion.html %}</div>
21
+ </div>
22
+ {% endif %}
23
+ <div class="row justify-content-center my-4">
24
+ {% if page.with_image %}
25
+ <div class="col-sm-12 col-xl-8 artwork"><img src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ page.with_image }}" class="img-fluid rounded" alt="{{ page.title }}"></div>
22
26
  {% endif %}
23
- <div class="row my-5 justify-content-center">
24
- <div class="col-sm-12 col-xl-8 content">{{ content }}</div>
25
- </div>
27
+ <div class="col-sm-12 col-xl-8 content">{{ content }}</div>
28
+ </div>
26
29
  </div>
27
30
  </main>
28
31
 
@@ -47,6 +47,13 @@ main {
47
47
  scroll-margin-bottom: 100px;
48
48
  margin-top: 3rem;
49
49
  }
50
+ // --------------------------------------------------------------------------------
51
+ // Tuneup first paragraph top margin when it is the first element inside
52
+ // content.
53
+ // --------------------------------------------------------------------------------
54
+ .content > p:first-child {
55
+ margin-top: 3rem;
56
+ }
50
57
 
51
58
  // --------------------------------------------------------------------------------
52
59
  // DataTable
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ReleaseBot