Skip to content

Commit

Permalink
changed minor changes in background
Browse files Browse the repository at this point in the history
  • Loading branch information
GammaMicrowave committed Dec 26, 2023
1 parent a83ceaa commit 388a1a0
Show file tree
Hide file tree
Showing 10 changed files with 161 additions and 137 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"liveServer.settings.port": 5501
}
2 changes: 1 addition & 1 deletion css/about-section.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/* background: linear-gradient(#112525, #16403d, #132222); */
z-index: 1;

background: linear-gradient(#031717, #112e2d, #132222);
/* background: linear-gradient(#031717, #112e2d, #132222); */


/* background: linear-gradient(#428C65, #226556, #17403E); */
Expand Down
2 changes: 1 addition & 1 deletion css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body {

}
#footer {
background: #091616;
/* background: #091616; */
}
.row {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion css/hero-section.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
flex-wrap: wrap;
justify-content: space-between;
/* background: linear-gradient(#0C1717, #17403E, #132222); */
background: linear-gradient(#112020, #18433F, #132222);
/* background: linear-gradient(#112020, #18433F, #132222); */
background-attachment: fixed;
background-position: center;

Expand Down
47 changes: 32 additions & 15 deletions css/index.css
Original file line number Diff line number Diff line change
@@ -1,21 +1,38 @@
body{
height: 150vh;
overflow: auto;
/* background: linear-gradient(#0C1717, #17403E, #132222); */
body {
--d: 3000px;
--angle: 120deg;
overflow: auto;
/* background: linear-gradient(#0C1717, #17403E, #132222); */
/* background: repeating-linear-gradient(#0c1717, #17403e, #132222, #0c1717); */
background: repeating-linear-gradient(
var(--angle),
#0c1717,
#17403e,
#132222,
#0c1717 var(--d)
);
background-size: calc(var(--d) / sin(var(--angle))) 100%;
animation: AnimationName 5s linear infinite reverse;
}

@keyframes AnimationName {
0% {
background-position: calc(var(--d) / sin(var(--angle))) 0;
}
}
#moveToTop {
border: 1px solid rgb(2, 148, 2); /* Set the border color to green */
border-radius: 50%;
height: 55px;
width: 55px;
position: fixed;
bottom: -100px;
right: 15px;
cursor: pointer;
border: 1px solid rgb(2, 148, 2); /* Set the border color to green */
border-radius: 50%;
height: 55px;
width: 55px;
position: fixed;
bottom: -100px;
right: 15px;
cursor: pointer;
}

#imageArrow {
width: 100%;
height: 100%;
object-fit: cover;
width: 100%;
height: 100%;
object-fit: cover;
}
2 changes: 1 addition & 1 deletion css/leaderboard.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#leaderboard {
padding: 100px 0px;
background: linear-gradient(#132222, #17403e, #0c1717);
/* background: linear-gradient(#132222, #17403e, #0c1717); */
font-family: "Kufam", sans-serif;
}

Expand Down
2 changes: 1 addition & 1 deletion css/mentors.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#mentors {
/* border: 2px solid black; */
/* background: linear-gradient(#0c1717, #17403e, #132222); */
background: linear-gradient(#234343, #18433F, #112020);
/* background: linear-gradient(#234343, #18433F, #112020); */


}
Expand Down
235 changes: 119 additions & 116 deletions css/navbar.css
Original file line number Diff line number Diff line change
@@ -1,175 +1,178 @@
* {
margin: 0;
padding: 0;
margin: 0;
padding: 0;
}

body {
/* background: linear-gradient(50deg, black, #498b88,black);; */
/* box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 4px 4px 4px 0px rgba(0, 0, 0, 0.25) inset; */
/* background: linear-gradient(50deg, black, #498b88,black);; */
/* box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 4px 4px 4px 0px rgba(0, 0, 0, 0.25) inset; */
}

.navbar {
position: fixed; /* Change to fixed */
top: 0; /* Add this line */
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
background: linear-gradient(#0C1717, #071615, #132222);
z-index: 3; /* Add z-index to keep it above other elements */
position: fixed; /* Change to fixed */
top: 0; /* Add this line */
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
/* background: linear-gradient(#0C1717, #071615, #132222); */
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25),
4px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
backdrop-filter: blur(100px);
z-index: 3; /* Add z-index to keep it above other elements */
}

.eventname {
margin-top: 15px;
display: block;
width: 254px;
height: 37px;
color: #00CF90;
font-family: Kufam;
font-size: 35px;
font-style: normal;
font-weight: 400;
line-height: normal;
margin-top: 15px;
display: block;
width: 254px;
height: 37px;
color: #00cf90;
font-family: Kufam;
font-size: 35px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

.navigationbar {
/* border: 2px solid red; */
display: flex;
justify-content: space-between;
align-items: center;
/* border: 2px solid red; */
display: flex;
justify-content: space-between;
align-items: center;
}

.menu {
/* margin-top: 17px; */
display: flex;
justify-content: center;
align-items: center;
/* margin-top: 17px; */
display: flex;
justify-content: center;
align-items: center;
}

.menu li {
list-style: none;
list-style: none;
}

.menu li a {
display: block;
color: white;
padding: 40px 20px;
text-decoration: none;
transition: 0.4s;
font-family: Inter;
font-size: 13px;
font-style: normal;
font-weight: 700;
/* line-height: 1; */
display: block;
color: white;
padding: 40px 20px;
text-decoration: none;
transition: 0.4s;
font-family: Inter;
font-size: 13px;
font-style: normal;
font-weight: 700;
/* line-height: 1; */
}

.menu li a:hover {
color: #00CF90;
color: #00cf90;
}

.hamburger {
position: relative;
width: 30px;
height: 3px;
background-color: #00CF90;
cursor: pointer;
z-index: 2;
transition: 0.4s;
position: relative;
width: 30px;
height: 3px;
background-color: #00cf90;
cursor: pointer;
z-index: 2;
transition: 0.4s;
}

.hamburger:before,
.hamburger:after {
content: "";
position: absolute;
height: 3px;
right: 0;
background-color: #00CF90;
border-radius: 10px;
transition: 0.4s;
content: "";
position: absolute;
height: 3px;
right: 0;
background-color: #00cf90;
border-radius: 10px;
transition: 0.4s;
}

.hamburger:before {
top: -10px;
width: 30px;
top: -10px;
width: 30px;
}

.hamburger:after {
top: 10px;
width: 30px;
top: 10px;
width: 30px;
}

.toggle {
position: absolute;
width: 30px;
z-index: 6;
/* cursor: pointer; */
height: 100%;
opacity: 0;
position: absolute;
width: 30px;
z-index: 6;
/* cursor: pointer; */
height: 100%;
opacity: 0;
}

.hamburger,
.toggle {
display: none;
display: none;
}

.navigationbar input:checked~.hamburger {
background: transparent;
.navigationbar input:checked ~ .hamburger {
background: transparent;
}

.navigationbar input:checked~.hamburger:before {
top: 0;
transform: rotate(-45deg);
color: yellow;
.navigationbar input:checked ~ .hamburger:before {
top: 0;
transform: rotate(-45deg);
color: yellow;
}

.navigationbar input:checked~.hamburger:after {
top: 0;
transform: rotate(45deg);
color: white;
.navigationbar input:checked ~ .hamburger:after {
top: 0;
transform: rotate(45deg);
color: white;
}

.navigationbar input:checked~.menu {
/* display: block; */
/* transition: 2s; */
opacity: 1;
transition: 0.5s;
.navigationbar input:checked ~ .menu {
/* display: block; */
/* transition: 2s; */
opacity: 1;
transition: 0.5s;
}
.menu a.active {
color: #00CF90;
/* color: white; */
color: #00cf90;
/* color: white; */
}

@media screen and (max-width: 986px) {
.hamburger,
.toggle {
display: block;
z-index: 5;
}

.menu {
z-index: 4;
justify-content: start;
flex-direction: column;
align-items: center;
position: fixed;
top: 70px; /* Adjust top value to account for the fixed navbar */
right: 0;
opacity: 0;
background-color: #245a57;
width: 300px;
height: 100%;
padding-top: 70px;
box-shadow: 2px 20px 50px black;
}

.menu li {
width: 100%;
}

.menu li a {
padding: 30px;
font-size: 28px;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.126) inset;
}
.hamburger,
.toggle {
display: block;
z-index: 5;
}

.menu {
z-index: 4;
justify-content: start;
flex-direction: column;
align-items: center;
position: fixed;
top: 70px; /* Adjust top value to account for the fixed navbar */
right: 0;
opacity: 0;
background-color: #245a57;
width: 300px;
height: 100%;
padding-top: 70px;
box-shadow: 2px 20px 50px black;
}

.menu li {
width: 100%;
}

.menu li a {
padding: 30px;
font-size: 28px;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.126) inset;
}
}
Loading

0 comments on commit 388a1a0

Please sign in to comment.