svn: /web/php/trunk/ include/header.inc styles/home.css

From: Date: Sat, 15 Jan 2011 08:51:46 +0000
Subject: svn: /web/php/trunk/ include/header.inc styles/home.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10418@lists.php.net to get a copy of this message
stewartlord Sat, 15 Jan 2011 08:51:46 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=307495 Log: Tightened up styling of download section on home page. Changed paths: U web/php/trunk/include/header.inc U web/php/trunk/styles/home.css Modified: web/php/trunk/include/header.inc =================================================================== --- web/php/trunk/include/header.inc 2011-01-14 23:42:05 UTC (rev 307494) +++ web/php/trunk/include/header.inc 2011-01-15 08:51:46 UTC (rev 307495) @@ -114,7 +114,7 @@ <li rel="/get/<?php echo $release['source'][1]['filename'] ?>/from/a/mirror"> <a href="/get/<?php echo $release['source'][1]['filename'] ?>/from/a/mirror" class="version" title="Download PHP">PHP <?php echo $version ?></a> <a href="/get/<?php echo $release['source'][0]['filename'] ?>/from/a/mirror" title="Download bz2 version of PHP">Download as bz2</a> - <a href="http://windows.php.net/download/#php-<?php echo $windowsVersionLink; ?>" title="Download for windows">Download for windows</a> + <a href="http://windows.php.net/download/#php-<?php echo $windowsVersionLink; ?>" title="Download for Windows">Download for Windows</a> <!-- (size) should go here, but it's not in version.inc at present --> </li> <?php endforeach; ?> Modified: web/php/trunk/styles/home.css =================================================================== --- web/php/trunk/styles/home.css 2011-01-14 23:42:05 UTC (rev 307494) +++ web/php/trunk/styles/home.css 2011-01-15 08:51:46 UTC (rev 307495) @@ -41,11 +41,17 @@ } #mega-drop-down div.download h2 { - font-size: 2.0em; - color: #FFF; + font-size: 1.4em; + color: #ddd; + text-align: center; + letter-spacing: 2px; + word-spacing: 4px; line-height: 1.0em; + text-transform: uppercase; + font-weight: normal; + text-shadow: #000 -1px -1px 1px; margin: 0; - padding: 0; + padding: 5px 0 15px 0; } @@ -64,48 +70,44 @@ } #mega-drop-down div.download li:first-child { - padding: 20px 0 0px 100px; + padding: 15px 0 15px 110px; background-image: url('/images/sprites.png'); - background-position: 10px -187px; + background-position: 20px -195px; background-repeat: no-repeat; - border: none; margin-top: 0; } +#mega-drop-down div.download li:first-child a:first-child { + font-size: 2em; +} + #mega-drop-down div.download li { color: #eee; display: block; - padding: 10px 0 0px 100px; + padding: 15px 0 0 110px; background-image: url('/images/sprites.png'); - background-position: 24px -290px; + background-position: 34px -280px; background-repeat: no-repeat; cursor: pointer; border-top: 1px solid #555; + margin: 0; } -#mega-drop-down div.download li.windows { - background-image: url('/images/mega-windows.png'); - background-position: 46px 50%; -} - #mega-drop-down div.download a { padding-top: 0; padding-left: 0; display: block; clear: right; font-size: 1.0em; + line-height: 90%; } #mega-drop-down div.download a:first-child { - font-size: 2.0em; + font-size: 1.6em; color: #FFF; + line-height: 120%; } -#mega-drop-down div.download li.windows a:first-child { - font-size: 1.5em; - color: #FFF; -} - #head-beta-warning { background: #339900; display: none;

« previous php.webmaster (#10418) next »