fix(theme): blog posts no longer fade out; readable post layout

- Scroll reveal used threshold 0.15: a section taller than ~6.7 screens (a
  long article) never reached it, so after the reveal class hid it, it
  stayed hidden. Reveal as soon as any part enters (threshold 0).
- Post header: full-width title with meta below and a normal gap
- Article: heading sizes per level, photos keep their shape (no crop),
  icon-sized inline SVGs, full-width embeds
- Strip the imported 'Home' breadcrumb line from posts and card excerpts
- Theme 1.0.15

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 21:20:34 +03:30
parent d89f8c2a0b
commit 023b998694
6 changed files with 43 additions and 7 deletions

View File

@@ -168,7 +168,9 @@
});
obs.unobserve(entry.target);
});
}, { threshold: 0.15, rootMargin: '0px 0px -8% 0px' });
// threshold 0, not a ratio: a section taller than the screen (a long
// article) can never be 15% visible and would stay hidden forever.
}, { threshold: 0, rootMargin: '0px 0px -8% 0px' });
sections.forEach(function (section) { revealObserver.observe(section); });
}