-
Notifications
You must be signed in to change notification settings - Fork 191
Redesigned website #28
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
base: main
Are you sure you want to change the base?
Changes from all commits
d7dc45b
d616116
4434e4a
89f5d59
b2ba808
da322ed
3b2db00
31ca1b7
1783ea3
8c0a745
102cebc
2a10050
68b1da0
a07a494
92a2255
953ae49
d767785
3522922
28b1756
5de28e8
98c98c9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
body { | ||
padding-top: 5%; | ||
} | ||
|
||
.navbar-dark .navbar-nav .nav-link { | ||
color: #b2b8bd; | ||
} | ||
|
||
.lcolor{ | ||
color: #07488f; | ||
} | ||
|
||
.ncolor { | ||
color: #0b6bd3; | ||
} | ||
|
||
section { | ||
padding-top: 5rem; | ||
padding-bottom: 5rem; | ||
} | ||
|
||
.lnr { | ||
prertik marked this conversation as resolved.
Show resolved
Hide resolved
|
||
display: inline-block; | ||
fill: currentColor; | ||
width: 1em; | ||
height: 1em; | ||
vertical-align: -0.05em; | ||
stroke-width: 1; | ||
} | ||
|
||
.services-icon { | ||
margin-bottom: 20px; | ||
font-size: 30px; | ||
} | ||
|
||
.quote-icon { | ||
font-size: 40px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.gittext { | ||
color: #646464; | ||
font-family: 'Open Sans', sans-serif; | ||
} | ||
|
||
.lowercase { | ||
text-transform: lowercase; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4 { | ||
font-weight: 300; | ||
} | ||
|
||
h1 { | ||
font-size: 2.5em; | ||
text-align: center; | ||
} | ||
|
||
h1 span { | ||
color: #969696; | ||
font-size: 0.42em; | ||
margin-left: 0.476em; | ||
} | ||
|
||
h2 { | ||
font-size: 3em; | ||
line-height: 1.3; | ||
} | ||
|
||
h3 { | ||
font-size: 1.875em; | ||
line-height: 1.3; | ||
} | ||
|
||
h4 { | ||
font-size: 1.5em; | ||
line-height: 1.1; | ||
} | ||
|
||
li.borderless { | ||
border-top: 0 none; | ||
border-bottom: 0 none; | ||
border-right: 0 none; | ||
border-left: 0 none; | ||
} | ||
|
||
.img-git-logo { | ||
width: 80%; | ||
} | ||
|
||
.img-git-sdk-logo { | ||
width: 30%; | ||
} | ||
|
||
.img-other-logos { | ||
width: 90% | ||
} | ||
|
||
.footer { | ||
padding: 28px 0; | ||
margin-top: 55px; | ||
background-color: #00478f; | ||
} | ||
.footer span, | ||
.footer a { | ||
color: #BBBBBB; | ||
-webkit-transition: all 0.3s linear; | ||
-o-transition: all 0.3s linear; | ||
transition: all 0.3s linear; | ||
} | ||
.footer a:hover { | ||
color: #80BDFF; | ||
} |
This file was deleted.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,42 +6,46 @@ | |
<title>Git for Windows</title> | ||
<meta name="description" content="We bring the awesome Git VCS to Windows"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,700"> | ||
<link rel="stylesheet" href="css/pack.css"> | ||
<style type="text/css"> | ||
body { | ||
color: #FFF; | ||
} | ||
|
||
h1 { | ||
text-align: center; | ||
} | ||
|
||
article p,h3,ul { | ||
margin-left: auto; | ||
margin-right: auto; | ||
width: 65%; | ||
} | ||
</style> | ||
<meta name="robots" content="all,follow"> | ||
<!-- Bootstrap CSS--> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,700"> | ||
<!-- Custom Stylesheet --> | ||
<link rel="shortcut icon" href="favicon.ico"> | ||
<link rel="stylesheet" href="css/custom.css"> | ||
<!--[if lt IE 9]> | ||
<script src="js/html5shiv.js"></script> | ||
<script src="js/respond.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<footer> | ||
<div class="content"> | ||
<ul class="list-unstyled"> | ||
<li><a href="https://github.com/git-for-windows/git/wiki/FAQ" target="_blank">FAQ</a></li> | ||
<li><a href="https://github.com/git-for-windows/git" target="_blank">Repository</a></li> | ||
<li><a href="http://groups.google.com/group/git-for-windows" target="_blank">Mailing List</a></li> | ||
<!-- navbar --> | ||
<nav class="navbar navbar-light navbar-expand-lg fixed-top shadow-sm bg-white"> | ||
<a href="index.html" class="navbar-brand"> | ||
<h1 class="gittext lowercase"> | ||
Git<span>for Windows</span> | ||
</h1> | ||
</a> | ||
<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> | ||
<div id="navbarSupportedContent" class="collapse navbar-collapse"> | ||
<ul class="navbar-nav ml-auto"> | ||
<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> | ||
<li class="nav-item"><a href="https://github.com/git-for-windows/git" target="_blank" | ||
class="nav-link">Repository</a></li> | ||
<li class="nav-item"><a href="https://groups.google.com/group/git-for-windows" target="_blank" | ||
class="nav-link">Mailing List</a></li> | ||
<li class="nav-item"><a href="https://gitter.im/git-for-windows/git" target="_blank" | ||
class="nav-link">Gitter</a></li> | ||
<li class="nav-item"><a href="https://groups.google.com/g/git-mentoring" target="_blank" | ||
class="nav-link">Git Mentoring</a></li> | ||
</ul> | ||
<a href="index.html"><h1 class="gittext lowercase">Git for Windows</h1></a> | ||
<div class="stud"></div> | ||
</div> | ||
</footer> | ||
<section class="details"> | ||
</nav> | ||
<section> | ||
<div class="container"> | ||
<article> | ||
<h1 id="prerequisites">Prerequisites</h1> | ||
<p>This page lists the prerequisites required to run <a href="https://gitforwindows.org/">Git for Windows</a>.</p> | ||
|
@@ -51,19 +55,40 @@ <h2 id="windows-version">Windows version</h2> | |
<p>Parts of Git are implemented in shell script, and Git for Windows runs those scripts via <a href="https://msys2.github.io/">MSYS2</a>'s POSIX emulation layer, which in turn is based on the <a href="https://cygwin.com">Cygwin POSIX emulation layer</a>. Seeing as Windows XP and Windows Server 2003 are years past their official end of life, the Cygwin project ended their Herculean efforts to support those Windows versions.</p> | ||
|
||
</article> | ||
</div> | ||
</section> | ||
<footer> | ||
<div class="content"> | ||
<ul class="list-unstyled"> | ||
<li><a href="https://github.com/git-for-windows/git/wiki/FAQ" target="_blank">FAQ</a></li> | ||
<li><a href="https://github.com/git-for-windows/git" target="_blank">Repository</a></li> | ||
<li><a href="http://groups.google.com/group/git-for-windows" target="_blank">Mailing List</a></li> | ||
</ul> | ||
<a href="index.html"><h1 class="gittext lowercase">Git for Windows</h1></a> | ||
<div class="stud"></div> | ||
<footer id="dk-footer" class="dk-footer"> | ||
<div class="footer"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<span>Copyright © 2020 Johannes Schindelin and contributors. All rights reserved.</span> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2021? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Legally kind of a grey zone (to be clear, I am not a lawyer and this is not legal advice 😁.) Current practice at GitHub is to say simply "Copyright © Johannes Schindelin and contributors", dropping both the date and the "all rights reserved" text. I'm not sure how other companies/projects do it, nor what advice Johannes and contributors have received. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I haven't received any, apart from what you just said. I am in favor of dropping the parts you suggested to drop. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, dropping these then. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
</div> | ||
<!-- End Col --> | ||
<div class="col-md-6"> | ||
<div class="footer-menu"> | ||
<ul> | ||
<li> | ||
<a href="https://github.com/git-for-windows/git/releases/">All Releases</a> | ||
</li> | ||
<li> | ||
<a href="https://wingit.blob.core.windows.net/files/index.html">Snapshots</a> | ||
</li> | ||
<li> | ||
<a | ||
href="https://github.com/git-for-windows/build-extra/blob/master/ReleaseNotes.md#licenses">Licenses</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
<script src="js/pack.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.slim.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/js/bootstrap.bundle.min.js"></script> | ||
<script src="https://cdn.linearicons.com/free/1.0.0/svgembedder.min.js"></script> | ||
<script> | ||
$(document).ready(function() { | ||
$(".fancybox-thumb").fancybox({ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There doesn't really seem to be a place for this comment, but the new design is really harsh on the eyes for those with "dark mode" enabled. This wasn't a problem with the original site, as it used more muted greys/blues rather than a stark white background.
If possible, could you use something like
prefers-color-scheme
to develop a light- and dark-mode palette? Or, if that's a lot of additional work, tone down the brightness of the current design to the grey/blue theme of the original?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could go through that light/dark mode route, but, it seems everyone wants the blue back even the project maintainer themselves, so, will work on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, getting to proper dark is very challenging it seems, as people seem to prefer different shades of dark, it took even Github couple of iterations to figure that out so, 🤷🏾♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vdye I can't seem to reply below on this: #28 (comment)
Won't it look a bit bad and dated to have those types of box arrow buttons on the navbar?
We can do for other buttons below but, 🤷🏾♂️
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's good enough for Google and their (probable) army of UI designers, it's probably fine. 🙂 (although I know I see it all the time on other modern sites - once you want to look for something, it somehow becomes impossible to find it).
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That being said, I don't want to dictate how you show the internal/external link distinction (a box arrow is just one option). All I'm really looking for is something distinguishing the two. Color of the text, boldness of the text, icons, etc. are all possibilities, plus others I'm probably not thinking of.EDIT: they're all external links - with that in mind, you probably don't need any extra emphasis other than potentially bolding the FAQ (for the reasons mentioned in the other comment)