Skip to content

Commit 631f25e

Browse files
committed
Merge pull request #2 from takluyver/add-frontpage-screenshot
Add screenshot to front page Signed-off-by: David Aguilar <davvid@gmail.com>
2 parents 72cdf52 + 4e06645 commit 631f25e

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

cola.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,24 @@ ul {
5252
padding: 0;
5353
}
5454

55+
.frontpage-screenshot {
56+
float: right;
57+
max-height: 380px;
58+
margin: 1em;
59+
}
60+
5561
.sitelinks {
56-
position: absolute;
62+
float: right;
5763
text-align: right;
58-
top: 38px;
59-
right: 0;
6064
margin-right: 6px;
6165
font-weight: bold;
6266
z-index: 2;
6367
}
6468

69+
.sitelinks ul {
70+
margin-top: 0;
71+
}
72+
6573
a:link {
6674
color: #666;
6775
text-decoration: none;
@@ -95,9 +103,10 @@ a:hover {
95103
}
96104

97105
.download-button-container {
98-
margin-top: 77px;
106+
float: left;
99107
margin-left: 150px;
100-
margin-right: 20ex;
108+
margin-right: 1em;
109+
margin-bottom: 1em;
101110
}
102111

103112
a.button {
@@ -107,7 +116,7 @@ a.button {
107116
font-weight: bold;
108117
background-color: #ff6600;
109118
color: white;
110-
position: absolute;
119+
white-space: nowrap;
111120
padding: 5px;
112121
padding-left: 1ex;
113122
padding-right:1ex;

images/screenshot-main-linux.png

65.3 KB
Loading

index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: "git-cola: The highly caffeinated Git GUI"
33
layout: logo-top
44
---
5+
56
<div class="download-button-container">
67
<div class="info-text">
78
git-cola is a sleek and powerful <a href="http://git-scm.com/">Git</a> GUI<br />
@@ -11,6 +12,7 @@
1112
<a class="button" href="downloads.html">Download git-cola</a>
1213
</div>
1314
</div>
15+
1416
<div class="sitelinks">
1517
<ul>
1618
<li><a href="share/doc/git-cola/hotkeys.html">keyboard shortcuts</a></li>
@@ -20,3 +22,7 @@
2022
</li>
2123
</ul>
2224
</div>
25+
26+
<img src="images/screenshot-main-linux.png" class="frontpage-screenshot"/>
27+
28+

0 commit comments

Comments
 (0)