Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanha412 authored Oct 17, 2023
1 parent a0b6500 commit 4f07321
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
22 changes: 10 additions & 12 deletions animation.css
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,19 @@
<a
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar w3-hover-border-green flipX2" style="cursor:grab;">Total Views - <img src="https://counter10.optistats.ovh/private/freecounterstat.php?c=8muexsneuk69y9ja2w5dtwcs6wb788fl"></a>
<a href="#contact"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray navscroll"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray"
style="border-width: 2px !important;">CONTACT</a>
<a href="#project"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray navscroll"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray"
style="border-width: 2px !important;">PROJECTS</a>
<a href="#achieve"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray navscroll"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray"
style="border-width: 2px !important;">ACHIEVEMENTS</a>
<a href="#resume"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray navscroll"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray"
style="border-width: 2px !important;">RESUME</a>
<a href="#about"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray navscroll"
class="w3-bar-item w3-button w3-hover-none w3-border-white w3-bottombar nav-a w3-right w3-hide-small w3-hover-text-dark-gray"
style="border-width: 2px !important;">ABOUT</a>
</div>
<div class="content-container w3-margin-top-2">
Expand Down
1 change: 0 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 4f07321

Please sign in to comment.