ultimate-jekyll-manager 0.0.204 → 0.0.206

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.
package/CLAUDE.md CHANGED
@@ -6,6 +6,8 @@ Ultimate Jekyll Manager is a template framework that consuming projects install
6
6
 
7
7
  **Important:** This is NOT a standalone project. You cannot run `npm start` or `npm run build` directly in this repository.
8
8
 
9
+ **DO NOT run `npm start`, `npm run build`, or any dev server commands.** The user already has a development server running in a consuming project. Running these commands here would either fail or create duplicate servers unnecessarily.
10
+
9
11
  ## Project Structure
10
12
 
11
13
  ### Directory Organization
@@ -22,7 +24,7 @@ Ultimate Jekyll Manager is a template framework that consuming projects install
22
24
 
23
25
  ## Local Development
24
26
 
25
- The local development server URL is stored in `.temp/_config_browsersync.yml` in the consuming project's root directory. Read this file to determine the correct URL for browsing and testing.
27
+ The local development server URL is stored in `.temp/_config_browsersync.yml` in the consuming project's root directory. Read this file to determine the correct URL for browsing and testing. By default, use "https://192.168.86.69:4000".
26
28
 
27
29
  ## Asset Organization
28
30
 
@@ -462,6 +464,26 @@ Ultimate Jekyll supports both light and dark modes. Use adaptive classes instead
462
464
 
463
465
  These classes automatically adapt to the current theme mode.
464
466
 
467
+ ### Cards Inside Colored Sections
468
+
469
+ When placing cards inside sections with `bg-body-secondary` or `bg-body-tertiary`, cards will blend in because they share the same background color by default.
470
+
471
+ **Solution:** Add `bg-body` to cards to create visual contrast:
472
+
473
+ ```html
474
+ <!-- ❌ WRONG - Card blends with section background -->
475
+ <section class="bg-body-secondary">
476
+ <div class="card">...</div>
477
+ </section>
478
+
479
+ <!-- ✅ CORRECT - Card stands out with contrasting background -->
480
+ <section class="bg-body-secondary">
481
+ <div class="card bg-body">...</div>
482
+ </section>
483
+ ```
484
+
485
+ **Rule:** When a section uses `bg-body-secondary` or `bg-body-tertiary`, always add `bg-body` to child cards to ensure proper visual hierarchy.
486
+
465
487
  ## Page Loading Protection System
466
488
 
467
489
  Ultimate Jekyll prevents race conditions by disabling buttons during JavaScript initialization.
@@ -325,6 +325,7 @@ function setupPromoCountdown() {
325
325
  function adjustNavbarOffset() {
326
326
  const $promoBanner = document.getElementById('pricing-promo-banner');
327
327
  const $navbarWrapper = document.querySelector('.navbar-wrapper');
328
+ const $firstSection = document.querySelector('main > section:first-of-type');
328
329
 
329
330
  if (!$promoBanner || !$navbarWrapper) {
330
331
  return;
@@ -334,5 +335,14 @@ function adjustNavbarOffset() {
334
335
  $promoBanner.removeAttribute('hidden');
335
336
 
336
337
  const bannerHeight = $promoBanner.offsetHeight;
337
- $navbarWrapper.style.marginTop = `${bannerHeight - 10}px`;
338
+ const bannerOffset = bannerHeight - 10;
339
+
340
+ // Push navbar down to make room for banner
341
+ $navbarWrapper.style.marginTop = `${bannerOffset}px`;
342
+
343
+ // Also increase first section padding to account for banner
344
+ if ($firstSection) {
345
+ const currentPadding = parseFloat(getComputedStyle($firstSection).paddingTop);
346
+ $firstSection.style.paddingTop = `${currentPadding + bannerOffset}px`;
347
+ }
338
348
  }
@@ -1,21 +1,11 @@
1
1
  // Classy General Layout
2
2
  // Standard spacing and layout rules
3
3
 
4
- // ============================================
5
- // Main Content Spacing
6
- // ============================================
7
- main {
8
- padding-top: 6rem;
9
- // padding-bottom: 2rem;
10
-
11
- @media (min-width: 992px) {
12
- padding-top: 3.5rem;
13
- }
14
- }
15
-
16
4
  // ============================================
17
5
  // Section Spacing
18
6
  // ============================================
7
+ // First section gets extra top padding to account for fixed navbar
8
+ // This keeps section backgrounds flush with navbar (no gap/line)
19
9
  main {
20
10
  > section {
21
11
  padding-top: 4rem;
@@ -25,6 +15,16 @@ main {
25
15
  padding-top: 7rem;
26
16
  padding-bottom: 7rem;
27
17
  }
18
+
19
+ // First section: add navbar height to top padding
20
+ // Using :first-of-type so it works even if other elements (like banners) come before
21
+ &:first-of-type {
22
+ padding-top: 10rem; // 6rem navbar + 4rem section
23
+
24
+ @media (min-width: 992px) {
25
+ padding-top: 10.5rem; // 3.5rem navbar + 7rem section
26
+ }
27
+ }
28
28
  }
29
29
  }
30
30
 
@@ -129,11 +129,14 @@ main {
129
129
  }
130
130
  }
131
131
 
132
- // Vertical breakout - top (negative top margin to offset main padding of 6rem on mobile, 3.5rem on desktop)
132
+ // Vertical breakout - top (pull section up behind navbar)
133
+ // Use this when you want the section to extend behind the transparent navbar
133
134
  .section-breakout-top {
134
135
  margin-top: -6rem;
136
+ padding-top: 10rem !important; // 6rem navbar + 4rem section
135
137
 
136
138
  @media (min-width: 992px) {
137
139
  margin-top: -3.5rem;
140
+ padding-top: 10.5rem !important; // 3.5rem navbar + 7rem section
138
141
  }
139
142
  }
@@ -219,7 +219,7 @@ faqs:
219
219
  <!-- Promo Banner -->
220
220
  <div id="pricing-promo-banner" class="position-fixed top-0 start-0 w-100 text-light text-center bg-body animation-slide-down" style="z-index: 1050;" hidden>
221
221
  <div class="bg-primary-soft py-2 position-relative">
222
- <button type="button" class="btn-close btn-close-white position-absolute top-0 end-0 mt-2 me-2" aria-label="Close" onclick="this.closest('#pricing-promo-banner').hidden=true;document.querySelector('.navbar-wrapper').style.marginTop=''"></button>
222
+ <button type="button" class="btn-close btn-close-white position-absolute top-0 end-0 mt-2 me-2" aria-label="Close" onclick="this.closest('#pricing-promo-banner').hidden=true;document.querySelector('.navbar-wrapper').style.marginTop='';document.querySelector('main > section:first-of-type').style.paddingTop=''"></button>
223
223
  <div class="container-fluid">
224
224
  <div class="d-flex align-items-center justify-content-center gap-3 flex-wrap pe-4">
225
225
  <span id="pricing-promo-badge" class="badge bg-gradient-rainbow px-2 py-1 fs-6 animation-wiggle">
@@ -240,7 +240,7 @@ faqs:
240
240
  </div>
241
241
 
242
242
  <!-- Hero Section -->
243
- <section class="mt-4">
243
+ <section>
244
244
  <div class="container">
245
245
  <div class="row justify-content-center text-center">
246
246
  <div class="col-lg-10">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-jekyll-manager",
3
- "version": "0.0.204",
3
+ "version": "0.0.206",
4
4
  "description": "Ultimate Jekyll dependency manager",
5
5
  "main": "dist/index.js",
6
6
  "exports": {