Skip to content

Commit

Permalink
Merge pull request #678 from charrviwadhwa/main
Browse files Browse the repository at this point in the history
Added navbar in contributor's page
  • Loading branch information
swaraj-das authored Nov 1, 2024
2 parents f4454c9 + 8e861eb commit 63862a3
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 12 deletions.
162 changes: 150 additions & 12 deletions contributor/contributor.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,161 @@
<title>Research Nexas</title>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="contributor.css">

<style>
.homeBtn {
position: fixed;
z-index: 1000;
top: 20px;
left: 20px;
padding: 10px 20px;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 5px;
}

.navbar {
width: 100%;
height: 50px;
display: flex;
align-items: center;
justify-content: space-between;
position: fixed;
top: 0;
overflow: hidden;
background-color: #fff;
z-index: 1000;
box-shadow: 4px 8px 8px hsl(0deg 0% 0% / 0.38);
}
.logo-outer {
display: flex;
align-items: center;
}

.logo {
width: 36px;
cursor: pointer;
margin: 18px 10px;
}

@keyframes rainbow {
0% {
background-position: 0% 50%;
}

50% {
background-position: 100% 50%;
}

100% {
background-position: 0% 50%;
}
}

.website-name {
font-size: 18px;
font-weight: bold;
color: transparent;
background: linear-gradient(
90deg,
#ff459f,
#ff9532,
#ffd700,
#32cd32,
#1e90ff,
#8a2be2,
#ff459f
);
background-size: 400% 400%;
-webkit-background-clip: text;
background-clip: text;
display:inline-block;
animation: rainbow 5s linear infinite;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif;
font-weight: bolder;
position: relative;
cursor: pointer;

}

nav {
height: 40px;
display: flex;
align-items: center;
}
nav ul {
display: flex;
flex-direction: row;
height: 40px;
align-items: center;
}
nav ul li {
list-style: none;
display: inline;
margin-right: 30px;
text-wrap: nowrap;
}

nav ul li a {
text-decoration: none;
color: #000;
font-size: 15px;
font-weight: bold;
display: inline-block;
transition: color 0.5s, transform 0.5s;
}

nav ul li a:hover {
color: #e00999;
transform: scale(1.08);
}
nav ul li a::after {
content: "";
display: block;
height: 0.5px;
width: 0;
background: #ff3527;
transition: width 0.3s ease;
position: absolute;
left: 0;
bottom: -1px;
}
nav ul li a:hover::after {
width: 100%;
}

nav ul {
list-style-type: none;
padding: 0;
margin: 0;
}


nav ul li {
display: inline-block;
position: relative;
margin: 0 10px;
align-content: center;
}

nav ul li a {
text-decoration: none;
position: relative;
color: #000;
}


</style>
</head>
<body>

<a href="../index.html" class="homeBtn">Home</a>

<div class="navbar">
<div class="logo-outer">
<a href="/"> <img src="logo.png" class="logo" alt="Logo"></a>
<a href="/"><span class="website-name">Collect your GamingTools</span></a>
</div>
<nav>

<ul>
<li><a href="../index.html">Home</a></li>
<li><a href="../aboutus.html">About Us</a></li>

</ul>
</nav>
</div>


<div class="contributor-container">
<!-- Hero Section -->
Expand Down
Binary file added contributor/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 63862a3

Please sign in to comment.