/** * @file * Layout Styling (DIV Positioning) * * Define CSS classes to create a table-free, 3-column, 2-column, or single * column layout depending on whether blocks are enabled in the left or right * columns. * * This layout is based on the Zen Columns layout method. * http://drupal.org/node/201428 * * Only CSS that affects the layout (positioning) of major elements should be * listed here. Such as: * display, position, float, clear, width, height, min-width, min-height * margin, border, padding, overflow */ /* * Body */ body { } #page-wrapper, .region-page-closure { /* * If you want to make the page a fixed width and centered in the viewport, * this is the standards-compliant way to do that. See also the ie6.css file * for the necessary IE5/IE6quirks hack to center a div. */ margin-left: auto; margin-right: auto; width: 960px; } #page { } /* * Header */ #header { } #header .section { } #search-box { } .region-header { clear: both; } /* * Main (container for everything else) */ #main-wrapper { position: relative; } #main { } /* * Content */ #content, .no-sidebars #content { float: left; width: 960px; margin-left: 0; margin-right: -960px; padding: 0; } .sidebar-first #content { width: 740px; margin-left: 220px; margin-right: -960px; } .sidebar-second #content { width: 760px; margin-left: 0; margin-right: -760px; } .two-sidebars #content { width: 560px; margin-left: 200px; margin-right: -760px; } #content .section { margin: 0; border:1px solid #ccc; } /* * Navigation */ #navigation { float: left; width: 100%; margin-left: 0; margin-right: -100%; padding: 0; height: 2.3em; } .with-navigation #content, .with-navigation .region-sidebar-first, .with-navigation .region-sidebar-second { } #navigation .section { background:url("../../../../../sites/all/themes/polycom/images/pr-menu-bg.png") repeat-x scroll 0 0 transparent; height:35px; background-color: #A80E0E; } #navigation ul { margin: 0; padding: 0; text-align: center; } #navigation li { float: left; } /* * First sidebar */ .region-sidebar-first { float: left; width: 200px; margin-left: 0; margin-right: -200px; padding: 0; } .region-sidebar-first .section { margin: 0 20px 0 0; padding: 0; border:1px solid #ccc; } /* * Second sidebar */ .region-sidebar-second { float: left; width: 200px; margin-left: 760px; margin-right: -960px; padding: 0; } .region-sidebar-second .section { margin: 0 0 0 20px; padding: 0; } /* * Footer */ #footer { } #footer .section { } /* * Closure */ .region-page-closure { } /* * Prevent overflowing content */ #header, #content, #navigation, .region-sidebar-first, .region-sidebar-second, #footer, .region-page-closure { overflow: visible; word-wrap: break-word; } /* * If a div.clearfix doesn't have any content after it and its bottom edge * touches the bottom of the viewport, Firefox and Safari will mistakenly * place several pixels worth of space between the bottom of the div and the * bottom of the viewport. Uncomment this CSS property to fix this. * Note: with some over-large content, this property might cause scrollbars * to appear on the #page-wrapper div. */ /***************************************************************************/ #content-bottom{ width:960px; margin:0 auto; padding:0; } #front-left{ float:left; width:405px; margin:0 auto; padding:5px 10px; } #front-left a{ font-size:12px; } #front-left a:hover{ color:#C60100;; } #front-middle{ float:right; width:500px; margin:0 auto; padding:5px 10px; } #front-right{ width:200px; float:right; } .content-info { border:1px solid rgb(231, 231, 231); overflow:hidden; height:430px; } #news-wrap{ max-width:405px; overflow:hidden; padding-top:10px; margin:0 auto; } #news-L{ //width:130px; float:left; } #news-L img{ padding:3px; border:1px solid #eee; } #news-R{ float:right; width:250px; overflow:hidden; } .news-title{ font-size:13px; color:#ccc; font-weight:bold; } .news-title a:hover{ color:#C60100; } .news-title a{ color:#663300; } .news-body{ font-size:12px; color:gray; } .news-body a{ color:gray; } .news-body a:hover{ color:#C60100; } .news { background:url(../../../../../sites/all/themes/polycom/images/news.gif) no-repeat scroll 0 0 transparent; padding-left:18px; color:#C60100; } .news a:hover{ color:#C60100; } /***************************************************************************/