[Adium-commits] www/adiumx.com 177:d63b814c55f5: Make the download link only the...

adium-commits at adiumx.com adium-commits at adiumx.com
Sun May 3 18:34:51 UTC 2009


details:	http://hg.adiumx.com/www/adiumx.com/rev/d63b814c55f5
revision:	177:d63b814c55f5
author:		Zachary West <zacw at adiumx.com>
date:		Sun May 03 14:34:46 2009 -0400

Make the download link only the text, not the entire width of the page around the link.

diffstat:

 index.php              |  6 ++----
 styles/layoutstyle.css |  2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r e967792f6180 -r d63b814c55f5 index.php
--- a/index.php	Sat May 02 19:24:16 2009 -0400
+++ b/index.php	Sun May 03 14:34:46 2009 -0400
@@ -104,10 +104,8 @@
 						</div>
 				<?php } else if (!$_GET['download']) { ?>
 							<div class="download">
-								<a href="/?download=<?=$operatingSystem?>">
-									<img class="downloadicon" src="images/logo.png" alt="Download"><br>
-									<span class="downloadlink">Download Adium <?=$downloadText[$operatingSystem]?></span>
-								</a>
+								<a href="/?download=<?=$operatingSystem?>"><img class="downloadicon" src="images/logo.png" alt="Download"></a><br>
+								<a href="/?download=<?=$operatingSystem?>"><span class="downloadlink">Download Adium <?=$downloadText[$operatingSystem]?></span></a>
 							</div>
 							<?php if ($operatingSystem != "10.4") { ?>
 								<div class="downloadSub" style="color:red;">If you're using OS X 10.4 or above, you should get <a href="/?download=10.4">Adium <?=$downloadText["10.4"]?></a>.</div>
diff -r e967792f6180 -r d63b814c55f5 styles/layoutstyle.css
--- a/styles/layoutstyle.css	Sat May 02 19:24:16 2009 -0400
+++ b/styles/layoutstyle.css	Sun May 03 14:34:46 2009 -0400
@@ -90,7 +90,7 @@
 	padding-top: 6px;
 }
 #content .downloadlink {
-	display: block;
+	#display: block;
 }
 #content .downloadicon {
 	width: 128px;




More information about the commits mailing list