Skip to content

Commit 102cebc

Browse files
committed
Update index html and css
* Fix for navbar while on small device * Add version of git for windows available * Other minor UI fixes Signed-off-by: Pratik Karki <pratik@prertik.com>
1 parent 8c0a745 commit 102cebc

File tree

2 files changed

+34
-25
lines changed

2 files changed

+34
-25
lines changed

css/custom.css

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
body {
2-
padding-top: 56px;
2+
padding-top: 5%;
33
}
44

55
section {
@@ -44,6 +44,7 @@ h4 {
4444

4545
h1 {
4646
font-size: 2.5em;
47+
text-align: center;
4748
}
4849

4950
h1 span {
@@ -74,28 +75,36 @@ li.borderless {
7475
border-left: 0 none;
7576
}
7677

77-
.copyright {
78+
.img-git-logo {
79+
width: 40%;
80+
}
81+
82+
.img-other-logos {
83+
width: 90%
84+
}
85+
86+
.footer {
7887
padding: 28px 0;
7988
margin-top: 55px;
8089
background-color: #202020;
8190
}
82-
.copyright span,
83-
.copyright a {
91+
.footer span,
92+
.footer a {
8493
color: #878787;
8594
-webkit-transition: all 0.3s linear;
8695
-o-transition: all 0.3s linear;
8796
transition: all 0.3s linear;
8897
}
89-
.copyright a:hover {
98+
.footer a:hover {
9099
color: #007bff;
91100
}
92101

93-
.copyright-menu ul {
102+
.footer-menu ul {
94103
text-align: right;
95104
margin: 0;
96105
}
97106

98-
.copyright-menu li {
107+
.footer-menu li {
99108
display: inline-block;
100109
padding-left: 20px;
101110
}

index.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33

4-
<head>
4+
<head>
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<title>Git for Windows</title>
@@ -18,9 +18,9 @@
1818
<script src="js/html5shiv.js"></script>
1919
<script src="js/respond.js"></script>
2020
<![endif]-->
21-
</head>
21+
</head>
2222

23-
<body>
23+
<body>
2424
<!-- navbar -->
2525
<nav class="navbar navbar-light navbar-expand-lg fixed-top shadow-sm bg-white">
2626
<a href="index.html" class="navbar-brand">
@@ -63,11 +63,14 @@ <h2>We bring the awesome <span class="gittext">Git</span> SCM to Windows</h2>
6363
target="_blank">Download</a>
6464
<a class="btn btn-outline-primary shadow mr-2" href="#contribute">Contribute</a>
6565
</p>
66+
<p class="h2" id="version">
67+
<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">
68+
Version 2.33.1
69+
</a>
70+
</p>
6671
</div>
6772
</div>
68-
6973
</div>
70-
7174
</div>
7275
</section>
7376
<section>
@@ -78,21 +81,21 @@ <h2>Tools &amp; Features</h2>
7881
providing appropriate user interfaces for experienced Git users and novices alike.</p>
7982
<div class="row">
8083
<div class="col-sm-6 col-lg-4 mb-3">
81-
<img src="img/gw1web_thumb.png" alt="Git BASH">
84+
<img src="img/gw1web_thumb.png" alt="Git BASH" class="img-other-logos">
8285
<h3>Git BASH</h3>
8386
<p>Git for Windows provides a BASH emulation used to run Git from the command line. *NIX users
8487
should feel right at home, as the BASH emulation behaves just like the "git" command in LINUX
8588
and UNIX environments.</p>
8689
</div>
8790
<div class="col-sm-6 col-lg-4 mb-3">
88-
<img src="img/gw2web_thumb.png" alt="Git GUI">
91+
<img src="img/gw2web_thumb.png" alt="Git GUI" class="img-other-logos">
8992
<h3>Git GUI</h3>
9093
<p>As Windows users commonly expect graphical user interfaces, Git for Windows also provides the Git
9194
GUI, a powerful alternative to Git BASH, offering a graphical version of just about every Git
9295
command line function, as well as comprehensive visual diff tools.</p>
9396
</div>
9497
<div class="col-sm-6 col-lg-4 mb-3">
95-
<img src="img/gw3web_thumb.png" alt="Gitk: Exploring Commits">
98+
<img src="img/gw3web_thumb.png" alt="Gitk: Exploring Commits" class="img-other-logos">
9699
<h3>Shell Integration</h3>
97100
<p>Simply right-click on a folder in Windows Explorer to access the BASH or GUI.</p>
98101
</div>
@@ -116,7 +119,7 @@ <h3><a name="issues"></a>Bug Reports &amp; Feature Requests</h3>
116119
<a class="btn btn-primary shadow mr-2" href="https://github.com/git-for-windows/git/issues"
117120
target="_blank">Issue Tracker</a>
118121
<br>
119-
<img src="img/details_contribute.png" class="rounded float-left" alt="Git for Windows Logo">
122+
<img src="img/details_contribute.png" class="rounded float-left img-git-logo" alt="Git for Windows Logo">
120123
<h3><span class="gittext">Git for Windows SDK</span> : Contributing Code</h3>
121124
<p>The <i>Git for Windows SDK</i> is a build environment that includes all the tools necessary for
122125
developers who want to contribute by writing code for Git for Windows.</p>
@@ -130,20 +133,16 @@ <h3><span class="gittext">Git for Windows SDK</span> : Contributing Code</h3>
130133
href=" https://github.com/git-for-windows/git-for-windows.github.io">Repository</a>.</p>
131134
</div>
132135
</section>
133-
134-
</div>
135-
</div>
136-
137136
<footer id="dk-footer" class="dk-footer">
138-
<div class="copyright">
137+
<div class="footer">
139138
<div class="container">
140139
<div class="row">
141140
<div class="col-md-6">
142141
<span>Copyright © 2020 Johannes Schindelin and contributors. All rights reserved.</span>
143142
</div>
144143
<!-- End Col -->
145144
<div class="col-md-6">
146-
<div class="copyright-menu">
145+
<div class="footer-menu">
147146
<ul>
148147
<li>
149148
<a href="https://github.com/git-for-windows/git/releases/">All Releases</a>
@@ -158,13 +157,14 @@ <h3><span class="gittext">Git for Windows SDK</span> : Contributing Code</h3>
158157
</ul>
159158
</div>
160159
</div>
161-
<!-- End col -->
162160
</div>
163-
<!-- End Row -->
164161
</div>
165-
<!-- End Copyright Container -->
166162
</div>
167163
</footer>
164+
<!-- JavaScript files-->
165+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.slim.min.js"></script>
166+
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/js/bootstrap.bundle.min.js"></script>
167+
<script src="https://cdn.linearicons.com/free/1.0.0/svgembedder.min.js"></script>
168168
</body>
169169

170170
</html>

0 commit comments

Comments
 (0)