Commit:    27840ba9b4855c23063f1a71cfb7b8e8ab4ebdf3
Author:    Levi Morrison <[email protected]>         Fri, 28 Mar 2014 
16:47:43 -0600
Parents:   b93db5f2b93c17ce82bc9ededb60cd7c2b164769
Branches:  master

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

Log:
Prep work for fixing the two-column layouts

Changed paths:
  M  styles/defaults.css
  M  templates/header.inc


Diff:
diff --git a/styles/defaults.css b/styles/defaults.css
index aa677d9..b852157 100644
--- a/styles/defaults.css
+++ b/styles/defaults.css
@@ -121,10 +121,24 @@ ul, ol {
   margin: 0 0 .75rem;
   padding:0 0 0 2.5rem;
 }
+.clearfix:before,
+.clearfix:after {
+  display:table;
+  content:"";
+  line-height:0;
+}
+.clearfix:after {
+  clear:both;
+}
 /* }}} */
 
 /* {{{ fullscreen/mainscreen/secondscreen tweaks */
 /* For (responsive) widths, see the Reponsive styles */
+.fullscreen,
+.mainscreen,
+.secondscreen {
+  box-sizing:border-box;
+}
 .fullscreen > .fullscreen,
 section.mainscreen {
   background: #fff;
diff --git a/templates/header.inc b/templates/header.inc
index 605ce01..b526b21 100644
--- a/templates/header.inc
+++ b/templates/header.inc
@@ -56,7 +56,7 @@ endforeach
 </head>
 <body id="<?=$SUBDOMAIN?>">
 
-<header>
+<header class='clearfix'>
   <div id="mainmenu-toggle-overlay"></div>
   <input type="checkbox" id="mainmenu-toggle">
   <nav class="fullscreen">
@@ -83,7 +83,7 @@ endforeach
 <div id="flash-message"></div>
 <nav id="megadropdown"></nav>
 
-<section class="fullscreen">
+<section class="fullscreen clearfix">
 
 
 <?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

Reply via email to