Skip to content

Commit 788cd71

Browse files
committed
Site: W3C-Valid and CSS/HTML corrections
* Makes all the pages (except "See it") W3C Valid * Adjusts a few texts here and there a little bit * Makes the menubar span the whole div and display correct on FF/Linux * Moves "GitX" in the header a few px down to center it Signed-off-by: Johannes Gilger <[email protected]>
1 parent 9d2efb1 commit 788cd71

File tree

6 files changed

+33
-41
lines changed

6 files changed

+33
-41
lines changed

Site/assets/css/master.css

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,16 @@ h3, h4
6363

6464
#header
6565
{
66-
height: 100px;
66+
height: 90px;
6767
font-size: 400%;
6868
color: white;
6969

7070
text-align: center;
71+
padding-top: 10px;
7172

7273
background-image: url('../images/header.jpg');
7374
background-repeat: no-repeat;
74-
background-position:center;
75+
background-position:absolute;
7576
}
7677

7778
#content
@@ -156,12 +157,8 @@ h3, h4
156157
margin-left: 10px;
157158
margin-top: 10px;
158159
}
159-
h2.noclear
160-
{
161-
clear: none;
162-
}
163160

164-
p.noclear
161+
.noclear
165162
{
166163
clear: none;
167164
}
@@ -176,7 +173,7 @@ p.noclear
176173
#nav a
177174
{
178175
display: block;
179-
width: 90px;
176+
width: 100px;
180177
padding: 2px;
181178
margin: 4px 4px 0px 4px;
182179

Site/templates/site.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
<title>
1010
GitX - <%= @title %>
1111
</title>
12-
<link rel="stylesheet" href="css/master.css" type="text/css" media="screen" title="Main Style" charset="utf-8" />
12+
<link rel="stylesheet" href="css/master.css" type="text/css" media="screen" title="Main Style" charset="utf-8">
1313
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
14-
<link href="http://gitx.frim.nl/Downloads/appcast.xml" rel="alternate" type="application/rss+xml" title="GitX Application Update Feed" />
14+
<link href="http://gitx.frim.nl/Downloads/appcast.xml" rel="alternate" type="application/rss+xml" title="GitX Application Update Feed">
1515

16-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
16+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
1717
</head>
1818
<body>
1919
<div id="container">
@@ -24,7 +24,7 @@
2424
<%= create_link("index", "Home") %>
2525
<%= create_link "seeit", "See it" %>
2626
<%= create_link "contribute", "Contribute" %>
27-
<%= create_link 'release_history', "Release History" %>
27+
<%= create_link 'release_history', "Release&nbsp;History" %>
2828
<%= create_link 'user_manual', "User Manual" %>
2929
<%= create_link 'links', "Links" %>
3030
<%= create_link 'contact', "Contact" %>

Site/text/contribute.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ reach Lighthouse or don't want to register for an account, you can also send the
3232
If you don't want to or can't help with the code you can also support this project by making a donation using the button below.
3333
</p>
3434
<p>
35-
<a href='http://www.pledgie.com/campaigns/1816'><img alt='Click here to lend your support to: gitx and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/1816.png?skin_name=chrome' border='0' /></a>
35+
<a href='http://www.pledgie.com/campaigns/1816'><img alt='Click here to lend your support to: gitx and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/1816.png?skin_name=chrome' style="border:0px"></a>
3636
</p>
3737

Site/text/index.markdown

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,39 @@
11
<% @title = "Home" %>
22
<div class="nohover" id="download">
3+
<div id="version">
34
<a href="http://frim.frim.nl/GitXStable.app.zip" title="Latest GitX download" id="download_link" class="nohover">
4-
Download GitX
5-
<div id="version">Version <%= ReleaseNotes::last_version %></div>
6-
</a>
5+
<span style="font-size: 125%">Download GitX</span><br>Version <%= ReleaseNotes::last_version %>
6+
</a></div>
77
<p id="donate_link">(you can help GitX by <a href="http://www.pledgie.com/campaigns/1816">donating</a>)</p>
88
</div>
99

10-
<h2 class="noclear">
11-
GitX
12-
</h2>
13-
14-
<p class="noclear"> GitX is a git GUI specifically for Mac OS X. It currently
10+
<h2 class="noclear">GitX</h2>
11+
<p>
12+
GitX is a git GUI made for Mac OS X. It currently
1513
features a history viewer much like gitk and a commit GUI like git gui. But
16-
then in silky smooth OS X style!</p>
14+
then in silky smooth OS X style!
15+
</p>
1716

18-
<h3>
19-
Features
20-
</h3>
17+
<h3 class="noclear">Features</h3>
2118
<ul>
2219
<li>Detailed history viewer</li>
2320
<li>Nice commit GUI, allowing hunk- and line-wise staging</li>
24-
<li>Fast</li>
25-
<li>Nice Aqua interface</li>
26-
<li>Paste commits to gist.github.com</li>
21+
<li>Fast workflow, auto-refresh option</li>
2722
<li>Explore tree of any revision</li>
23+
<li>Nice Aqua interface</li>
24+
<li>Paste commits to <a href="http://gist.github.com/">gist.github.com</a></li>
2825
<li>QuickLook integration</li>
2926
</ul>
30-
<h3>
31-
Requirements
32-
</h3>
27+
28+
<h3>Requirements</h3>
3329
<p>
34-
GitX is made specifically for Mac OS X 10.5 and higher. Because it uses features like Garbage Collection, you can't compile it on earlier systems. GitX also requires a fairly recent Git -- version 1.5.4 and higher are all supported.
30+
GitX runs on Mac OS X 10.5 Leopard and Mac OS X 10.6 Snow Leopard. Because it uses features like Garbage Collection, you can't compile it on earlier systems. GitX also requires a fairly recent Git -- version 1.5.6 and higher are all supported.
3531
</p>
36-
<h3>
37-
Download
38-
</h3>
32+
33+
<h3>Download</h3>
3934
<p>
4035
The newest version of GitX is <%= ReleaseNotes::last_version %>. This version can be downloaded from <a href="http://frim.frim.nl/GitXStable.app.zip">here</a>. To see what has changed, read the <a href="release_history.html">Release History</a>.
4136
</p>
4237
<p>
43-
After you have started it once, you can install the command-line tool through the menu (GitX-&gt;Enable Terminal Usage…). This will install a “gitx” binary in /usr/local/bin.
38+
After starting GitX, you can install the command-line tool through the menu (GitX-&gt;Enable Terminal Usage…). This will install a “gitx” binary in /usr/local/bin.
4439
</p>

Site/text/links.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
<ul>
77
<li><a href="http://github.com/pieter/gitx" title="GitX on Github">GitX on Github</a></li>
8-
<ul>
9-
<li><a href="http://github.com/pieter/gitx/wikis" title="GitX Wiki">Wiki on Github</a></li>
10-
</ul>
8+
<li style="list-style:none"><ul>
9+
<li><a href="http://github.com/pieter/gitx/wikis" title="GitX Wiki">Wiki on Github</a></li>
10+
</ul></li>
1111
<li><a href="http://www.ohloh.net/projects/gitx" title="GitX on ohloh">GitX on ohloh</a></li>
1212
<li><a href="http://cia.vc/stats/project/gitx" title="GitX on CIA.vc">GitX on CIA.vc</a></li>
1313
</ul>

Site/text/seeit.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<h3 id="screencasts">Screencasts</h3>
4343
<div id="episodediv">
4444
<div id="video_display">
45-
<div id="video"><img src="images/qtime.png" width="568"></div>
45+
<div id="video"><img src="images/qtime.png" alt="Screencast" width="568"></div>
4646
<div id="video_description"></div>
4747
</div>
4848
<div id="episodebar">
@@ -59,4 +59,4 @@
5959
episodelist.innerHTML += '<li><a href="#" onclick="return show_video(' + screencast + ')">' + s[1] + '</a></li>';
6060

6161
}
62-
</script>
62+
</script>

0 commit comments

Comments
 (0)