From 4f0732176b005ca212c0eef7f8b2e0d4307704aa Mon Sep 17 00:00:00 2001 From: KANHA GUPTA Date: Wed, 18 Oct 2023 05:29:24 +0530 Subject: [PATCH] Add files via upload --- animation.css | 22 ++++++++++------------ index.html | 10 +++++----- script.js | 1 - 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/animation.css b/animation.css index 081d58b..7e8c07c 100644 --- a/animation.css +++ b/animation.css @@ -101,22 +101,20 @@ body { .nav-a{ --b: 0.1em; /* the thickness of the line */ - --c: rgb(84, 84, 84); /* the color */ - text-decoration: none; - color: rgb(16, 0, 0); - padding-block: var(--b); - background: - linear-gradient(var(--c) 50%,rgb(0, 0, 0) 0) 0% calc(100% - var(--_p,0%))/100% 200%, - linear-gradient(var(--c) 0 0) 0% var(--_p,0%)/var(--_p,0%) var(--b) no-repeat; - -webkit-background-clip: text,padding-box; - background-clip: text,padding-box; - transition: .3s var(--_s,0s) linear,background-size .3s calc(.3s - var(--_s,0s)); + --c: #151f65; + text-decoration: none; + color: #6b73ac; + padding-block: var(--b); + background: linear-gradient(var(--c) 50%,#000 0) 0% calc(100% - var(--_p,0%))/100% 200%, linear-gradient(var(--c) 0 0) 0% var(--_p,0%)/var(--_p,0%) var(--b) no-repeat; + -webkit-background-clip: text,padding-box; + background-clip: text,padding-box; + transition: .3s var(--_s,0s) linear,background-size .3s calc(.3s - var(--_s,0s)); } .nav-a:hover { - --_p: 100%; + --_p: 100%; --_s: .3s; - color: rgb(84, 84, 84); + color: #000000; } .butn{ diff --git a/index.html b/index.html index 600018a..73f1995 100644 --- a/index.html +++ b/index.html @@ -104,19 +104,19 @@ Total Views - CONTACT PROJECTS ACHIEVEMENTS RESUME ABOUT
diff --git a/script.js b/script.js index 07026ad..a69edab 100644 --- a/script.js +++ b/script.js @@ -422,7 +422,6 @@ ScrollReveal({ var width = window.innerWidth; var scrollPosition = window.scrollY || window.pageYOffset; if (width > 600) { - ScrollReveal().reveal('.navscroll', { origin: 'bottom', reset: true, distance: '70px', duration: 1000, delay: 50, }); if (scrollPosition < 20) { ScrollReveal().reveal('.fix', { origin: 'top', reset: false, distance: '80px', duration: 2200, delay: 150 }); ScrollReveal().reveal('.fix2', { origin: 'left', reset: false, distance: '80px', duration: 2200, delay: 150 });