Commit: 13c82017bf886bea2bc379a6b935e4f8cfd92eb7 Author: Levi Morrison <[email protected]> Fri, 9 May 2014 11:45:52 -0600 Parents: 3d05212f13e7061dc7561539b40b2b38f89ec9aa Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=13c82017bf886bea2bc379a6b935e4f8cfd92eb7 Log: Always include mainscreen. Changed paths: M styles/defaults.css M templates/footer.inc M templates/header.inc Diff: diff --git a/styles/defaults.css b/styles/defaults.css index f81204c..ae6f871 100644 --- a/styles/defaults.css +++ b/styles/defaults.css @@ -189,6 +189,9 @@ hr:before { body > section.fullscreen > section.mainscreen { padding:1.5rem 1.5rem 0; } +body > section.fullscreen > section.mainscreen:only-child { + width:100%; +} .fullscreen > .fullscreen, section.mainscreen { background: #fff; diff --git a/templates/footer.inc b/templates/footer.inc index 2dfd5f7..23c7144 100644 --- a/templates/footer.inc +++ b/templates/footer.inc @@ -12,7 +12,7 @@ isset($JS) || $JS = array(); isset($SECONDSCREEN) || $SECONDSCREEN = ""; $ROOT = substr($_SERVER["SERVER_NAME"], -8) == ".php.net" ? "//shared.php.net" : "/shared"; ?> - +</section> <!-- .mainscreen --> <?php if ($SECONDSCREEN): ?> <section class="secondscreen"> <?=$SECONDSCREEN?> diff --git a/templates/header.inc b/templates/header.inc index 2680de4..99896fd 100644 --- a/templates/header.inc +++ b/templates/header.inc @@ -84,7 +84,7 @@ endforeach <nav id="megadropdown"></nav> <section class="fullscreen clearfix"> - + <section class="mainscreen"> <?php /* vim: set ft=html et ts=2 sw=2: : */ ?> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
