Commit:    b953858f5e035954140e4d8a54f5e3a47ab0e01a
Author:    Levi Morrison <[email protected]>         Thu, 12 Dec 2013 15:37:24 -0700
Parents:   cc158a500307ccb2488280f0c868e78780d5ad1e
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=b953858f5e035954140e4d8a54f5e3a47ab0e01a

Log:
Fixed some homepage layout issues.

Changed paths:
  M  index.php
  M  styles/home.css
  M  styles/theme-base.css


Diff:
diff --git a/index.php b/index.php
index 9091332..eaf61ee 100644
--- a/index.php
+++ b/index.php
@@ -82,9 +82,7 @@ $intro = <<<EOF
       <p>PHP is a popular general-purpose scripting language that is 
especially suited to web development.</p>
       <p>Fast, flexible and pragmatic, PHP powers everything from your blog to 
the most popular websites in the world.</p>
     </div>
-    <div class="background"></div>
     <div class="download">
-      <div class="download-php">
         <h2>Download PHP</h2>
 
 EOF;
@@ -97,8 +95,7 @@ if(!empty($RELEASES[5])) {
         foreach ($row as $version => $release) {
             $intro .= "
           <div class='span6'>
-            <p><a class='download-link' 
href='/downloads.php#v$version'>$version</a></p>
-            <p class='notes'><a href='/ChangeLog-5.php#$version'>Release 
Notes</a></p>
+            <p><a class='download-link' 
href='/downloads.php#v$version'>$version</a> <a class='notes' 
href='/ChangeLog-5.php#$version'>Release Notes</a></p>
           </div>
 ";
         }
@@ -108,7 +105,6 @@ if(!empty($RELEASES[5])) {
     }
 }
 $intro .= <<<EOF
-      </div>
     </div>
   </div>
 EOF;
diff --git a/styles/home.css b/styles/home.css
index 22b6775..c776617 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -26,6 +26,9 @@ complimentary greens: 9FB553    7B8851    61761B    C6DA82    
CCDA99
 #intro .blurb p {
     line-height:1.8;
 } 
+#intro .blurb p:first-child {
+    margin-top:0;
+}   
 #intro .blurb p:last-child {
     margin-bottom:0;
 }   
@@ -44,41 +47,25 @@ complimentary greens: 9FB553    7B8851    61761B    C6DA82  
  CCDA99
   display:table-row;
 }
 
-#intro .background {
-  display:none;
+#intro .download {
   background:rgba(255,255,255,.1);
-  position:absolute;
-  top:0;
-  right:0;
-  height:100%;
-}
-@media (min-width: 758px) {
-  #intro .background {
-    display:block;
-  }
-}
-#intro .download-php {
-    text-align:left;
-    margin:0 1.5em;
-    padding:.75em 0;
-}
-#intro .download-php .row-fluid p {
-    margin-top:0;
-    margin-bottom:0;
+  padding:.75em 1.5em;
+}
+#intro .download p {
+    margin:0;
 }
-#intro .download-php .row-fluid p.notes {
+#intro .download a.notes {
     font-size:.75em;
     line-height:2;
 }
-.download-php a {
+#intro .download a {
     color:#ccc;
     border:0;
 }
-.download-php a.download-link {
-    border:0;
+#intro .download a.download-link {
     color:#fff;
 }
-.download-php a.download-link:before {
+#intro .download a.download-link:before {
     content: "\21AF \2003";
 }
 
diff --git a/styles/theme-base.css b/styles/theme-base.css
index 1f4bb71..7c0f22c 100755
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -2089,10 +2089,6 @@ div.soft-deprecation-notice blockquote.sidebar {
 @media (min-width:980px) {
 }
 @media (min-width:1200px) {
-  #intro p {
-    line-height:1.2;
-    margin:0 0 1.2em;
-  }
 }
 @media (min-width:1548px) {
   #layout {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to