Commit:    6bccfafb6e4bcfef2d61f140ea458e4dccbddd7a
Author:    Peter Cowburn <petercowb...@gmail.com>         Sun, 8 Jun 2014 
15:25:46 +0100
Parents:   572bac41b4db3d32fc2d9ceebf4fac6d8e002319
Branches:  master

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

Log:
add wrapping element

This should not affect the display of anything.
If it does have side-effects... let me know!

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 6d77639..8ffd9e7 100644
--- a/styles/defaults.css
+++ b/styles/defaults.css
@@ -40,7 +40,7 @@ header {
   z-index: 1;
 }
 
-body > footer {
+body footer {
   border-top: .25em solid #8892BF;
   background-color: #333;
   width: 100%;
@@ -64,8 +64,8 @@ nav ul {
 nav li {
   display: inline-block;
 }
-body > header nav a:link,
-body > header nav a:visited {
+body header nav a:link,
+body header nav a:visited {
   display: inline-block;
   color: #E2E4EF;
   text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
@@ -187,10 +187,10 @@ hr:before {
 .secondscreen {
   box-sizing:border-box;
 }
-body > section.fullscreen > section.mainscreen {
+body section.fullscreen > section.mainscreen {
   padding:1.5rem 1.5rem 0;
 }
-body > section.fullscreen > section.mainscreen:only-child {
+body section.fullscreen > section.mainscreen:only-child {
   width:100%;
 }
 .fullscreen > .fullscreen,
diff --git a/templates/footer.inc b/templates/footer.inc
index 4cbae8d..e9b1058 100644
--- a/templates/footer.inc
+++ b/templates/footer.inc
@@ -43,6 +43,7 @@ foreach ($scripts as $script):
     echo "<script src='{$ROOT}{$script}?filemtime=$filemtime'></script>\n";
   }
 endforeach ?>
+</div><!-- .wrap -->
 </body>
 </html>
 <?php /* vim: set ft=html et ts=2 sw=2: : */ ?>
diff --git a/templates/header.inc b/templates/header.inc
index ffb700c..b298781 100644
--- a/templates/header.inc
+++ b/templates/header.inc
@@ -56,6 +56,7 @@ endforeach
 </head>
 <body id="<?=$SUBDOMAIN?>">
 
+<div class="wrap">
 <header class='clearfix'>
   <div id="mainmenu-toggle-overlay"></div>
   <input type="checkbox" id="mainmenu-toggle">


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

Reply via email to