www/adium.im 581:b323210dacc6: Quickly put together stylesheet f...

commits at adium.im commits at adium.im
Sun Feb 19 15:10:01 UTC 2012


details:	http://hg.adium.im/www/adium.im/rev/b323210dacc6
revision:	581:b323210dacc6
branch:		rewrite
author:		Paul Wilde <me at paulwilde.co.uk>
date:		Sun Feb 19 15:09:55 2012 +0000

Quickly put together stylesheet for Sparkle changelog.

diffs (77 lines):

diff -r df1dca5abfc6 -r b323210dacc6 assets/styles/changelog.css
--- a/assets/styles/changelog.css	Sun Feb 19 15:08:12 2012 +0000
+++ b/assets/styles/changelog.css	Sun Feb 19 15:09:55 2012 +0000
@@ -1,1 +1,36 @@
-This here stylesheet is for the changelogs!
\ No newline at end of file
+/***** Reset *****/
+* { padding: 0; margin: 0; }
+body { font-family: Helvetica Neue, sans-serif; font-size: 62.5%; }
+hr { border: 0; }
+
+/***** Font Sizes *****/
+
+h2 { font-size: 1.6em; line-height: 1.5em; }
+p, li { font-size: 1.3em; line-height: 1.5em; }
+h3 { font-size: 1.4em; line-height: 1em; }
+li li { font-size: 1em; }
+.revision { font-size: .8em; }
+a { font-weight: 500; }
+
+/***** Colour *****/
+
+h2 { color: #333; }
+.revision { color: #444; }
+h3 { color: #999; }
+li { color: #444; }
+a { color: #88c7e7; }
+a:hover { color: #70bce2; }
+
+/***** Positioning *****/
+
+.content { margin: 15px; min-width: 360px; }
+h3 { margin: 10px 0 8px; }
+ul { margin: 0 0 12px 20px; }
+ul ul { margin: 3px 0 3px 20px; }
+.revision { float: right; margin: 0; padding: 0; }
+
+/***** Links *****/
+
+a { text-decoration: none; }
+a:hover { text-decoration: underline; }
+a:link.closed, span.closed { text-decoration: line-through; }
\ No newline at end of file
diff -r df1dca5abfc6 -r b323210dacc6 beta/index.php
--- a/beta/index.php	Sun Feb 19 15:08:12 2012 +0000
+++ b/beta/index.php	Sun Feb 19 15:09:55 2012 +0000
@@ -188,12 +188,14 @@
 	<div class="content">
 		<div class="container">
 			<section>
-				<div class="padding-fix">
-				<?php if (count($versions) === 0) { ?>
+				<?php if (!$no_template) { ?>
+					<div class="padding-fix">
+				<?php } else { ?>
+					<article>
+				<?php } if (count($versions) === 0) { ?>
 					<p>You can find the current version of Adium at the <a href="http://adium.im">main website</a>.</p>
-				<?php } else { ?>
-					
-					<?php if (!$no_template) { ?>
+				<?php } else { 
+					if (!$no_template) { ?>
 					<h1>Adium <?php echo $latest['ver']; ?></h1>
 					<a href="http://download.adium.im/Adium_<?php echo $latest['ver']; ?>.dmg">
 						<div class="beta-logo"></div>
@@ -226,4 +228,7 @@
 			</section>
 		</div>
 	</div>
-<?php if (!$no_template) include('../footer.php'); ?>
\ No newline at end of file
+<?php if (!$no_template) { include('../footer.php'); } else { ?>
+</body>
+</html>
+<?php } ?>
\ No newline at end of file




More information about the commits mailing list