Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
--color-peru-alpha-35: rgba(205, 133, 63, 0.35);

/* Typography */
--font-primary: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
--font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
--font-primary: "Helvetica Neue", helvetica, arial, system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
--font-display: 'Cormorant Garamond', georgia, 'Times New Roman', serif;

/* Heading Styling */
--h2-gradient-start: #2b65c6;
Expand Down Expand Up @@ -797,7 +797,9 @@ a:hover {
}

[data-animate-block].is-inview [data-animate-el]:nth-child(2) { transition-delay: 0.1s; }

[data-animate-block].is-inview [data-animate-el]:nth-child(3) { transition-delay: 0.2s; }

[data-animate-block].is-inview [data-animate-el]:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
Expand Down Expand Up @@ -1005,7 +1007,7 @@ a:hover {
*-------------------------------------------------------------- */

/* Film-grain overlay on hero for depth — subtle, non-distracting */
.s-intro::after {
.s-intro:after {
content: '';
position: absolute;
inset: 0;
Expand Down Expand Up @@ -2736,7 +2738,7 @@ img.youtube-stats-dark {
animation: none;
}

.s-intro::after {
.s-intro:after {
display: none;
}
}
10 changes: 5 additions & 5 deletions assets/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,17 +435,17 @@ window.copyEmail = copyToClipboard; // Maintain existing API
* is not available.
*/
function initScrollReveal() {
const blocks = document.querySelectorAll('[data-animate-block]');
const blocks = document.querySelectorAll("[data-animate-block]");
if (!blocks.length) return;
if (typeof IntersectionObserver === 'undefined') {
blocks.forEach((block) => block.classList.add('is-inview'));
if (typeof IntersectionObserver === "undefined") {
blocks.forEach((block) => block.classList.add("is-inview"));
return;
}
const observer = new IntersectionObserver(
(entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.classList.add('is-inview');
entry.target.classList.add("is-inview");
observer.unobserve(entry.target);
}
});
Expand All @@ -455,4 +455,4 @@ function initScrollReveal() {
blocks.forEach((block) => observer.observe(block));
}

document.addEventListener('DOMContentLoaded', initScrollReveal);
document.addEventListener("DOMContentLoaded", initScrollReveal);
Loading