Author: bobharner
Date: Tue Nov 11 12:17:15 2014
New Revision: 928748
Log:
Fixed multi-column layout problems (the {section} macro)
Modified:
websites/production/tapestry/content/styles/style.css
Modified: websites/production/tapestry/content/styles/style.css
==============================================================================
--- websites/production/tapestry/content/styles/style.css (original)
+++ websites/production/tapestry/content/styles/style.css Tue Nov 11 12:17:15
2014
@@ -319,5 +319,12 @@ DIV.syntaxhighlighter .line.alt1, DIV.sy
border-radius:0;
}
#footer .aui-message { margin-left:20px;margin-right:20px;text-align:left; }
-
-
+.sectionMacro{margin-top:10px;display:table;width:100%;}
+.sectionMacroRow{display:table-row;}
+.columnMacro{display:table-cell;vertical-align:top;}
+.sectionMacro>:not(.sectionMacroRow),.sectionMacroWithBorder>:not(.sectionMacroRow){display:table-caption;}
+.sectionMacro .columnMacro{border:none;padding:0;}
+.sectionMacro .columnMacro+.columnMacro{padding-left:20px;}
+.sectionMacroWithBorder{margin-top:10px;display:table;width:100%;}
+.sectionMacroWithBorder
.columnMacro{border-style:dashed;border-width:1px;border-color:#ccc;padding:10px;}
+.sectionColumnWrapper{display:block;overflow-x:auto;}