com web/php: Removed borders on 2x2 grid, left-aligned the text, and added quotes around some HTML attributes so they are well-formed.:
index-beta.php styles/home.css
| From: | Levi Morrison | Date: | Mon, 18 Jun 2012 16:43:50 +0000 |
| Subject: | com web/php: Removed borders on 2x2 grid, left-aligned the text, and added quotes around some HTML attributes so they are well-formed.: index-beta.php styles/home.css |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13715@lists.php.net to get a copy of this message | ||
Commit: 7050c1f95b6f9b47e878c944b22c36c4b6d2eada
Author: Levi Morrison <levim@php.net> Mon, 18 Jun 2012 10:43:09 -0600
Parents: e63d4e55fe9de100699ddf0cc66860a8e4f2a503
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=7050c1f95b6f9b47e878c944b22c36c4b6d2eada
Log:
Removed borders on 2x2 grid, left-aligned the text, and added quotes around some HTML attributes so
they are well-formed.
Changed paths:
M index-beta.php
M styles/home.css
Diff:
diff --git a/index-beta.php b/index-beta.php
index e287889...49af0c5 100644
--- a/index-beta.php
+++ b/index-beta.php
@@ -79,24 +79,23 @@ if (is_array($CONF_TEASER) && $CONF_TEASER) {
$features = "
<div class=featured-content>
<div class='feature top-left'>
- <span class=graphic></span>
+ <span class='graphic'></span>
<h2>Get Involved!</h2>
<p>
- We are looking for people with all sorts of talents, not only developers.
+ We are looking for people with talents of various kinds, not just developers.
<br/>
<a href='/get-involved.php' class='readmore'>See how you can
contribute.</a>
</p>
</div>
<div class='feature top-right'>
- <span class=graphic></span>
+ <span class='graphic'></span>
<h2>Need Help?</h2>
<p>
- Thankfully, PHP has one of the best support communities out there.
+ Thankfully, PHP has one of the best support communities in existence. <br/>
<a href='/support.php' class='readmore'>View support
options.</a>
</p>
</div>
- <div class='separator'></div>
<div class='feature bottom-left'>
- <span class=graphic></span>
+ <span class='graphic'></span>
<h2>PECL + PEAR</h2>
<p>
Is PHP missing a feature you need? No worries!
@@ -107,7 +106,7 @@ $features = "
</p>
</div>
<div class='feature bottom-right'>
- <span class=graphic></span>
+ <span class='graphic'></span>
<h2>Website Tips/Tricks</h2>
<p>
Everything has 'an app' these days, even the PHP manual.
diff --git a/styles/home.css b/styles/home.css
index bbf7532..482ed56 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -215,7 +215,6 @@ div.home-content {
div.featured-content div.feature {
float: left;
width: 270px;
- text-align: center;
padding: 10px 20px 20px 20px;
}
@@ -224,25 +223,11 @@ div.featured-content div.top-right {
padding-top: 0;
}
-div.featured-content div.top-left {
- border-right: 1px solid #99c;
-}
-
-div.featured-content div.bottom-left {
- border-right: 1px solid #99c;
-}
-
-div..featured-content div.separator {
- float: left;
- width: 620px;
- margin-left: 10px;
- border-top: 1px solid #99c;
-}
-
div.featured-content span.graphic {
- display: inline-block;
+ display: block;
width: 128px;
height: 128px;
+ margin:0 auto;
background-image: url('../images/home-sprites.png');
}
@@ -266,6 +251,7 @@ div.featured-content div.feature h2 {
line-height: 1;
padding-bottom: .5em;
margin: 0;
+ text-align: center
}
div.featured-content p {