From adee14fabca441f34495419e4920728ea1d0ed81 Mon Sep 17 00:00:00 2001 From: Dejvino Date: Tue, 19 May 2026 07:33:17 +0200 Subject: [PATCH] CV as a scroll-out --- index.php | 122 ++++++++++++++++++++++++++++-------------------------- style.css | 36 ++++++++++++++-- 2 files changed, 95 insertions(+), 63 deletions(-) diff --git a/index.php b/index.php index 54aa7b8..033dd81 100644 --- a/index.php +++ b/index.php @@ -95,10 +95,10 @@ $cv_skills = ["PHP", "Go", "Rust", "Docker", "Kubernetes", "PostgreSQL", "Redis" echo '
'; } ?> -
+

-
+
@@ -113,6 +113,18 @@ $cv_skills = ["PHP", "Go", "Rust", "Docker", "Kubernetes", "PostgreSQL", "Redis"

+
+

Remote_Access

+
+ Email: uncovering... +
+ +
+ -
-

Remote_Access

-

- Contact email: uncovering... -

- -
- - - - @@ -274,7 +278,7 @@ $cv_skills = ["PHP", "Go", "Rust", "Docker", "Kubernetes", "PostgreSQL", "Redis" // Only scroll to top if we are collapsing the CV and the user is scrolled down if (!e.target.checked && window.scrollY > 200) { - window.scrollTo({ top: document.querySelector('.hiring-toggle').offsetTop - 20, behavior: 'smooth' }); + window.scrollTo({ top: document.querySelector('.cv-container').offsetTop - 20, behavior: 'smooth' }); } }); diff --git a/style.css b/style.css index a2d8d1b..705c961 100644 --- a/style.css +++ b/style.css @@ -107,9 +107,10 @@ body { .profile { grid-column: span 3; } .about { grid-column: span 2; } .interests { grid-column: span 1; } - .contact { grid-column: span 2; } - .links { grid-column: span 1; } + .contact { grid-column: span 1; } + .links { grid-column: span 2; } .hiring-toggle { grid-column: span 3; } + .cv-container { grid-column: span 3; } .experience { grid-column: span 2; } .skills { grid-column: span 1; } .education { grid-column: span 3; } @@ -188,6 +189,25 @@ body { } /* CV Specific Content Styles */ +.cv-section { + background: rgba(0, 243, 255, 0.03); + border: 1px solid rgba(0, 243, 255, 0.15); + padding: 20px; + margin-top: 15px; + clip-path: polygon( + 0 10px, 10px 0, + 100% 0, + 100% calc(100% - 10px), calc(100% - 10px) 100%, + 0 100% + ); + transition: all 0.3s ease; +} + +.cv-section:hover { + background: rgba(0, 243, 255, 0.07); + border-color: rgba(0, 243, 255, 0.3); +} + .cv-item { margin-bottom: 20px; border-left: 2px solid rgba(0, 243, 255, 0.2); @@ -196,14 +216,20 @@ body { .cv-item:last-child { margin-bottom: 0; } -.cv-header { +.cv-item-header, .cv-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; } +.address.mono-addr { + font-style: normal; + margin-bottom: 15px; +} + .cv-title { + margin: 0; font-weight: bold; color: #fff; font-size: 1rem; @@ -215,12 +241,13 @@ body { } .cv-org { + margin: 0 0 8px 0; font-size: 0.8rem; color: var(--link-color); - margin-bottom: 8px; } .cv-desc { + margin: 0; font-size: 0.85rem; line-height: 1.4; opacity: 0.9; @@ -304,6 +331,7 @@ body { display: flex; align-items: center; justify-content: space-between; + width: 100%; font-size: 0.85rem; color: var(--accent-color); text-shadow: 0 0 10px var(--accent-color);