svn: /web/php/trunk/ include/header.inc styles/home.css

From: Date: Fri, 08 Jul 2011 05:28:06 +0000
Subject: svn: /web/php/trunk/ include/header.inc styles/home.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11500@lists.php.net to get a copy of this message
stewartlord Fri, 08 Jul 2011 05:28:06 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313059 Log: Fixed an issue with the new home page layout where it did not render correctly if the browser window was too small. Now we fix the width of the main content area to 960px and center it in the page. Made the announcement text slightly bigger. Note the current page is now set as a class on the body tag so that we can better target styles for specific pages. Changed paths: U web/php/trunk/include/header.inc U web/php/trunk/styles/home.css Modified: web/php/trunk/include/header.inc =================================================================== --- web/php/trunk/include/header.inc 2011-07-08 03:45:01 UTC (rev 313058) +++ web/php/trunk/include/header.inc 2011-07-08 05:28:06 UTC (rev 313059) @@ -69,7 +69,7 @@ <?php endif ?> </head> -<body> +<body class="<?php print $curr; ?>"> <div id="head-beta-warning"> <div id="beta-warning"> Modified: web/php/trunk/styles/home.css =================================================================== --- web/php/trunk/styles/home.css 2011-07-08 03:45:01 UTC (rev 313058) +++ web/php/trunk/styles/home.css 2011-07-08 05:28:06 UTC (rev 313059) @@ -164,6 +164,15 @@ /* Main content area */ +body.home div#layout { + padding-right: 10px; +} + +section.layout-content.home { + width: 960px; + margin: 0 auto; +} + div.home-content { width: 650px; padding-top: 5px; @@ -178,8 +187,8 @@ border-radius: 5px; padding: 15px; text-align: center; - font-family: arial; margin: 0 auto; + font-size: 1.2em; } /* 2x2 Featured Content Grid */ @@ -210,7 +219,7 @@ div.featured-content div.separator { float: left; - width: 630px; + width: 620px; margin-left: 10px; border-top: 1px solid #c3add9; }

« previous php.webmaster (#11500) next »