jekyll-theme-centos 2.3.0.beta.90 → 2.3.0.beta.91

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/_data/{centos → base}/footer.yml +1 -1
  3. data/_data/{centos → base}/identity.yml +1 -1
  4. data/_data/{centos → base}/navbar.yml +4 -1
  5. data/_data/base/navbar_absolute.yml +74 -0
  6. data/_data/base/navbar_component.yml +60 -0
  7. data/_includes/{announcement.html → base/announcements.html} +1 -1
  8. data/_includes/base/breadcrumbs.html +13 -0
  9. data/_includes/base/footer.html +61 -0
  10. data/_includes/{header.html → base/header.html} +1 -1
  11. data/_includes/base/navbar.html +32 -0
  12. data/_includes/{toc-accordion.html → base/toc-accordion.html} +1 -1
  13. data/_includes/{toc.html → base/toc.html} +0 -0
  14. data/_layouts/{default.html → base/default.html} +12 -9
  15. data/_sass/{centos/sites/_lists.scss → base/_centos-lists.scss} +0 -0
  16. data/_sass/{centos/_adjustments.scss → base/_centos.scss} +8 -0
  17. data/_sass/{centos → base}/_variables.scss +2 -0
  18. data/_sass/bootstrap/_accordion.scss +9 -0
  19. data/_sass/bootstrap/_alert.scss +8 -11
  20. data/_sass/bootstrap/_button-group.scss +2 -2
  21. data/_sass/bootstrap/_buttons.scss +3 -3
  22. data/_sass/bootstrap/_card.scss +5 -0
  23. data/_sass/bootstrap/_carousel.scss +20 -2
  24. data/_sass/bootstrap/_close.scss +32 -9
  25. data/_sass/bootstrap/_dropdown.scss +1 -0
  26. data/_sass/bootstrap/_functions.scss +1 -1
  27. data/_sass/bootstrap/_grid.scss +6 -0
  28. data/_sass/bootstrap/_helpers.scss +2 -0
  29. data/_sass/bootstrap/_list-group.scss +12 -7
  30. data/_sass/bootstrap/_maps.scss +120 -0
  31. data/_sass/bootstrap/_mixins.scss +1 -2
  32. data/_sass/bootstrap/_nav.scss +40 -3
  33. data/_sass/bootstrap/_navbar.scss +15 -4
  34. data/_sass/bootstrap/_offcanvas.scss +4 -2
  35. data/_sass/bootstrap/_pagination.scss +1 -1
  36. data/_sass/bootstrap/_progress.scss +10 -1
  37. data/_sass/bootstrap/_reboot.scss +3 -3
  38. data/_sass/bootstrap/_root.scss +121 -10
  39. data/_sass/bootstrap/_tables.scss +18 -11
  40. data/_sass/bootstrap/_tooltip.scss +4 -5
  41. data/_sass/bootstrap/_utilities.scss +172 -13
  42. data/_sass/bootstrap/_variables-dark.scss +85 -0
  43. data/_sass/bootstrap/_variables.scss +262 -153
  44. data/_sass/bootstrap/bootstrap-grid.scss +1 -3
  45. data/_sass/bootstrap/bootstrap-reboot.scss +1 -0
  46. data/_sass/bootstrap/bootstrap-utilities.scss +1 -0
  47. data/_sass/bootstrap/bootstrap.scss +1 -0
  48. data/_sass/bootstrap/forms/_floating-labels.scss +22 -3
  49. data/_sass/bootstrap/forms/_form-check.scss +24 -11
  50. data/_sass/bootstrap/forms/_form-control.scss +23 -3
  51. data/_sass/bootstrap/forms/_form-select.scss +11 -2
  52. data/_sass/bootstrap/forms/_input-group.scss +1 -1
  53. data/_sass/bootstrap/helpers/_color-bg.scss +0 -2
  54. data/_sass/bootstrap/helpers/_colored-links.scss +20 -2
  55. data/_sass/bootstrap/helpers/_focus-ring.scss +5 -0
  56. data/_sass/bootstrap/helpers/_icon-link.scss +25 -0
  57. data/_sass/bootstrap/mixins/_alert.scss +4 -1
  58. data/_sass/bootstrap/mixins/_banner.scss +2 -4
  59. data/_sass/bootstrap/mixins/_caret.scss +30 -25
  60. data/_sass/bootstrap/mixins/_color-mode.scss +21 -0
  61. data/_sass/bootstrap/mixins/_forms.scss +8 -7
  62. data/_sass/bootstrap/mixins/_list-group.scss +2 -0
  63. data/_sass/bootstrap/mixins/_utilities.scss +1 -1
  64. data/_sass/bootstrap/mixins/_visually-hidden.scss +5 -1
  65. data/_sass/bootstrap/vendor/_rfs.scss +23 -29
  66. data/assets/css/stylesheet.min.scss +2 -3
  67. data/assets/img/anaconda-symbolic.svg +0 -0
  68. data/assets/img/anaconda.svg +0 -0
  69. data/assets/img/centos-dynamicmsg-logo.svg +0 -0
  70. data/assets/img/centos-dynamicmsg-type.svg +0 -0
  71. data/assets/img/centos-dynamicmsg-whitelogo.svg +0 -0
  72. data/assets/img/centos-dynamicmsg-whitetype.svg +0 -0
  73. data/assets/img/centos-gdm-whitelogo.svg +0 -0
  74. data/assets/img/centos-ipa-whiteheader.svg +0 -0
  75. data/assets/img/centos-logo-2bits.svg +0 -0
  76. data/assets/img/centos-logo.svg +0 -0
  77. data/assets/img/centos-message-logo.svg +0 -0
  78. data/assets/img/centos-motif.png +0 -0
  79. data/assets/img/centos-poweredby-logo.svg +0 -0
  80. data/assets/img/centos-symbol-2bits.svg +0 -0
  81. data/assets/img/centos-symbol.svg +0 -0
  82. data/assets/img/centos-type.svg +0 -0
  83. data/assets/img/centos-vertical-logo.svg +0 -0
  84. data/assets/img/centos-vertical-message-logo.svg +0 -0
  85. data/assets/img/centos-whitelogo.svg +0 -0
  86. data/assets/img/icons/android-chrome-192.png +0 -0
  87. data/assets/img/icons/android-chrome-512.png +0 -0
  88. data/assets/img/icons/apple-touch-icon.png +0 -0
  89. data/assets/img/icons/favicon-16-0.png +0 -0
  90. data/assets/img/icons/favicon-16-1.png +0 -0
  91. data/assets/img/icons/favicon-32.png +0 -0
  92. data/assets/js/bootstrap.bundle.js +713 -1482
  93. data/assets/js/bootstrap.bundle.js.map +1 -1
  94. data/assets/js/bootstrap.bundle.min.js +3 -3
  95. data/assets/js/bootstrap.bundle.min.js.map +1 -1
  96. data/assets/js/bootstrap.esm.js +660 -1423
  97. data/assets/js/bootstrap.esm.js.map +1 -1
  98. data/assets/js/bootstrap.esm.min.js +3 -3
  99. data/assets/js/bootstrap.esm.min.js.map +1 -1
  100. data/assets/js/bootstrap.js +678 -1441
  101. data/assets/js/bootstrap.js.map +1 -1
  102. data/assets/js/bootstrap.min.js +3 -3
  103. data/assets/js/bootstrap.min.js.map +1 -1
  104. data/assets/js/jquery.min.js +2 -2
  105. data/assets/js/jquery.slim.min.js +2 -2
  106. metadata +32 -50
  107. data/_data/aws-images.csv +0 -81
  108. data/_data/full-altarchlist.csv +0 -74
  109. data/_data/full-mirrorlist.csv +0 -609
  110. data/_includes/breadcrumbs.html +0 -13
  111. data/_includes/download/cards-body-convert.html +0 -10
  112. data/_includes/download/cards-body-doc.html +0 -9
  113. data/_includes/download/cards-body-eol.html +0 -16
  114. data/_includes/download/cards-body-screenshot.html +0 -3
  115. data/_includes/download/cards-body.html +0 -8
  116. data/_includes/download/cards-footer.html +0 -3
  117. data/_includes/download/cards-header-convert.html +0 -8
  118. data/_includes/download/cards-header-doc.html +0 -8
  119. data/_includes/download/cards-header-eol.html +0 -8
  120. data/_includes/download/cards-header-screenshot.html +0 -8
  121. data/_includes/download/cards-header.html +0 -13
  122. data/_includes/download/cards.html +0 -58
  123. data/_includes/editbar.html +0 -6
  124. data/_includes/footer.html +0 -44
  125. data/_includes/navbar.html +0 -28
  126. data/assets/css/stylesheet.lists.min.scss +0 -8
  127. data/assets/icons/android-chrome-192.png +0 -0
  128. data/assets/icons/android-chrome-512.png +0 -0
  129. data/assets/icons/apple-touch-icon.png +0 -0
  130. data/assets/icons/favicon-16.png +0 -0
  131. data/assets/icons/favicon-32.png +0 -0
  132. data/assets/icons/favicon.svg +0 -1
  133. data/assets/img/distributions/centos-linux/7/screenshot-n.png +0 -0
  134. data/assets/img/distributions/centos-linux/8/screenshot-n.png +0 -0
  135. data/assets/img/distributions/centos-stream/8/screenshot-n.png +0 -0
  136. data/assets/img/distributions/centos-stream/9/screenshot-n.png +0 -0
  137. data/assets/img/distributions/name/release/screenshot-n.png +0 -0
  138. data/assets/img/distributions/name/release/screenshot-n.svg +0 -128
  139. data/assets/img/people/username.png +0 -0
  140. /data/_includes/{head.html → base/head.html} +0 -0
  141. /data/_includes/{script.html → base/script.html} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b23374c6e64b11d66e5e20f767d128015b8dfeee2cd4cf81217b03a58463f904
4
- data.tar.gz: 5832f5ce931b527b6e53a87d23bd67a67c39664ad847b5bf4d85010de89e6254
3
+ metadata.gz: 10f8cbf3c7d57ab40a4ba9ce33c9f0f5ddf2816a2a34dbf4e325174813c21344
4
+ data.tar.gz: 2356865775cb3d61f5084216b1c24860d51da7386376798475be706af4fcd018
5
5
  SHA512:
6
- metadata.gz: 31b67d7fbeb817727b85c191246929c817d014999afb79e84e79d79d8937cde9bd963e7f4f28c7a82e3d244e50c61529597150e9ada73ee1f2648ce651d30931
7
- data.tar.gz: 9591ce5c224a1e694a46117997df422a10cb731c6eac5e62c3ea0871fd295f5ee1845c109ee398bda2630e046d77a24cf433b64a14fd18168b259406b31de8c3
6
+ metadata.gz: 14c7bf26767e9685acfc2eb7ccb9dc0483c71419b91b40554b9300fa416f12ea0f0f3b398f7427cff288a152731dd75a3eb50023da102c07f8ce0763c5aba1b2
7
+ data.tar.gz: 68625ef9e731b58b85fb33fe2ce2c498d083dbd02a7f5b05660286c72148b64cf41dedd027f257ad2d14dc6465bfcbc8a9c202b71d5cce56aac2710a85bd35b7
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  #
3
- # site.data.centos.footer - Control footer section.
3
+ # site.data.base.footer - Control footer section.
4
4
  #
5
5
  social:
6
6
  - name: Facebook
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  #
3
- # site.data.centos.identity - Control the site branding (corporate visual
3
+ # site.data.base.identity - Control the site branding (corporate visual
4
4
  # identity) information.
5
5
  #
6
6
  title: "The CentOS Project"
@@ -1,6 +1,9 @@
1
1
  ---
2
2
  #
3
- # site.data.centos.navbar - Control top navigation bar
3
+ # site.data.base.navbar - Control top navigation bar using relative links for
4
+ # internal resources and absolute links for external resources. Useful when you
5
+ # need the same site to be browsable on different environments (e.g., www and
6
+ # www.dev).
4
7
  #
5
8
  - name: "Download"
6
9
  icon: "fas fa-download"
@@ -0,0 +1,74 @@
1
+ ---
2
+ #
3
+ # site.data.navbar_absolute - Control top navigation bar using absolute links
4
+ # for both internal and external resources. Useful when you build the
5
+ # navigation bar for sites other than "www.centos.org" website and you want to
6
+ # keep references to "www.centos.org."
7
+ #
8
+ - name: "Download"
9
+ icon: "fas fa-download"
10
+ link: "https://www.centos.org/download"
11
+ menu: []
12
+ visible_on: ["navbar"]
13
+ - name: "About"
14
+ icon: "fas fa-info-circle"
15
+ link: "#"
16
+ menu:
17
+ - name: "About CentOS"
18
+ link: "https://www.centos.org/about"
19
+ - name: "Frequently Asked Questions (FAQs)"
20
+ link: "https://wiki.centos.org/FAQ"
21
+ - name: "Special Interest Groups (SIGs)"
22
+ link: "https://wiki.centos.org/SpecialInterestGroups"
23
+ - name: "CentOS Variants"
24
+ link: "https://www.centos.org/variants"
25
+ - name: "Governance"
26
+ link: "https://www.centos.org/about/governance"
27
+ visible_on: ["navbar", "footer"]
28
+ - name: "Community"
29
+ icon: "fas fa-users"
30
+ link: "#"
31
+ menu:
32
+ - name: "Contribute"
33
+ link: "https://wiki.centos.org/Contribute"
34
+ icon: "fas fa-hands-helping"
35
+ - name: "Forums"
36
+ link: "https://www.centos.org/forums/"
37
+ icon: "fas fa-comments"
38
+ - name: "Mailing Lists"
39
+ link: "https://wiki.centos.org/GettingHelp/ListInfo"
40
+ icon: "fas fa-envelope"
41
+ - name: "IRC"
42
+ link: "https://wiki.centos.org/irc"
43
+ icon: "fas fa-hashtag"
44
+ - name: "Calendar & IRC Meeting List"
45
+ link: "https://www.centos.org/community/calendar/"
46
+ icon: "fas fa-calendar-alt"
47
+ - name: "Planet"
48
+ link: "http://planet.centos.org/"
49
+ icon: "fas fa-newspaper"
50
+ - name: "Submit Bug"
51
+ link: "https://bugs.centos.org/"
52
+ icon: "fas fa-bug"
53
+ visible_on: ["navbar", "footer"]
54
+ - name: "Documentation"
55
+ icon: "fas fa-book"
56
+ link: "#"
57
+ menu:
58
+ - name: "Wiki"
59
+ link: "https://wiki.centos.org/"
60
+ - name: "Manuals"
61
+ link: "https://docs.centos.org/"
62
+ - name: "GPG Key Info"
63
+ link: "https://www.centos.org/keys"
64
+ visible_on: ["navbar", "footer"]
65
+ - name: "Help"
66
+ icon: "fas fa-life-ring"
67
+ link: "https://wiki.centos.org/Documentation?action=show&redirect=GettingHelp"
68
+ menu: []
69
+ visible_on: ["navbar"]
70
+ - name: "Search"
71
+ icon: "fas fa-search"
72
+ link: "https://www.centos.org/search"
73
+ menu: []
74
+ visible_on: []
@@ -0,0 +1,60 @@
1
+ ---
2
+ #
3
+ # site.data.base.navbar_component - Control top navigation bar using relative
4
+ # links specific to jekyll-theme-centos-base website component. Not used inside
5
+ # CentOS websites. Used in website component presentation only.
6
+ #
7
+
8
+ - name: "Layouts"
9
+ icon: "fa-solid fa-layer-group"
10
+ link: "/layouts/"
11
+ menu:
12
+ - name: "base/default.html"
13
+ link: "/layouts/default/"
14
+ visible_on: ["navbar", "footer"]
15
+
16
+ - name: "Includes"
17
+ icon: "fa-solid fa-arrows-turn-to-dots"
18
+ link: "/includes/"
19
+ menu:
20
+ - name: "base/announcements.html"
21
+ link: "/includes/announcements/"
22
+ - name: "base/breadcrumbs.html"
23
+ link: "/includes/breadcrumbs/"
24
+ - name: "base/head.html"
25
+ link: "/includes/head/"
26
+ - name: "base/header.html"
27
+ link: "/includes/header/"
28
+ - name: "base/navbar.html"
29
+ link: "/includes/navbar/"
30
+ - name: "base/toc-accordion.html"
31
+ link: "/includes/toc-accordion/"
32
+ - name: "base/toc.html"
33
+ link: "/includes/toc/"
34
+ visible_on: ["navbar", "footer"]
35
+
36
+ - name: "Sass"
37
+ icon: "fa-brands fa-sass"
38
+ link: "/sass/"
39
+ menu:
40
+ - name: "base/variables.scss"
41
+ link: "/sass/variables"
42
+ - name: "base/centos.scss"
43
+ link: "/sass/centos"
44
+ - name: "base/centos-lists.scss"
45
+ link: "/sass/centos-lists"
46
+ visible_on: ["navbar", "footer"]
47
+
48
+ - name: "Data"
49
+ icon: "fa-solid fa-file-code"
50
+ link: "/data/"
51
+ menu:
52
+ - name: "site.data.base.identity"
53
+ link: "/data/identity"
54
+ - name: "site.data.base.navbar"
55
+ link: "/data/navbar"
56
+ - name: "site.data.base.navbar_absolute"
57
+ link: "/data/navbar_absolute"
58
+ - name: "site.data.base.navbar_component"
59
+ link: "/data/navbar_component"
60
+ visible_on: ["navbar", "footer"]
@@ -1,6 +1,6 @@
1
1
  {% for alert in page.with_announcements -%}
2
2
  <div class="alert alert-{{ alert.color | default: 'primary' }} alert-dismissible fade show shadow" role="alert">
3
- <strong>{{ alert.title | default: "" }}</strong> {{ alert.content | default: "" }}
3
+ <i class="{{ alert.icon | default: 'fa-solid fa-bullhorn' }}"></i> <strong>{{ alert.title | default: "" }}</strong> {{ alert.content | default: "" }}
4
4
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
5
5
  </div>
6
6
  {% endfor -%}
@@ -0,0 +1,13 @@
1
+ <nav aria-label="breadcrumb">
2
+ <ol class="breadcrumb">
3
+ {% assign crumbs = page.url | remove:'/index.html' | split: '/' %}
4
+ <li class="breadcrumb-item"><a href="{{ site.baseurl }}/">Home</a></li>
5
+ {% for crumb in crumbs offset: 1 %}
6
+ {% if forloop.last %}
7
+ <li class="breadcrumb-item active">{{ page.title }}</li>
8
+ {% else %}
9
+ <li class="breadcrumb-item"><a href="{{ site.baseurl }}{% assign crumb_limit = forloop.index | plus: 1 %}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' | replace:'without-plugin/','without-plugins/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
10
+ {% endif %}
11
+ {% endfor %}
12
+ </ol>
13
+ </nav>
@@ -0,0 +1,61 @@
1
+ {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
2
+ <footer class="footer small bg-dark text-light mt-3">
3
+ <div class="container">
4
+ <div class="row bg-primary justify-content-between">
5
+ {% assign sections = navbar | where: "visible_on", "footer" %}
6
+ {% assign columns = sections.size %}
7
+ {% case columns %}
8
+ {% when 1 %}
9
+ {% assign column_width = 12 %}
10
+ {% when 2 %}
11
+ {% assign column_width = 6 %}
12
+ {% when 3 %}
13
+ {% assign column_width = 4 %}
14
+ {% when 4 %}
15
+ {% assign column_width = 3 %}
16
+ {% else %}
17
+ {% assign column_width = 1 %}
18
+ {% endcase %}
19
+ {% for section in sections -%}
20
+ <div class="col-sm-12 col-lg-{{ column_width }} my-3">
21
+ <h6 class="fw-bold"><i class="{{ section.icon }}"></i> {{ section.name }}</h6>
22
+ <ul class="nav flex-column">
23
+ {% for item in section.menu -%}
24
+ <li class="nav-item"><a href="{{ site.baseurl }}{{ item.link }}" class="link-light px-0">{{ item.name }}</a></li>
25
+ {% endfor %}
26
+ </ul>
27
+ </div>
28
+ {% endfor %}
29
+ </div>
30
+
31
+ <div class="row border-top border-secondary border-5">
32
+ <div class="col-sm-12 col-lg-8">
33
+ <h4 class="fw-bold pt-3">{{ site.title }}</h4>
34
+ <p>{{ site.description }}</p>
35
+ </div>
36
+ <div class="col-sm-12 col-lg-4 pt-lg-3 d-flex justify-content-sm-start justify-content-lg-end">
37
+ <ul class="nav list-unstyled">
38
+ {% for item in site.data.base.footer.social -%}
39
+ <li class="nav-item">
40
+ <a class="btn btn-sm fs-5 link-primary" href="{{ site.baseurl }}{{ item.link }}" role="button" aria-label="{{ item.name }}" data-bs-placement="bottom" data-bs-title="{{ item.name }}"><i class="{{ item.icon }}"></i></a>
41
+ </li>
42
+ {% endfor %}
43
+ </ul>
44
+ </div>
45
+ </div>
46
+
47
+ <div class="row py-3">
48
+ <div class="col">
49
+ <span>Copyright &copy;</span>
50
+ <span id="copyright_year"></span>
51
+ <span>{{ site.data.base.footer.copyright.author }}</span>
52
+ {% for item in site.data.base.footer.copyright.legals -%}
53
+ <span class="border-start ms-2 ps-2">
54
+ <a class="link-light" href="{{ site.baseurl }}{{ item.link }}">{{ item.text }}</a>
55
+ </span>
56
+ {% endfor %}
57
+ </div>
58
+ </div>
59
+
60
+ </div>
61
+ </footer>
@@ -3,7 +3,7 @@
3
3
  {% if page.with_announcements and page.with_announcements.size > 0 -%}
4
4
  <div class="row">
5
5
  <div class="col">
6
- {% include announcement.html %}
6
+ {% include base/announcements.html %}
7
7
  </div>
8
8
  </div>
9
9
  {% endif -%}
@@ -0,0 +1,32 @@
1
+ {% assign navbar = site.data[site.navbar_data_dirname][site.navbar_data_filename] %}
2
+ <header class="site-header sticky-top">
3
+ <nav class="navbar navbar-expand-lg navbar-dark bg-dark shadow">
4
+ <div class="container">
5
+ <a class="navbar-brand pt-1" href="{{ site.baseurl }}/"><img role="img" src="{{ site.baseurl }}/{{ site.data.base.identity.logo.navbar }}" height="32" alt="{{ site.title }}" />{% if site.manifestation != "" %}<span class="manifestation border-start border-light ps-3 ms-3 py-2 fs-6">{{ site.manifestation }}</span>{% endif %}</a>
6
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
7
+ <span class="navbar-toggler-icon"></span>
8
+ </button>
9
+ <div class="collapse navbar-collapse" id="navbarContent">
10
+ <ul class="navbar-nav mr-auto">
11
+ {% assign navitems = navbar | where: "visible_on", "navbar" -%}
12
+ {% for navitem in navitems -%}
13
+ {% if navitem.menu.size == 0 -%}
14
+ <li class="nav-item">
15
+ <a class="nav-link" role="presentation" href="{{ site.baseurl }}{{ navitem.link }}"><i class="{{ navitem.icon }}"></i> {{ navitem.name }}</a>
16
+ </li>
17
+ {% else -%}
18
+ <li class="nav-item dropdown">
19
+ <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown-{{ forloop.index }}" role="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="{{ navitem.icon }}"></i> {{ navitem.name }}</a>
20
+ <ul class="dropdown-menu dropdown-menu-dark shadow" aria-labelledby="navbarDropdown-{{ forloop.index }}">
21
+ {% for dropdownitem in navitem.menu -%}
22
+ <li><a class="dropdown-item" role="presentation" href="{{ site.baseurl }}{{ dropdownitem.link }}">{{ dropdownitem.name }}</a></li>
23
+ {% endfor -%}
24
+ </ul>
25
+ </li>
26
+ {% endif -%}
27
+ {% endfor -%}
28
+ </ul>
29
+ </div>
30
+ </div>
31
+ </nav>
32
+ </header>
@@ -4,7 +4,7 @@
4
4
  <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapseOne" aria-expanded="false" aria-controls="flush-collapseOne"><i class="fa-solid fa-bars"></i> <span class="mx-3">Table of Contents</span></button>
5
5
  </div>
6
6
  <div id="flush-collapseOne" class="accordion-collapse collapse" aria-labelledby="flush-headingOne" data-bs-parent="#pageTocAccordion">
7
- <div class="accordion-body">{% include toc.html html=content %}</div>
7
+ <div class="accordion-body">{% include base/toc.html html=content %}</div>
8
8
  </div>
9
9
  </div>
10
10
  </div>
File without changes
@@ -1,28 +1,31 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ page.lang | default: 'en' }}">
3
- {% include head.html title=page.title -%}
3
+ {% include base/head.html title=page.title -%}
4
4
 
5
5
  <body id="top">
6
- {% include navbar.html -%}
6
+ {% include base/navbar.html -%}
7
7
  <main>
8
- {% include header.html -%}
8
+ {% include base/header.html -%}
9
9
  <div class="container py-5">
10
+ {% if page.with_breadcrumbs %}
10
11
  <div class="row justify-content-center">
11
12
  <div class="col-sm-12 col-xl-8">
12
- {% include breadcrumbs.html %}
13
+ {% include base/breadcrumbs.html %}
13
14
  </div>
14
15
  </div>
16
+ {% endif %}
17
+ {% if page.with_toc %}
15
18
  <div class="row my-3 justify-content-center">
16
- {% if page.with_toc %}
17
- <div class="col-sm-12 col-xl-8">{% include toc-accordion.html %}</div>
18
- {% endif %}
19
+ <div class="col-sm-12 col-xl-8">{% include base/toc-accordion.html %}</div>
19
20
  </div>
21
+ {% endif %}
20
22
  <div class="row my-5 justify-content-center">
21
23
  <div class="col-sm-12 col-xl-8">{{ content }}</div>
22
24
  </div>
23
25
  </div>
24
26
  </main>
25
- {% include footer.html %}
26
- {% include script.html %}
27
+
28
+ {% include base/footer.html %}
29
+ {% include base/script.html %}
27
30
  </body>
28
31
  </html>
@@ -59,6 +59,14 @@ main {
59
59
  }
60
60
  }
61
61
 
62
+ header {
63
+ .navbar-brand {
64
+ .manifestation {
65
+ --bs-border-opacity: 0.5;
66
+ }
67
+ }
68
+ }
69
+
62
70
  footer,
63
71
  .accordion-body {
64
72
  a {
@@ -20,3 +20,5 @@ $font-family-sans-serif: Montserrat, system-ui, -apple-system, "Segoe UI", Robot
20
20
  $font-family-monospace: "Overpass Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
21
21
  $line-height-base: 1.75;
22
22
  $headings-font-weight: 700;
23
+ $breadcrumb-divider-color: #6c757d;
24
+ $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' fill='#{$breadcrumb-divider-color}'/></svg>");
@@ -147,3 +147,12 @@
147
147
  }
148
148
  }
149
149
  }
150
+
151
+ @if $enable-dark-mode {
152
+ @include color-mode(dark) {
153
+ .accordion-button::after {
154
+ --#{$prefix}accordion-btn-icon: #{escape-svg($accordion-button-icon-dark)};
155
+ --#{$prefix}accordion-btn-active-icon: #{escape-svg($accordion-button-active-icon-dark)};
156
+ }
157
+ }
158
+ }
@@ -12,6 +12,7 @@
12
12
  --#{$prefix}alert-border-color: transparent;
13
13
  --#{$prefix}alert-border: #{$alert-border-width} solid var(--#{$prefix}alert-border-color);
14
14
  --#{$prefix}alert-border-radius: #{$alert-border-radius};
15
+ --#{$prefix}alert-link-color: inherit;
15
16
  // scss-docs-end alert-css-vars
16
17
 
17
18
  position: relative;
@@ -32,6 +33,7 @@
32
33
  // Provide class for links that match alerts
33
34
  .alert-link {
34
35
  font-weight: $alert-link-font-weight;
36
+ color: var(--#{$prefix}alert-link-color);
35
37
  }
36
38
 
37
39
 
@@ -54,18 +56,13 @@
54
56
 
55
57
 
56
58
  // scss-docs-start alert-modifiers
57
- // Generate contextual modifier classes for colorizing the alert.
58
-
59
- @each $state, $value in $theme-colors {
60
- $alert-background: shift-color($value, $alert-bg-scale);
61
- $alert-border: shift-color($value, $alert-border-scale);
62
- $alert-color: shift-color($value, $alert-color-scale);
63
-
64
- @if (contrast-ratio($alert-background, $alert-color) < $min-contrast-ratio) {
65
- $alert-color: mix($value, color-contrast($alert-background), abs($alert-color-scale));
66
- }
59
+ // Generate contextual modifier classes for colorizing the alert
60
+ @each $state in map-keys($theme-colors) {
67
61
  .alert-#{$state} {
68
- @include alert-variant($alert-background, $alert-border, $alert-color);
62
+ --#{$prefix}alert-color: var(--#{$prefix}#{$state}-text-emphasis);
63
+ --#{$prefix}alert-bg: var(--#{$prefix}#{$state}-bg-subtle);
64
+ --#{$prefix}alert-border-color: var(--#{$prefix}#{$state}-border-subtle);
65
+ --#{$prefix}alert-link-color: var(--#{$prefix}#{$state}-text-emphasis);
69
66
  }
70
67
  }
71
68
  // scss-docs-end alert-modifiers
@@ -39,7 +39,7 @@
39
39
  // Prevent double borders when buttons are next to each other
40
40
  > :not(.btn-check:first-child) + .btn,
41
41
  > .btn-group:not(:first-child) {
42
- margin-left: -$btn-border-width;
42
+ margin-left: calc(#{$btn-border-width} * -1); // stylelint-disable-line function-disallowed-list
43
43
  }
44
44
 
45
45
  // Reset rounded corners
@@ -126,7 +126,7 @@
126
126
 
127
127
  > .btn:not(:first-child),
128
128
  > .btn-group:not(:first-child) {
129
- margin-top: -$btn-border-width;
129
+ margin-top: calc(#{$btn-border-width} * -1); // stylelint-disable-line function-disallowed-list
130
130
  }
131
131
 
132
132
  // Reset rounded corners
@@ -10,7 +10,7 @@
10
10
  @include rfs($btn-font-size, --#{$prefix}btn-font-size);
11
11
  --#{$prefix}btn-font-weight: #{$btn-font-weight};
12
12
  --#{$prefix}btn-line-height: #{$btn-line-height};
13
- --#{$prefix}btn-color: #{$body-color};
13
+ --#{$prefix}btn-color: #{$btn-color};
14
14
  --#{$prefix}btn-bg: transparent;
15
15
  --#{$prefix}btn-border-width: #{$btn-border-width};
16
16
  --#{$prefix}btn-border-color: transparent;
@@ -169,8 +169,8 @@
169
169
  --#{$prefix}btn-active-border-color: transparent;
170
170
  --#{$prefix}btn-disabled-color: #{$btn-link-disabled-color};
171
171
  --#{$prefix}btn-disabled-border-color: transparent;
172
- --#{$prefix}btn-box-shadow: none;
173
- --#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix(color-contrast($primary), $primary, 15%))};
172
+ --#{$prefix}btn-box-shadow: 0 0 0 #000; // Can't use `none` as keyword negates all values when used with multiple shadows
173
+ --#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix(color-contrast($link-color), $link-color, 15%))};
174
174
 
175
175
  text-decoration: $link-decoration;
176
176
  @if $enable-gradients {
@@ -7,6 +7,8 @@
7
7
  --#{$prefix}card-spacer-y: #{$card-spacer-y};
8
8
  --#{$prefix}card-spacer-x: #{$card-spacer-x};
9
9
  --#{$prefix}card-title-spacer-y: #{$card-title-spacer-y};
10
+ --#{$prefix}card-title-color: #{$card-title-color};
11
+ --#{$prefix}card-subtitle-color: #{$card-subtitle-color};
10
12
  --#{$prefix}card-border-width: #{$card-border-width};
11
13
  --#{$prefix}card-border-color: #{$card-border-color};
12
14
  --#{$prefix}card-border-radius: #{$card-border-radius};
@@ -28,6 +30,7 @@
28
30
  flex-direction: column;
29
31
  min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
30
32
  height: var(--#{$prefix}card-height);
33
+ color: var(--#{$prefix}body-color);
31
34
  word-wrap: break-word;
32
35
  background-color: var(--#{$prefix}card-bg);
33
36
  background-clip: border-box;
@@ -73,11 +76,13 @@
73
76
 
74
77
  .card-title {
75
78
  margin-bottom: var(--#{$prefix}card-title-spacer-y);
79
+ color: var(--#{$prefix}card-title-color);
76
80
  }
77
81
 
78
82
  .card-subtitle {
79
83
  margin-top: calc(-.5 * var(--#{$prefix}card-title-spacer-y)); // stylelint-disable-line function-disallowed-list
80
84
  margin-bottom: 0;
85
+ color: var(--#{$prefix}card-subtitle-color);
81
86
  }
82
87
 
83
88
  .card-text:last-child {
@@ -165,7 +165,6 @@
165
165
  margin-right: $carousel-control-width;
166
166
  margin-bottom: 1rem;
167
167
  margin-left: $carousel-control-width;
168
- list-style: none;
169
168
 
170
169
  [data-bs-target] {
171
170
  box-sizing: content-box;
@@ -210,7 +209,7 @@
210
209
 
211
210
  // Dark mode carousel
212
211
 
213
- .carousel-dark {
212
+ @mixin carousel-dark() {
214
213
  .carousel-control-prev-icon,
215
214
  .carousel-control-next-icon {
216
215
  filter: $carousel-dark-control-icon-filter;
@@ -224,3 +223,22 @@
224
223
  color: $carousel-dark-caption-color;
225
224
  }
226
225
  }
226
+
227
+ .carousel-dark {
228
+ @include carousel-dark();
229
+ }
230
+
231
+ @if $enable-dark-mode {
232
+ @include color-mode(dark) {
233
+ @if $color-mode-type == "media-query" {
234
+ .carousel {
235
+ @include carousel-dark();
236
+ }
237
+ } @else {
238
+ .carousel,
239
+ &.carousel {
240
+ @include carousel-dark();
241
+ }
242
+ }
243
+ }
244
+ }
@@ -4,37 +4,60 @@
4
4
  // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
5
5
 
6
6
  .btn-close {
7
+ // scss-docs-start close-css-vars
8
+ --#{$prefix}btn-close-color: #{$btn-close-color};
9
+ --#{$prefix}btn-close-bg: #{ escape-svg($btn-close-bg) };
10
+ --#{$prefix}btn-close-opacity: #{$btn-close-opacity};
11
+ --#{$prefix}btn-close-hover-opacity: #{$btn-close-hover-opacity};
12
+ --#{$prefix}btn-close-focus-shadow: #{$btn-close-focus-shadow};
13
+ --#{$prefix}btn-close-focus-opacity: #{$btn-close-focus-opacity};
14
+ --#{$prefix}btn-close-disabled-opacity: #{$btn-close-disabled-opacity};
15
+ --#{$prefix}btn-close-white-filter: #{$btn-close-white-filter};
16
+ // scss-docs-end close-css-vars
17
+
7
18
  box-sizing: content-box;
8
19
  width: $btn-close-width;
9
20
  height: $btn-close-height;
10
21
  padding: $btn-close-padding-y $btn-close-padding-x;
11
- color: $btn-close-color;
12
- background: transparent escape-svg($btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements
22
+ color: var(--#{$prefix}btn-close-color);
23
+ background: transparent var(--#{$prefix}btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements
13
24
  border: 0; // for button elements
14
25
  @include border-radius();
15
- opacity: $btn-close-opacity;
26
+ opacity: var(--#{$prefix}btn-close-opacity);
16
27
 
17
28
  // Override <a>'s hover style
18
29
  &:hover {
19
- color: $btn-close-color;
30
+ color: var(--#{$prefix}btn-close-color);
20
31
  text-decoration: none;
21
- opacity: $btn-close-hover-opacity;
32
+ opacity: var(--#{$prefix}btn-close-hover-opacity);
22
33
  }
23
34
 
24
35
  &:focus {
25
36
  outline: 0;
26
- box-shadow: $btn-close-focus-shadow;
27
- opacity: $btn-close-focus-opacity;
37
+ box-shadow: var(--#{$prefix}btn-close-focus-shadow);
38
+ opacity: var(--#{$prefix}btn-close-focus-opacity);
28
39
  }
29
40
 
30
41
  &:disabled,
31
42
  &.disabled {
32
43
  pointer-events: none;
33
44
  user-select: none;
34
- opacity: $btn-close-disabled-opacity;
45
+ opacity: var(--#{$prefix}btn-close-disabled-opacity);
35
46
  }
36
47
  }
37
48
 
49
+ @mixin btn-close-white() {
50
+ filter: var(--#{$prefix}btn-close-white-filter);
51
+ }
52
+
38
53
  .btn-close-white {
39
- filter: $btn-close-white-filter;
54
+ @include btn-close-white();
55
+ }
56
+
57
+ @if $enable-dark-mode {
58
+ @include color-mode(dark) {
59
+ .btn-close {
60
+ @include btn-close-white();
61
+ }
62
+ }
40
63
  }
@@ -184,6 +184,7 @@
184
184
  white-space: nowrap; // prevent links from randomly breaking onto new lines
185
185
  background-color: transparent; // For `<button>`s
186
186
  border: 0; // For `<button>`s
187
+ @include border-radius(var(--#{$prefix}dropdown-item-border-radius, 0));
187
188
 
188
189
  &:hover,
189
190
  &:focus {
@@ -188,7 +188,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003
188
188
  );
189
189
 
190
190
  @each $name, $value in $rgb {
191
- $value: if(divide($value, 255) < .03928, divide(divide($value, 255), 12.92), nth($_luminance-list, $value + 1));
191
+ $value: if(divide($value, 255) < .04045, divide(divide($value, 255), 12.92), nth($_luminance-list, $value + 1));
192
192
  $rgb: map-merge($rgb, ($name: $value));
193
193
  }
194
194
 
@@ -2,6 +2,12 @@
2
2
  //
3
3
  // Rows contain your columns.
4
4
 
5
+ :root {
6
+ @each $name, $value in $grid-breakpoints {
7
+ --#{$prefix}breakpoint-#{$name}: #{$value};
8
+ }
9
+ }
10
+
5
11
  @if $enable-grid-classes {
6
12
  .row {
7
13
  @include make-row();