Skip to content

Commit edf4b07

Browse files
committed
added nav links
1 parent cb48284 commit edf4b07

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

assets/css/main.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,23 @@ footer {
111111
.container img { width: 50%;}
112112
.container p {font-size: 100%;}
113113
}
114+
/* Add a black background color to the top navigation */
115+
.topnav {
116+
overflow: hidden;
117+
}
118+
119+
/* Style the links inside the navigation bar */
120+
.topnav a {
121+
float: right;
122+
display: block;
123+
color: rgb(174, 159, 163);
124+
text-align: center;
125+
padding: 14px 16px;
126+
text-decoration: none;
127+
font-size: 17px;
128+
}
114129

130+
/* Change the color of links on hover */
131+
.topnav a:hover {
132+
color: #FFFFFF;
133+
}

index.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
3131
<div class="container">
3232
<div class="navbar-header">
33-
<!-- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
33+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
3434
<span class="sr-only">Toggle navigation</span>
3535
<span class="icon-bar"></span>
3636
<span class="icon-bar"></span>
3737
<span class="icon-bar"></span>
38-
</button> -->
38+
</button>
3939
<a class="navbar-brand" href="#">LinuxChix India</a>
4040
</div>
4141
<div id="navbar" class="navbar-collapse collapse">
@@ -48,6 +48,12 @@
4848
</div>
4949
<button type="submit" class="btn btn-success">Sign in</button>
5050
</form> -->
51+
<div class="topnav">
52+
<a href="#">Contact</a>
53+
<a href="#">About</a>
54+
<a href="#">News</a>
55+
<a href="#">Home</a>
56+
</div>
5157
</div><!--/.navbar-collapse -->
5258
</div>
5359
</nav>

0 commit comments

Comments
 (0)