jekyll-theme-centos 2.32.0 → 2.34.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: 24fe6e4233b7e625b098e7a0e2ef5385327e94b3351ff46179b699006cbec5d1
4
- data.tar.gz: ed144d599cedb6ef02f4abe9087b9dbf43a14435fd7be509ea78e0a804d7d1ce
3
+ metadata.gz: 79e0077a84454b1cb8ed4f483cdca67a0cd56b329acb31af9b5f86a90ec26794
4
+ data.tar.gz: a6210c976d441f40e3f7bd22ac3e05acbaa4a6e69fb1cce32a2700c684fc6b6c
5
5
  SHA512:
6
- metadata.gz: ea79e40801367d0070c75a4b0a81ec9536fa772dcae01f5cf30a2c2687ed9269061202ab4cdda668f00919419793308b819a6d76076f4f0a55bba1095e536cd1
7
- data.tar.gz: 333553b0774e089cae34fac37e88aeed65b7c3da58c35c2091644d00b85f877a73e1f319ce251fbfb87104ed301f266d50f447a7aaea68fdfb1eb8eb8a5f6c5e
6
+ metadata.gz: 999c7aa7058d3cde735129faba455ef2d58e00858bc65658f1d2783c99599d88bf9d103fcdb725576146caa335175b1d0cab96481bbf17649f6164bbc1659a4a
7
+ data.tar.gz: 1a91c49a25684349c9a1ea2b31683c27137011718e2ef0e6218ad2787b3d704bcd03a76fe1508a2a81e9f8076dd2bd03233ef3479b67e707c035c63dd7bd98e4
@@ -1,53 +1,6 @@
1
1
  ---
2
- #
3
- # site.data.base.navbar - Control top navigation bar using relative links
4
- # specific to jekyll-theme-centos-base website component. Not used inside
5
- # CentOS websites. Used in website component presentation only.
6
- #
7
- - name: "Layouts"
8
- icon: "fa-solid fa-layer-group"
9
- menu:
10
- - name: "base/default"
11
- link: "/layouts/default/"
12
- visible_on: ["navbar", "footer"]
13
-
14
- - name: "Includes"
15
- icon: "fa-solid fa-arrows-turn-to-dots"
16
- menu:
17
- - name: "base/announcements.html"
18
- link: "/includes/announcements/"
19
- - name: "base/breadcrumbs.html"
20
- link: "/includes/breadcrumbs/"
21
- - name: "base/head.html"
22
- link: "/includes/head/"
23
- - name: "base/header.html"
24
- link: "/includes/header/"
25
- - name: "base/navbar.html"
26
- link: "/includes/navbar/"
27
- - name: "base/toc-accordion.html"
28
- link: "/includes/toc-accordion/"
29
- - name: "base/toc.html"
30
- link: "/includes/toc/"
31
- visible_on: ["navbar", "footer"]
32
-
33
- - name: "Sass"
34
- icon: "fa-brands fa-sass"
35
- menu:
36
- - name: "base/variables"
37
- link: "/sass/variables"
38
- - name: "base/customization"
39
- link: "/sass/customization"
40
- visible_on: ["navbar", "footer"]
41
-
42
- - name: "Data"
43
- icon: "fa-solid fa-file-code"
44
- menu:
45
- - name: "site.data.base.identity"
46
- link: "/data/identity"
47
- - name: "site.data.base.navbar"
48
- link: "/data/navbar"
49
- - name: "site.data.base.navbar_absolute"
50
- link: "/data/navbar_absolute"
51
- - name: "site.data.base.navbar_component"
52
- link: "/data/navbar_component"
53
- visible_on: ["navbar", "footer"]
2
+ - name: "Documentation"
3
+ icon: "fa-solid fa-book"
4
+ link: "/documentation"
5
+ menu: []
6
+ visible_on: ["navbar"]
@@ -1,4 +1,4 @@
1
- <div class="row py-3">
1
+ <div class="row my-3">
2
2
  <div class="col">
3
3
  <span>Copyright &copy;</span>
4
4
  <span id="copyright_year"></span>
@@ -1,14 +1,20 @@
1
- <div class="row {% if page.with_sponsors != false %}border-top border-primary border-5 {% endif %}pt-3">
2
- <div class="col-sm-12{% if page.with_social != false %} col-lg-8{% endif %}">
1
+ <div class="row">
2
+
3
+ {% if page.with_social != false %}
4
+ <div class="mt-3 col-sm-12 col-lg-8">
5
+ {% else %}
6
+ <div class="mt-3 col-sm-12">
7
+ {% endif %}
3
8
  <h4>{{ site.title }}</h4>
4
9
  <p>{{ site.description }}</p>
5
10
  </div>
11
+
6
12
  {% if page.with_social != false %}
7
- <div class="col-sm-12 col-lg-4 d-flex justify-content-sm-start justify-content-lg-end">
8
- <ul class="nav list-unstyled">
13
+ <div class="mt-2 col-sm-12 col-lg-4 d-flex justify-content-lg-end">
14
+ <ul class="nav list-unstyled mb-2">
9
15
  {% for item in site.data.base.social -%}
10
16
  <li class="nav-item">
11
- <a class="btn btn-sm fs-5 link-primary" href="{{ item.link }}" role="button" aria-label="{{ item.name }}" data-bs-placement="bottom" data-bs-title="{{ item.name }}"><i class="{{ item.icon }}"></i></a>
17
+ <a class="btn{% if forloop.first %} ps-0{% endif %} fs-5 link-primary" href="{{ item.link }}" role="button" aria-label="{{ item.name }}" data-bs-placement="bottom" data-bs-title="{{ item.name }}"><i class="{{ item.icon }}"></i></a>
12
18
  </li>
13
19
  {% endfor %}
14
20
  </ul>
@@ -1,7 +1,11 @@
1
1
  <head>
2
2
  <meta charset="utf-8" />
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
4
+ {% if page.title == site.title -%}
4
5
  <title>{{ page.title }}</title>
6
+ {% else -%}
7
+ <title>{{ page.title }} - {{ site.title }}</title>
8
+ {% endif -%}
5
9
  <link rel="icon" href="{{ site.url }}{{ site.baseurl }}/assets/icons/favicon-16.png" sizes="16x16" />
6
10
  <link rel="icon" href="{{ site.url }}{{ site.baseurl }}/assets/icons/favicon-32.png" sizes="32x32" />
7
11
  <link rel="icon" href="{{ site.url }}{{ site.baseurl }}/assets/icons/favicon.svg" sizes="any" />
@@ -0,0 +1,12 @@
1
+ <figure class="figure">
2
+ {% if include.url %}
3
+ <a href="{{ include.url }}">
4
+ <img src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ include.file }}" class="figure-img img-fluid rounded{% if include.extraclasses %} {{ include.extraclasses }}{% endif %}" alt="{{ include.alt }}"/>
5
+ </a>
6
+ {% else %}
7
+ <img src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ include.file }}" class="figure-img img-fluid rounded{% if include.extraclasses %} {{ include.extraclasses }}{% endif %}" alt="{{ include.alt }}"/>
8
+ {% endif %}
9
+ {% if include.caption %}
10
+ <figcaption class="figure-caption text-center">{{ include.caption }}</figcaption>
11
+ {% endif %}
12
+ </figure>
@@ -1,12 +1,12 @@
1
1
  {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
2
2
  <nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-dark shadow">
3
3
  <div class="container">
4
- <a class="navbar-brand pt-1" href="{{ site.url }}{{ site.baseurl }}/"><img role="img" src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ page.with_logo }}" height="32" alt="{{ site.title }}" />{% if page.with_manifestation != "" %}<span class="manifestation border-start border-light ps-3 ms-3 py-2 fs-6">{{ page.with_manifestation }}</span>{% endif %}</a>
4
+ <a class="navbar-brand" href="{{ site.url }}{{ site.baseurl }}/"><img role="img" src="{{ site.url }}{{ site.baseurl }}/assets/img/{{ page.with_logo }}" height="32" alt="{{ site.title }}" />{% if page.with_manifestation != "" %}<span class="manifestation border-start border-light ps-3 ms-3 py-2 fs-6">{{ page.with_manifestation }}</span>{% endif %}</a>
5
5
  <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
6
6
  <span class="navbar-toggler-icon"></span>
7
7
  </button>
8
8
  <div class="collapse navbar-collapse" id="navbarContent">
9
- <ul class="navbar-nav mr-auto">
9
+ <ul class="navbar-nav ms-auto">
10
10
  {% assign navitems = navbar | where: "visible_on", "navbar" -%}
11
11
  {% for navitem in navitems -%}
12
12
  {% if navitem.menu.size == 0 -%}
@@ -26,5 +26,6 @@
26
26
  {% endfor -%}
27
27
  </ul>
28
28
  </div>
29
+
29
30
  </div>
30
31
  </nav>
@@ -1,5 +1,5 @@
1
1
  {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
2
- <div class="row bg-primary justify-content-between">
2
+ <div class="row bg-primary text-light">
3
3
  {% assign sections = navbar | where: "visible_on", "footer" %}
4
4
  {% assign columns = sections.size %}
5
5
  {% case columns %}
@@ -15,11 +15,11 @@
15
15
  {% assign column_width = 1 %}
16
16
  {% endcase %}
17
17
  {% for section in sections -%}
18
- <div class="col-sm-12 col-lg-{{ column_width }} my-3">
18
+ <div class="col-xs-12 col-sm-6 col-lg-{{ column_width }} my-3">
19
19
  <h6 class="fw-bold"><i class="{{ section.icon }}"></i> {{ section.name }}</h6>
20
20
  <ul class="nav flex-column">
21
21
  {% for item in section.menu -%}
22
- <li class="nav-item"><a href="{{ site.url }}{{ site.baseurl }}{{ item.link }}" class="link-light px-0">{{ item.name }}</a></li>
22
+ <li class="nav-item"><a href="{{ site.url }}{{ site.baseurl }}{{ item.link }}" class="link-light">{{ item.name }}</a></li>
23
23
  {% endfor %}
24
24
  </ul>
25
25
  </div>
@@ -1,6 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ page.lang | default: 'en' }}">
3
- {% include base/head.html title=page.title -%}
3
+ {% include base/head.html -%}
4
4
  <body id="top">
5
5
  {% include base/navbar.html -%}
6
6
  {% if page.with_header == true %}
@@ -41,25 +41,32 @@
41
41
  </main>
42
42
 
43
43
  <footer class="footer small bg-dark text-light">
44
- <div class="container">
45
-
46
44
  {% if page.with_shortcuts != false %}
47
- {% include base/shortcuts.html %}
48
- {% endif %}
49
-
50
- {% if page.with_sponsors != false %}
51
- {% include sponsors/carousel.html -%}
45
+ <div class="container">
46
+ {% include base/shortcuts.html %}
47
+ </div>
52
48
  {% endif %}
53
49
 
54
50
  {% if page.with_finale != false %}
51
+ <div class="container border-5 border-top border-primary">
55
52
  {% include base/finale.html %}
53
+ </div>
56
54
  {% endif %}
57
55
 
58
- {% if page.with_copyright != false %}
59
- {% include base/copyright.html %}
56
+ {% if page.with_sponsors != false %}
57
+ <div class="container-fluid bg-light">
58
+ <div class="container">
59
+ {% include sponsors/carousel.html -%}
60
+ </div>
61
+ </div>
60
62
  {% endif %}
61
63
 
64
+ {% if page.with_copyright != false %}
65
+ <div class="container py-1">
66
+ {% include base/copyright.html %}
62
67
  </div>
68
+ {% endif %}
69
+
63
70
  </footer>
64
71
 
65
72
  {% include base/script.html -%}
@@ -66,7 +66,13 @@ main {
66
66
  &.alert {
67
67
  padding-left: 3.4rem;
68
68
  background-repeat: no-repeat;
69
- background-position: 1rem 1rem;
69
+ background-position: 0.85rem 0.85rem;
70
+ }
71
+ &.alert-primary {
72
+ background-image: $alert-primary-icon;
73
+ }
74
+ &.alert-secondary {
75
+ background-image: $alert-secondary-icon;
70
76
  }
71
77
  &.alert-danger {
72
78
  background-image: $alert-danger-icon;
@@ -35,7 +35,10 @@ $line-height-base: 1.65;
35
35
 
36
36
  $dropdown-dark-bg: $dark;
37
37
  $breadcrumb-divider: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8'><path d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z'/></svg>");
38
- $alert-warning-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.5em" fill="rgba(#{to-rgb($warning-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>');
39
- $alert-info-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.5em" fill="rgba(#{to-rgb($info-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>');
40
- $alert-danger-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.5em" fill="rgba(#{to-rgb($danger-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/></svg>');
41
- $alert-success-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.5em" fill="rgba(#{to-rgb($success-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>');
38
+
39
+ $alert-primary-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.8em" viewBox="0 0 42.333 42.333"><g transform="rotate(45 -180.13 -610.203) scale(1.0529)"><circle cx="388.123" cy="-290.716" r="20.103" style="fill:rgba(#{to-rgb($primary-text-emphasis)},1);stroke:none;stroke-width:1.32292;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke;stop-color:#{to-rgb($primary-text-emphasis)}"/><path d="M377.366-301.473v6.301l-4.456 4.456 4.456 4.456v6.302h6.302l4.456 4.456 4.456-4.456h6.301v-6.302l4.456-4.456-4.456-4.456v-6.301h-6.301l-4.456-4.456-4.456 4.456zm2.271 4.183 1.913-1.912 3.227 3.227v1.913h-1.912zm-2.163 5.222h4.565l1.352 1.352-1.352 1.353h-4.564zm9.297-9.297h2.705v4.564l-1.352 1.353-1.353-1.353zm.091 7.607 1.261 1.282 1.26-1.283-.015 1.798 1.798-.016-1.282 1.26 1.283 1.261-1.798-.015.016 1.798-1.26-1.282-1.261 1.283.015-1.799-1.798.016 1.282-1.26-1.283-1.26 1.799.015zm-7.225 9.617 3.228-3.228h1.912v1.913l-3.227 3.227zm11.833-11.834 3.228-3.227 1.913 1.912-3.228 3.228h-1.912zm-4.698 11.345 1.352-1.352 1.352 1.352v4.564h-2.704zm6.085-6.085 1.352-1.353h4.564v2.705h-4.564zm-1.387 3.346h1.913l3.228 3.228-1.913 1.912-3.228-3.227z" style="fill:%23fff;fill-opacity:1;stroke-width:9.12808;stroke-linecap:round;paint-order:fill markers stroke;stop-color:%23000"/></g></svg>');
40
+ $alert-secondary-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.8em" viewBox="0 0 42.333 42.333"><g transform="rotate(45 -180.13 -610.203) scale(1.0529)"><circle cx="388.123" cy="-290.716" r="20.103" style="fill:rgba(#{to-rgb($secondary-text-emphasis)},1);stroke:none;stroke-width:1.32292;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:fill markers stroke;stop-color:#{to-rgb($secondary-text-emphasis)}"/><path d="M377.366-301.473v6.301l-4.456 4.456 4.456 4.456v6.302h6.302l4.456 4.456 4.456-4.456h6.301v-6.302l4.456-4.456-4.456-4.456v-6.301h-6.301l-4.456-4.456-4.456 4.456zm2.271 4.183 1.913-1.912 3.227 3.227v1.913h-1.912zm-2.163 5.222h4.565l1.352 1.352-1.352 1.353h-4.564zm9.297-9.297h2.705v4.564l-1.352 1.353-1.353-1.353zm.091 7.607 1.261 1.282 1.26-1.283-.015 1.798 1.798-.016-1.282 1.26 1.283 1.261-1.798-.015.016 1.798-1.26-1.282-1.261 1.283.015-1.799-1.798.016 1.282-1.26-1.283-1.26 1.799.015zm-7.225 9.617 3.228-3.228h1.912v1.913l-3.227 3.227zm11.833-11.834 3.228-3.227 1.913 1.912-3.228 3.228h-1.912zm-4.698 11.345 1.352-1.352 1.352 1.352v4.564h-2.704zm6.085-6.085 1.352-1.353h4.564v2.705h-4.564zm-1.387 3.346h1.913l3.228 3.228-1.913 1.912-3.228-3.227z" style="fill:%23fff;fill-opacity:1;stroke-width:9.12808;stroke-linecap:round;paint-order:fill markers stroke;stop-color:%23000"/></g></svg>');
41
+ $alert-warning-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.8em" fill="rgba(#{to-rgb($warning-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>');
42
+ $alert-info-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.8em" fill="rgba(#{to-rgb($info-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>');
43
+ $alert-danger-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.8em" fill="rgba(#{to-rgb($danger-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/></svg>');
44
+ $alert-success-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="1.8em" fill="rgba(#{to-rgb($success-text-emphasis)},1)" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>');
Binary file
Binary file
Binary file
Binary file
Binary file