Skip to content

added nav links #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,23 @@ footer {
.container img { width: 50%;}
.container p {font-size: 100%;}
}
/* Add a black background color to the top navigation */
.topnav {
overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
float: right;
display: block;
color: rgb(174, 159, 163);
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
color: #FFFFFF;
}
9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<!-- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button> -->
</button>
<a class="navbar-brand" href="#">LinuxChix India</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
Expand All @@ -48,6 +48,11 @@
</div>
<button type="submit" class="btn btn-success">Sign in</button>
</form> -->
<div class="topnav">
<a href="#contact">Contact</a>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<a href="#about">About</a>
<a href="#home">Home</a>
</div>
</div><!--/.navbar-collapse -->
</div>
</nav>
Expand Down