Skip to content

Commit fa64398

Browse files
committed
Update portfolio page
1 parent debc90c commit fa64398

File tree

5 files changed

+129
-92
lines changed

5 files changed

+129
-92
lines changed

assets/css/projects.css

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,11 @@ ul#nav {
359359
transform: translate(-50%, -50%) scale(1);
360360
}
361361

362+
hr {
363+
border: 1px solid var(--violet);
364+
width: 75%;
365+
opacity: 1;
366+
}
362367

363368
a.nav-link,
364369
#navbarCollapse,
@@ -396,14 +401,15 @@ nav.navbar {
396401
}
397402

398403
#gallery {
399-
padding: 30px;
404+
padding: 60px;
400405
margin-top: 30px;
401406
}
402407

403408
.gallery .gallery-item {
404409
position: relative;
405410
overflow: hidden;
406411
border-radius: 10px;
412+
box-shadow: rgba(160, 117, 245, 0.4) 0px 2px 4px, rgba(160, 117, 245, 0.3) 0px 7px 13px -3px, rgba(106, 22, 232, 0.2) 0px -3px 0px inset;
407413
}
408414

409415
img.gallery-item {
@@ -464,16 +470,25 @@ img.gallery-item {
464470
margin: 0;
465471
}
466472

467-
468-
469473
#projectModal1 {
470474
min-width: 100vw;
471475
}
472476

473-
/*
474-
section#projects {
475-
background: #f7f7f7;
476-
} */
477+
p.tech-stack {
478+
font-size: 14px;
479+
}
480+
481+
#btn-back-to-top {
482+
position: fixed;
483+
bottom:80px;
484+
right: 20px;
485+
color: #6d62ff;
486+
}
487+
488+
#btn-back-to-top:hover {
489+
position: fixed;
490+
color: #6c62ffc1;
491+
}
477492

478493
.modal-dialog.modal-dialog-centered.modal-dialog-scrollable.w-100,
479494
.modal-dialog-scrollable .modal-content {

assets/css/style.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ section#cta1 {
561561

562562
section#cta2 {
563563
min-height: 30vh;
564-
background-color: #fafafa;
564+
background-color: rgb(219, 207, 243);
565565

566566
}
567567

@@ -577,18 +577,17 @@ a.data {
577577
}
578578

579579
a.data:hover {
580-
text-shadow: -1px -1px 2px var(--dark-violet),
581-
1px 1px 2px var(--dark-violet),
582-
0px 0px 18px var(--dark-violet),
583-
0px 0px 38px var(--dark-violet);
580+
text-shadow: 0px 15px 5px rgba(0,0,0,0.1),
581+
10px 20px 5px rgba(0,0,0,0.05),
582+
-10px 20px 5px rgba(0,0,0,0.05);
584583
border: none;
585584
color: var(--violet);
586585
}
587586

588587
a.data-2:hover {
589588
color: var(--violet);
590-
text-shadow: 2px 7px 5px rgba(0,0,0,0.3),
591-
0px -4px 10px rgba(255,255,255,0.3);
589+
590+
text-shadow: 0px 0px 6px rgba(255,255,255,0.7);
592591
}
593592

594593
a.data-2:before,
@@ -963,6 +962,10 @@ form {
963962
margin-top: 20px;
964963
}
965964

965+
input#button {
966+
background: #0c010175;
967+
}
968+
966969
#ringForm {
967970
padding: 40px;
968971
}

assets/js/top.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
//Get the button
22
let mybutton = document.getElementById("btn-back-to-top");
33

4-
// When the user scrolls down 20px from the top of the document, show the button
54
window.onscroll = function () {
65
scrollFunction();
76
};
87

98
function scrollFunction() {
10-
119
if (
12-
document.body.scrollTop > 250 ||
13-
document.documentElement.scrollTop > 250
10+
document.body.scrollTop > 20 ||
11+
document.documentElement.scrollTop > 20
1412
) {
1513
mybutton.style.display = "block";
1614
} else {

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ <h2 class="display-2 my-5 title ms-sm-4 ms-lg-5">My Stack</h2>
522522
<section class="container my-0 mx-auto" id="contact">
523523
<div class="row d-flex my-0 mx-auto text-center align-items-center justify-content-center">
524524
<div class="col-12 mt-5 pt-5">
525-
<div class="contact-form-wrapper">
525+
<div class="contact-form-wrapper mt-4">
526526
<h2 class="section-title text-center display-6 my-3 my-md-4" data-aos="fade-in" data-aos-delay="200"
527527
data-aos-duration="1200" id="contactMe">Contact Me</h2>
528528
<form method="POST" id="contact-form" action="submit">

0 commit comments

Comments
 (0)