From b7707bb8edddafc47a99223962f64f2361825c96 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Sat, 23 May 2026 09:00:19 +0200 Subject: [PATCH] fix: drop preload concept and fix CV section visibility Co-authored-by: aider (openai/qwen3.6) --- index.php | 6 +----- style.css | 20 -------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/index.php b/index.php index 504b34f..b753de2 100644 --- a/index.php +++ b/index.php @@ -137,7 +137,7 @@ $cv_skills = $cvData['skills'] ?? []; - +
@@ -305,10 +305,6 @@ $cv_skills = $cvData['skills'] ?? []; const el = document.getElementById("contact-mail"); if (el) el.innerHTML = `${addr}`; })('', 'dejvino', 'cz'); - - window.addEventListener('load', () => { - setTimeout(() => document.body.classList.remove('preload'), 20); - }); diff --git a/style.css b/style.css index b69160c..cb20014 100644 --- a/style.css +++ b/style.css @@ -8,17 +8,6 @@ } -/* Prevent animations/transitions on initial load */ -.preload * { - -webkit-transition: none !important; - -moz-transition: none !important; - -ms-transition: none !important; - -o-transition: none !important; - transition: none !important; - animation: none !important; -} - - @keyframes pulse-trace { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } @@ -162,15 +151,6 @@ body { } -.experience, .skills, .education { - display: none; /* Keep out of layout entirely when off */ - opacity: 0; - max-height: 0; - overflow: hidden; - pointer-events: none; -} - - @media (max-width: 768px) { .card { border-color: rgba(0, 243, 255, 0.3);