Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
harshitgupta028 committed Aug 7, 2022
2 parents 84cd9ad + af8ac47 commit a65b17f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
window.onscroll = ()=> {scrollFunction()};

function scrollFunction() {
// console.log(document.documentElement.scrollTop);
if (document.body.scrollTop > 40 || document.documentElement.scrollTop > 40) {
document.getElementById("navbar").style.top = "0";
if (document.documentElement.scrollTop > 1784){
Expand Down
4 changes: 4 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ a{
line-height: 1.5;
}

.rak-space{
width: 101%;
}

.card-title{
width: 103%;
}
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ <h5 class="card-title">Home Automation</h5>
<img class="card-img-top " src="Images/Rakshak.jpg" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Rakshak</h5>
<p class="card-text">Home security system, Will notify owner if intruder try's to break through door & window.</p>
<p class="card-text rak-space">Home security system, Will notify owner if intruder try's to break through door & window.</p>
<a target="_blank" href="https://drive.google.com/file/d/1Dq2CXmB3CZPoQoICH-XJrQmteRCFo1b-/view?usp=sharing" class="c-button btn btn-primary">More Details</a>
</div>
</div>
Expand All @@ -224,7 +224,7 @@ <h3 class="footer-msg" >Find me on social media platforms</h3>
<a class="icons" href="https://www.hackerrank.com/harshit_28_sps" target="_blank"><i class="fa-2x fab fa-hackerrank font-aw"></i></a>
<a class="icons" href="https://stackoverflow.com/users/15226447/harshit-gupta" target="_blank"><i class=" fa-2x fab fa-stack-overflow"></i></a>
<a class="icon" href="https://easyeda.com/harshit.28.sps" target="_blank"> <img class="eda" src="Images/easyeda.png" alt=""> </i></a>
<a class="icons" href="https://drive.google.com/file/d/1OXojjeFdVDWknr7BfxsjrH71URwBwhy0/view" target="_blank"><img src="https://img.icons8.com/dotty/34/000000/submit-resume.png"/></a>
<a class="icons" href="https://drive.google.com/file/d/1Cd_bWYADrw6Yz6AnGh2BYwZHkPdoKA3B/view?usp=sharing" target="_blank"><img src="https://img.icons8.com/dotty/34/000000/submit-resume.png"/></a>
<p class="copyright">© 2021 Harshit Gupta.</p>
</div>

Expand Down

0 comments on commit a65b17f

Please sign in to comment.