jekyll-theme-centos 2.52.2 → 2.53.0

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.
@@ -1,3 +1,5 @@
1
+ @use "sass:list";
2
+ @use "sass:map";
1
3
  // Extend Bootstrap's text-emphasis/bg-subtle/border-subtle maps — consumed
2
4
  // by .alert-*, .list-group-item-*, and the .bg-*-subtle/.text-*-emphasis/
3
5
  // .border-*-subtle utilities via --bs-{color}-text-emphasis/-bg-subtle/
@@ -18,20 +20,20 @@
18
20
  $bootstrap-semantic-colors: primary, secondary, success, danger, warning, info, light, dark;
19
21
 
20
22
  @each $name, $value in $theme-colors {
21
- @if not index($bootstrap-semantic-colors, $name) {
23
+ @if not list.index($bootstrap-semantic-colors, $name) {
22
24
  // Formulas match Bootstrap's own defaults for these maps exactly (see
23
25
  // $primary-text-emphasis/-bg-subtle/-border-subtle in
24
26
  // bootstrap/_variables.scss) so CentOS colors get the same tint/shade
25
27
  // treatment Bootstrap's own semantic colors do.
26
- $theme-colors-text: map-merge($theme-colors-text, ($name: shade-color($value, 60%)));
27
- $theme-colors-bg-subtle: map-merge($theme-colors-bg-subtle, ($name: tint-color($value, 80%)));
28
- $theme-colors-border-subtle: map-merge($theme-colors-border-subtle, ($name: tint-color($value, 60%)));
28
+ $theme-colors-text: map.merge($theme-colors-text, ($name: shade-color($value, 60%)));
29
+ $theme-colors-bg-subtle: map.merge($theme-colors-bg-subtle, ($name: tint-color($value, 80%)));
30
+ $theme-colors-border-subtle: map.merge($theme-colors-border-subtle, ($name: tint-color($value, 60%)));
29
31
 
30
32
  @if $enable-dark-mode {
31
33
  // Matches $primary-text-emphasis-dark/-bg-subtle-dark/-border-subtle-dark.
32
- $theme-colors-text-dark: map-merge($theme-colors-text-dark, ($name: tint-color($value, 40%)));
33
- $theme-colors-bg-subtle-dark: map-merge($theme-colors-bg-subtle-dark, ($name: shade-color($value, 80%)));
34
- $theme-colors-border-subtle-dark: map-merge($theme-colors-border-subtle-dark, ($name: shade-color($value, 40%)));
34
+ $theme-colors-text-dark: map.merge($theme-colors-text-dark, ($name: tint-color($value, 40%)));
35
+ $theme-colors-bg-subtle-dark: map.merge($theme-colors-bg-subtle-dark, ($name: shade-color($value, 80%)));
36
+ $theme-colors-border-subtle-dark: map.merge($theme-colors-border-subtle-dark, ($name: shade-color($value, 40%)));
35
37
  }
36
38
  }
37
39
  }
@@ -40,46 +42,46 @@ $bootstrap-semantic-colors: primary, secondary, success, danger, warning, info,
40
42
  $centos-bg-gradients: (
41
43
  "primary": linear-gradient(
42
44
  90deg,
43
- rgba(map-get($theme-colors, "centos-purple-100"), 1) 50%,
44
- rgba(map-get($theme-colors, "centos-orange-100"), 1) 100%
45
+ rgba(centos-color("centos-purple-100"), 1) 50%,
46
+ rgba(centos-color("centos-orange-100"), 1) 100%
45
47
  ),
46
48
  "secondary": linear-gradient(
47
49
  90deg,
48
- rgba(map-get($theme-colors, "centos-orange-100"), 1) 50%,
49
- rgba(map-get($theme-colors, "centos-purple-100"), 1) 100%
50
+ rgba(centos-color("centos-orange-100"), 1) 50%,
51
+ rgba(centos-color("centos-purple-100"), 1) 100%
50
52
  ),
51
53
  "header": linear-gradient(
52
54
  180deg,
53
- rgba(map-get($theme-colors, "centos-purple-100"), 1) 0%,
55
+ rgba(centos-color("centos-purple-100"), 1) 0%,
54
56
  rgba($white, 0.98) 100%
55
57
  ),
56
58
  "footer": linear-gradient(
57
59
  180deg,
58
60
  rgba($white, 1) 0%,
59
- rgba(map-get($theme-colors, "centos-purple-100"), 1) 100%
61
+ rgba(centos-color("centos-purple-100"), 1) 100%
60
62
  )
61
- );
63
+ ) !default;
62
64
 
63
65
  // Define custom text gradients.
64
66
  $centos-text-gradients: (
65
67
  "primary": linear-gradient(
66
68
  90deg,
67
- rgba(map-get($theme-colors, "centos-purple"), 1) 50%,
68
- rgba(map-get($theme-colors, "centos-orange"), 1) 100%
69
+ rgba(centos-color("centos-purple"), 1) 50%,
70
+ rgba(centos-color("centos-orange"), 1) 100%
69
71
  ),
70
72
  "secondary": linear-gradient(
71
73
  270deg,
72
- rgba(map-get($theme-colors, "centos-purple"), 1) 50%,
73
- rgba(map-get($theme-colors, "centos-orange"), 1) 100%
74
+ rgba(centos-color("centos-purple"), 1) 50%,
75
+ rgba(centos-color("centos-orange"), 1) 100%
74
76
  )
75
- );
77
+ ) !default;
76
78
 
77
79
  // Define custom utilities using the correct Bootstrap API. These are genuine
78
80
  // custom concepts Bootstrap has no equivalent for; `.bg-*`/`.text-*`/
79
81
  // `.border-*`/`.text-bg-*`/`.link-underline-*` are now generated natively by
80
82
  // Bootstrap's own utilities API for every CentOS color and shade (see
81
83
  // base/theme-colors, imported before bootstrap/maps/utilities).
82
- $utilities: map-merge(
84
+ $utilities: map.merge(
83
85
  $utilities,
84
86
  (
85
87
  "centos-bg-gradient": (
@@ -0,0 +1,15 @@
1
+ // --------------------------------------------------------------------------------
2
+ // Lists
3
+ // --------------------------------------------------------------------------------
4
+ #pageToc {
5
+ li {
6
+ list-style: none;
7
+ }
8
+ li::before {
9
+ content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' width='6' height='6'><circle cx='256' cy='256' r='256' fill='rgba(#{to-rgb($body-color)},1)'/></svg>");
10
+ vertical-align: middle;
11
+ position: relative;
12
+ left: -0.5rem;
13
+ top: -0.2rem;
14
+ }
15
+ }
@@ -0,0 +1,20 @@
1
+ // --------------------------------------------------------------------------------
2
+ // Navbar-dependent scroll offset (fixed-top navbar only)
3
+ // --------------------------------------------------------------------------------
4
+ // scroll-margin-top exists solely to keep anchored headings/figures/accordions from
5
+ // being hidden behind the fixed-top navbar. Scoped to .has-navbar (stamped on <body>
6
+ // in the layout only when page.with_navbar is true) so pages that disable the navbar
7
+ // get no phantom offset.
8
+ body.has-navbar main {
9
+ .content > h1,
10
+ .content > h2,
11
+ .content > h3,
12
+ .content > h4,
13
+ .content > h5,
14
+ .content > h6,
15
+ .content > figure,
16
+ .content .accordion,
17
+ .content .accordion-item {
18
+ scroll-margin-top: 80px;
19
+ }
20
+ }
@@ -0,0 +1,9 @@
1
+ // Bootstrap maps, mixins, and the utilities map, then the theme's own maps.
2
+ // Import after setup-variables. Change $utilities after this file, as Bootstrap
3
+ // documents, and before bootstrap-utilities generates the classes.
4
+ @import "bootstrap/maps";
5
+ @import "bootstrap/mixins";
6
+ @import "bootstrap/utilities";
7
+
8
+ // Import your custom maps. They can now safely use the defined variables.
9
+ @import "maps";
@@ -0,0 +1,17 @@
1
+ // Theme and Bootstrap variables. Import after bootstrap/functions. Set variable
2
+ // overrides before this file, and they take effect here.
3
+
4
+ // Include any default variable overrides here.
5
+ @import "variables";
6
+
7
+ // Import Bootstrap's default variables and maps.
8
+ // This defines variables like $theme-colors and $utilities.
9
+ @import "bootstrap/variables";
10
+ @import "bootstrap/variables-dark";
11
+
12
+ // Merge CentOS colors/shades into $theme-colors now that Bootstrap has
13
+ // defined it, but before bootstrap/maps and bootstrap/utilities snapshot it,
14
+ // so Bootstrap's native .bg-*/.text-*/.border-*/.text-bg-*/.link-underline-*
15
+ // utilities cover every CentOS color and shade automatically instead of only
16
+ // Bootstrap's original 8 semantic names.
17
+ @import "theme-colors";
@@ -0,0 +1,17 @@
1
+ // --------------------------------------------------------------------------------
2
+ // Sponsor logos
3
+ // --------------------------------------------------------------------------------
4
+ // Caps logo size in sponsors-cards (card and image) and sponsors-carousel (image).
5
+ // Bootstrap has no max-height/max-width utilities beyond mh-100/mw-100, and a
6
+ // class keeps the size out of inline styles, which html-validate flags.
7
+ .sponsors-logo {
8
+ max-height: 60px;
9
+ max-width: 242px;
10
+ }
11
+
12
+ // Fixed slide box so the carousel keeps a stable height as logos of
13
+ // different sizes fade in and out.
14
+ .sponsors-carousel-slide {
15
+ height: 80px;
16
+ width: 262px;
17
+ }
@@ -1,3 +1,5 @@
1
+ @use "sass:list";
2
+ @use "sass:map";
1
3
  @use "sass:math";
2
4
 
3
5
  // Merge the base colors and generated shades into `$theme-colors` here, in
@@ -11,9 +13,9 @@
11
13
  // bootstrap/utilities for unrelated reasons), Bootstrap's native
12
14
  // .bg-*/.text-*/.border-*/.text-bg-*/.link-underline-* utilities would only
13
15
  // ever cover Bootstrap's original 8 semantic names.
14
- $theme-colors: map-merge($theme-colors, $centos-base-colors);
16
+ $-centos-colors: $centos-base-colors;
15
17
 
16
- // Generate all custom color shades and merge them into `$theme-colors`.
18
+ // Generate all custom color shades.
17
19
  // Uses saturation-normalized shade generation to maintain brand saturation
18
20
  // throughout the dark range (grades 800-950), creating visual consistency
19
21
  // between web UI and wallpaper colors.
@@ -24,7 +26,7 @@ $theme-colors: map-merge($theme-colors, $centos-base-colors);
24
26
 
25
27
  @if $shade < 500 {
26
28
  // Light shades: use standard tint-color (adds white, works well)
27
- $shade-color: tint-color($color, percentage(math.div(500 - $shade, 500)));
29
+ $shade-color: tint-color($color, math.percentage(math.div(500 - $shade, 500)));
28
30
  } @else if $shade > 500 {
29
31
  // Special case: green-700 skips the saturated-shade formula below and
30
32
  // mixes 30% black directly, to keep its contrast against this theme's
@@ -44,6 +46,22 @@ $theme-colors: map-merge($theme-colors, $centos-base-colors);
44
46
  $shade-color: $color;
45
47
  }
46
48
 
47
- $theme-colors: map-merge($theme-colors, ($shade-name: $shade-color));
49
+ $-centos-colors: map.merge($-centos-colors, ($shade-name: $shade-color));
50
+ }
51
+ }
52
+
53
+ // Every CentOS color and shade, whichever ones $theme-colors keeps. Theme rules
54
+ // use this, so a project's color selection can't break them.
55
+ @function centos-color($name) {
56
+ @if not map.has-key($-centos-colors, $name) {
57
+ @error "Unknown CentOS color `#{$name}`.";
58
+ }
59
+ @return map.get($-centos-colors, $name);
60
+ }
61
+
62
+ // Merge the enabled colors, in generation order.
63
+ @each $name, $color in $-centos-colors {
64
+ @if $centos-theme-colors-enabled == null or list.index($centos-theme-colors-enabled, $name) {
65
+ $theme-colors: map.merge($theme-colors, ($name: $color));
48
66
  }
49
67
  }
@@ -0,0 +1,23 @@
1
+ // The complete theme. Set any variable overrides before importing this file.
2
+
3
+ // Include functions first (so you can manipulate colors, SVGs, calc, etc).
4
+ @import "bootstrap/functions";
5
+
6
+ @import "setup-variables";
7
+ @import "setup-maps";
8
+
9
+ // Bootstrap.
10
+ @import "bootstrap-core";
11
+ @import "bootstrap-components";
12
+ @import "bootstrap-utilities";
13
+
14
+ // Add additional custom code here.
15
+ @import "customization";
16
+ @import "download";
17
+ @import "preview";
18
+ @import "highlight-theme";
19
+
20
+ // Third-party component theme overrides (must load after our own
21
+ // customizations so component-specific corrections win the cascade).
22
+ @import "calendar";
23
+ @import "datatable";
@@ -1,3 +1,4 @@
1
+ @use "sass:map";
1
2
  // ================================================================================
2
3
  // SATURATION-NORMALIZED SHADE GENERATION
3
4
  // ================================================================================
@@ -17,9 +18,9 @@
17
18
  @use "sass:color";
18
19
  @use "sass:math";
19
20
 
20
- // ────────────────────────────────────────────────────────────────────────────
21
+ // ================================================================================
21
22
  // Function: Get saturation multiplier for a given shade grade
22
- // ────────────────────────────────────────────────────────────────────────────
23
+ // ================================================================================
23
24
  // Light shades (50-400) get less saturated for a softer look on a light
24
25
  // background; dark shades (800-950) get more, to counter the desaturation
25
26
  // Bootstrap's own algorithm would otherwise produce. The 950 multiplier
@@ -46,9 +47,9 @@
46
47
  }
47
48
  }
48
49
 
49
- // ────────────────────────────────────────────────────────────────────────────
50
+ // ================================================================================
50
51
  // Function: Calculate target lightness for a shade grade
51
- // ────────────────────────────────────────────────────────────────────────────
52
+ // ================================================================================
52
53
  // Interpolates lightness smoothly from light (grade 50) to dark (grade 950).
53
54
  @function target-lightness($shade, $base-lightness) {
54
55
  @if $shade < 500 {
@@ -72,9 +73,9 @@
72
73
  }
73
74
  }
74
75
 
75
- // ────────────────────────────────────────────────────────────────────────────
76
+ // ================================================================================
76
77
  // Function: Generate a saturation-normalized shade
77
- // ────────────────────────────────────────────────────────────────────────────
78
+ // ================================================================================
78
79
  // Extracts HSL from the base color, applies the multipliers above, and
79
80
  // returns the shade as HSL. Kept as a function rather than hardcoded shades
80
81
  // so every color family follows the same rule and stays internally
@@ -89,9 +90,9 @@
89
90
  // actual current value.
90
91
  @function saturated-shade($color, $shade) {
91
92
  // Extract current HSL values from the color
92
- $current-hue: hue($color);
93
- $current-saturation: saturation($color);
94
- $current-lightness: lightness($color);
93
+ $current-hue: color.hue($color);
94
+ $current-saturation: color.saturation($color);
95
+ $current-lightness: color.lightness($color);
95
96
 
96
97
  // Calculate target values for this shade
97
98
  $target-light: target-lightness($shade, $current-lightness);
@@ -105,6 +106,8 @@
105
106
  // ================================================================================
106
107
  // CentOS Color (Our beloved branding colors)
107
108
  // ================================================================================
109
+ // Not !default: scripts/colors/generators/generate-shade-documentation.py reads this
110
+ // map's exact form, and the brand colors aren't per-project settings.
108
111
  $centos-base-colors: (
109
112
  centos-purple: #A14F8C,
110
113
  centos-orange: #EFA724,
@@ -113,7 +116,18 @@ $centos-base-colors: (
113
116
  );
114
117
 
115
118
  // Define the shade steps.
116
- $centos-color-shades: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950;
119
+ $centos-color-shades: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950 !default;
120
+
121
+ // Which CentOS colors and shades join $theme-colors, by name. Bootstrap generates
122
+ // custom properties and utilities per color, so a shorter list means less CSS.
123
+ // null keeps them all. Bootstrap's own semantic colors always stay.
124
+ $centos-theme-colors-enabled: null !default;
125
+
126
+ // Which breakpoint images .bg-artwork and .bg-project reference. The first is the
127
+ // base rule and the rest apply from their breakpoint up. Files are named
128
+ // bg-artwork-<size>.png and bg-project-<size>.png.
129
+ $centos-artwork-sizes: sm, md, lg, xl, xxl !default;
130
+ $centos-project-sizes: sm, md, lg, xl, xxl !default;
117
131
 
118
132
  // --------------------------------------------------------------------------------
119
133
  // Theme colors
@@ -129,12 +143,12 @@ $centos-color-shades: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950;
129
143
  // python3 scripts/colors/tools/calculate-contrast.py "#FFFFFF" "<hex>"
130
144
  // See color.md for the full contrast and color-psychology write-up.
131
145
  // --------------------------------------------------------------------------------
132
- $primary: map-get($centos-base-colors, 'centos-purple');
133
- $secondary: map-get($centos-base-colors, 'centos-orange'); // CentOS brand secondary
134
- $success: #4A8400; // Darkened centos-green
135
- $warning: #C86A00; // Darkened centos-orange - warm, urgent
136
- $danger: #C62828; // External red - no CentOS equivalent
137
- $info: #1976D2; // External blue - distinguishes from warning
146
+ $primary: map.get($centos-base-colors, 'centos-purple') !default;
147
+ $secondary: map.get($centos-base-colors, 'centos-orange') !default; // CentOS brand secondary
148
+ $success: #4A8400 !default; // Darkened centos-green
149
+ $warning: #C86A00 !default; // Darkened centos-orange - warm, urgent
150
+ $danger: #C62828 !default; // External red - no CentOS equivalent
151
+ $info: #1976D2 !default; // External blue - distinguishes from warning
138
152
 
139
153
  // Light and dark are automatically generated from centos-purple using the saturation-normalized
140
154
  // shade system. Instead of assigning function results to variables here (which causes Dart Sass
@@ -146,18 +160,18 @@ $info: #1976D2; // External blue - distinguishes from warning
146
160
  // The generated values are imported from: src/SASS/_light-dark.scss
147
161
  @import "light-dark";
148
162
 
149
- $white: #ffffff;
150
- $black: #000000;
163
+ $white: #ffffff !default;
164
+ $black: #000000 !default;
151
165
 
152
166
  // Bootstrap's default inline-code color isn't part of this site's brand
153
- // and fails WCAG AA against the code background in _customization.scss.
167
+ // and fails WCAG AA against the code background in _content.scss.
154
168
  // This is centos-purple-700.
155
- $code-color: #673259;
169
+ $code-color: #673259 !default;
156
170
 
157
171
  // Background and Body variables
158
172
  // These control the default background and text colors for the entire page.
159
- $body-bg: $white;
160
- $body-color: #1c0d19; // purple-tinted near-black; matches the text_color_hex value
173
+ $body-bg: $white !default;
174
+ $body-color: #1c0d19 !default; // purple-tinted near-black; matches the text_color_hex value
161
175
  // paired with the light centos-purple shades (50-400) in
162
176
  // src/YAML/color.yml
163
177
 
@@ -166,21 +180,21 @@ $body-color: #1c0d19; // purple-tinted near-black; matches the text_color_hex va
166
180
  // given background — defaulting to plain $black/$white, not $body-color.
167
181
  // Without this override, text inside .text-bg-light would render in generic
168
182
  // Bootstrap black instead of the theme's own near-black body color.
169
- $color-contrast-dark: $body-color;
183
+ $color-contrast-dark: $body-color !default;
170
184
 
171
185
  // Border and Emphasis colors
172
186
  // Used for borders, dividers, and higher-contrast text.
173
- $border-color: #e8d9e5; // light purple-family tint, for borders and dividers
174
- $emphasis-color: #d1b3cb; // light purple-family tint, higher-contrast than $border-color
187
+ $border-color: #e8d9e5 !default; // light purple-family tint, for borders and dividers
188
+ $emphasis-color: #d1b3cb !default; // light purple-family tint, higher-contrast than $border-color
175
189
 
176
190
  // Dropdown menu
177
- $dropdown-dark-bg: $dark;
178
- $dropdown-dark-color: $light;
191
+ $dropdown-dark-bg: $dark !default;
192
+ $dropdown-dark-color: $light !default;
179
193
 
180
194
  // --------------------------------------------------------------------------------
181
195
  // Spacing customization
182
196
  // --------------------------------------------------------------------------------
183
- $spacer: 1rem;
197
+ $spacer: 1rem !default;
184
198
  $spacers: (
185
199
  0: 0,
186
200
  1: $spacer * .25,
@@ -189,27 +203,27 @@ $spacers: (
189
203
  4: $spacer * 1.5,
190
204
  5: $spacer * 3,
191
205
  6: $spacer * 5,
192
- );
206
+ ) !default;
193
207
 
194
208
  // --------------------------------------------------------------------------------
195
209
  // Typography
196
210
  // --------------------------------------------------------------------------------
197
- $font-family-sans-serif: "Montserrat", sans-serif;
198
- $font-family-monospace: "Source Code Pro", monospace;
199
- $headings-font-weight: 700;
200
- $font-size-base: $spacer;
201
- $h1-font-size: $font-size-base * 2.75;
202
- $body-emphasis-color: mix(#000, $body-color, 15%);
211
+ $font-family-sans-serif: "Montserrat", sans-serif !default;
212
+ $font-family-monospace: "Source Code Pro", monospace !default;
213
+ $headings-font-weight: 700 !default;
214
+ $font-size-base: $spacer !default;
215
+ $h1-font-size: $font-size-base * 2.75 !default;
216
+ $body-emphasis-color: color.mix(#000, $body-color, 15%) !default;
203
217
 
204
218
  // --------------------------------------------------------------------------------
205
219
  // Breadcrumb
206
220
  // --------------------------------------------------------------------------------
207
- $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>");
221
+ $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>") !default;
208
222
 
209
223
  // --------------------------------------------------------------------------------
210
224
  // Negative margins
211
225
  // --------------------------------------------------------------------------------
212
- $enable-negative-margins: true;
226
+ $enable-negative-margins: true !default;
213
227
 
214
228
  // --------------------------------------------------------------------------------
215
229
  // Breakingnews
@@ -218,4 +232,4 @@ $enable-negative-margins: true;
218
232
  // both the body padding and the sticky element's top position. If you change
219
233
  // this value, you also need to tune-up the _includes/head.html file, where
220
234
  // dynamic calculation of scroll-margin-top property takes place.
221
- $breakingnews-height: 59px;
235
+ $breakingnews-height: 59px !default;
@@ -11,41 +11,4 @@
11
11
  * to the Bootstrap framework for use in CentOS web properties.
12
12
  */
13
13
 
14
- // 1. Include functions first (so you can manipulate colors, SVGs, calc, etc)
15
- @import "bootstrap/functions";
16
-
17
- // 2. Include any default variable overrides here
18
- @import "base/variables";
19
-
20
- // 3. Import Bootstrap's default variables and maps.
21
- // This defines variables like $theme-colors and $utilities.
22
- @import "bootstrap/variables";
23
- @import "bootstrap/variables-dark";
24
-
25
- // 3b. Merge CentOS colors/shades into $theme-colors now that Bootstrap has
26
- // defined it, but before bootstrap/maps and bootstrap/utilities snapshot it,
27
- // so Bootstrap's native .bg-*/.text-*/.border-*/.text-bg-*/.link-underline-*
28
- // utilities cover every CentOS color and shade automatically instead of only
29
- // Bootstrap's original 8 semantic names.
30
- @import "base/theme-colors";
31
-
32
- @import "bootstrap/maps";
33
- @import "bootstrap/mixins";
34
- @import "bootstrap/utilities";
35
-
36
- // 4. Import your custom maps. They can now safely use the defined variables.
37
- @import "base/maps";
38
-
39
- // 5. Include remainder of required parts
40
- @import "bootstrap/bootstrap";
41
-
42
- // 6. Add additional custom code here
43
- @import "base/customization";
44
- @import "base/download";
45
- @import "base/preview";
46
- @import "base/highlight-theme";
47
-
48
- // 7. Third-party component theme overrides (must load after our own
49
- // customizations so component-specific corrections win the cascade).
50
- @import "base/calendar";
51
- @import "base/datatable";
14
+ @import "base/theme";
@@ -34,7 +34,7 @@ document.addEventListener('DOMContentLoaded', () => {
34
34
 
35
35
  // DataTables' autoWidth measures every cell in a detached, unconstrained
36
36
  // clone before the table is laid out, so a `.long-value` cell's
37
- // `overflow-wrap: anywhere` (_customization.scss) never gets a chance
37
+ // `overflow-wrap: anywhere` (_content.scss) never gets a chance
38
38
  // to wrap during that measurement — DataTables sees the value's full
39
39
  // one-line length and gives its column that much width, starving every
40
40
  // other column. Detected by content, not column position or count, so
@@ -27,7 +27,7 @@ document.addEventListener('DOMContentLoaded', () => {
27
27
  //
28
28
  // Scoped to `pre code`: an inline `code` span getting the `.hljs` class
29
29
  // would pull in _highlight-theme.scss's block-code color reset, stomping
30
- // the separate inline-code chip style in _customization.scss.
30
+ // the separate inline-code chip style in _content.scss.
31
31
  const declaredLanguages = new WeakMap()
32
32
  document.querySelectorAll('pre code').forEach(el => {
33
33
  el.classList.add('hljs')
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.52.2
4
+ version: 2.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado
@@ -303,6 +303,7 @@ files:
303
303
  - _data/base/download_schema.yml
304
304
  - _data/base/event_schema.yml
305
305
  - _data/base/fontawesome_schema.yml
306
+ - _data/base/fonts_schema.yml
306
307
  - _data/base/footer.yml
307
308
  - _data/base/footer_schema.yml
308
309
  - _data/base/head_schema.yml
@@ -358,6 +359,7 @@ files:
358
359
  - _includes/base/download_sections.html.liquid
359
360
  - _includes/base/event.html.liquid
360
361
  - _includes/base/fontawesome.html.liquid
362
+ - _includes/base/fonts.html.liquid
361
363
  - _includes/base/footer.html.liquid
362
364
  - _includes/base/head.html.liquid
363
365
  - _includes/base/highlight.html.liquid
@@ -379,15 +381,30 @@ files:
379
381
  - _includes/base/toc.html.liquid
380
382
  - _layouts/base/default.html
381
383
  - _layouts/people/default.html
384
+ - _sass/base/_alerts.scss
385
+ - _sass/base/_backgrounds.scss
386
+ - _sass/base/_bootstrap-components.scss
387
+ - _sass/base/_bootstrap-core.scss
388
+ - _sass/base/_bootstrap-utilities.scss
382
389
  - _sass/base/_calendar.scss
390
+ - _sass/base/_content.scss
383
391
  - _sass/base/_customization.scss
384
392
  - _sass/base/_datatable.scss
385
393
  - _sass/base/_download.scss
394
+ - _sass/base/_focus-ring.scss
395
+ - _sass/base/_gradients.scss
386
396
  - _sass/base/_highlight-theme.scss
397
+ - _sass/base/_layout.scss
387
398
  - _sass/base/_light-dark.scss
388
399
  - _sass/base/_maps.scss
400
+ - _sass/base/_page-toc.scss
389
401
  - _sass/base/_preview.scss
402
+ - _sass/base/_scroll-offset.scss
403
+ - _sass/base/_setup-maps.scss
404
+ - _sass/base/_setup-variables.scss
405
+ - _sass/base/_sponsors.scss
390
406
  - _sass/base/_theme-colors.scss
407
+ - _sass/base/_theme.scss
391
408
  - _sass/base/_variables.scss
392
409
  - _sass/bootstrap/_accordion.scss
393
410
  - _sass/bootstrap/_alert.scss