Commit: 95ce7ceec13639de39de3be867b2ed4a68c23889 Author: Levi Morrison <[email protected]> Fri, 9 May 2014 11:09:24 -0600 Parents: 19c965b8e2c8c7ee419f75abf2206613e9667772 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=95ce7ceec13639de39de3be867b2ed4a68c23889 Log: When the layout-content is the only child it now expand to full-width; border is only applied when other elements are present Changed paths: M styles/theme-base.css M styles/theme-medium.css Diff: diff --git a/styles/theme-base.css b/styles/theme-base.css index 2eaa520..41d0154 100755 --- a/styles/theme-base.css +++ b/styles/theme-base.css @@ -569,6 +569,9 @@ pre.info { -moz-box-sizing:border-box; box-sizing:border-box; } +#layout-content:only-child { + width:100%; +} /** #layout .refentry div[id], #layout .sect1 div[id], #usernotes div.note[id] diff --git a/styles/theme-medium.css b/styles/theme-medium.css index 46030ff..61ee1ab 100755 --- a/styles/theme-medium.css +++ b/styles/theme-medium.css @@ -17,10 +17,12 @@ html { color: #CCC; } #layout-content { - border-right:.25rem solid #666; background:#F2F2F2; color:#333; } +#layout-content:not(:only-child) { + border-right:.25rem solid #666; +} abbr { border-color: #8892BF; -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
