com web/php: Added a Download PHP header above the downloads on the homepage: include/header.inc styles/home.css
| From: | Paul Dragoonis | Date: | Mon, 10 Jan 2011 21:17:56 +0000 |
| Subject: | com web/php: Added a Download PHP header above the downloads on the homepage: include/header.inc styles/home.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23612@lists.php.net to get a copy of this message | ||
Commit: cdf9635e80e09f49d00cef6d068e760550a6cda8
Author: Paul Dragoonis <dragoonis@gmail.com> Mon, 10 Jan 2011 21:17:56 +0000
Parents: f3c3baa5a199d88ba8a2ca2993dd0f60fb7b5f96
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=cdf9635e80e09f49d00cef6d068e760550a6cda8
Log:
Added a Download PHP header above the downloads on the homepage
Changed paths:
M include/header.inc
M styles/home.css
Diff:
diff --git a/include/header.inc b/include/header.inc
index af1042b..f073ef4 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -101,6 +101,7 @@ if (isset($shortname) && $shortname) {
<p class="tutorial"><a href="/tut.php">Introductory
Tutorial »</a></p>
</div>
<div class="download">
+ <h2>Download PHP</h2>
<?php if(!empty($RELEASES[5])): ?>
<ul>
<?php
diff --git a/styles/home.css b/styles/home.css
index 84ecbb1..40772c8 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -17,6 +17,10 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
line-height: 130%;
}
+#mega-drop-down div.what-is-php p:first-child {
+ margin-top: 0;
+}
+
#mega-drop-down div.what-is-php p.tutorial {
margin-top: 25px;
font-size: .9em;
@@ -36,6 +40,14 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
font-size: 11px;
}
+#mega-drop-down div.download h2 {
+ font-size: 2.0em;
+ color: #FFF;
+ line-height: 1.0em;
+ margin: 0;
+ padding: 0;
+}
+
#mega-drop-down div.children.downloads {
padding-bottom: 0;
@@ -57,6 +69,7 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
background-position: 10px -187px;
background-repeat: no-repeat;
border: none;
+ margin-top: 0;
}
#mega-drop-down div.download li {