Skip to content

Commit

Permalink
Merge pull request #743 from Abhi-Jeeet/feature/AddNavbar
Browse files Browse the repository at this point in the history
Added Navbar To Contact Us Page
  • Loading branch information
PriyaGhosal authored Oct 15, 2024
2 parents cd4578d + 1bb13b7 commit 71c1ec3
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
54 changes: 54 additions & 0 deletions contact.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,57 @@ textarea::-webkit-scrollbar-thumb {
padding: 10px;
}
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
padding: 0;
margin:0;
box-sizing: border-box;
}
html,body{
height:100%;
width: 100%;
}

nav{
position: absolute;
top: 0;
left: 0;
height:60px;
width:100%;
padding:10px;
font-family: Poppins;
padding-left: 60px;
padding-right: 60px;
}

.contain{
display: flex;
justify-content: space-between;
align-items: center;
}
.contain a{
text-decoration: none;
font-size: 1.5rem;
color:#d1d1d1;
font-weight: 600;
}
.contain a:hover{
text-shadow: 2px 2px 0px black;
}
.right a{
font-size: 1.5rem;
}
#logo{
height: 2rem;

}
#text{
display: flex;
}

#text:hover{
filter: drop-shadow(0px 0px 0px black);


}
15 changes: 15 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,23 @@
<title>Contact Us</title>
<link rel="stylesheet" href="./contact.css">
<link rel="icon" href="../favicon.png" type="image/png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<header>
<nav>
<div class="contain">
<div class="left">
<a id="text" href="./index.html"><img src="./img/logo.png" id="logo" alt="">BuddyTrail</a>
</div>
<div class="right">
<a href="./index.html">
<i class="fa-solid fa-house"></i>
</a>
</div>
</div>
</nav>
</header>
<div class="container">
<form>
<h1>Contact Us </h1>
Expand Down

0 comments on commit 71c1ec3

Please sign in to comment.