Skip to content

Commit af654e7

Browse files
committed
Intial nav-bar setup
Signed-off-by: Pratik Karki <[email protected]>
1 parent d288a09 commit af654e7

File tree

2 files changed

+29
-12
lines changed

2 files changed

+29
-12
lines changed

css/style.css

+12-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ html {
22
font: 16px/1 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
33
}
44

5+
body {
6+
padding-top: 56px;
7+
}
8+
9+
section {
10+
padding-top: 5rem;
11+
padding-bottom: 5rem;
12+
}
13+
14+
515
li a {
616
font-size: .875em;
717
}
@@ -118,9 +128,9 @@ nav {
118128
padding: 0 1.3em;
119129
}
120130

121-
nav h1 {
131+
/* nav h1 {
122132
float: left;
123-
}
133+
} */
124134

125135
nav ul,
126136
footer a {

index.html

+17-10
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,32 @@
66
<title>Git for Windows</title>
77
<meta name="description" content="We bring the awesome Git VCS to Windows">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
<!-- Bootstrap CSS-->
10+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap.min.css">
911
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
10-
<link rel="stylesheet" href="css/pack.css">
12+
<!-- Custom Stylesheet -->
1113
<link rel="shortcut icon" href="favicon.ico">
14+
<link rel="stylesheet" href="css/style.css">
1215
<!--[if lt IE 9]>
1316
<script src="js/html5shiv.js"></script>
1417
<script src="js/respond.js"></script>
1518
<![endif]-->
1619
</head>
1720
<body>
18-
<header>
19-
<nav class="content">
20-
<a href="index.html"><h1 class="gittext lowercase">Git<span>for Windows</span></h1></a>
21-
<div class="version"><a href="https://github.com/git-for-windows/git/releases/tag/v2.33.1.windows.1" title="Version 2.33.1 was published on Wed, 13 Oct 2021 23:42:20 UTC">Version 2.33.1</a></div>
22-
<ul class="list-unstyled">
23-
<li><a style="font-weight:bold" href="https://github.com/git-for-windows/git/wiki/FAQ" target="_blank">FAQ</a></li>
24-
<li><a href="https://github.com/git-for-windows/git" target="_blank">Repository</a></li>
25-
<li><a href="https://groups.google.com/group/git-for-windows" target="_blank">Mailing List</a></li>
21+
<!-- navbar -->
22+
<nav class="navbar navbar-light navbar-expand-lg fixed-top shadow-sm bg-white">
23+
<a href="index.html" class="navbar-brand"><h1 class="gittext lowercase">Git<span>for Windows</span></h1></a>
24+
<button type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation" class="navbar-toggler"><span class="navbar-toggler-icon"></span></button>
25+
<div id="navbarSupportedContent" class="collapse navbar-collapse">
26+
<ul class="navbar-nav ml-auto">
27+
<li class="nav-item"><a style="font-weight:bold" href="https://github.com/git-for-windows/git/wiki/FAQ" target="_blank" class="nav-link">FAQ</a></li>
28+
<li class="nav-item"><a href="https://github.com/git-for-windows/git" target="_blank" class="nav-link">Repository</a></li>
29+
<li class="nav-item"><a href="https://groups.google.com/group/git-for-windows" target="_blank" class="nav-link">Mailing List</a></li>
2630
</ul>
31+
<div class="navbar-text ml-lg-3">
32+
<a href="https://github.com/git-for-windows/git/releases/latest" class="btn btn-primary text-white shadow" target="_blank">Download</a>
33+
</div>
34+
</div>
2735
</nav>
2836
<section class="content feature">
2937
<div class="imagerollover">
@@ -40,7 +48,6 @@ <h2>We bring the awesome <span class="gittext">Git</span> SCM to Windows</h2>
4048
</div>
4149
</article>
4250
</section>
43-
</header>
4451
<section class="details">
4552
<article>
4653
<h2>Tools &amp; Features</h2>

0 commit comments

Comments
 (0)