com web/php: Tightened up styling of download section on home page.: include/header.inc styles/home.css
| From: | Paul Dragoonis | Date: | Sat, 15 Jan 2011 08:51:46 +0000 |
| Subject: | com web/php: Tightened up styling of download section on home page.: include/header.inc styles/home.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23608@lists.php.net to get a copy of this message | ||
Commit: aa289d78af3d9937780cca9087a70889e9561d31
Author: Stewart Lord <stewartlord@php.net> Sat, 15 Jan 2011 08:51:46 +0000
Parents: f1fe97c08f70db67d65583c3d5dd979b66755a67
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=aa289d78af3d9937780cca9087a70889e9561d31
Log:
Tightened up styling of download section on home page.
Changed paths:
M include/header.inc
M styles/home.css
Diff:
diff --git a/include/header.inc b/include/header.inc
index 7315352..23d1562 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -114,7 +114,7 @@ if (isset($shortname) && $shortname) {
<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; ?>
diff --git a/styles/home.css b/styles/home.css
index 40772c8..f0f5e62 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -41,11 +41,17 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
}
#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,28 +70,27 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
}
#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;
-}
-
-#mega-drop-down div..download li.windows {
- background-image: url('/images/mega-windows.png');
- background-position: 46px 50%;
+ margin: 0;
}
#mega-drop-down div.download a {
@@ -94,16 +99,13 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
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;
-}
-
-#mega-drop-down div.download li.windows a:first-child {
- font-size: 1.5em;
- color: #FFF;
+ line-height: 120%;
}
#head-beta-warning {