com web/php: Homepage changes. Moved >> to other side of tutorial button Aligned header to grid. Lightened color on download background.:
include/header.inc styles/home.css
| From: | Levi Morrison | Date: | Mon, 02 Jul 2012 23:58:32 +0000 |
| Subject: | com web/php: Homepage changes. Moved >> to other side of tutorial button Aligned header to grid. Lightened color on download background.: include/header.inc styles/home.css |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13831@lists.php.net to get a copy of this message | ||
Commit: 1aa278b42d12c3ef166eafaf8b1904e98c8bd1a3
Author: Levi Morrison <levim@php.net> Mon, 2 Jul 2012 17:58:32 -0600
Parents: 4282964950943938d6f3a632e1e83337bee96591
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=1aa278b42d12c3ef166eafaf8b1904e98c8bd1a3
Log:
Homepage changes.
Moved >> to other side of tutorial button
Aligned header to grid.
Lightened color on download background.
Changed paths:
M include/header.inc
M styles/home.css
Diff:
diff --git a/include/header.inc b/include/header.inc
index ec93a1a..21c8974 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -116,7 +116,7 @@ if (isset($shortname) && $shortname) {
</p><p>
Fast, flexible and pragmatic, PHP powers everything from your blog to the largest
social networking site in the world.
</p>
- <p class="tutorial"><a href="/tut.php">Begin Tutorial
»</a></p>
+ <p class="tutorial"><a href="/tut.php">»
Begin Tutorial</a></p>
</div>
<div class="download">
<h2>Download PHP</h2>
diff --git a/styles/home.css b/styles/home.css
index 908d82c..12add6e 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -8,7 +8,7 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
color: #eee;
font-size: 1.125em;
line-height: 1.333em;
- width: 500px;
+ width: 650px;
float: left;
}
@@ -53,9 +53,12 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
#mega-drop-down div.download {
color: #eee;
- width: 300px;
+ width: 250px;
+ margin:0 30px;
display: block;
float: right;
+ min-height:240px;
+ background:#4f4f4f;
}
#mega-drop-down div.download h2 {
@@ -86,18 +89,18 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
}
#mega-drop-down div.download li:first-child {
- padding: 1em 0 1em 120px;
- background: url('/images/sprites.png') no-repeat 10px -195px;
+ padding: 1em 0 1em 100px;
+ background: url('/images/sprites.png') no-repeat 0px -195px;
margin-top: 0;
}
#mega-drop-down div.download li {
color: #eee;
display: block;
- padding: 1em 0 0 120px;
- background: url('/images/sprites.png') no-repeat 24px -273px;
+ padding: 1em 0 0 100px;
+ background: url('/images/sprites.png') no-repeat 14px -273px;
cursor: pointer;
- border-top: 1px solid #555;
+ border-top: 1px solid #6f6f6f;
margin: 0;
font-size:.75em;
line-height: 1;